Jump to content
Sign in to follow this  
Grimfist

how do i make Replacment addon?

Recommended Posts

hi - first post here at the BI forums.

firstly - I HAVE NOT HAD PERMISSION TO DO THIS - i just want to learn - i will not realease this.

I want to get in to add-on making, and the first task i want to take on is a replacement.

i want to change the SLA especas to these:

http://www.armaholic.com/page.php?id=3897

now i have un pbo 'ed rellikis desert especas replacement:

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

class REL_DSSLA_Especas_Replacement {

units = {};

weapons = {};

requiredVersion = 1.040000;

requiredAddons = {"CACharacters", "REL_DSSLA"};

};

};

class CfgVehicles {

/*extern*/ class CAManBase;

/*extern*/ class SoldierEB;

class SoldierESaboteur: SoldierEB {

model = "\REL_DSSLA\REL_DSSLA_esp";

class Wounds {

tex = {};

mat = {"REL_DSSLA\hhl_bare.rvmat", "REL_DSSLA\hhl_bare_wound1.rvmat", "REL_DSSLA\hhl_bare_wound2.rvmat", "REL_DSSLA\hhl_helmet.rvmat", "REL_DSSLA\hhl_helmet_wound1.rvmat", "REL_DSSLA\hhl_helmet_wound2.rvmat", "REL_DSSLA\hhl_cap.rvmat", "REL_DSSLA\hhl_cap_wound1.rvmat", "REL_DSSLA\hhl_cap_wound2.rvmat", "REL_DSSLA\hhl_boonie.rvmat", "REL_DSSLA\hhl_boonie_wound1.rvmat", "REL_DSSLA\hhl_boonie_wound2.rvmat", "REL_DSSLA\hhl_crew.rvmat", "REL_DSSLA\hhl_crew_wound1.rvmat", "REL_DSSLA\hhl_crew_wound2.rvmat", "REL_DSSLA\body.rvmat", "REL_DSSLA\body_wound1.rvmat", "REL_DSSLA\body_wound2.rvmat"};

};

};

class SoldierESaboteurPipe: SoldierESaboteur {

model = "\REL_DSSLA\REL_DSSLA_esp";

};

class SoldierESaboteurMarksman: SoldierESaboteurPipe {

model = "\REL_DSSLA\REL_DSSLA_sptr";

};

class SoldierESaboteurBizon: SoldierESaboteurPipe {

model = "\REL_DSSLA\REL_DSSLA_esp";

};

};

but now i am stuck - the units i want to change them to are as follows:

INPU_4 - marksman

INPU_7 - especas

INPU_5 - sabater

thanks in advance for your help

and sorry if this is wrong/copyright prohibeted - i just want to start somewhere.

thankz,

grim.

Share this post


Link to post
Share on other sites

dont worry about copyright etc

as long as you dont modify a model pbo, people cant say anything.

you just make a new pbo with a config file that assigns different

skins to unit classes.

anyway unpack with cpbo your new pbo.

look for config.cpp

convert from bin to cpp with unRap - in case of config.bin

look for the desired models and their path

replace the models path in the given example,

as well as the cfgpatches class in requiredaddons

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  

×