Comrades in Arms Discussion Board
BTC revive init parameters - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: BTC revive init parameters (/showthread.php?tid=2993)



BTC revive init parameters - Misha - 05-06-2015

Hey guys, does anyone know if in BTC init file, the order of parameters matters?

For example, if we have:

Code:
BTC_revive_time_min = 5;
BTC_revive_time_max = 1200;//20 minutes should be a good length
BTC_who_can_revive  = ["B_medic_F"];//medic only revive
BTC_disable_respawn = 1;//no respawn at base
BTC_respawn_gear    = 1;//respawn with current gear

Can we put BTC_disable respawn before other parameters? So that it starts like this:

Code:
BTC_disable_respawn = 1;//no respawn at base
BTC_revive_time_max = 1200;//20 minutes should be a good length
BTC_who_can_revive  = ["B_medic_F"];//medic only revive
BTC_respawn_gear    = 1;//respawn with current gear



Re: BTC revive init parameters - Variable - 05-06-2015

Misha I think I saw different missions with different order of fields. Can't swear on it, though.


Re: BTC revive init parameters - Misha - 05-07-2015

I see that across different BTC versions the parameters and their order are different. But what is common in each mission that uses them is that they maintain the same order of parameters.

Seems I have to ask on BTC topic on BIS forum.


Re: BTC revive init parameters - Misha - 05-09-2015

Asking on official BTC topic yielded no answer so I tried to do experiment with parameters.


Putting disable_respawn as a first parameter worked for both possible values. However, either mission was buggy or some other parameters need to be changed as well.


For example, setting disable_respawn to 1, resulted in me getting to respawn options screen, but there was no option to exit nor the button to spawn (because it was disabled) so I had to kill the game to be able to exit from there.