Jump to content
Sign in to follow this  
major woody

Rearming static weapon

Recommended Posts

Downloaded, and played around with this mortar, until I ran out of ammo. Then I found out that I could'nt rearm it at an ammo truck. I need to know 2 ways of rearming this addon.

1. Expand the config file in order to make able to rearm.

2. Add its specific ammo to the the ammotruck

wink_o.gif

Note:

Its ammo is called wmortar and this addmagazinecargo ["wmortar",100] in the trucks initfield does NOT work... whistle.gif

Share this post


Link to post
Share on other sites

As long as you're not looking for a script workaround, this question is more addon editing related.

3. mymortar addmagazine "wmortar" would be the heart of a script workaround.

Share this post


Link to post
Share on other sites

But your final goal is adding new magazines to the mortar. smile_o.gif

AFAIK ammo trucks don't carry any specific ammo loadout to be functional. They only have one value in config, how much their rearming capability for any kind of ammo is.

So if the mortar can't be rearmed when an ammo truck is near, the problem will be located in the mortar addon.

Share this post


Link to post
Share on other sites

Can I change the config (The mortars) then? will it then be able to rearm? huh.gif

If so, where and what do I change?

Share this post


Link to post
Share on other sites

I don't know.

As I said before, this is more a question for the "Config & Scripting" board, related to addon editing.

Share this post


Link to post
Share on other sites

I found that I can load up to 3 static weapons on a salvage truck (you can not airlift it if you do). Then I drive to a location of choice, use the "unload static weapon", walk it to where I want it, and then hit "place static weapon". Fire the canon or mortor until you run out of ammo, then, drive the salvage truck up to where the weapon is and reload it back onto the truck. Now, unload it again...guess what?...you have ammo again.

Share this post


Link to post
Share on other sites
I found that I can load up to 3 static weapons on a salvage truck (you can not airlift it if you do). Then I drive to a location of choice, use the "unload static weapon", walk it to where I want it, and then hit "place static weapon". Fire the canon or mortor until you run out of ammo, then, drive the salvage truck up to where the weapon is and reload it back onto the truck. Now, unload it again...guess what?...you have ammo again.

:confused: In OFP :confused:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×