Hi, I'm trying to lower the speed of the player character.
A few things to note and explain myself better:
1- This change is global for the entire game, and the speed of the player character is never changed.
2- I'm using a Hub map. (I don't think that matters but...)
3- Basically I need to half the player movement speed, (So that now running is like walking).
4- I'm using Doom 2 as the base for my mod.
I found a few different ways to do this:
with ACS and "SetActorProperty"
script 1 ENTER
{
SetActorProperty(0, APROP_SPEED, 0.50);
}
If I understand this correctly that would be more suitable If I wanted to alter the speed during some portions of the map, or to slow down an actor. (like a freezing monster or something)
https://zdoom.org/wiki/SetActorProperty
The other way I think is in MAPINFO under the "Gameinfo" definition
with the "NormSideMove" and "NormForwardMove" properties.
But that doesn't seem to work at all, probably because I need to create a new PlayerClass? I don't know.
https://zdoom.org/wiki/MAPINFO/GameInfo_definition
It's a simple question but I want to know wich option is the best to set this up and encounter the least bugs possible.
Finally, this is vaguely related but I wanted to know a way to freeze the player completely in place,
like for a cutscene, so that movement can be resumed after a certain amount of tics.
Canceling any player input until the "action" is done.
Any help with this would be much appreciated,
Thanks.