Jump to content

Recommended Posts

Posted

Hi,

 

As you may or may not be aware, the triggered F10 Radio menu, that is only available to the server host in MP (or single player) disappears if, and in my case, when the server host dies.

 

I thought i could get around this by adding some more triggers that would Add the unused Radio Items again. However i have tried several different methods and logics and none of them will allow the F10 Radio to be used again.

 

Either i am being dumb, quite possible or once in has gone, which is a bug, it is simply impossible for it to be re-enabled via triggers.

 

Has anyone managed to achieve what i am trying to do? :helpsmilie:

 

Thanks.

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted (edited)

If the host dies you need to set a flag.

When the host gets airborne again (use trigger unit alt above) and flag above is set then ADD RADIO .... etc & set flag off.

 

I've placed all my various F10 menus in a lua table and call them with a single Run Task command. Made it much easier.

 

let me know if that works. If it doesn't then my huge CAS mission is dead.

 

EDIT: Please ED, some love and attention on F10 MP comms sure would be appreciated.

Edited by Druid_

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted (edited)
If the host dies you need to set a flag.

When the host gets airborne again (use trigger unit alt above) and flag above is set then ADD RADIO .... etc & set flag off..

 

Druid, I have tried various versions of this without success. Here is one example.

 

(Trigger Once) > (Condition) Unit in Zone > Add Radio Item (Call SEAD flight) (Flag 1)

(Trigger Once) > (Condition) Flag 1 True > Do blah blah blah (the unused Radio Item)

 

Host Dies...

 

(Trigger Once) > (Condition) Unit Dead (Host) & Flag 1 False > Set Flag 2 ** (I tried Continuous as well without success)

(Trigger Once) > (Condition) Flag 2 True > Add Radio item (Call SEAD flight) (Flag 1) (Add unused Radio Item)

 

Let me know if some variation works for you.. but it seems to me if the Host dies Triggers cannot re-enable the Radio Menu.. even by adding New Radio Items.. :cry:

 

EDIT: However this was all within a complicated mission.. if i get a change i'll make a test mission solely to test this and see if i can make it work...

Edited by MadTommy

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted

Ok, I cant test this atm as I am away from PC until tomorrow. Its quite possible there is a major bug here then and if so I will be well p*ssed off as I have written a miz which involves F10 radios heavily. Attempting to add further reality & immersion.

 

Your Host dies triggers should be switched condition. Try placing a test message in with the add radio action just to make sure host dead trigger is being fired. ...fingers crossed!

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted
Druid, I have tried various versions of this without success. Here is one example.

 

(Trigger Once) > (Condition) Unit in Zone > Add Radio Item (Call SEAD flight) (Flag 1)

(Trigger Once) > (Condition) Flag 1 True > Do blah blah blah (the unused Radio Item)

 

Host Dies...

 

(Trigger Once) > (Condition) Unit Dead (Host) & Flag 1 False > Set Flag 2 ** (I tried Continuous as well without success)

(Trigger Once) > (Condition) Flag 2 True > Add Radio item (Call SEAD flight) (Flag 1) (Add unused Radio Item)

 

You are re-enabling the radio item as soon as host dies. Try to re-enable as soon as host gets airborne again as Druid said using a unit inside zone or unit alt above condition.

  • Like 1
Posted

^ absolutely, nice one miguelaco. Those triggers are firing when the host is still dead. Sorry didn't look closely at your solution after providing mine. tut tut.

  • Like 1

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted (edited)

Thanks lads.. got it working. As it was just a test & wanted to make sure i understood the issue i used slightly different system but following the same logic.

Once > Time Less (10) > Add Radio Item (F1)
Switched condition > Unit Dead (pilot1) > Flag On (F100)
Once > Time Since Flag (F100/20sec) & Flag False (F1) > Add Radio Item (F1)

 

This worked a charm.. Radio Item was added 20 seconds after host died.

 

Thanks for both your help, always much appreciated. So the problem was effectively there needs to be a time gap between the Radio Item disappearing and re-enabling it.

 

I've added the simple test mission for anyone not familiar with this stuff.

F10 Radio Test 5.miz

Edited by MadTommy

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted (edited)

Two problems there MT. The Host will have to rejoin within 20 seconds otherwise it will not work. Also, it will only work once, if the host dies twice then your back to original problem.

 

To be honest the easiest solution is as I stated in post#2.

i.e.

Once               > Time Less (10)                                   > Add Radio Item (F1)

Switched Condition >  Unit Dead (host)                                >  Flag on 100

Switched Condition >  Flag True 100   &                               > Add Radio Item (F1)
                  >  Unit (host) altitude greater than rwy_elev+50 & > Set Flag 100 False
                  >  Flag (F1) False

 

Note: Units altitude is height in meters, make condition 50 metres higher than the runway elevation. i.e. Rwy Elev(m) + 50

Edited by Druid_

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted

Cheers Druid i was aware it would only work once with the re-enabling trigger set to once.. i just wanted to make sure it worked.

 

Regarding the issue with the host needing to join within 20 seconds.. not quite sure about that. As presently i have a radio being turned on within 10 seconds of mission start and if the host joins after the Radio item is still there. But i'll double check this. Ideally i don't want the host to have to take off.. but i agree it is a good way to handle it. Thanks

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

Posted

No, I'm saying that if he dies once then he has to rejoin before 20 secs elapse.

I just looked at my mission and in fact my code is

Switched Condition > Unit Dead (host) > Flag on 100

Switched Condition > Unit Alive (host) &      > Add Radio Items 
                  > Flag 100 True            > Set Flag 100 False

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted

Ok cool mate, Thanks

i5-3570K @ 4.5 Ghz, Asus P8Z77-V, 8 GB DDR3, 1.5GB GTX 480 (EVGA, superclocked), SSD, 2 x 1680x1050, x-fi extreme music.



TM Warthog, Saitek combat pro pedals, TrackIR 4

  • Recently Browsing   0 members

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