Jump to content

ROE change based on player shooting


Phantom_Mark

Recommended Posts

Is there a trigger which I can use without LUA which detects the player shooting/releasing ANY kind of ordnance, beyond making a trigger based on BOMB/Missile in zone, otherwise I would have to make a thread of instructions for every zone in my mission ?

 

Currently I have all of Iran zoned, an outer buffer zone, and then an inner zone where everything switches to weapons free, the outer zone is used to active ATC radio call warnings to the player to leave the area etc, and also launches a simulated QRA flight, the AI take off simulate an intercept and escort you, there is another trigger which turns those QRA's hot if you fly into the inner zones.

 

All this is working great, and I can of course turn those units hot by setting unit damaged detection if i choose to shoot at the QRA etc, but I could for example launch a number of stand off weapons at the mainland defences with no response from the QRA's unless I went the long way round of adding all the variations weapons to all the different zones etc, can't help but feel there is probably an easier and smarter way to achieve this ?

 

Basically if I am in the outer zones being escorted by the QRA flights I should not be able to release any kind of weapon without them turning hot ?

Link to comment
Share on other sites

yes i believe there is, set a zone and theres an option for bomb in zone or similar (i dont know the name) which will detect some shooting in the zone. I'm not sure without lua you could differentiate if a player shot though, but maybe.

Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans.

Discord: PravusJSB#9484   twitch.tv/pravusjsb  https://www.patreon.com/XSAF  https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu

Work with me on Fiverr: https://www.fiverr.com/pravusjsb

Link to comment
Share on other sites

yes i believe there is, set a zone and theres an option for bomb in zone or similar (i dont know the name) which will detect some shooting in the zone. I'm not sure without lua you could differentiate if a player shot though, but maybe.

 

Absolutely, you can do that, "BUT", you need to add every possible variant of weapon, bombs, missiles etc, and I would need all of those to every trigger zone, there is 11 covering the buffer zone of Iran.......as you can see that quickly adds up to a massive amount of work even if you use the clone feature, couldn't help wonder if there was a much easier way to achieve the same thing ?

Link to comment
Share on other sites

NO time to test tonight, I wonder if I setup a Moving Trigger Zone on the player plane and then re-using it for setting up the Bombs/Missiles in that same trigger will work......then use a couple of exceptions to make that condition only live in the buffer zones......hmmmmm, sucks I have to wait 20hrs to try it out now lol.

Link to comment
Share on other sites

Use the ON SHOT event trigger which fires on any ordnance launch. If you know the player is the only one shooting first then it's easy.

 

If not then you could add some additional conditions to see if the player was the one who was shooting depending on the plane module used.

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Link to comment
Share on other sites

Use the ON SHOT event trigger which fires on any ordnance launch. If you know the player is the only one shooting first then it's easy.

 

If not then you could add some additional conditions to see if the player was the one who was shooting depending on the plane module used.

 

I will have a play with that option as well thanks. :)

Link to comment
Share on other sites

Use the ON SHOT event trigger which fires on any ordnance launch. If you know the player is the only one shooting first then it's easy.

 

If not then you could add some additional conditions to see if the player was the one who was shooting depending on the plane module used.

 

Absolute superstar, thanks, did exactly what I wanted, maybe find other ways to refine as well if needed if I find some holes in this solution. Very quick to setup all the zones and appears to be working as expected. Thanks :) :thumbup:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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