Forum Jump :

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#1 Posted at 2012-03-03 17:12        
     
I recently downloaded the Colonial Marines from the modules section of addons. The only problem is that they don't carry a radio, GPS, watch, map, or compass. Is there a scripting command I could put in to add it to the inventory of the individual soldiers?

Modedit:
topic moved and renamed.

This post was edited by Foxhound (2012-03-03 18:15, ago)

A Little War Never Hurt Anybody

Author Message


Posts: 149
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 26
In-game name: PFC Grunyev.C

 
#2 Posted at 2012-03-03 17:30        
     
This addweapon "ItemMap";This addweapon "ItemCompass";This addweapon "ItemRadio";This addweapon "ItemGPS";

Danger close is not an option. Its default.

Advertisement


Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#3 Posted at 2012-03-03 21:37        
     
Thanks man, it's a real pain in the ass to be lost without a map!

Added 1 minute later:

Oh, by the way, will that work with adding weapons to soldiers or vehicles? Like if I put, this addweapon Item "M8" or something along those lines?

A Little War Never Hurt Anybody

Author Message


Posts: 263
Rank:


Level: Member

Country: us
Location: Wisconsin
Occupation: Patrol Deputy
Age: 22
In-game name: Sup3r6f0ur

 
#4 Posted at 2012-03-03 23:22        
     
If you want to add a weapon you need to use
this addweapon "m16a4";
Or a magazine
this addmagazine "Handgrenade_West";
or
this addmagazine "30Rnd_556x45_Stanag";
For vehicles use
this addweaponcargo ["m16a4", 4];
4 being the number of that item in the vehicle. Same goes for magazines and items. To clear a units loadout use.
removeallweapons this;
or
removeallmagazines this;
For vehicles
clearallweaponcargo this;

This post was edited by Sup3r6f0ur (2012-03-04 19:20, ago)

"All that is needed for evil to succeed is for good men to do nothing" - Edmund Burke
"You and I have the courage to say to our enemies, "There is a price we will not pay." "There is a point beyond which they must not advance." - Ronald Reagan

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#5 Posted at 2012-03-04 17:58        
     
Sweet! thanks guys, the Colonial Marines don't carry that much ammo and I've been trying to store weapons in their APC. But I still have a problem, the game won't recognize the "M41A" rifle when I try to add it to their inventory. Is there a way to find the correct name or is it impossible to do with mods?

This post was edited by angryamericanx (2012-03-04 18:07, ago)

A Little War Never Hurt Anybody

Author Message


Posts: 263
Rank:


Level: Member

Country: us
Location: Wisconsin
Occupation: Patrol Deputy
Age: 22
In-game name: Sup3r6f0ur

 
#6 Posted at 2012-03-04 19:19        
     
http://community.bistudio.com/wiki/ArmA_2:_Weapons or if your using custom weapons (From a mod) There should be somthing in the readme file for classnames. I just used "m16a4" because it was easy to type and unlike most weapons it does not require _ or capital letters in its classname.

"All that is needed for evil to succeed is for good men to do nothing" - Edmund Burke
"You and I have the courage to say to our enemies, "There is a price we will not pay." "There is a point beyond which they must not advance." - Ronald Reagan

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#7 Posted at 2012-03-07 21:36        
     
Thanks for the help, it's hard to get this stuff to work with minimal expierience!

A Little War Never Hurt Anybody

Author Message

SavageCDN  

Armaholics priest


Posts: 475
Rank:


Country: ca
Location: Ottawa
Occupation: Fighting with Exchange
Age: 44
In-game name: =VG= SavageCDN

 
#8 Posted at 2012-03-08 13:53        
     
I have a text file with all the Colonial Marines classnames including the M41A1 rifle.. let me know if you want it I can post here/PM it to you.

Bless you my son.

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#9 Posted at 2012-03-11 17:02        
     
Post the form on this forum so others can find it, BTW, Where did you find it?

This post was edited by angryamericanx (2012-03-11 22:44, ago)

A Little War Never Hurt Anybody

Author Message

SavageCDN  

Armaholics priest


Posts: 475
Rank:


Country: ca
Location: Ottawa
Occupation: Fighting with Exchange
Age: 44
In-game name: =VG= SavageCDN

 
#10 Posted at 2012-03-12 13:57        
     
Find it? I had to make it from scratch :-)


COLONIAL Marines
units spawn with no items ie: map, compass, etc
Classname - unit - gun - ammo

VIL_uscm_1	  sgt	        vil_m41a1	VIL_95rnd_m41	vil_3Rnd_M41 (explosive rounds)
VIL_uscm_33	  gunner	smartgun	VIL_smart_box
VIL_uscm_5	  soldier	vil_m41a1	VIL_95rnd_m41	vil_3Rnd_M41
VIL_uscm_sol	  officer	VIL_vp70	15Rnd_9x19_M9
VIL_uscm_sol_snp  sniper	VIL_m42_snpr	VIL_10x55_SNPR_MAG

vil_alien_apc     VIL_APC_40_gun     VIL_APC_40_mag
                        vil_M355           VIL_1000_127
                        vil_M134_apc       4000Rnd_762x51_M134

Bless you my son.

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#11 Posted at 2012-03-12 20:15        
     
Be glad I didn't make it, i'd get confused and start mixing up the letters, next thing you know I have 45 angry PM's in my inbox!

Thanks for the codes!

A Little War Never Hurt Anybody

Author Message

SavageCDN  

Armaholics priest


Posts: 475
Rank:


Country: ca
Location: Ottawa
Occupation: Fighting with Exchange
Age: 44
In-game name: =VG= SavageCDN

 
#12 Posted at 2012-03-19 16:11        
     
You're welcome I was able to create it using a script I found that outputs all addon classnames to your arma2.rpt file. Of course I cannot find that script for the life of me...

Did you end up making a mission using the Col Marines units? I have a few myself I've been tinkering with however have gone all out in the sci-fi theme and added Star Wars and GiJoe units as well :-D

Bless you my son.

Author Message


Posts: 37
Rank:


Level: Member

Country: us
Location: Florida
Occupation: Line Cook
Age:
In-game name: angryamericanx

 
#13 Posted at 2012-03-31 15:06        
     
I've been working on a few, but since there are no actual Xenomorphs it's kind of hard to keep to the theme. I also heard somebody was making the dropship as well.

A Little War Never Hurt Anybody