Jump to content
Sign in to follow this  
fusion13

Newbie, so I have a model but I need a config or atleast help..

Recommended Posts

Oks so I have a model I made but I need a config sofar I have

class CfgPatches {
class Fus_Addons {
	units[] = {Fus_Addons};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {Fus_Addons};
};
};

class CfgVehicles {

class HDD: Item
{
	model = "\HDD\model\hdd.p3d";
	armor=100;
	scope=2;
	displayName="HDD";
	faction = "Empty";
	vehicleClass = "Fusion";

};
};

But it says there is an error in the config.... I am VERY new to this type of things, I searched endlessly for a Item config guidlines and I couldn't find one, so basically what I want is this to work then have an acting (was going for making it work first xD)

Using: BinPBO

Error is: Error in config (path)\config.cpp

It still makes the bin but it wont show up in game.

Share this post


Link to post
Share on other sites

You know that a config.cpp file works just as fine as a .bin?

You might also remove Fus_Addons from the requiredAddons line - it is redundant.

Share this post


Link to post
Share on other sites

Yea I messed with it, got it to show in game and stop the errors, and I do put it in the bin, you have to edit it in a CPP tho,, But I got it show in game the new Config is

class CfgPatches {
class Fus_Addons {
	units[] = {Fus_Addons};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {};
};
};

class CfgVehicles {
class sweg;
class HDD: sweg
{
	model = "\HDD\model\hdd.p3d";
	armor=100;
	scope=1;
	displayName="HDD";
	faction = "Empty";
	vehicleClass = "Fusion";
};
};

And now its messing up again, Actually, it says no config.bin\cfgvehciles\sweg.scope not found or some shti

Share this post


Link to post
Share on other sites
Oks so I have a model I made but I need a config sofar I have

I'd suggest you get mikero's PboProject and use that. I didn't know much at all about configs until I started using it and it shows just where errors are so you can fix them (and learn along the way.)

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  

×