Re: [WIP] ff_landslide Public Beta (Single_Player)
Quote:
Originally Posted by
Dwood
You should also note that the dead bodies keep piling up. You should have a cleanup script.
After looking at the map, it seems that you create a game_save when the player hits a certain health. Is it okay with you or cad if I divulge the secrets of your player life system?
I didn't use game_save at all, because normally CE>Xbox maps freeze on checkpoints, here's the important parts of the lives script:
Code:
(global short lives 1) ;define number of lives globally
(global boolean no_lives false) ;defines if player has no lives left
(script continuous ldis_7 ;;displays lives
(sleep_until (= lives 7))
(cinematic_set_title Lives_7)
(sleep 30)
)
(script startup life_count_init_norm ;;define lives for normal/easy difficulty
(if (= (game_difficulty_get) normal)(set lives 7))
)
(script startup life_count_init_hard ;;define lives for heroic difficulty
(if (= (game_difficulty_get) hard)(set lives 5))
)
(script startup life_count_init_impossible ;;define lives for legendary difficulty
(if (= (game_difficulty_get) impossible)(set lives 3))
)
(script continuous life_lost
(set cheat_deathless_player true) ;stops player from dying
(sleep_until (<= (unit_get_health (unit (list_get (players)0 ))) 0.01) 1) ;waits until players health less than or equal to 1
(object_create_anew skull) ;create skull
(object_teleport skull spawn) ;teleport skull to spawn
(object_teleport (unit (list_get (players )0 )) spawn) ;teleport player back to spawn
(player_add_equipment (unit (list_get (players)0 )) skull false) ;redundancy to ensure player is holding skull
(sleep 30) ;pause 1 second
(player_add_equipment (unit (list_get (players)0 )) empty true) ;deletes all players' weapons except the readied one
(sleep 30) ;pause 1 second
(player_add_equipment (unit (list_get (players)0 )) respawn true) ;set the players weapons to the respawn profile
(set lives (- lives 1)) ;take away life
(object_create_anew skull) ;ensures skull is out of way
)
(script continuous lives ;;game lost if lives equal to 0
(if (= lives 0)(game_lost))
)
Re: [WIP] ff_landslide Public Beta (Single_Player)
sweet, so what would i have to make in order for the script to work?
Re: [WIP] ff_landslide Public Beta (Single_Player)
considering playing this as people here like it, the idea seems solid and the area is a good location...
gonna go play it right now and i'll give my review of it
Re: [WIP] ff_landslide Public Beta (Single_Player)
Re: [WIP] ff_landslide Public Beta (Single_Player)
Quote:
Originally Posted by
Dwood
garbage_collect_now
I know, I'm doing that and a few other things right now. Updated version will likely be up in a few hours.
Re: [WIP] ff_landslide Public Beta (Single_Player)
played about 3 rounds, it was an awesome experience. Great job I hope it improves. :golfclap:
Re: [WIP] ff_landslide Public Beta (Single_Player)
Re: [WIP] ff_landslide Public Beta (Single_Player)