Jump to content

Recommended Posts

Posted (edited)

Is there an easy way to convert a mission that relies on a chat command to get tasking assignments to using the F10 radio option instead? Click HERE for a mission that will serve as an example.

Edited by Blooze
Posted

Attach the example here and I will take a look. I don't do Dropbox.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

Blooze,

I changed the Briefing to use the Radio instead of chat.

Changed the Mission Start event to Radio Adds.

Added a Radio Remove for when Flag 6 goes True.

Changed the top events for Mission status Action Message To All to say use the Radio instead of chat. -- I did not check the last half of all the events to see if more Messages To All needed this change.

 

This is saved in DCS World 1.2.16.

 

From the slmod manual --

9.2.1- slmod.chat_cmd
slmod.chat_cmd ( string cmd_text, number flag, number stopflag, string coa )
Quick Description:
The function sets a flag when a specific line of text is entered as a multiplayer chat message. The
function only needs to be told to run once, after which, it will continuously evaluate the chat history
until either stopflag becomes true or the mission ends.
Quick notes:
If stopflag is not specified, then the function can never be stopped from executing its search for the chat
message cmd_text (which will hardly ever be a problem).
coa has allowed values of 'red', 'blue', or 'all'.
If coa is not specified, it defaults to 'all'.
When you want to specify coa but do not want to specify any stopflag whatsoever, a good value to use
for stopflag is -1 (negative one).
Examples:
slmod.chat_cmd('-Axeman resume patrol', 1101, -1, 'blue')
--[[After this script is first run, if anyone on blue team says
"-Axeman resume patrol" in chat, the flag 1101 will be set to true.]]-

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

For some reason the revised version will not load to the master server. Please don't bother spending more of your time with this, it's not that important. Maybe slmod will be updated soon and these missions will work again. Thanks again for your efforts.

Posted

Removed the old Mission Start event completely. I don't see anything else that might cause an issue. If it fails to load try an Alt-Tab to see if there is a script error dialog box hiding in the background.

 

Later!

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

Update:

If I DO NOT save the Red Snake mission in the 1.5 OB ME it does load in the 1.5 OB master server and functions as modified using the F10 radio. Everything seems to run OK BUT after 2 attempts it has crashed after about 15 minutes.

Posted

Sorry, did not open the other miz -- the w/e was focused on a new F-86F campaign build...

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted
Sorry, did not open the other miz -- the w/e was focused on a new F-86F campaign build...

 

WC

Don't worry yourself about this, if slmod gets a 1.5 update that should solve these issues with older missions. Thanks again for looking.

  • Recently Browsing   0 members

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