

Rabso
Members-
Posts
160 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Rabso
-
amazing work Sethos, Saudi Airlines A320 :)
-
MOOSE - Mission Object Oriented Scripting Framework
Rabso replied to FlightControl's topic in Scripting Tips, Tricks & Issues
this is my 3rd day on learning MOOSE and I am really impressed of how much this platform made our life easier. Thanks to the author and all contributors for this achievement. I have two inquiry; first I have a tanker that will spawn at start then whenever it lands (no fuel) it will re-spawn again (it simulate refueling and fly again). In case it was shot down, new group will spawn. Now talking about limits, I want total limit of 3 tankers, however I want :InitRepeatOnEngineShutDown() not to be counted in this limit. How could I achieve this? this is my code: -- Create Spawn object SpawnTanker = SPAWN :New('Tanker') :InitLimit(1,3) :InitRepeatOnEngineShutDown() :OnSpawnGroup( function( SpawnGroup ) SpawnGroup:HandleEvent( EVENTS.Crash ) function SpawnGroup:OnEventCrash(EventData) SpawnTanker:Spawn() end end ) -- Spawn first Tanker SpawnTanker:Spawn() what in my mind is to do it manually by deleting :InitRepeatOnEngineShutDown() and using HandleEvent of landing. Something like this: -- Create Spawn object SpawnTanker = SPAWN :New('Tanker') :OnSpawnGroup( function( SpawnGroup ) -- Recrod spawn Index local GroupPlane, Index = SpawnTanker:GetFirstAliveGroup() -- New Spawn in case Crash SpawnGroup:HandleEvent( EVENTS.Crash ) function SpawnGroup:OnEventCrash(EventData) local limit = 3 - Index SpawnTanker:InitLimit(1,limit):Spawn() end -- Re-Spawn same group in case EngineShutdown (as refueling) SpawnGroup:HandleEvent( EVENTS.EngineShutdown) function SpawnGroup:OnEngineShutdown(EventData) SpawnTanker:InitLimit(1,0):Spawn() end end ) -- Spawn first Tanker SpawnTanker:InitLimit(1,0):Spawn() Hope to know if there is easier way. my 2nd inquiry is about how I can delay spawn? once I call :Spawn() I want it to be delayed like 60 seconds -
:huh::dontgetit::blink: I will check again at home, thanks for your feedback
-
I am learning more and more MOOSE and achieved the above, but I would like to understand the DCS Event Handling. Will be nice if someone could let me know what is the wrong in above code, thanks
-
Ops! I believe while writing my post I changed it mistakenly. it's correct on my lua file.
-
Hi, I have pulling my hair for 2 days while trying to understand the EventHandler. It never works. I know MOOSE is better solution, I am still learning it but I can't resist to leave something in coding without getting it done. So, here is my basic trail code: local Event_Handler = {} function Event_Handler:onEvent(event) if (world.event.S_EVENT_TAKEOFF == event.id) then trigger.action.outText("New takeoff of unit " .. event.initiator:getName(), 10) end end world.addEventHandler(Event_Handler) it never works with me, what is wrong with this code? I tried Speed's alternate method (https://forums.eagle.ru/showpost.php?p=1591765&postcount=65) and it's working ok do local old_onEvent = world.onEvent world.onEvent = function(event) if (world.event.S_EVENT_TAKEOFF == event.id) then trigger.action.outText("New takeoff of unit " .. event.initiator:getName(), 10) end return old_onEvent(event) end end Note: to make this work I have to select continues action so can someone please help me what is wrong with my EventHandler code? Did ED change somthing? I saw several topic contain same my code and was working!
-
Hi F/A-18C pilots, Since the release of F-18 and I am trying public release TM Warthog profiles. It's clear that we need to use TARGET to get most of Warthog hardware. However, the scripts I came cross were sending keyboard characters to DCS which it's in my opinion: You need to be careful with how keyboard characters are sent to DCS, generally they should not be in down state for long periods of time. You can't re-map from DCS but you must change the scripts code. So, I used my preferred TARGET script that was made by Gizzy on 2015 (for THROTTLE only), for full detailed: https://forums.eagle.ru/showthread.php?t=153039 The advantages of his script: It sends DX codes instead of keyboard characters (other than Right Shift) The ability to map OFF and Middle positions. It will give you freedom to re-map the profile within DCS itself (there is no need to edit script and a lot of ####) It runs TARGET script from command line via a BAT file which uses very small memory comparing to GUI. I used his script and mapped the warthog hardware to closest real F18 HOTAS. Of course, you still have the ability to re-map at your preferences. Installation 1. Place the file Gizzys-profile.tmc into TARGET scripts folder, usually @ C:\Program Files (x86)\Thrustmaster\TARGET\scripts 2. Place the gizzys-profile.bat at the same drive (partition) of TARGET GUI installation files (Desktop is good if you installed at C drive) Usage: 1. Before starting DCS, run gizzys-profile.bat 2. Run DCS and load my attached profiles (At first time only) Joystick - HOTAS Warthog.diff Thrustmaster Combined.diff TM HOTAS Warthog profile with gizzy TARGET script (DX codes).zip
-
Yes my plan to release more variants, i will check
-
This is skin of Saudi Hawks (Royal Saudi Air Force aerobatic team) The Saudi Hawks are a BAE Hawk-equipped Royal Saudi Air Force aerobatic team. Flying BAE Hawk Mk.65 and 65A jet trainers, it is the Royal Saudi Air Force's (RSAF) official demonstration team (88 Squadron). Installation: This package is OvGME ready! Download: https://www.digitalcombatsimulator.com/en/files/3300697 v1.0.0 (03-Jun-2018 ) . Initial Release
-
This package contains RSAF (Royal Saudi Air Force) skins of the following: - Boeing E-3A Sentry - Boeing KE-3A Tanker - Lockheed C-130H Hercules (4 and 13 Sqn) - Lockheed KC-130H Hercules Tanker - Lockheed KC-130J Super Hercules Tanker - McDonnell Douglas F-15C Eagle (2 Sqn) - McDonnell Douglas F-15S Strike Eagle (92 Sqn) I am planning to extend this list to more AI units. Installation: This package is OvGME ready! Just extract the file and each skin can be enabled by OvGME separately Note: - Hopefully ED will add this officially into DCS world soon. - Tested on DCS World OpenBeta 2.5 Download: https://www.digitalcombatsimulator.com/en/files/3300696/ v1.0.0 ( 03-Jun-2018 ) . Initial Release
-
Here we go guys: RSAF (Royal Saudi Air Force) Skins https://www.digitalcombatsimulator.com/en/files/3300696/ Saudi Hawks Skin https://www.digitalcombatsimulator.com/en/files/3300697/ and thanks to ED, because they have added in last update Saudi Arabia units so the following package is optional: https://www.digitalcombatsimulator.com/en/files/3300695/ More to come... For discussion: https://forums.eagle.ru/showthread.php?p=3515469#post3515469
-
Well while waiting I made this promo video: WGl-PigsQn0
-
Update: --------------------------------- This package contains Saudi Arabia localization and Texture (Mainly Royal Saudi Air Force - RSAF). * localization: - 6 Stripes - 6 squadrons - 8 medals - Assigning all available plane & ground unites that are real in Saudi Arabia Force Army * Texture works include (currently): - Boeing E-3A Sentry - Boeing KE-3A Tanker - Lockheed C-130H Hercules (4 and 13 Sqn) - Lockheed KC-130H Hercules Tanker - Lockheed KC-130J Super Hercules Tanker - McDonnell Douglas F-15C Eagle (2 Sqn) - McDonnell Douglas F-15S Strike Eagle (92 Sqn) - BAE Hawk Mk.65 * Plan To-Do textures: - Tornado IDS - Boeing AH-64 Apache - Boeing CH-47 Chinook - Bell UH-1N Twin Huey - Bell OH-58 Kiowa - Sikorsky UH-60 - Sikorsky SH-60 Seahawk - Ground Units --------------------------------- Where is the link to Download?! I have contacted ED again (I got response) and I am waiting their feedback where it will take time by them or no. If it will take time then I am going to release it. Expect answer very soon. Here are some images: More to come...
-
I will make them available within two days. E-3A, KC-135 and C-130 are ready, just cross checking some details
-
I have sent a year ago to ED SA details including ranking, awards, units, etc and expected them to be available in PG map but it seems not. I will contact them to check out. I have painted already F-15C, F-15E and HAWK. Working on E3, C130 and remaining units. Hope ED include these in PG map
-
Hi, So am in MS02 and the C-130 is not landing, it keep trying to land then go around. am running 1.5 beta, is this known issue? thanks.
-
So can I assume this is the best replacement gimbal for TM Warthog? then my card is ready
-
thank you ED for the 19 years and looking forward
-
Mod for Mbot F-5 Dynamic Campaign : Desert Warthog 06
Rabso replied to PB0_CEF's topic in User Created Missions General
thanks for the clarification, hope they fix it asap -
Mod for Mbot F-5 Dynamic Campaign : Desert Warthog 06
Rabso replied to PB0_CEF's topic in User Created Missions General
thanks for the effort, would love to have COOP A-10C Campaign but for DCS 1.5 as not all my friends have DCS 2 -
Operation Bactria (MP COOP 14), Afghanistan CAS
Rabso replied to Habu23's topic in User Created Missions General
I was searching for best MP mission to fly with my friends and came cross this. well first Congrats Habu23. I wanted to ask if we fly 2 to 3 will be enough to do the mission or it's hard? -
Fantastic and long waited mod, thanks guys. Will be great if the template is provided so we can do out painting work>
-
lol same feeling :megalol:
-
[FIXED]DCS server down?
Rabso replied to Rabso's topic in Release Version Bugs and Problems (Read only)
working now :)