Jump to content
Sign in to follow this  
saetheer

Zeus, Addon, Restrict side

Recommended Posts

So I've this mission I'm testing out on. I have two zeus, the though was to have One Zeus for Opfor and one for Blufor. However I can figure out how to only give Blufor Zeus access to Blufor stuff and vice versa for Opfor Zeus.

I think I can add A3_Characters_F_OPFOR to opfor Zeus and remove it from bluefor - However A3_Soft_F_Quadbike will add CSAT, NATO to the both Zeus.

Anyone know how to go about this?

Share this post


Link to post
Share on other sites

initPlayerLocal.sqf

_BLUFOR_A3_Characters_F_BLUFOR = ['B_Soldier_GL_F',1,'B_soldier_AR_F',2,'B_Soldier_TL_F',1,'B_soldier_LAT_F',2.6,'B_soldier_AT_F',5.2,'B_spotter_F',2.6,'B_sniper_F',4,'B_recon_F',2,'B_recon_M_F',2.6,'B_soldier_AAT_F',1.8,'',0];
_OPFOR_A3_Characters_F_OPFOR = ['O_Soldier_GL_F',1,'O_Soldier_AR_F',2,'O_Soldier_TL_F',1,'O_Soldier_LAT_F',2.6,'O_Soldier_AT_F',5.2,'O_spotter_F',2.6,'O_sniper_F',4,'O_recon_F',2,'O_recon_M_F',2.6,'O_Soldier_AAT_F',1.8,'',0];
_BLUFOR = (
_BLUFOR_A3_Characters_F_BLUFOR + 
       []
);
_OPFOR = (
_OPFOR_A3_Characters_F_OPFOR + 
       []
);
[bluforZeus,_BLUFOR] call bis_fnc_curatorObjectRegisteredTable;
[OpforZeus,_OPFOR ] call bis_fnc_curatorObjectRegisteredTable;

initServer.sqf

_WEST0 = ["A3_Characters_F_BLUFOR"];
_EAST0 = ["A3_Characters_F_OPFOR"];


[bluforZeus,_WEST0] call bis_fnc_manageCuratorAddons;
[OpforZeus,_EAST0 ] call bis_fnc_manageCuratorAddons;

This should only enable the Infantry of the corresponding side to the Zeus(es).

P.S. The Costtable Export seems to be broken for me. Can't export them in OO or Exel without syntax errors.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×