Changeset 582 for abuse/trunk/data/register
- Timestamp:
- May 6, 2011, 12:47:14 AM (12 years ago)
- Location:
- abuse/trunk/data/register
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/data/register/ant.lsp
r54 r582 14 14 (set_aistate 10) ;; end game 15 15 (set_aistate 5))))))) ;; fade out 16 17 (defun boss_cons () 16 17 (defun boss_cons () 18 18 (set_hp 1) 19 19 (setq taunt_time 20)) … … 24 24 (playerx (+ (with_object (bg) (x)) (with_object (bg) (* (xvel) 8)))) 25 25 (playery (+ (- (with_object (bg) (y)) 15) (with_object (bg) (* (yvel) 2))))) 26 26 27 27 (if (and (can_see (x) (y) firex firey nil) (can_see firex firey playerx playery nil)) 28 28 (progn … … 90 90 (7;; fade out 91 91 (set_targetable nil) 92 (set_fade_count (+ (fade_count) 2)) 92 (set_fade_count (+ (fade_count) 2)) 93 93 (if (eq (fade_count) 14) 94 94 (progn … … 99 99 (setq taunt_time (- 30 (* (aitype) 2))) 100 100 (go_state 0)))) 101 102 (10;; game over 101 102 (10;; game over 103 103 (set_state hiding) 104 104 (set_targetable nil) … … 114 114 115 115 T)))) 116 117 116 118 119 117 118 119 120 120 (def_char BOSS_ANT 121 121 (funs (ai_fun boss_ai) … … 127 127 (fields ("taunt_time" "taunt_tint") 128 128 ("aistate" "aistate")) 129 (states "register/boss.spe" 129 (states "register/boss.spe" 130 130 (stopped "awlk0001.pcx") 131 131 (hiding "hidden") -
abuse/trunk/data/register/flyer.lsp
r54 r582 9 9 (flags (hurtable T)) 10 10 (abilities (start_hp 20)) 11 (vars fire_delay burst_delay burst_total burst_wait burst_left 11 (vars fire_delay burst_delay burst_total burst_wait burst_left 12 12 max_xvel max_yvel smoke_time fire_time) 13 13 (fields ("fire_delay" who_fdelay) … … 19 19 ("aitype" ai_type) 20 20 ("aistate" ai_state)) 21 21 22 22 (range 200 200) 23 23 (states "art/flyer.spe" … … 37 37 (flags (hurtable T)) 38 38 (abilities (start_hp 20)) 39 (vars fire_delay burst_delay burst_total burst_wait burst_left 39 (vars fire_delay burst_delay burst_total burst_wait burst_left 40 40 max_xvel max_yvel smoke_time fire_time) 41 41 (fields ("fire_delay" who_fdelay) … … 47 47 ("aitype" ai_type) 48 48 ("aistate" ai_state)) 49 49 50 50 (range 200 200) 51 51 (states "art/flyer.spe" -
abuse/trunk/data/register/powerup.lsp
r54 r582 2 2 ;; See licencing information for more details on usage rights 3 3 4 (defun sneaky_power_ai () 4 (defun sneaky_power_ai () 5 5 (next_picture) 6 (if (touching_bg) 7 (progn 6 (if (touching_bg) 7 (progn 8 8 (with_object (bg) (setq special_power SNEAKY_POWER)) 9 9 nil) 10 10 T)) 11 11 12 (defun fly_power_ai () 12 (defun fly_power_ai () 13 13 (next_picture) 14 14 (if (touching_bg) 15 (progn 15 (progn 16 16 (with_object (bg) (setq special_power FLY_POWER)) 17 17 nil) … … 19 19 20 20 21 (defun health_power_ai () 21 (defun health_power_ai () 22 22 (next_picture) 23 (if (touching_bg) 24 (progn 25 (with_object (bg) 23 (if (touching_bg) 24 (progn 25 (with_object (bg) 26 26 (progn 27 27 (setq special_power HEALTH_POWER) -
abuse/trunk/data/register/tiles.lsp
r54 r582 1 1 2 (load_tiles 2 (load_tiles 3 3 "register/alien.spe" ;; 700-774 4 4 "register/trees.spe" ;; 800-931 … … 18 18 (set_aistate (+ (aistate) 1)))) 19 19 T) 20 20 21 21 22 22 23 23 (def_char END_GAME 24 24 (funs (ai_fun end_game_ai)) 25 (range 0 0) 25 (range 0 0) 26 26 (states "art/endgame.spe" 27 27 (stopped (app (seq "pipe" 1 9) -
abuse/trunk/data/register/weapons.lsp
r54 r582 44 44 45 45 46 (defun lsaber_draw () 46 (defun lsaber_draw () 47 47 (let ((c1 (find_rgb 255 255 255)) 48 48 (c2 (find_rgb 70 59 67)) … … 84 84 (if (and (eq 0 (mod (game_tick) 2)) (not (frame_panic))) 85 85 (let ((rand (rand_on))) 86 (with_object (add_object SMALL_LIGHT_CLOUD (+ (x) (random 3)) 86 (with_object (add_object SMALL_LIGHT_CLOUD (+ (x) (random 3)) 87 87 (- (y) (random 3) (/ (picture_height) 2))) 88 88 (set_fade_count 11)) … … 93 93 (let ((mex (x)) 94 94 (mey (y))) 95 (with_object (get_object 0) (find_object_in_area (- mex 7) 96 (- mey 7) 97 (+ mex 7) 95 (with_object (get_object 0) (find_object_in_area (- mex 7) 96 (- mey 7) 97 (+ mex 7) 98 98 (+ mey 7) bad_guy_list)))) 99 (progn 99 (progn 100 100 (do_white_explo 40 45) 101 101 nil) … … 110 110 (set_aistate (mod (+ (aistate) 35) 360)) 111 111 (set_aistate (mod (+ (aistate) 325 ) 360))))))) 112 T)) 112 T)) 113 113 ) 114 114 … … 116 116 117 117 (defun dfris_cache (type) 118 (list (list EXPLODE8 EXP_LIGHT) 118 (list (list EXPLODE8 EXP_LIGHT) 119 119 (list GRENADE_SND))) 120 120
Note: See TracChangeset
for help on using the changeset viewer.