
Originally Posted by
Colosseum
Hi there,
Can you please tell me how I can set up the following (I've tried and failed many times). I want this to happen:
1. When player is killed, they are able to be revived for 2 minutes (120 seconds).
2. When they bleed out and die fully after the revive time is up (after 120 seconds), they respawn at marker "respawn_guerrila" in the player base. Player units are side INDEPENDENT.
3. Players can be knocked down and revived an infinite number of times.
4. Players can die and respawn an infinite number of times.
I have done the following:
1. Revive script is initialized through my init.sqf script.
2. There is a "boot_hill" marker, along with a "respawn_guerrila" marker. I have also placed "respawn1_GUER", "respawn2_GUER", "respawn3_GUER" and "respawn4_GUER" in the same point as "respawn_guerrila" to be thorough.
3. I have modified configuration options, but please let me know what options need to be affected. I am confused by this file.
Thanks!
Ian
Place a marker called respawn_marker where you want the respawn point and use this settings(note, yellow = comments ¬¬):
PHP Code:
//infinite lifes
Colum_revive_Conf_Lifes= 1000;
//120 uncons time
ace_wounds_prevtime = 120;
//enable respawn
Colum_revive_Respawn=true;
//not really needed because its not shown
Colum_revive_RespawnButton_text = ["respawn"];
//name of the marker
Colum_revive_RespawnMarkers= ["respawn_marker"];
//200 seconds to show the respawn buttons, so they will never be shown
ace_sys_spectator_RevShowButtonTime = 200;
Note, players would be able to exploit(instant respawn) the timer by using game respawn(esc menu) button, so you may want to penalize that by enabling:
Code:
Colum_revive_RespawnButtonPunish=true;
But that would make the one that uses the respawn button out of the game forever
so warn the players about that if you enable that setting. Also note that the infinite settings its still not finished so under some circustances the lifes may start to go down( not really important due that its almost imposible to use 1000 lifes :P)