Jump to content
Sign in to follow this  
chris330

Binarize problem

Recommended Posts

Hi,

I've just finished my SA80 addon and I am having problems whenh trying to binarize it. Hardly anyone bothered replying to my last thread so I thought I'd be a bit more specific. I have successfully .pbo ed my addon and I am currently testing it. However before I release it I want to cure that muzzleflashbug. I dont know where to put the Cfgmodels section in the config file, and I am also unsure as to what i have done wrong so far. Could anyone help me?

class CfgModels

{

class Default{};

class Weapon: Default{};

class SA80 : Weapon

{

sections[] = {"zasleh"};

};

class Man:Default{};

class mc_civil: Man{};

class CivilianSA80 : mc_civil{};

};

I have declared both the weapon and the guy who will hold it whlie its being tested. Binarize will still not run however. Any suggestions? sad.gif

Share this post


Link to post
Share on other sites

Some good news. That config file I just posted cures the muzzleflash bug, however binarize STILL wont run. The only problem I can think of is that I haven't declared the model to be used for my guy in the following part of the config file.

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles{};

class Man:Land{};

class Civilian: Man {};

class CivilianSA80 : Civilian

{

access=2

displayName="Civilian (SA80)";

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

magazines[]={"SA80","SA80","SA80","SA80","HandGrenade&quo

t;,"HandGrenade","HandGrenade","HandGrenade","HandGrena

de","HandGrenade"};

};

};

class CfgNonAIVehicles

{

class ProxyWeapon {};

class ProxyCivilianSA80 : ProxyWeapon {};

};

I dont know where the path for the model "mc_civil" is though. Any suggestions. This really is nearly finished and it looks great.

Share this post


Link to post
Share on other sites

You define the model of your civilan wrong, I don't even know why you define it anyway, since you don't use it.

If you don't have a model for your civilian, don't define one in CgfModels.

Share this post


Link to post
Share on other sites

Thanks again Rasta, I'll give it another go with your solution. smile.gif

Share this post


Link to post
Share on other sites

Alright Ive done that and binarize still wont run. Ive left out declaring a scope for the weapon just for test purposes. Will this stop binarize running? Also does anyone know how to make a custom scope view for a new weapon. I noticed that all other scopes are .p3d files but I cant open any in oxygen? Your help would be massively appreciated. confused.gif

Share this post


Link to post
Share on other sites

i am also having the problem of binarize not running. i guess you can only have one model in the addon for binarize to work.

i am sure my config is alright, but my addon hosts a total of 5 model so far and i guess that is a problem.

if someone could verify this.....

Share this post


Link to post
Share on other sites

do you use any original texture from game data.pbo file in your addon ?

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  

×