
Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Feb 15, 2011 01:40 AM
Msg. 1 of 4
Theoretically, you could have a firefight with checkpoints, certainly better than dieing and having to start over. (or maybe not  ). So I could use game_save to save the game after a wave is exterminated. This would mean that the game would save, because it would be safe after all of teh enemies are dead. Although it would be much nicer to have a lives script though. Who thinks that would be a good option in a firefight?
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Feb 15, 2011 12:29 PM
Msg. 2 of 4
Lives script much better. I'm trying to get a simpler version going cos the current one is really wierd
Ok i scrapped the simpler version, it was wierder.
Here is a less simplified version:
(script continuous life_lost (set cheat_deathless_player true) (sleep_until (<= (unit_get_health (unit (list_get (players) 0))) 0.01) 1)
(player_enable_input false) (fade_out 1 0 0 15) (sleep 30) (set lives (- lives 1)) (object_teleport (unit (list_get (players) 0)) hide) (fade_in 0 0 0 60) (set load_available true) (sleep_until (= load_available false)) (object_teleport (unit (list_get (players) 0)) spawn) (player_add_equipment (unit (list_get (players) 0)) none true) (sleep 30) (player_add_equipment (unit (list_get (players) 0)) loadout1 true) (fade_in 0 0 0 60) (player_enable_input true) (sleep 50) ) (script continuous gameover (if (= lives 0) (game_lost))) (global short lives 7)
I haven't tested this yet so it might not work or their might be some bugs Edited by Muscl3r on Feb 15, 2011 at 12:33 PM
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Feb 15, 2011 08:28 PM
Msg. 3 of 4
Quote: --- Original message by: Muscl3r
Lives script much better. I'm trying to get a simpler version going cos the current one is really wierd
Ok i scrapped the simpler version, it was wierder.
Here is a less simplified version:
(script continuous life_lost (set cheat_deathless_player true) (sleep_until (<= (unit_get_health (unit (list_get (players) 0))) 0.01) 1)
(player_enable_input false) (fade_out 1 0 0 15) (sleep 30) (set lives (- lives 1)) (object_teleport (unit (list_get (players) 0)) hide) (fade_in 0 0 0 60) (set load_available true) (sleep_until (= load_available false)) (object_teleport (unit (list_get (players) 0)) spawn) (player_add_equipment (unit (list_get (players) 0)) none true) (sleep 30) (player_add_equipment (unit (list_get (players) 0)) loadout1 true) (fade_in 0 0 0 60) (player_enable_input true) (sleep 50) ) (script continuous gameover (if (= lives 0) (game_lost))) (global short lives 7)
I haven't tested this yet so it might not work or their might be some bugs Edited by Muscl3r on Feb 15, 2011 at 12:33 PM Oh, that's the weird fading colors one from Firefight Fissurefall. Mmm, I really didn't like the fading thing.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Feb 17, 2011 03:54 AM
Msg. 4 of 4
then fix it. it'll take 2 seconds
|
|
|