Jump to content

Help needed with messages going to individual players in Multiplayer


Recommended Posts

Posted (edited)

Hi.

So the scenario: A very basic WW2 target range. Max. 2 players in warbirds taking out stationary targets. A points system has been set up using the 'Define Mission Goals' and messages will appear on screen to the player that destroys the target.

My wish: For only the individual that destroys a target to receive a message ...  (i.e. Opel Blitz destroyed - 10 pts).

I've been using the condition 'unit dead' (specific target)  then the actions 'message to unit' (individual client plane) & obviously cloning the trigger once again with the same conditions but on actions, a 'message to unit' for the other client plane.

 

Obviously with the above setup, when a player client takes out a target, both players will receive the message as there is nothing telling the sim who made the kill.

Is there a way (without scripting as no matter how hard I try, I just cannot understand it), that the client kills can be differentiated and if so, how would one go about it. I've tried the condition 'Unit Hits Successful' but again it only correlates to the target. 

I've tried creating a 'Target Range Zone' and having an individual flag turn on when the target is destroyed by one of the players but both players 'still' gets the message.

Any help would be greatly appreciated. Thanks.

 

Edited by skybaby68

i9 14900K - ROG Maximus Z790 Hero - GIGABYTE GeForce RTX 4090 - 64GB Kingston Fury Beast DDR5 XMP - Samsung 4TB SSD - Pimax Crystal - Thrustmaster Warthog Throttle & Joystick - VirPil AH-64D Grip - Thrustmaster TPR Pendular Rudder Pedals 

  • skybaby68 changed the title to Help needed with messages going to individual players in Multiplayer
Posted

ind_unit_messages_test.miz

 

OK ... is there at least, a script floating around somewhere that can perform this? (I've tried in vain, multiple times, to understand DCS mission editor scripting but my brain just doesn't understand it in the slightest).

I've included a very simple example of my attempts. Two client spitfires on the ground, 3 targets on the airfield. I am trying to have only the player who takes out the target to receive the message.

 

i9 14900K - ROG Maximus Z790 Hero - GIGABYTE GeForce RTX 4090 - 64GB Kingston Fury Beast DDR5 XMP - Samsung 4TB SSD - Pimax Crystal - Thrustmaster Warthog Throttle & Joystick - VirPil AH-64D Grip - Thrustmaster TPR Pendular Rudder Pedals 

Posted

Sounds like you need to make a script that monitors the event kill :

https://wiki.hoggitworld.com/view/DCS_event_kill

 

And sends a text to the unit that is the killer with:

https://wiki.hoggitworld.com/view/DCS_func_outTextForUnit


You can search the forum for examples, but here is one:

 

 

Posted (edited)
vor 6 Stunden schrieb skybaby68:

ind_unit_messages_test.miz 16.52 kB · 0 Downloads

 

OK ... is there at least, a script floating around somewhere that can perform this? (I've tried in vain, multiple times, to understand DCS mission editor scripting but my brain just doesn't understand it in the slightest).

I've included a very simple example of my attempts. Two client spitfires on the ground, 3 targets on the airfield. I am trying to have only the player who takes out the target to receive the message.

 

Google DCS MOOSE and look at the Range Class.

https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Range.html

Here is an example mission on the Marianas map, with modern units, but the strafe targets, bomb circle etc. work with any DCS setting.

 

Edited by shagrat

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Posted (edited)

Ah ok I was fearing this. So I guess there is no way at all of achieving this without the use of scripting? Ok many thanks for your help and thank you so much to both for your time & input. Very much appreciated indeed. 

I will certainly take a look at the above links 🙏

Edited by skybaby68

i9 14900K - ROG Maximus Z790 Hero - GIGABYTE GeForce RTX 4090 - 64GB Kingston Fury Beast DDR5 XMP - Samsung 4TB SSD - Pimax Crystal - Thrustmaster Warthog Throttle & Joystick - VirPil AH-64D Grip - Thrustmaster TPR Pendular Rudder Pedals 

  • Recently Browsing   0 members

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