Make those damn warriors WALK!

Discussions about UT99
erfiaschi
Posts: 1
Joined: Thu Jan 25, 2024 3:16 pm

Make those damn warriors WALK!

Post by erfiaschi »

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!
User avatar
sektor2111
Godlike
Posts: 6442
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Make those damn warriors WALK!

Post by sektor2111 »

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

Code: Select all

...
Moving:
	Enable('HitWall');
	MoveTo(Destination, WalkingSpeed);
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.

Code: Select all

...
native(500) final latent function MoveTo( vector NewDestination, optional float speed);
...
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.
User avatar
Barbie
Godlike
Posts: 2956
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Make those damn warriors WALK!

Post by Barbie »

Just hold SHIFT.
"If Origin not in center it be not in center." --Buggie
User avatar
sektor2111
Godlike
Posts: 6442
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Make those damn warriors WALK!

Post by sektor2111 »

Barbie wrote: Thu Jan 25, 2024 5:48 pm Just hold SHIFT.
Tell this to a Bot.
User avatar
Barbie
Godlike
Posts: 2956
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Make those damn warriors WALK!

Post by Barbie »

sektor2111 wrote: Fri Jan 26, 2024 3:11 am
Barbie wrote: Thu Jan 25, 2024 5:48 pm Just hold SHIFT.
Tell this to a Bot.
Hey Bot, just hold SHIFT!
"If Origin not in center it be not in center." --Buggie