Jump to content

How would I set the client's Su-25 to start in a specific state? and turn off mudspike callouts?


Recommended Posts

Posted

I'm making a campaign in which some missions are mostly calm flights. But as there is an AWACS and some ground radars, when you play it you get the typical radio spam from AWACS every minute telling you there are bandits 300km away and RWR noises from friendly stations.

 

Most of it can be solved by manually toggling the "RWR Mode" and "Receive Mode". But I want those to be already properly set when the player hops into the aircraft. That means when the player starts the aircraft electronics the RWR is "off" (lock/launch only) and the Receive Mode is in "player's communication" state.

 

I also would like to know a way to shut up the wingman calls on mudspikes, If I set RWR to only function when I'm being painted I don't want the wingman calling out every single radar in the entire map every 10 seconds.

 

Is it possible to do any of this just through the editor, or will I need to get into lua scripting?

 

Complementary info:

The AWACS is already in a different frequency from the player's flight, but it still keeps getting in contact about bandits.

Posted (edited)
1 hour ago, Skuva said:

Most of it can be solved by manually toggling the "RWR Mode" and "Receive Mode". But I want those to be already properly set when the player hops into the aircraft. That means when the player starts the aircraft electronics the RWR is "off" (lock/launch only) and the Receive Mode is in "player's communication" state.

...

Is it possible to do any of this just through the editor, or will I need to get into lua scripting?

 

 

You can do it using the Editor's Trigger system, to set the RWR Mode you'd use one like this:

 

4GUq02c.jpg

 

For the Comm Mode I used this:

 

pPGwziB.jpg

 

How to interpret this: The command for the RWR Mode is 286, I got that from enabling a Mission Editor option that shows the commands on the Controls Page as a tooltip:

 

tHt2Y16.jpg

 

The option is on the /DCS/MissionEditor/MissionEditor.lua file and it's on its 4th line .. set it to true, like this:

 

OPTIONS_ADD_COMMAND_CODES_TO_TOOLTIP = true

 

For the Comm Mode, the set command is double because the key has to be pressed twice to get into the proper mode.

I'm attaching a sample mission where you can try this.

Best regards,

 

Eduardo

 

test.miz

Edited by Rudel_chw

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted (edited)

Thank you so much, this solves most of my problems and gave me some new ideas.

 

The mudspike AI callouts I managed to create a menu toggle. Adding "1. Silence=off" and "2. Silence=On" to the Triggered Actions of the player's flight, then creating a trigger to add radio options to mute and unmute (with their respective flags), and 2 other trigger for each of those flags with Task Push action. This completely mutes the wingman, but at least the player gets to choose when to hear it.

Edited by Skuva
adding solution for AI wingman
  • Like 1
  • Recently Browsing   0 members

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