User:Jwaffe: Difference between revisions
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
faceplayer actor faces the player. | faceplayer actor faces the player. | ||
geth use horizontal velocity. | geth use horizontal velocity. | ||
getv use vertical velocity. | getv use vertical velocity. | ||
randomangle actor will face random direction. | randomangle actor will face random direction. | ||
faceplayerslow same as faceplayer, but done gradually. | faceplayerslow same as faceplayer, but done gradually. | ||
spin spin in a clockwise circle. | spin spin in a clockwise circle. | ||
faceplayersmart same as faceplayer, but with a slight "lead" on position. | faceplayersmart same as faceplayer, but with a slight "lead" on position. | ||
fleeenemy actor faces away from the player. | fleeenemy actor faces away from the player. | ||
jumptoplayer actor will move vertically and then fall as if jumping. | jumptoplayer actor will move vertically and then fall as if jumping. | ||
seekplayer actor will try to find the best path to the nearest player. | seekplayer actor will try to find the best path to the nearest player. | ||
furthestdir actor faces the furthest distance from the closest player. | furthestdir actor faces the furthest distance from the closest player. | ||
dodgebullet actor attempts to avoid all shots directed at him. The actor will not avoid GROWSPARK. | dodgebullet actor attempts to avoid all shots directed at him. The actor will not avoid GROWSPARK. |
Revision as of 14:40, 23 May 2014
Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.Your biography must be at least 50 words long.
// Defines the motion characteristics of an actor enum amoveflags_t {
face_player = 1, geth = 2, getv = 4, random_angle = 8, face_player_slow = 16, spin = 32, face_player_smart = 64, fleeenemy = 128, jumptoplayer = 257, seekplayer = 512, furthestdir = 1024, dodgebullet = 4096
};
T2 = T5 = 0; // AC_MOVE_ID, AC_ACTION_ID
vm.g_t[0]: Actor's count
vm.g_t[1] ID of the actor's current move
vm.g_t[2] Action count
vm.g_t[3] Current frame offset
vm.g_t[4] Actor action
vm.g_t[5] the ID of the actor's current ai
http://wiki.eduke32.com/wiki/Move
faceplayer actor faces the player.
geth use horizontal velocity.
getv use vertical velocity.
randomangle actor will face random direction.
faceplayerslow same as faceplayer, but done gradually.
spin spin in a clockwise circle.
faceplayersmart same as faceplayer, but with a slight "lead" on position.
fleeenemy actor faces away from the player.
jumptoplayer actor will move vertically and then fall as if jumping.
seekplayer actor will try to find the best path to the nearest player.
furthestdir actor faces the furthest distance from the closest player.
dodgebullet actor attempts to avoid all shots directed at him. The actor will not avoid GROWSPARK.