Forum Jump :

Author Message


Posts: 11
Rank:


Level: Member

Country: ru
Location: Saint-Petersburg
Occupation: Airsoft
Age: 26
In-game name:

 
#1 Posted at 2008-06-17 21:45        
     
DOWNLOAD #1

DOWNLOAD #2

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)


Author Message


Posts: 18962
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#2 Posted at 2008-06-17 22:34        
     
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?


I have made a newspost about it on the homepage, you can find our download page here:
http://www.armaholic.com/page.php?id=3375

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 11
Rank:


Level: Member

Country: ru
Location: Saint-Petersburg
Occupation: Airsoft
Age: 26
In-game name:

 
#3 Posted at 2008-06-18 05:17        
     
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.

Also, soon, I will include full Help in English.


Author Message


Posts: 5
Rank:


Level: Member

Country: au
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2008-06-18 09:29        
     
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


Author Message


Posts: 11
Rank:


Level: Member

Country: ru
Location: Saint-Petersburg
Occupation: Airsoft
Age: 26
In-game name:

 
#5 Posted at 2008-06-18 10:29        
     
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.


Author Message


Posts: 5
Rank:


Level: Member

Country: au
Location:
Occupation:
Age:
In-game name:

 
#6 Posted at 2008-06-18 22:02        
     
This is what my config looks like


class CfgPatches //// Made with "ArmA Replacement Maker" by badger \\\\ 
{ 
 class CivEastRepl {
  units[] = {};
 weapons[] = {};
 requiredVersion = 0.5;
  requiredAddons[] = {"CACharacters"};
 };
};

class CfgVehicles
{
 class CAManBase;
 class Civilian AK-74;  //extended
 class Civilian RPG-7V;  //extended
 class Civilian PK;  //extended
 class Civilian Sniper;  //extended
 class Civilian Grenadier;  //extended
 class Civilian M16;  //extended
 class Civilian: Civilian AK-74 {
  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 RPG-7V {
  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 PK {
  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 Sniper {
  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 Grenadier {
  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 M16 {
  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;
};


Author Message


Posts: 12
Rank:


Level: Member

Country: ro
Location:
Occupation:
Age: 38
In-game name:

 
#7 Posted at 2008-06-19 21:16        
     
requiredVersion = 0.5;

^^ Looks like I missed the launch of Arma 5 :)


Author Message


Posts: 11
Rank:


Level: Member

Country: ru
Location: Saint-Petersburg
Occupation: Airsoft
Age: 26
In-game name:

 
#8 Posted at 2008-06-20 05:29        
     
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)


Author Message


Posts: 11
Rank:


Level: Member

Country: ru
Location: Saint-Petersburg
Occupation: Airsoft
Age: 26
In-game name:

 
#9 Posted at 2008-07-06 16:34        
     
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.

 class 6G30Grenadier: SoldierEG  {
  weapons[] = {"Throw", "Put", "6G30"};
  magazines[] = {"6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "6Rnd_HE_6G30", "HandGrenade", "HandGrenade"};
  side=0; //it is not necessary
  displayName = "6G30 Grenadier"; 
 };

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


Author Message


Posts: 10
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#10 Posted at 2011-07-24 21:18        
     
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)