IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
fritz0815

Private
Registered:
Posts: 5
Reply with quote  #1 
Hi all,
I am a Arma 3 beginner and have just installed Iron Front for Arma 3 and works great!
But for single Player missions I would like to add more Clips for rifleman (K98, Mosin Nagant).
In aia_infantry_if\Wehrmacht I found for a K98 rifleman a Equipment item "V_LIB_GER_VestKar98".
Is in this V_LIB_GER_VestKar98 the number of Clips is defined?
Please tell me in which pbo the number of Clips / magazines is defined.
Best regards
0
BRS

Captain
Registered:
Posts: 197
Reply with quote  #2 
No need to go into the pbo's IMO.

Look here: https://community.bistudio.com/wiki/addMagazines

There is a command for the INI-Line of your units: addMagazines

 -> unit addMagazines [magazineName, count]

and one example from: player addMagazines ["30Rnd_65x39_caseless_mag", 3];

You have to change the magazines names to the one you want.
Hope this helps ahead.
0
fritz0815

Private
Registered:
Posts: 5
Reply with quote  #3 
Hi BRS,
Thanks for your answer!
The AddMagazines command works but I don't know how to define it in a way that for example all LIB_GER_scout_rifleman get magazines.
Maybe with a Trigger that finds all LIB_GER_scout_rifleman and adds magazines to them.
I  tried this but it did not worked. 
Do you know a solution for that?
Best regards
0
BRS

Captain
Registered:
Posts: 197
Reply with quote  #4 
Each soldier has it's own init-field and is adressed by -> this addMagazines ["30Rnd_65x39_caseless_mag", 3];
So the very first attempt is to put that addmagazine command into each single INIT-line of all that related soldiers. This should be easy done by copy and paste.

There is sure a way so this is be done by automatic.
Means running a script or using trigger, init line and so on.

But if you don't have hundrets of AI soldiers so the above is the best methode then.
Please try this first. If you still need the other way let us know.
0
fritz0815

Private
Registered:
Posts: 5
Reply with quote  #5 
Thanks very much for that advice!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.