Jump to content

Editor implement F10 Radio Menu for all client


Recommended Posts

Posted

Hi,

Same for me. What is the easiest way to add F10 radio triggers to all clients?

 

Thank you,

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted (edited)

Use SLmod Parallel Option System (POS). It is not exactly radio triggers, which are impossible due to actual DCSW scripting limitations, but actually works in a similar matter:

 

- Create the option menù in mission editor;

- type "-sol" in chat to see available options;

- type "-op#" (# is the option number) to activate an option;

 

Activating the option will turn on a specified flag.

 

Obviously you will need to:

 

1) have SLmod 6.1 or higher installed (http://forums.eagle.ru/showpost.php?p=1319325&postcount=1);

2) read the manual in the POS section.

Edited by chromium

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted (edited)
Or use slmod.chat_cmd as its a little easier to setup.

 

Not really... slmod.chat_cmd has four input variables- 2 required, 2 optional.

slmod.add_option has three input variables, all three are required. The biggest "issue" is keeping track of your option id numbers. Maybe that does make them a little more complex to use include into your mission, but keeping track of your option id numbers is not any harder than keeping track of your flag numbers.

 

However, consider that slmod.chat_cmd is harder for clients to use- they have to read the briefing to know what the commands are. POS options are always viewed with "-sol", they are not case-sensitive (so, "-Sol" or "-sOL" also work), and they are always activated by saying "-op#", where # is the option number. So overall, they are a lot easier for the clients to use- you don't even have to read the briefing to know how to use them (though, maybe that's actually a BAD thing :D).

Edited by Speed

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted

Hi,

Thank you for help guys.

 

I just installed Slmod as it was described in readme. I checked learning mission SLmod Parallel Option System.

- It's absolutely perfrect, I need exactly this.

 

How I can do it ? :helpsmilie:

 

Absolutely newbie with Slmod.

 

Thank you,

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted

look at the file attached, ONLY for the units near Gali and for the "scriptman_ground" unit on the lower side of the scenery (scripts are stored in Triggered action). :)

 

You will find one of the simpliest Parallel option system use: control the move/hold of a ground group/groups.

 

 

 

Don't bother the rest of the blue scenery, i simply don't want to broke a finger pushing "delete" compulsively ;)

missionforalexej.miz

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

Hi Again,



Thank you for that file.

 

1. How do I find that Slmod is installed correctly?

 

2. Your mission has first trigger "activate slmod" /mission start/ random 0 / flag 1 true - this is need to activat slmod ? or it's just setting of same flag ?

 

I see triggers in the mission, for hold and move. This is OK, I understand.

 

3. I don't see any trigger or command which would insert the option menu for clients to hold or move those units.

 

4.Must be the mission in any special folder ?

 

Thank you:thumbup:

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted

1. After 20 sec the mission activate the SLmod script. If you haven't installed it or if you are in Single player mode (SLmod is MP environment exclusive), you will see an error messages. Also, after 20 sec, typing "-sol" and pressing enter in the chat should let you see the 2 options of move & hold of "Ferret" task force.

 

2. My missions usually have from 50 to hundreds of trigger, I use those "fake" triggers as paragraph to separate groups of trigger. In fact, random "0" means that that flag won't ever be activated.

 

3. the second trigger (the "ONCE" type) does that. Run the AI triggered action stored in the "scriptman_ground" unit in the lower side of the map that contain the scripts to create the options.

 

4. no.

 

I attach a second version of the mission, cleared and polished of everithing that you don't need. But, before opening it, I strongly suggest you to read the manual.

missionforalexej2.miz

  • Like 1

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

I also checked guide on Youtube. I'm a little "in" now.

 

I understand basic of the logic, but why I don't see those scripts in that ground unit scriptman ?

 

I should see all that scripts in adwanced waypoint option, but it's blank.

 

 

Thank you.

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted

cause as said in my first post they are in the Triggered Actions tab :)

 

and if you don't know the triggered action then... you're going to discover two entire new whole editing world: the SLmod scripts one and the Triggered actions one :)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

I know, I'm using a lot of triggers...

 

The trigger action activate script which is written in the scriptman unit (i think). But the script menu in the scriptman unit is empty...

 

Where is that script ?:megalol:

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted

But it seems that you're not using triggered actions, which are not triggers... :p

 

you should check in the unit tab, on the right, third button near the advanced wapoint action. Check the manual also ;)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted
Next question tomorrow :music_whistling:

 

you're welcome ;)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

Chromium, I did it ! :smartass:

 

You were right. The entire new world is opened for me now.

 

 

Thank you !

[sIGPIC][/sIGPIC]

.....Vladimir, let's go to Sukhoi.......

Posted

:) glad to be helpful, but mostly you have to thanks Speed and all the modders/programmers that give us the possibility to work those solutions.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

  • Recently Browsing   0 members

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