Grodin Posted September 1, 2022 Posted September 1, 2022 Can anyone help me with this. I have a single tanker in my mission with a race track orbit waypoint. I would like to use F10 menu commands to make this tanker change speed and altitude. I could make more waypoints and use a waypoint switch trigger, but this is very messy and causes the tanker to go back to the beginning of the race track orbit point every time it changes. Is there some script command for example to change the speed/alt? Fighting for peace is like screwing for virginity.
Exorcet Posted September 1, 2022 Posted September 1, 2022 You should be able to set orbits as triggered actions if I remember, then it's just a matter of triggering the correct orbit instead of a switch waypoint. 1 1 Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
toutenglisse Posted September 2, 2022 Posted September 2, 2022 20 hours ago, Exorcet said: You should be able to set orbits as triggered actions if I remember, then it's just a matter of triggering the correct orbit instead of a switch waypoint. "forged in truth". Solution can't be simpler / more straight forward. (example attached for @Grodin) test-change-tanker-orbitRT-speed-alt.miz 3
Grodin Posted September 2, 2022 Author Posted September 2, 2022 Wow, the solution was too simple to notice, lol. Was thinking this way too complicated, thanks! Fighting for peace is like screwing for virginity.
jackmckay Posted October 12, 2022 Posted October 12, 2022 Similar request, except locked on AGL with two waypoints, takeoff and landing. Someone?
Exorcet Posted October 12, 2022 Posted October 12, 2022 41 minutes ago, jackmckay said: Similar request, except locked on AGL with two waypoints, takeoff and landing. Someone? Orbits don't have a AGL option, so you'll need to manually set waypoints and use the switch waypoint command to make the AI loop them. Awaiting: DCS F-15C Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files
jackmckay Posted October 12, 2022 Posted October 12, 2022 4 hours ago, Exorcet said: Orbits don't have a AGL option, so you'll need to manually set waypoints and use the switch waypoint command to make the AI loop them. Did some more tests. Its messy. I just want limit AI unit's altitude without some extra wp settings. Case with race track orbit is ok for AWACS or Tanker, but for direct flight AI randomizes altitude and approach.
jackmckay Posted October 12, 2022 Posted October 12, 2022 (edited) Maybe this works: https://wiki.hoggitworld.com/view/DCS_func_setAltitude duno jet... From -DCS 2.7.11.22211 - 08.04.2022 - Scripting. Added setSpeed and setAltitude to Controller class. Edited October 12, 2022 by jackmckay
Grimes Posted October 12, 2022 Posted October 12, 2022 Yeah setSpeed and setAlttitude both work. Am using both on the Grayflag server to do precisely that for players to request speed and altitude changes for the tanker so that we don't have to have a special one for the A-10 or whatever. You can also just generate a new task via https://wiki.hoggitworld.com/view/DCS_task_mission and set randomized altitude values there. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts