Jump to content

Veteran66

Members
  • Posts

    435
  • Joined

  • Last visited

Everything posted by Veteran66

  1. thx, work now :)
  2. I make a Name list in my script but only the first Name "Unit1" will set the Flag100 what is wrong with my Unit1, Unit2 and Unit3 List? local _initiator = event.initiator local _initname = _initiator:getName() if _initname == "Unit1" or initname == "Unit2" or initname == "Unit3" then trigger.action.setUserFlag(100, true)
  3. Great, thx for your answer :)
  4. Same for CAS, my Fighter Bombers P51D do not fight with Bf109K, they attack the ground Targets and the german fighters shoot down all P51`s without any defence. We need working WW2 AI`s like Fighter Bombers with low level attack. Any AI changes for the next Patch? And the annoying enemy sight radio calls from the AI wingmans! They call all 8 enemy sights!
  5. i miss some bombing options like low level bombing, my Jabo`s always fly up to 2500m :(
  6. there are "grass Airfield" Objects but they are not work for me. Someone try the new Airfields?
  7. The DCS Updater GUI Utility work https://forums.eagle.ru/showthread.php?t=160053
  8. ok thx for your answer, so it is to complex for a SHOOT and HIT script.
  9. i try this script: -- event handlers: HitEventHandler = {}; -- function - event handler for aircraft: function HitEventHandler:onEvent(event) if event.id == world.event.S_EVENT_HIT then local _initiator = event.initiator local _initname = _initiator:getName() if _initname == "Unit1" then trigger.action.setUserFlag(1, true) end end end world.addEventHandler(HitEventHandler) i get the Flag1 whin the Unit1 is hit. better way is: PLANE1 SHOOT- UNIT1 IS HIT = FLAG1 TRUE http://wiki.hoggit.us/view/DCS_event_hit Initiator : The unit object the fired the weapon Target: The Object that was hit. but how i can this write in my script?
  10. Hi Stonehouse Maybe i find a way, this time i work for a small script "FLAK1 true when PLANE1 SHOOTING" :)
  11. DCS Version: 1.56 and Normandy Alpha
  12. Hi all I test the Condition: MISSION SCORE HIGHER THAN (offline) and PLAYER SCORES MORE it will not trigger the Actions (Text to all) PLAYER SCORES LESS will work fine what is wrong?
  13. Hi Stonehouse Look at my post above UNIT SHOOT TRIGGER + UNIT DEAD TRIGGER = TRIGGER ACTION SOUND TO ALL UNIT SHOOT TRIGGER = so the own Planes are in combat UNIT DEAD TRIGGER = the enemy is shoot down TRIGGER ACTION SOUND = the script make activ a Flag so i can set in Editor Flag1 trigger Play sound Pikey`s Moose script is the first script who will work for me (i am a script noob), not optimal but work :)
  14. Thx Pikey i make some tests and it work fine, can you add: Tank: Flag 10 Plane: Flag 20
  15. Hi Stonehouse The damage sound is not the problem it work fine. The UNIT DAMAGE or UNIT DEAD trigger a Soundfile my problem is, AA (Flak) is shooting down a enemy plane and the DAMAGE or DEAD Sound file is play the Soundfile. I will have: only friend plane is shooting down enemy plane = UNIT DEAD Trigger is play sound file. UNIT SHOOT TRIGGER + UNIT DEAD TRIGGER = TRIGGER ACTION SOUND TO ALL So when the enemy plane crash on start or is shoot down by a AA, no sound is play. The sound will play only when the player group plane is shoot down the enemy plane.
  16. i will set a Radio call like "Horrido! Indianer go down" so when a AA shoot down the Enemy plane the Radio call will play, but only a german plane will shoot the radio call will play. (sorry for my bad english)
  17. Hi all I need a working script like: Bf109 shoot P51 = Flag1 or Group1 shoot Group2 = Flag1 how i can make this? http://wiki.hoggit.us/view/DCS_event_hit Event = {S_EVENT_HIT id = 2, time = Time, initiator = Unit, weapon = Weapon target = Object }
  18. this will not work for me: ARM_ShotHandler = {} function ARM_ShotHandler:onEvent(event) if event.id == world.event.S_EVENT_SHOT then local wpn = event.weapon local wpnType = wpn:getTypeName() if wpnType == “MG_131” then MESSAGE:New("Plane shot Gun",15,"Alert!"):ToAll() end end end world.addEventHandler(ARM_ShotHandler)
  19. Hi all I look for a script plane group fires = Flag1 on The Plane Group is Bf-109K-4 i try this, but it will not work: local Plane = UNIT:FindByName( "Plane" ) Plane:HandleEvent( EVENTS.Shot ) --- -- @param Wrapper.Unit#UNIT self -- @param Core.Event#EVENTDATA EventData function Plane:OnEventShot(EventData) if EventData.WeaponName == "weapons.MG_131" then MESSAGE:New("Plane shot Gun",15,"Alert!"):ToAll() local Task = EventData.IniGroup:TaskOrbitCircle( 5000, 450 ) EventData.IniGroup:pushTask( Task, 30 ) end end
  20. Hi all How i can switch a Waypoint off/on?
  21. This is my first Mod for DCS i do not know what JSGME need for funktion. The Install is the DCS World main folder, maybe it will work with JSGME? C:\Program Files\Eagle Dynamics\DCS World
  22. I would like blend in with the radio menue a flight map in my mission Briefing pictures is to small and kneeboard is bad for User missions install
  23. The briefing screen picture is to small
×
×
  • Create New...