

AngelRR92
Members-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by AngelRR92
-
Hello, did anyone else noticed that the fuel gauge appears to be incorrect? According to the lua file in the "entry" folder, the aircraft carries 3000kg of internal fuel (100%) but the gauges are reading half. I Compared to the Su-25A and its internal fuel is almost double... Im missing something here?
-
Bumping this because Im reading "Thud Ridge" and man... i wish we had an F105 module/mod
- 399 replies
-
- 3
-
-
This opens the path to hopefully have one day a full fidelity AZ. With its Vergooi and all... Fingers crossed.
-
DynaMO : a Dynamic Mission Orchestrator mod
AngelRR92 replied to CougarFFW04's topic in Mission Editor
Hi, are tehe EDM trees models available? I came here from your last thread about those "dark trees". I just want to add them as stastic objects to put more Green in some desert areas -
Downloaded, I was always curious about the Border war since I listened to a spanish podcast about it, I know, weird. Eager to know more about the Mirage F1.
-
OPTIONS_ADD_COMMAND_CODES_TO_TOOLTIP function removed? Why?
AngelRR92 replied to Xtorris's topic in Mission Editor
I was getting mad with this feature not present anymore until I saw this thread, thank you all!!! -
How to schedule a funtion that is being called?
AngelRR92 replied to AngelRR92's topic in Scripting Tips, Tricks & Issues
Thank you for your time, I was calling a flag that acts as trigger for this script. I found this example structure here https://wiki.hoggitworld.com/view/DCS_func_setPoint to replicate and fiddle with: The following will create a laser point and update the point of the ray every half a second. Once the target unit is destroyed it will remove the laser. local jtac = Unit.getByName('jtacBob') local target = Unit.getByName('BMPAirDefenseSystemGroup1_unit1') local ray = Spot.createLaser(jtac, {x = 0, y = 1, z = 0}, target:getPoint(), 1337) local function updateRay() if Object.isExist(target) then ray:setPoint(target:getPoint()) timer.scheduleFunction(updateRay, {}, timer.getTime() + 0.5) else ray:destroy() end end timer.scheduleFunction(updateRay, {}, timer.getTime() + 0.5) -
Hello, I've been struggling with creating and controlling looped functions with F10 commands. I made some basic CCRP and navigation scripts that I want to control ON and OFF from the F10 menu and also overcome the REPETIVE ACTION 1 second update rate and put it up to 2 times per second or whatever. So I guessed that my solution would be calling the pre-saved script with "assert" and put it in a simple timer.schedule funcion that loops the called script each 0.5 seconds. I define my function, tell it to load my script, make it check my control flag from the F10 menu, control condition linked to that specific flag This is what I got, it works but only displays the information once... I think I'm not declaring my function correctly. Thanks in advance, do local function GlonassWP1(Argument) -- Arguments are not into code, only info! local path ='W:\\DCS\\1. Mission Editor\\Su-25A\\SYRIA RUSSIA V00\\' assert(loadfile(path .. "HDG_COURSE_WP1.lua"))() trigger.misc.getUserFlag(GlonassWP1 ) if trigger.misc.getUserFlag(flagNameWP ) == 1 then timer.scheduleFunction(GlonassWP1, {1}, timer.getTime() + 0.5) -- Reschedule the function to run again after 0.5 sec end end timer.scheduleFunction(GlonassWP1, {}, timer.getTime() + 1) -- Loop will start at start condition +1 secs end
-
I would pay for a Mirage III mod/module... It fits in so many maps and Cold War era is right now the hottest Please do not abandon it.
-
F9F-2 Panther By =Katze=
AngelRR92 replied to =Katze='s topic in Flyable/Drivable Mods for DCS World
Looking good! thanks for doing it. -
Playing sounds or radio transmissions with lua
AngelRR92 replied to DonCalzone's topic in Mission Editor Bugs
Thanks! I was really pissed off with this... -
Hello all, first of all, THANKS to the creators of this wonderful tool. I'm creating a basic script to replicate a HUD with some pre-made images but i'm not sure if I can call them to be used with a DO SCRIPT with MIST. I tweaked some basic lua code but my main concern is how to tel the mission to load and manipulate a given image, I have this: --Image resize do local screen = platform.window local w, h = screen:width(), screen:height() local image01 = image.new(_R.IMG.image01) local im01w = image.width(image01) local im01h = image.height(image01) local imw, imh --Introducing 2 local vars that will be defined in the future function on.resize() im01w = image01w:width() im01h = image01h:height() image01 = image01:copy(0.5*im01w, 0.5*im01h) --Creates a 50% size copy of the image01 --screen:invalidate() +--Not sure if must be added, Test end function on.paint(gc) gc:drawImage(image01, (w - im01w)/2, (h - im01h)/2) --function to draw image centered, tweak “(h - im01h)/2” argument to put it up or down as required end