PDA

View Full Version : Attaching weapons to car



laserpanda
Aug 5 2009, 17:01
Is there any way to make a static weapon connected to a car with attachto fire when the left click/horn is pressed?

fouba74
Nov 11 2009, 18:32
player attachTo [car,[0,0,1]];



this is very simple . you can also setup a sqs fil . it will take some time before you get the right pos but its very simple and very effective :)

oktane
Nov 15 2009, 17:35
Lol, I love vehiclular combat.

No, not that I know of.

But on vehicles that already have turrets (and some that dont) you can add the weapon to the vehicle. Sometimes the game crashes when adding weapon types to vehicles.. you have to figure out what is possible with Arma2.

Here is an example of it being used in arma 1, check out RoadRage from Celery. http://www.armaholic.com/page.php?id=1337

Celery
Nov 15 2009, 18:18
The way I'd do it is attach the static weapon for looks and use addMagazine and addWeapon on the car so it can fire the weapon without any tricks.

[DirTyDeeDs]-Ziggy-
Nov 18 2009, 06:17
The way I'd do it is attach the static weapon for looks and use addMagazine and addWeapon on the car so it can fire the weapon without any tricks.

I have this desire to hug your knowledge, but not in a gay way. :happy:

AkeR
Dec 21 2009, 10:23
When I type some text in the vehicle's (ex. a HMMWV) init box: 'this addMagazine "20Rnd_556x45_Stanag"; this addWeapon "M16A2";' the car should already have the weapons inside, but I don't seen anything, take arm or sg.
Any suggestions? Thx. :)

IceBreakr
Dec 21 2009, 10:56
AkeR: use addmagazinecargo and addweaponcargo ;)

AkeR
Dec 21 2009, 11:01
AkeR: use addmagazinecargo and addweaponcargo ;)

Ahh, many thanx! :rolleyes: