-
08-31-2009, 12:18 PM #1
Vehicle Rearming Script
Hello Everyone,
I have created a script which allows players to rearm, repair, and refuel the Default ArmA 2 vehicles.
Each side has four service points. Vehicle Service, Rotary Wing Service, Fixed Wing service, and Watercraft service.
In game, just drive your vehicle to the proper service point and use your action menu to start the script. To rearm vehicles be in the gunner seat. To repair and refuel vehicles be in the driver seat.
This does have a limitation. Vehicles which have multiple gunner seats can only rearm their primary gunner seat. This is due to current limitations with the ArmA 2 scripting engine.
Link below. Just download and follow the instructions I included in the Readme file.
Enjoy, hope this helps you in mission development,
http://www.armaholic.com/page.php?id=7158
(my first script posted to armaholic <wipes tear away>)
-
08-31-2009, 04:48 PM #2
Re: Vehicle Rearming Script
Well done mate... nice work
BlackDog1





"What we do in life... echoes in eternity!"
-
09-25-2009, 12:12 AM #3
Re: Vehicle Rearming Script
ok question, I am modifying your script slightly so that i can rearm a UHy1 from the pilot seat
i removed gunner from the appropriate places and added driver in its place
i changed the magazine to
vehicle player removemagazines "14Rnd_FFAR";
vehicle player addmagazine "14Rnd_FFAR";
it says rearming complete but the rockets are not added and i get 2 rearm actions in the action menu(if i do it again it adds a 3rd..and so forth)
any ideas?


-
09-25-2009, 10:17 AM #4
Re: Vehicle Rearming Script
Nah. Its been weeks since i've released that. I'll have to take a look at it. I thought I had it setup already to rearm the FFARs on the UH1?
-
09-25-2009, 12:07 PM #5
-
09-25-2009, 02:24 PM #6
Re: Vehicle Rearming Script
Bad News Charles.. now I remember why its this way. On vehicles where the Pilot controls the FFARs.. the UHEY, the HINDS etc. You can't use the "addmagazine" command to the vehicle or player to script in more ammo. It adds it to the gunner seat...where the FFARS are not controlled.
Right now I don't think it can be done, unless there is another way to script this which I'm not aware of. That is why I added those vehicle rearming points in the script to get around this problem.
So for now your out of luck. : (
-
09-25-2009, 02:53 PM #7
Re: Vehicle Rearming Script
that sucks :P Ah well I just put a vehichle service point on the deck of the carrier



Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



Reply With Quote


Bookmarks