Page 2 of 2

Posted: Tue Jun 01, 2004 11:09 am
by Elgan
setcvar g_statefile "global/obj_team3.st"

obj_team3_torso.st <- in global
obj_team3_legs.st <-in global

the .st's are filled with default info:)

map....wont load

sorry for the bother:(, ty for helping:)

Posted: Tue Jun 01, 2004 5:06 pm
by jv_map
setcvar g_statefile "global/obj_team3"

Without the .st :wink:

Posted: Tue Jun 01, 2004 6:46 pm
by Elgan
ok cool now i have it loading!

now ive tried to edit the files but i cant seem to get anything working


WALK_FORWARD : FORWARD HAS_VELOCITY ! OCKED "2"
WALK_BACKWARD : BACKWARD HAS_VELOCITY !LOCKED "2"
WALK_LEFT : STRAFE_LEFT HAS_VELOCITY !BLOCKED "2"
WALK_BACKWARD : STRAFE_RIGHT HAS_VELOCITY !BLOCKED "2"



how does it know what" FORWARD HAS_VELOCITY ! OCKED "2"" is?



i cant replace it with exec..i found that out:D..thanx for helping me.

Posted: Tue Jun 01, 2004 6:55 pm
by jv_map
It should say BLOCKED not OCKED :?

Anyway the part behind the : are the conditions that need to be true for a switch to the state before the : :)

Posted: Tue Jun 01, 2004 7:05 pm
by Elgan
yeah i typed it in wrong:$

i have dinner now:(

errm these state files are weird !!

Do you have an example please?

just a little example for like when u press forward it executes a script thread or something.

i would like to add airlons aswell as a rudder to the plane mod.

Posted: Tue Jun 01, 2004 7:46 pm
by Elgan
omg omg i think i get it (been staring at this an hour or so)

Posted: Tue Jun 01, 2004 7:48 pm
by Elgan
sooo stresssed

it erros. it says i need ":"

i killed the file..hahaha
ill start again...after i go glue my hair back in