Jump to content

Riscorider

Members
  • Posts

    14
  • Joined

  • Last visited

About Riscorider

  • Birthday 06/12/1960

Personal Information

  • Flight Simulators
    DCS
  • Location
    California
  • Interests
    Horses, Flying, Hiking

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It hasn't been working with other event handlers either. The event handlers are working because I can use them to send messages and/or sound to coalition or to all but have been unsuccessful in sending sound or messages to a group or an individual unit other that the server host when in a multiplayer environment. Researching the DCS forum and Moose Discord seems to indicate its possible but I just haven't discovered what I'm doing wrong.
  2. I'm trying to have sounds play to an individual unit or group when certain events occur during a mission running on a multiplayer server. So far the sounds play for me in any unit I occupy when I am testing (When joining a unit on the server I am hosting) but when another player/client occupies a unit the targeted sound and text does not play to that individual. I've tried using the DCS Simulator Scripting Engine and Moose. Example script shown below: CPH_PLAYERENTERUNITHANDLER = {} function CPH_PLAYERENTERUNITHANDLER:onEvent(Event) if Event.id == world.event.S_EVENT_PLAYER_ENTER_UNIT then local PlayerUnit = Event.initiator local PlayerGroup = Event.initiator:getGroup() local PlayerGroupName = PlayerGroup:getName() local PlayerGroupID = Group.getByName(PlayerGroupName):getID() -- for SSE Sound to Group function local PlayerName = Event.initiator:getPlayerName() local PlayerUnitName = Event.initiator:getName() local PlayerUnitID = Event.initiator:getID() -- For SSE Sound to Unit Trigger function local StartupGroupName = GROUP:FindByName(PlayerGroupName) -- for Moose Sound function local StartupSound1 = USERSOUND:New("Start Me Up Edit.ogg") -- Moose --trigger.action.outText(PlayerName.." is the Player Name", 25) -- Used during debugging --trigger.action.outText(PlayerUnitName.." is the Player Unit Name", 25) -- Used during debugging --trigger.action.outText(PlayerUnitID.." is the Player Unit ID", 25) -- Used during debugging --trigger.action.outText(PlayerGroupName.." is the Player Group Name", 25) -- Used during debugging --trigger.action.outText(PlayerGroupID.." is the Player Group ID", 25) -- Used during debugging trigger.action.outSoundForGroup(PlayerGroupID, "Start Me Up Edit.ogg" ) -- DCS SSE command for sound to group (similar for unit) -- StartupSound1:ToGroup( StartupGroupName, 3 ) -- Moose command for sound to group (similar for unit) else end end world.addEventHandler(CPH_PLAYERENTERUNITHANDLER) Some lines currently shown as commented out as I've tried various combinations to get the sound file to play to an individual unit, or an individual group (only one unit in a group) and client. So far no joy using scripting. Even tried the mission editor (Unit Alive) but it didn't work in multiplayer either. I can use the event script shown above to send sound and/or text to a Coalition, or All successfully so I know the event handler works, just can't get the commands for an individual unit or group to work in multiplayer environment (except for the server host). Am I doing something wrong or is it just not possible to use the sound to unit or sound to group capability in multiplayer servers? Any help appreciated!
  3. Tomahawk cruise missiles frequently proceed partway to designated target then orbit until fuel exhausted. This behavior occurs when using scripting or the mission editor in both 'Fire at Point' or when assigned a specific group or unit as a target. Occasionally, one will perform as expected and hit the target but this has become the exception. Please fix!
  4. For Air to Air Refueling: 1. Add ability to specify amount to be taken on to complete refueling when not filling tanks until full. 2. Prevent AI aircraft from colliding with player aircraft during refueling evolution. AI aircraft have collided with me while I was refueling an at least 3 occasions.
  5. You sir, are a genius! That worked like a charm. Thank you so much!! Riscorider
  6. Recently when adding a "Sound to Group" action to a trigger a problem became apparent. No longer does a pop up window appear to let you select the sound file to play. I am using the latest DCS open beta. Other action commands which use pop up windows (Load Mission for instance) are working properly. Not sure if I did anything to cause this but have tried uninstalling then reinstalling DCS open beta with no change in the symptom. Any ideas on what is causing this or how I might correct it? Thanks!
  7. I suspected I was doing something wrong but I just couldn't figure it out! Thanks for the assist. I heard the WP6 reference but didn't pay too much attention since I had found two tanks seemingly as described by Arrow 3. Heading back to the cockpit!
  8. Checked the debriefing status: Not sure which tank is which but the debriefing shows: 1st - Alpha Tank 1-1 hit by Aerial 1-3, then hit and killed by Steep (Player), 2nd - Alpha Tank 2-1 hit and killed by Aerial 1-2. 3rd - Alpha Tank hit and killed by Aerial 1-2. Not sure if that helps but maybe the sequence and events might have a clue.
  9. Ok. Just tried it again. This time both tanks were killed by the approaching friendly forces during my attack approach. When checking the status tab only one tank showed as killed but both their 'red dots' were gone. I made a couple extra passes just to be sure but no change in status. Any suggestions?
  10. Not running any mods besides those I've purchased through ED. Will keep trying. V2.7 has certainly seen its share of issues and crashes. Thanks for checking for me! I appreciate your effort!
  11. The F10 radio option is not appearing after the tanks have been killed so they must not be recognized as destroyed. All events listed through 4 above occur as expected. Not sure what I can do except keep trying.
  12. There are actually three tanks in the vicinity. The two that are the ones Arrow 3 is apparently referring to, and another one on a different road nearby. Sometimes one or more are killed by friendlies but even with all 3 dead, the four friendly tanks just stop on the road where the third one was and don't go any further. Thanks for checking for me. I look forward to the solution!
  13. I am having trouble with Mission 9. After killing the tanks as requested by Arrow 3 nothing happens. No F10 menu items are available, no prompts appear to contact anyone, and no one contacts me. I can circle around and around, even return to bandar abbas but nothing happens. What am I doing wrong?
×
×
  • Create New...