Jump to content

More flexible warehousing / weapon restrictions


Recommended Posts

Posted

I am trying to create a mission where the players start off with certain weapon restrictions (e.g. old missile models only), then after some time the airfield's warehouse is restocked, and the players can re-arm with all the toys.

However, as far as I can tell, if the starting supply of a weapon in a warehouse is set to 0, it is not possible to get it resupplied from one where it is "in stock".

It would be good if we could set a starting stock level, plus "floor" and "ceiling" levels for the warehousing system to try to meet.

Alternatively, it would be more powerful and flexible to give the mission designer access to set and change the warehouse stock levels through the Lua API.

  • Like 1
Posted

+1 to lua functionality and min/max settings.  That would be awesome.

I thought the normal restocking of airfields worked though, so I just did a test and it appears you're right about the initial setting.  It's acting like both the initial stock AND the max it will restock to.

For now a workaround may be to have late activated AI that you can later :destroy to absorb the initial stockpile of weapon x.

 

I hope your suggestion gets implemented!

Posted
1 hour ago, johnv2pt0 said:

For now a workaround may be to have late activated AI that you can later :destroy to absorb the initial stockpile of weapon x.

I can only get that to work if the AI plane actually lands and parks at the airbase, not if you just activate it then destroy it.

Posted

I developed a lua script to try and implement this functionality, however I haven't touched it in several months and find it hard to find motivation if ED is just going to (someday) implement the functionality anyway. I will share the link with you if you wish the see it... It is not well documented and I would probably have to guide you through the setup as I never really got it past the proof of concept stage.

However even with that consideration, one can never hope to restrict (or even account for) things like targeting pods and and fuel tanks. See my post in this forum for more info. I suspect if they fixed this aspect of the API, community developers (perhaps such as myself) could/would actually develop some scripting to make such a thing possible. Last I checked, MOOSE had a warehousing functionality, but it was limited in what it could really do.

 

Best of luck

  • 2 months later...
Posted

Just put this in the same round can receptacle as the Dynamic Campaign engine,  seeming how warehouse functionality and logics are tied to that.  Off to the Dustbin I go =====> 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...