Jump to content
Sign in to follow this  
-GNC-Lord-MDB

Replacing the Tank Commander turret weapon?

Recommended Posts

Does anybody know how to replace the Tank Commander's position gun in the turret (usually an MG) with a different weapon?

Share this post


Link to post
Share on other sites

Exchange weapons and magazines array below:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches

{

class YOURCFGPATCHESCLASS

{

units[] = {};

requiredVersion = 0.1;

requiredAddons[] = {"CATracked"};

};

};

class CfgVehicles

{

class Land;

class LandVehicle: Land

{

class NewTurret;

};

class Tank: LandVehicle

{

class Turrets

{

class MainTurret: NewTurret

{

class Turrets

{

class CommanderOptics: NewTurret{};

};

};

};

};

class M1Abrams: Tank

{

class Turrets: Turrets

{

class MainTurret: MainTurret

{

class Turrets: Turrets

{

class CommanderOptics: CommanderOptics

{

weapons[] = {"ACE_M1A1CMD_50"};

magazines[] = {"ACE_M1A1CMD_50_Box"};

};

};

};

};

};

Share this post


Link to post
Share on other sites

That helps me little, if I want to change the weapons by script. Give there does none instruct for it?

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  

×