MOVEMENT EXPLAINED v1-01-2003 Release 1 © RTCM Reaper_Man
/!\ Attention: These FAQ's where written before the development of EDuke, many limits do not apply anymore.
These CON FAQs was written because I believe that there is no one place where CON information can be found - from the
simplest ideas to the most complex effects. After the fall of Dukeworld and 3D Portal, a web-edition of the CON FAQ seems to have been lost, and that leaves Duke RTCM as the only other source of CON information. Though they do have information on CONs and how to edit them, I don't
believe that this information is easily understood by the newest of newbie's.
The move primitive is what makes the actors physically move in the game. Like the action primitive, it is mainly used for moving actors around, but it can also be used as a flag to do other things.
Lets take a look at some movement from the Liz Troop:
1) The move primitive must proceed the name and number of the movement definitionThe first thing you need in a move definition is a unique name. If you fail to give the definition something unique, you will get an error during compiling similar to this:
*WARNING.(Lxxx) Duplicate move '(move name)' ignored.
Found 1 warning(s), 0 error(s).
Warnings found in GAME.CON. You should backup the original copies before
before attempting to modify them. Do you want to use the
INTERNAL DEFAULTS (y/N)?
This means that you either have another move, action or actor defined with the same name. And no, I didn't accidently type "before" twice.
The first number following the name is the horizontal movement speed. If the number is positive, it will make the actor move the direction of it's tail in Build. If it is negative, like the TROOPWALKVELSBACK definition, it will move opposite the direction of it's tail.
The second number is the vertical movement speed. This number isn't necessary when making a move definition, unless you are making an enemy that hovers, like the Octabrain, or one that has a Jetpack, like the Liz Troop. If the number is positive, it will make the actor travel downwards. If the number is negative, it will make the actor travel upwards.