View unanswered posts | View active topics It is currently Tue Jan 07, 2025 1:06 am



Reply to topic  [ 2 posts ] 
 Walkpaths 
Author Message
User avatar

Joined: Tue Oct 14, 2008 11:07 pm
Posts: 112
Reply with quote
Post Walkpaths
They seem to be dreaded by most modders here, and I'm beginning to see why. Any of you mind telling the rest of us exactly how they work? Here's what I've figured out so far:

IdleOffset is defined in the leg code and seems to have something to do with where the leg goes when the actor stands still. I have no idea exactly how it works, as tweaking the value only changes where the foot goes half the time.

StartOffset is similar. I think it's where the foot is relative to its joint when the walkpath starts, but I'm not all that sure.

StartSegCount is the number of segments that are skipped when the walkpath loops or something.

AddSegment adds a segment to the walkpath. I'm unsure how they work: Do they represent how far the foot moves from its last position within a frame's time?

Slow, Normal, and FastTravelSpeed seem to influence how long the walkpath takes to complete or something, but I've never noticed an actor walking slower or faster. PushForce is some sort of normal force variable.


Tue Dec 09, 2008 5:06 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Walkpaths
Here is my knowledge.

Quote:
WalkLimbPath = LimbPath
PresetName = Walk Path
StartOffset = Vector - The "standing" stance. (Kind of taken from the stand path.)
X = 10
Y = -2
StartSegCount = 3
AddSegment = Vector
X = 0 - Obviously, a grid. +1 is one pixel.
Y = 2 - The y axis is opposite, so - is up. the same for every Offset vector.
AddSegment = Vector
...
SlowTravelSpeed = 1.5 - UpHill?
NormalTravelSpeed = 2.5 - Normal. Higher = faster.
FastTravelSpeed = 4.5 - DownHill?
PushForce = 8000 - How much force is put in. Sometimes ACrabs cant get over obstacles. That's because their pushforce is too low. Don't make it too high, or while walking you will dig into the ground.


When looking at the AddSegments, think of up as down, and think of it as an animation of sorts. change whatever you want, but imagine it in your head and see if it makes sense, or if its how you want it to be.

That's all I really know for sure.
I'll personally keep an eye on this thread to explain further.
But thats all you really need to know to make simplistic custom walkpaths.


Tue Dec 09, 2008 5:51 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.041s | 14 Queries | GZIP : Off ]