Jump to content
Sign in to follow this  
crassus

Civilian Helocopter Config

Recommended Posts

Thanks to Brsseb and his

Now, I've dePBO'd others' civilian Helicopters, but I cannot determine what removes the weapons completly from their birds.

I went as far as altering the config, reducing the inheritance to just the helo class:

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

{

class All{};

class AllVehicles:All{};

class Air: AllVehicles{};

class Helicopter: Air{};

class FirstHeli: Helicopter

{

side=3;

scope=public;

displayName="My first heli";

model="\firstheli\firstheli";

nameSound="chopper";

hasGunner=0;

crew="mtybellfloatCrew"; //crewman from Martin's Bell helocopter

maxSpeed=130;

armor=60;

transportSoldier=1;

accuracy=0.08;

simulation=helicopter;

typicalCargo[]={Man};

driverAction = ManActUH60Pilot;

enableSweep=true;

driverIsCommander=true;

};

};

Doing this, I was able to remove the rockets from the helo, apparently inherited from the UH60 Class, but why does the machinegun and TOW show up in the inventory?

(And yes, I know I misspelled Helicopter rofl.gif )

Share this post


Link to post
Share on other sites

Have you tried to add

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weapons[]={};

magazines[]={};

It should remove the weapons and magazine from the vehicle you are making the config.

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  

×