Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Mace242

Remoal of Ammo, ruck and HunterIR crates from Domination

Recommended Posts

Hi,

I'm currently editing the {Op4}_Dom_Duala_4 mission.

I'm looking to remove the Ammo, Ruck and HunterIR crates from around the flag pole at Base and replace with custom ones I have ready. The crates dont show up as a "unit" in the editor so I cant just delete them, they are only marked with a marker on their positon.

I found the x_weaponcargo_ace file in the x_script folder of the Domination PBO, which shows the contents and its quantity, but I'm not looking to edit, just to remove them?

Any help would be great?

Thanks,

Mace

Share this post


Link to post
Share on other sites

should be in i_client.sqf should be able to comment out the pos for the one's you don't want.here is an example of what I am referencing in the script

#ifdef __ACE__

d_ace_boxes = [

["ACE_RuckBox_West",[4250.8345,2165.585,0],55], // position, direction ACE_RuckBox

["ACE_HuntIRBox",[4255.1836,2165.5305,0],55] // position, direction ACE_HuntIRBox

];

(this is a commented line and the above is uncommented)

//["ACE_MedicBox",[9664.12,9979.25,0],0], // position, direction ACE_MedicBox

#endif

Cheer's ChefD

Ps that example came out of Duala Dom If mem serves me correct they are using the Everon Def

Share this post


Link to post
Share on other sites

Thanks ChefD,

Thanks for helping me locate that.

I used the position.sqf on my player in the editor, placed him out in the water to the top right hand side of the map, got the coord's and just placed the 3 boxes out there.

Put my own "unit" ammo box etc at the flagpole with my custom layout (ammoboxmain.sqf).

Thanks again.

Mace

Share this post


Link to post
Share on other sites
//["ACE_MedicBox",[9664.12,9979.25,0],0], // position, direction ACE_MedicBox

Not the best idea to just comment out stuff in domination. This will cause errors because the script which is creating the ammobox is missing a position. If you have errors in your mission this can cause low fps and can affect other scripts and functions.

In this case you should use 000 or some "in water" coords. Like Mace said.

For example:

["ACE_MedicBox",[0,0,0],0]

I know that the op4 domination has already some errors in it, because they just renamed and deleted stuff. Always check your "arma2.RPT" and try to get rid of any errors.

Edited by sxp2high

Share this post


Link to post
Share on other sites
Sign in to follow this  

×