Jump to content
Sign in to follow this  
FIN-Nixo

Create Simple Config

Recommended Posts

Hello. banghead.gif I have crashed into my worst nightmare. I do not understand the config.ccp things.... I have used the "How to make a stand-alone unit in ArmA" Tutorials Config.cpp in ALL my addons, And addes so that all are in ONE unit, Like Sahrani SF->Man1,Man2,Man3 etc. That is a nightmare cuz now i have like 100PBO files in my mod[addons] folder. I need the help to create a SIMPLE Config with 7 Units.

Folder name: nix_ssf

p3d names: sf_tl , sf_mg , sf_s , sf_sl , sf_at , sf_r , sf_z

All the p3ds are BIS Samples.

The p3ds contain only BIS sample equipment. No Own made things, Exept for a bit modified helmet. Please help!!

Share this post


Link to post
Share on other sites

take a look at

http://community.bistudio.com/wiki/Category:ArmA:_Addon_Configuration

and aslo take a look at how other does it. that probealy the best way to learn..

take a look at the example on the wiki and modefie it to something like

class CfgPatches

{

class MySoldier

{

units[] = {"MySoldier1,MySoldier2,MySoldier3,SoOn"};

requiredAddons[] = {};

weapons[] = {};

requiredVersion = 1.00;

};

};

class CfgVehicleClasses

{

class MySoldierClass

{

displayName = "My Soldiers";

};

};

class cfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man:Land {};

class CAManBase: Man {};

class SoldierWB: CAManBase {};

class MySoldier1: SoldierWB

{

displayName="My Soldier1";

vehicleClass = "MySoldierClass";

model="\path\yourmodell"

};

class MySoldier2: SoldierWB

{

displayName="My Soldier2";

vehicleClass = "MySoldierClass";

model="\path\yourmodell"

};

class MySoldier3: SoldierWB

{

displayName="My Soldier3";

vehicleClass = "MySoldierClass";

model="\path\yourmodell"

};

so ON

};

Share this post


Link to post
Share on other sites
class cfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man:Land {};

class CAManBase: Man {};

class SoldierWB: CAManBase {};

class MySoldier1: SoldierWB

{

displayName="My Soldier1";

vehicleClass = "MySoldierClass";

                         model="\path\yourmodell"

};

class MySoldier2: SoldierWB

{

displayName="My Soldier2";

vehicleClass = "MySoldierClass";

                         model="\path\yourmodell"

};

class MySoldier3: SoldierWB

{

displayName="My Soldier3";

vehicleClass = "MySoldierClass";

                         model="\path\yourmodell"

};

           so ON

};

You are unnecessarly emptying classes in your example, that was the old OFP style, now it should look like:

class CfgVehicles

{

class SoldierWB;

class MySoldier1: SoldierWB

{

...

};

class MySoldier2: SoldierWB

{

...

};

};

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  

×