-
Posts
1533 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by BoneDust
-
Ok, that is probably why bud. I really appreciate the work you've done. It is much easier getting these things into the missions. Looking forward to the AWACS one :thumbup: I will try the updated link. Much appreciated man! cheers
-
This is great. I have it sort of working. Tanker respawns but I cannot communicate with it (doesn't appear in the F menu, and it doesn't seem to stay on station. It reaches its point and then proceeds to land. E2 stays on station but I cannot communicate with it either. Here's my script S3Stennis=RECOVERYTANKER:New(UNIT:FindByName("USS Stennis"), "TankerS3") --carrier unit name and tanker group name S3Stennis:SetRadio(254) --sets radio to 254, defaults to AM S3Stennis:SetTakeoffAir() --sets take off from carrier once, then respawn in the air S3Stennis:SetAltitude(5000) --change number to whatever altitude you want S3Stennis:SetSpeed(290) -- change number to whatever speed you want the tanker to fly S3Stennis:SetRacetrackDistances(20,5) --sets the racetrack distance from the carrier in NM S3Stennis:SetHomeBase ("USS Stennis") S3Stennis:IsRunning() S3Stennis:SetPatternUpdateInterval() --Pattern will update. Default is 10 minutes S3Stennis:Start() E2 E2Stennis=RECOVERYTANKER:New(UNIT:FindByName("USS Stennis"), "E2") --carrier unit name and tanker group name E2Stennis:SetRadio(264) --sets E2 radio to 264, defaults to AM E2Stennis:SetTakeoffAir() --sets take off from carrier once, then respawn in the air E2Stennis:SetAltitude(25000) --change number to whatever altitude you want E2Stennis:SetSpeed(270) -- change number to whatever speed you want the E2 to fly E2Stennis:SetRacetrackDistances(20,5) --sets the racetrack distance from the carrier in NM E2Stennis:SetHomeBase ("USS Stennis") E2Stennis:Start()
-
The tanker framework is awesome. I am testing this for the E2 and so far it seems to work. Thanks.
-
Our wing studently lost a very good friend and highly skilled pilot. JD "Chameleon" Jesonis. He was our chief instructor, mentor and very fun guy to fly with. We held a memorial flight yesterday with guest from wings that Chameleon has previously flown with. Cham knew many people in various flight sim communities, so we thought we'd share his memorial flight with you. You will be greatly missed Chammy. We greatly appreciate the 1st Virtual Fighter wing for their participation in the memorial flight. Our condolences and prayers to Chammy's family.
-
:thumbup:
-
Yes sir. I saw your post. You should get a welcome PM from Drillin. :thumbup:
-
Open for three more pilots.
-
ED, give work to your public mission designers!
BoneDust replied to Frag's topic in DCS Core Wish List
It would be nice to be able to copy and paste triggers and trigger zones so I can easily move my work from one theater to another without having to redo everything. -
I'm using the new code and it works great until it has to land. The helo still lands in the water and just flies along partially submerged under water, so it doesn't respawn.
-
That's awesome man :thumbup:
-
What the helo appears to be doing is trying to land at the same spot it departed the ship from, but the ship of course is moving so it lands in the water where the ship was when it departed and flies along partially submerged; hence no respawning. Any thoughts?
-
I've never had any issues with SRS but since yesterday when others are talking to me their voice starts low and increases in volume until it is so loud its distorted. Any thoughts on this? cheers
-
It still does not respawn...still working on it. Here's the script. Eveything works well but the helo flies along the water partially submerged rather than land. Any thoughts? :thumbup: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ trigger.action.outText('Loading SAR_Helo_Respawn Script v1.0 by FF', 10) -- Script is loading. env.info("Loading MOOSE Rescue Helo-Carrier Formation Script v1.1 by FF") -- v1.1: Made AI_FORMATION object global variable since garbage collector removed it. -- Used new RespawnAtAirbase() function. Requires MOOSE version >= 2.4 -- Download Moose.lua at https://github.com/FlightControl-Master/MOOSE/releases ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- Set parameters. -- Carrier UNIT name as set in the ME. local CarrierUnitName="the USS John C Stennis" -- Helo GROUP name as set in the ME. local HeloGroupName="SAR_Helo" -- Offset [meters] in the direction of travelling. Positive values are in front of Mother. local OffsetX=270 -- Offset [meters] perpendicular to travelling. Positive = Starboard (right of Mother), negative = Port (left of Mother). local OffsetZ=200 -- Offset altitude. Should (obviously) always be positve. local OffsetY=80 -- If true, Carrier will randomly select waypoints from the ones defined in the ME. local RandomRoute=false ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- Scripting Part - no need to change anything below unless you know what you are doing. -- Report mission time every 30 sec. local ReportTime=false -- Report fuel of helo group every 60 sec. local ReportFuel=false -- Display mission time. if ReportTime then local Scheduler_Mission_Time = SCHEDULER:New(nil, UTILS.DisplayMissionTime, {}, 0, 30) end -- Debug info. env.info(string.format("Carrier Unit Name = %s", CarrierUnitName)) env.info(string.format("Helo Group Name = %s", HeloGroupName)) env.info(string.format("Offset X (front) = %.1f m", OffsetX)) env.info(string.format("Offset Z (port) = %.1f m", OffsetZ)) env.info(string.format("Offset Y (alt) = %.1f m", OffsetY)) env.info(string.format("Spawn in air = %s", tostring(SpawnInAir))) env.info(string.format("Random Route = %s", tostring(RandomRoute))) -- Set takeoff type. local Takeoff=SPAWN.Takeoff.Hot -- Adjust this to SPAWN.Takeoff.Cold for a cold start, i.e. with engines off. -- Carrier "USS Stennis" = Mother. "USS Stennis" is the name of the unit of the carrier given to the carrier in the ME. local Mother=UNIT:FindByName(CarrierUnitName) -- Carrier group will patrol the defined waypoints indefinetly. if RandomRoute then Mother:PatrolRouteRandom(20) else Mother:PatrolRoute() end -- Spawn helo. local SpawnHelo=SPAWN:New(HeloGroupName) local HeloSpawn=SpawnHelo:SpawnAtAirbase(AIRBASE:FindByName(CarrierUnitName), Takeoff, OffsetY) -- Set of group(s) to follow Mother. local FollowGroupSet = SET_GROUP:New() FollowGroupSet:AddGroupsByName(HeloSpawn:GetName()) -- Define AI Formation object. CarrierFormation = AI_FORMATION:New(Mother, FollowGroupSet, "Helo Formation with Carrier", "Follow Carrier at given parameters.") -- Formation parameters. CarrierFormation:FormationCenterWing(-OffsetX, 50, math.abs(OffsetY), 50, OffsetZ, 50) -- Start formation FSM. CarrierFormation:__Start(2) -- Subscribe helo group set to the event land. FollowGroupSet:HandleEvent(EVENTS.Land) -- Respawn helo group once it landed because it was out of fuel. function FollowGroupSet:OnEventLand(EventData) local group=EventData.IniGroup --Wrapper.Group#GROUP if group and group:GetName():match(HeloGroupName) then env.info(string.format("CarrierFormation: Respawning group %s.", group:GetName())) group:RespawnAtCurrentAirbase(nil, Takeoff) -- MOOSE v2.4.X end end -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- if ReportFuel then --- Report fuel function of following group. local function ReportFuel() for _,myhelo in pairs(FollowGroupSet:GetSet()) do if myhelo and myhelo:IsAlive() then local fuel=myhelo:GetFuel() local text=string.format("%s: fuel = %.2f %%", myhelo:GetName(), fuel*100) MESSAGE:New(text, 5):ToAll() end end end -- Report fuel state of helo every 10 seconds. local Scheduler_Helo_Fuel = SCHEDULER:New(nil, ReportFuel, {}, 60, 60) end --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-
I'll load mission later, but it is a simple test mission with the carrier and one helo. I see this error in the log. SCRIPTING: *** MOOSE INCLUDE END *** 2019-01-22 13:50:56.724 INFO SCRIPTING: Loading MOOSE Rescue Helo-Carrier Formation Script v1.1 by FF 2019-01-22 13:50:56.724 INFO SCRIPTING: Carrier Unit Name = the USS John C Stennis 2019-01-22 13:50:56.724 INFO SCRIPTING: Helo Group Name = SAR_Helo 2019-01-22 13:50:56.724 INFO SCRIPTING: Offset X (front) = 300.0 m 2019-01-22 13:50:56.724 INFO SCRIPTING: Offset Z (port) = 200.0 m 2019-01-22 13:50:56.724 INFO SCRIPTING: Offset Y (alt) = 80.0 m 2019-01-22 13:50:56.724 INFO SCRIPTING: Spawn in air = nil 2019-01-22 13:50:56.724 INFO SCRIPTING: Random Route = false 2019-01-22 13:50:56.724 ERROR DCS: Mission script error: : [string "C:\Users\dwigh\AppData\Local\Temp\DCS.openbeta\/~mis000018A4.lua"]:61: attempt to index local 'Mother' (a nil value) stack traceback: [C]: ? [string "C:\Users\dwigh\AppData\Local\Temp\DCS.openbeta\/~mis000018A4.lua"]:61: in main chunk EDIT: I found the problem. Dumb error on my part. I had the ships name in the Group window rather than the unit window. Works great. No more late night mission building for me haha. Cheers
-
Have not been able to get this to work; mind you I'm new to this using scripts. I've renamed the carrier and helo names in the script to what I have in ME. Is there something special that needs done in ME to the units? I have triggers Mission Start>>>Load MOOSE and MISSION Start Load Rescue Helo. Added a helo and set it to late activation; which is how I was told to do it. The only thing that needs changed in the script is the carrier and helo names to match ME so what am I missing?
-
Yes, in real life it sounds very cool but the in game sound isn't quite there. I'm been trying to match the real life sounds but haven't have luck yet; close but not quite good enough to release.
-
I find since the last 2 updates I am crashing. Just had a crash flying online; that's the 4th one since the last update. Other fellas on the wing are experiencing more crash to desk tops as well as not being able to contact the tanker. Some players can call on the tanker while others get no AI voice from themselves or the tanker, yet they can hear the other players calling and the tanker responding to them. I can't recall having any crashes prior to these last two updates. No crash logs that I'm aware of.
-
I have made darker colour skin for a few fellas. Here's the texture if some would like it. cheers https://www.dropbox.com/s/47nq5mufzaqeia1/pilot_F18.zip?dl=0
-
Hoggit's Georgia At War 2.8.7 released! Come check out our dynamic mission
BoneDust replied to jers's topic in Community News
I notice some seats are reserved. Could someone tell me how to go about having a seat reserved? I assume donations? -
Yes, that's what I'm seeing as well.
-
I increased the volume for the G-Force Breaths because I find them too low. Example starts at 0:22 in the video Installer can be found here https://www.digitalcombatsimulator.com/en/files/?set_filter=Y&arrFilter_pf%5Bfiletype%5D=36&arrFilter_pf%5Bgameversion%5D=518&arrFilter_pf%5Bfilelang%5D=14&arrFilter_pf%5Baircraft%5D=535&arrFilter_DATE_CREATE_1_DAYS_TO_BACK=&CREATED_BY=&sort_by_order=TIMESTAMP_X_DESC&set_filter=Filter
-
+1 :thumbup:
-
Yes.