Jump to content
Sign in to follow this  
USMC Sniper

Trouble creating resistance unit

Recommended Posts

I am trying to create a Resistance unit with the Walther MPL addon, based on the Civilian6 model. I have edited the .cpp like this:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> class CfgVehicles {

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man: Land {};

class Resistance: Man {};

class Civilian6: Resistance {}

class NZXMPLGunCivilian6: Civilian6

{

access=2

displayName="Mafia(Walther MPL)";

weapons[]={"Throw","Put","NZXMPLGun"};

magazines[]={"NZXMPLGunMag","NZXMPLGunMag","NZXMPLGunMag","NZXMPLGu

nMag"};

<span id='postcolor'>

Before the lines "class Civilian6: Civilian" was present, as was

"class Civilian: Man". Now when I try finding the unit in the Resistance section, it is not there. What did I do wrong?

The quote is not the whole .cpp, just the edited part.

Share this post


Link to post
Share on other sites

should be

...

class Soldier: Man {}

class SoldierGB: Soldier {}

class NZXMPLGunCivilian6: SoldierGB {

model="\O\Char\Char03";

...

OR

...

class Civilian: Man {};

class Civilian6: Civilian {}

class NZXMPLGunCivilian6: Civilian6 {

side=2;

...

Share this post


Link to post
Share on other sites

Dude,That walther isnt really worth messing with.It really shouldnt have been released.But what can I do about it.Enjoy I guess.

Share this post


Link to post
Share on other sites

The only problems with it are no picture for the gun and magazine's in the equipment page, the model's fine, I changed the sounds to the one from NOLF, and I changed the skin a bit.

Share this post


Link to post
Share on other sites

Yeah that addon is still in beta.I have the inventory pix and stuff for it.and It wasnt supose to be the way it was.instead of one pbo file it was to be 2 pbo files 1 for the weapon and one for the unit.that way it would have been alot better to work with.And you would have just had to add the unit and just type in the weapon an mags.but, some people want to release stuff just for the hell of it.Have you noticed how the MPL fires I still think the aim is off.

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  

×