Home   Help Search Login Register  

Author Topic: Allow a unit to carry more equipment  (Read 755 times)

0 Members and 1 Guest are viewing this topic.

Loup-Garou

  • Guest
Allow a unit to carry more equipment
« on: 09 Nov 2003, 18:58:22 »
Many units (such as civilians : Man 1, Woman 3...) can't carry a secondary weapon   :gunman:(such as RPGLauncher...) or have less space for the ammo... . How can I change this in the editor?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Allow a unit to carry more equipment
« Reply #1 on: 09 Nov 2003, 19:23:41 »
You can't.

You could create an addon unit with the characteristics you want.   (For example a civvy who can use a LAW.)

Alternatively, depending on the circumstances, you may be able to edit the mission.sqm file to make things work the way you want.     Planck's link in the other thread will get you started on how to do this.
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:Allow a unit to carry more equipment
« Reply #2 on: 09 Nov 2003, 19:28:40 »
 ;D thanks, MacGuba.So I must find another solution to allow a woman to carry a BIG gun  :hmm:
« Last Edit: 26 Apr 2005, 18:56:10 by Loup-Garou »

Loup-Garou

  • Guest
Re:Allow a unit to carry more equipment
« Reply #3 on: 26 Apr 2005, 18:55:54 »
Almost two years...now I can do this  :D ! 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;
   };

« Last Edit: 26 Apr 2005, 19:00:49 by Loup-Garou »

Offline 456820

  • Contributing Member
  • **
Re:Allow a unit to carry more equipment
« Reply #4 on: 26 Apr 2005, 18:59:42 »
i thoguh just addweapon would work because if you add weapon a shell125 you can fire shells around the place also in the resistance game the player (cant rememebr name) can cary an RPG when you are a civi at the very begining

Loup-Garou

  • Guest
Re:Allow a unit to carry more equipment
« Reply #5 on: 26 Apr 2005, 19:07:04 »
i thoguh just addweapon would work because if you add weapon a shell125 you can fire shells around the place

I didn't know the trick about the shell125. I'll try that. Thanks  ;).

Quote
in the resistance game the player (cant rememebr name) can cary an RPG when you are a civi at the very begining

Yes, as a civilian Victor Troska can use heavy weapons such as RPG, but this model is unavailable in the editor. Instead of this model, I use the Civilian militia (1 and 2) of the addon "editorupdate102".
« Last Edit: 26 Apr 2005, 19:09:23 by Loup-Garou »