Almost two years...now I can do this
! So I finish this topic (I don't like mess ;D !) :
1) Create a folder with the name you want for your "basic" addon.
2) In this folder you must create a text file named "Config.cpp" ; you also can create a file with Microsoft Excel if you want to make translations : stringtable.csv.
3) Here are my examples :
a) Config.cpp :
class CfgPatches
{
class LG_unites
{
units[] = {"LG_RES_MWOMAN1","LG_RES_MWOMAN2","LG_RES_RPG"};
weapons[] = {};
requiredVersion = 1.96;
requiredAddons[]={};
};
};
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land:AllVehicles{};
class Man:Land{};
class Civilian: Man{};
class Woman3: Civilian{};
class Woman4: Civilian{};
class Woman5: Civilian{};
class LG_RES_MWOMAN1: Woman4
{
vehicleClass="$STR_CLASSE";
displayName="$STR_SOLDATE_1";
model="\O\Char\civilistka02b";
weaponSlots="1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32+65536";
side=2
weapons[]={"AK74","Throw","Put"};
magazines[]={"AK74","AK74","AK74","AK74","HandGrenade","HandGrenade"};
};
class LG_RES_MWOMAN2: Woman3
{
vehicleClass="$STR_CLASSE";
displayName="$STR_SOLDATE_2";
model="\O\Char\civilistka02a";
weaponSlots="1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32+65536";
side=2
attendant=1
picture=\misc\medik.paa;
weapons[]={"AK74","Throw","Put"};
magazines[]={"AK74","AK74","AK74","AK74"};
};
class LG_RES_RPG: Woman5
{
vehicleClass="$STR_CLASSE";
displayName="$STR_SOLDATE_3";
model="\O\Char\civilistka02c";
weaponSlots="1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32+65536";
side=2
weapons[]={"AK47CZ","RPGLauncher","Throw","Put"};
magazines[]={"AK47","AK47","AK47","AK47","RPGLauncher","RPGLauncher","RPGLauncher"};
};
};
b) stringtable.csv (english and french) :
LANGUAGE,English,French, Comment
STR_CLASSE,Men,Men, Class name
STR_SOLDATE_1,Militiawoman 1,Milicienne 1, Unit name
STR_SOLDATE_2,Militiawoman 2 (nurse),Milicienne 2 (infirmière), Unit name
STR_SOLDATE_3,RPG Soldier (woman),Soldate (RPG), Unit name
4) Use MakePBO with the folder and put the pbo file into the Res\Addons folder.
NOTE : to "make" female voices, use the description.ext file :
class CfgIdentities
{
class KatrinaMetella
{
name = "Katrina Metella";
face = "Kamila";
glasses = "none";
speaker = "Peter";
pitch = 1.3;
};