I'm sorry, I'm new and I've probably posted in the wrong section.
Trust me, I've been looking a lot but still no answer.
I gotta make these characters walk instead of run all the time. Including the player.
It's so unbelievable there's no always run unlock option.
How come we went to the moon but cannot make some damn video game characters simply walk?
I'm begging you for help, at this point.
Thank you very much.
Contributions truly appreciated!
Make those damn warriors WALK!
-
- Godlike
- Posts: 6442
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Make those damn warriors WALK!
If you understand UScript look at code concerning "state Wandering" from whatever Pawn (Bot, ScriptedPawn, etc.), pawns wandering are not exactly running at all - it comes in stage something like "WalkingSpeed" if memory doesn't cheat me...
This snippet is from Bot code - state wandering
Destination is a vector, a Place in 3D space and this is a native function with two parameters: Location and Moving Speed - in this case was used WalkingSpeed - usually this data is under "1.000000" as number. Technically Bot has 0.350000, which means it will use 0.35×GroundSpeed for walking while is wandering.
Latent functions are used in "states". Shortly for making a Pawn to walk, is needed a code which should take in account some data: Destination, Animations, Speed and to not forget the reaction toward a sudden threat.
This snippet is from Bot code - state wandering
Code: Select all
...
Moving:
Enable('HitWall');
MoveTo(Destination, WalkingSpeed);
Code: Select all
...
native(500) final latent function MoveTo( vector NewDestination, optional float speed);
...
-
- Godlike
- Posts: 2956
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Make those damn warriors WALK!
Just hold SHIFT.
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 6442
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
-
- Godlike
- Posts: 2956
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Make those damn warriors WALK!
Hey Bot, just hold SHIFT!
"If Origin not in center it be not in center." --Buggie