It is only beta version of program. So if you see bugs, or have some ideas for program, please send it to me.
So this program can help you whith creating addon of infantry.
Program can:
- change models of standart units (working)
- change side of standart units (not tested)
- change weapon of standart units (not tested)
- give weapon from different addons to standart units (not tested)
All questions you can send to e-mail, or here.
p.s.
Sorry for my "English".
This post was edited by badger (2008-06-18 10:55, ago)
Looks like a very cool tool badger :thumb
I am sure many people will love this if everything is working perfectly to create their own replacement packs.
Am I correct it can only make a replacement file for infantry units? Not for vehicles?
As yet, only infantry units. Vehicles is not working correctly and you dont see the page with vehicle in program :)
As soon as I find problem with vehicle, program will be updated.
Hey very nice,
I tried to make a replacement which made Civilians carry different guns and it came up with an error when i launched ArmA it says: File civeastrepl\config.cpp, line 13: /CfgVehicles/: 'A' encountered instead of '{'
I have no clue what this means. I think this is a bug with adding weapons to civilians or with changing civilians to East side or both.
How i packed it:
Made replacements with your utility. Put Config.cpp (that was created) into the civeastrepl folder. I changed that folder to a .PBO file then put it into my ArmA AddOns. Is this the correct way to do it?
Thanks for all your hard work mate :D
layne 'squeeky' suhr program creating folder "MyReplacement" with config file.
You should puck this folder with some tools for creating *.pbo ("PboView" for example) and it created file MyReplacement.pbo.
If you want change name of *.pbo file, then change name of folder and change in config file "MyReplacement" to your name:
class CfgPatches //// Made with "ArmA Replacement Maker" от badger \\
{
class [red]MyReplacement[/red] {
units[] = {};
weapons[] = {};
requiredVersion = 0.5;
And puck it with pbo tool.
If about error, watch at 13 line in config file, mistake is there. Or show you config file here.
OK, I find some errors in program, there are in adding weapon and replacing civilian and RACS. So in nearest time I will improve it.
layne 'squeeky' suhr:
extendet class mast be standart, so if you dont want add new units (only replacing standart) you will write:
class CfgPatches //// Made with "ArmA Replacement Maker" by badger \\\\
{
class CivEastRepl {
units[] = {};
weapons[] = {};
requiredVersion = 0.5;
requiredAddons[] = {"CACharacters"};
};
};
class CfgVehicles
{
class CAManBase;
class Civilian: CAManBase {
weapons[] = {"Throw", "Put", "AK74"};
magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK"};
side = 0;
};
class Civilian2: Civilian {
weapons[] = {"Throw", "Put", "AK74", "RPG7V"};
magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "PG7V", "PG7V", "PG7V"};
side = 0;
};
class Civilian3: Civilian {
weapons[] = {"Throw", "Put", "PK"};
magazines[] = {"100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK"};
side = 0;
};
class Civilian4: Civilian {
weapons[] = {"Throw", "Put", "SVD", "Makarov", "Binocular"};
magazines[] = {"10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov"};
side = 0;
};
class Civilian5: Civilian {
weapons[] = {"Throw", "Put", "AK74G"};
magazines[] = {"1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK"};
side = 0;
};
class Civilian6: Civilian {
weapons[] = {"Throw", "Put", "M16A2"};
magazines[] = {"20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag"};
side = 0;
};
class Car;
class Tank;
};
And if want to add new units you write:
class CfgPatches //// Made with "ArmA Replacement Maker" by badger \\\\
{
class CivEastRepl {
units[] = {};
weapons[] = {};
requiredVersion = 0.5;
requiredAddons[] = {"CACharacters"};
};
};
class CfgVehicles
{
class CAManBase;
class Civilian; //extended
class Civilian2; //extended
class Civilian3; //extended
class Civilian4; //extended
class Civilian5; //extended
class Civilian6; //extended
class CivilianAK74: Civilian {
weapons[] = {"Throw", "Put", "AK74"};
magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK"};
side = 0;
};
class CivilianRPG7V: Civilian2 {
weapons[] = {"Throw", "Put", "AK74", "RPG7V"};
magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "PG7V", "PG7V", "PG7V"};
side = 0;
};
class CivilianPK: Civilian3 {
weapons[] = {"Throw", "Put", "PK"};
magazines[] = {"100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK", "100Rnd_762x54_PK"};
side = 0;
};
class CivilianSniper: Civilian4 {
weapons[] = {"Throw", "Put", "SVD", "Makarov", "Binocular"};
magazines[] = {"10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "10Rnd_762x54_SVD", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov"};
side = 0;
};
class CivilianGrenadier: Civilian5 {
weapons[] = {"Throw", "Put", "AK74G"};
magazines[] = {"1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK", "30Rnd_545x39_AK"};
side = 0;
};
class CivilianM16: Civilian6 {
weapons[] = {"Throw", "Put", "M16A2"};
magazines[] = {"20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "20Rnd_556x45_Stanag"};
side = 0;
};
class Car;
class Tank;
};
Also remember that unit class can look like "CivilianM16" but "Civilian M16" is not right.
And example of chainging model of standart units (remember tha you mast write full directory of model ("\UN_Brazil\res_soldier.p3d" - right, "res_soldier.p3d" - not right)
class CfgPatches //// Made with "ArmA Replacement Maker" by badger \\\\
{
class MyReplacement {
units[] = {};
weapons[] = {};
requiredVersion = 0.5;
requiredAddons[] = {"CACharacters", "UN_Brazil"};
};
};
class CfgVehicles
{
class CAManBase;
class SoldierGB: CAManBase {
model = "\UN_Brazil\res_soldier.p3d";
};
class SoldierG: SoldierGB {
model = "\UN_Brazil\res_soldier.p3d";
};
class SoldierGNOG: SoldierGB {
model = "\UN_Brazil\res_soldier.p3d";
};
class SoldierGAA: SoldierGB {
model = "\UN_Brazil\res_soldier.p3d";
};
class TeamLeaderG: SoldierGB {
model = "\UN_Brazil\res_soldier.p3d";
};
class Car;
class Tank;
};
This post was edited by badger (2008-06-20 05:47, ago)
layne 'squeeky' suhr I think it will be interesting for you. If you want create new class, then add to him displayName as in example. After this you soldier as you want.
p.s.
I hope it last weekend i will update my program. I plan to add:
- MP or SP replacements
- weapon replacement (for MP)
- Full Help.
- Saving settings
- Civ and RACS parent classes
- improve Error with unnecessary parent classes
I am trying to replace the M4s the US Army units use with the M16A2. It works perfectly for all of the units except the rifleman. When i try to load the game with my replacement pbo, I get an error message that says "Invalid Crew SoldierWB"
Any help?
This post was edited by IICptMillerII (2011-07-24 21:23, ago)