how to put weapons/ammo etc in vehicles?????? |
how to put weapons/ammo etc in vehicles?????? |
Mar 3 2008, 23:54
Post
#1
|
|
Member Group: Members Posts: 59 Joined: 1-November 07 From: South Carolina Member No.: 1,615 |
OK this is driving me up the wall I have looked all over and tried about everything I have seen without avail. How do you put weapons and ammo into vehicles (read cars, trucks, tanks, etc) whenever I try _whatever vehicle it is addWeaponCargo ["MP5A5",1] it gives me some crap about local variable in global space or something? I have never done this before and it is driving me batty.
|
|
|
Mar 4 2008, 00:28
Post
#2
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
CODE This addweaponcargo ["MP5A5",1] Should work, are you sure that what you've got? (no underspace at the start) -------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Mar 4 2008, 04:09
Post
#3
|
|
Member Group: Members Posts: 30 Joined: 20-February 07 From: UK Member No.: 599 |
Just to chime in with addMagazinecargo for magazines etc.
All weapons and Magazine class names can be found here -------------------- |
|
|
Mar 4 2008, 05:23
Post
#4
|
|
Member Group: Members Posts: 59 Joined: 1-November 07 From: South Carolina Member No.: 1,615 |
Just to chime in with addMagazinecargo for magazines etc. All weapons and Magazine class names can be found here thankz allot guys will try it. |
|
|
Mar 4 2008, 18:23
Post
#5
|
|
Member Group: Members Posts: 59 Joined: 1-November 07 From: South Carolina Member No.: 1,615 |
|
|
|
Mar 4 2008, 19:40
Post
#6
|
|
Member Group: Members Posts: 45 Joined: 26-February 07 From: England Member No.: 628 |
thanks a ton guys it works great. I can pimp my ride now with acouple machine pistols and stuff now oops i guess i should have edited the post above.... can someone remove this last double post? nice works as always guys BUT on the other extreme do you know how to remove them all ? I have tried removeallweapons in the init, and when creating the unit (vehicle) in question changed the ammo slider to nil, yet they always seem to have atleast grenades in them! |
|
|
Mar 4 2008, 22:06
Post
#7
|
|
Member Group: Members Posts: 30 Joined: 20-February 07 From: UK Member No.: 599 |
To remove a weapon
CODE removeAllWeapons this always check the COMREF for the grenades you may want to try removeMagazine if removeAllWeapons leaves them behind edit: yep, Rellikki is right. The removeMagazine command is for a unit -------------------- |
|
|
Mar 4 2008, 22:22
Post
#8
|
|
Group: Addon Maker Posts: 1,148 Joined: 4-November 06 Member No.: 13 |
To remove a weapon CODE removeAllWeapons this always check the COMREF for the grenades you may want to try removeMagazine if removeAllWeapons leaves them behind Nope. To remove weapons from a vehicle, you need to use clearMagazineCargo and clearWeaponCargo commands. |
|
|
Mar 5 2008, 08:05
Post
#9
|
|
Member Group: Members Posts: 45 Joined: 26-February 07 From: England Member No.: 628 |
Nope. To remove weapons from a vehicle, you need to use clearMagazineCargo and clearWeaponCargo commands. Cheers Rellikki nice one see now we've all learned something in this thread |
|
|
Mar 10 2008, 02:00
Post
#10
|
|
New Member Group: Members Posts: 9 Joined: 28-June 07 From: New Zealand Member No.: 939 |
i found it is easy to put weapons in vehicles by using the arma edit software then copy and pasting the special script lines and change the name crate with the name of the object.
This way is for lazy people like me who cant be bothered writing out scripts |
|
|
Mar 10 2008, 12:24
Post
#11
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
i found it is easy to put weapons in vehicles by using the arma edit software then copy and pasting the special script lines and change the name crate with the name of the object. This way is for lazy people like me who cant be bothered writing out scripts Wouldn't that take longer though? Because, you've got to do all that messing around with ArmAedit, which admittedly is good for writing complex scripts, but this is just a matter of typing a line or so in the editor. -------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Mar 10 2008, 15:20
Post
#12
|
|
Member Group: Members Posts: 59 Joined: 1-November 07 From: South Carolina Member No.: 1,615 |
Wouldn't that take longer though? Because, you've got to do all that messing around with ArmAedit, which admittedly is good for writing complex scripts, but this is just a matter of typing a line or so in the editor. Yeah all it was was writing one line of script in the init line of the vehicle/ammobox etc. in the mission editor, no opening other auxiliary programs or anything. |
|
|
Mar 11 2008, 00:00
Post
#13
|
|
New Member Group: Members Posts: 9 Joined: 28-June 07 From: New Zealand Member No.: 939 |
Yeah all it was was writing one line of script in the init line of the vehicle/ammobox etc. in the mission editor, no opening other auxiliary programs or anything. yeah i spose itll take longer just im to lazy to remember the names LOL i just copy and paste and replace the name. |
|
|
Nov 7 2008, 22:12
Post
#14
|
|
New Member Group: Members Posts: 7 Joined: 9-April 08 From: Brasil Member No.: 2,901 |
i found it is easy to put weapons in vehicles by using the arma edit software then copy and pasting the special script lines and change the name crate with the name of the object. This way is for lazy people like me who cant be bothered writing out scripts yes a do i put a mp5 but i cant add magazines on a cargo. help-me |
|
|
Nov 7 2008, 22:30
Post
#15
|
|
Group: Addon Maker Posts: 1,148 Joined: 4-November 06 Member No.: 13 |
yes a do i put a mp5 but i cant add magazines on a cargo. help-me Why not? Please be more specific. The command to add magazines in vehicles' cargo is addMagazineCargo and the MP5 magazine classnames are: 30Rnd_9x19_MP5 and 30Rnd_9x19_MP5SD. That's all you need to know... probably. |
|
|
Dec 23 2009, 01:33
Post
#16
|
|
New Member Group: Members Posts: 9 Joined: 16-December 09 Member No.: 6,913 |
Hi to All!,
Hi Sir Rellikki, I'm Paolo from Rome I'm new in Arma Forum and I don't know how use it so well... I'm emailing You about the uploading weapon on cargo... (I've seen Yours discussion) I'm not so pratic about scripts and so on!... anyway: I have a great Addon; (I'd like to give You all or to public the file... only 1,7 mb) .. Left me know about it!... it's a mortar by 81 mm. with optical and balistic regulation on map; it's a great re-production of the Irak conflict weapon... Of course, it's a static weapon and I'd like to magazine on truck or load on it, in order to move it in red zone... Could You tell me how can I do? giving file to You, could be of help, Rellikki? I hope in Your help and news... And, evrywhere would like this beautiful Arma1 addon, left me know ... Kind Regards Guys, Paolo |
|
|
Dec 23 2009, 02:35
Post
#17
|
|
New Member Group: Members Posts: 9 Joined: 16-December 09 Member No.: 6,913 |
|
|
|
Dec 23 2009, 14:16
Post
#18
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
In the future please don't post directly after yourself within a few hours, instead use the edit button.
-------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Lo-Fi Version | Time is now: 23rd April 2024 - 17:39 |