Search the Community
Showing results for tags 'assistance'.
Found 3 results
-
Interesting problem I know. It probably is something quite simple but I can't figure it out. Now, I'm fairly new to scripting (about six months) so I'm not 100% sure what I should do. The basic premise is that the player has a UAV with an M136 launcher on it. The drone then fires that launcher. Got that part down. I've even got it so that the drone rearms when it goes back to "Home". Now, what I'd like to do is to have the players rearm it in the field. They can have a launcher on their back, bring the drone to them and then attach the launcher onto the drone. The drone has a new launcher and the player looses theirs. Here is the code that I have so far. I know that it must be very simple but any help is very much welcome in advance. For you're consideration, I'm using ACE, CBA, RHS (All four modules) and more quality of life mods. Nothing that would effect scripting in any way.
-
Hi Guys, There were some requests to have my recent script as a mod and here you are. It is working like the "Pitch Altitude Hold" setup which can be found for instance by F-16s (can be seen below "F-16 Autopilot Controls").Basically it is fixing the altitude when it is turned on but still let's you to adjust speed, do pitch, yaw and roll. In addition to that Loiter (Pylon Turn) has been also added to the script. Here you can find the script version. Autopilot Altitude Fix Demonstration Loiter (Pylon Turn) Demonstration Helicopter Demonstration F-16 Autopilot Controls Features Fixes the altitude to the sea level altitude when the autopilot is activated (will be referred as initial altitude) Gives possibility to pilot to adjust speed, pitch, yaw and roll angles while autopilot is open. Autopilot returns fixed-wing airplanes to initial altitude after control is released back Autopilot/Loiter automatically turns off when Speed below minimum speed based on landing speed. In case of helicopters minimum speed is 40 kmh Speed above 0.9 Mach Engine is damaged Roll angle is above maximums 35° (only for helicopters) Pitch angle is above maximums which is 25° for helicopters and 50° for fixed-wings Rudder control (only by helicopters) Gives autopilot functionality to every air vehicle at mission start automatically Gives loiter (Pylon Turn) functionality to every fixed-wing at mission start automatically Autopilot and Loiter cannot be turned on at the same time Only pilot can turn it on/off. If co-pilot takes control, he/she is able to use the autopilot as well CBA A3 key binding Future Plans Other autopilot setups by fighter jets, i.e. fix attitute GUI Adjustable loiter parameters Download Dropbox (version 2.0) Steam Workshop (version 2.0) Armaholic (version 2.0) Dependencies CBA A3 Version History v.2.0 Added: Loiter functionality to airplanes Added: Speed fix for helicopters Added: Pitch will be adjusted to -5° by helicopters automatically Tweaked: Pitch limit by helicopters is increased to 25° Tweaked: +-10° is the band where helicopters are fixing their speed. Pitch angles outside of this band can be used to alter speed Added: Rudder will turn off autopilot by helicopters v.1.6 Added: Co-Pilots can enable the autopilot if they take the control Added: Switch sound when autopilot is engaged or disengaged v.1.5 Added: CBA Key binding (Default setup is CTRL + SHIFT + A) Tweaked: Helicopter autopilot is adjusted to let pilot more freedom to adjust the speed while autopilot is ON v.1.2 Added: Roll and pitch angle limits Added: Maximum speed limit Tweaked: Minimum speed is increased to turn on the autopilot is increased to 40 kmh in case their landing speed is below that (i.e. helicopters) Tweaked: From now on it will not fix the pitch to 0° but also will keep the initial altitude, this means if you climb or dive while autopilot is on with a fixed-wing aircraft after you release the controls it will take you back to initial altitude Fixed: Helicopters will not be able to fly upside down anymore v.1.1 Added: Autopilot functionality will be available by spawned vehicles as well (Requires CBA A3) v.1.0 Initial version Special Thanks Chronicsilence for his matrix function library Enjoy!
-
assistance Devas Autopilot [RELEASE]
Devastator_cm posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi Guys, This time I am releasing a script not for the benefit of mission makers but for players. It is working like the "Pitch Altitude Hold" setup which can be found for instance by F-16s (can be seen below "F-16 Autopilot Controls"). Basically it is fixing the altitude when it is turned on but still let's you to adjust speed, do pitch, yaw and roll. In addition to that Loiter (Pylon Turn) has been also added to the script. Mod version of this script can be found here. Autopilot Altitude Fix Demonstration Loiter (Pylon Turn) Demonstration Helicopter Demonstration F-16 Autopilot Controls Features Fixes the altitude to the sea level altitude when the autopilot is activated (will be referred as initial altitude) Gives possibility to pilot to adjust speed, pitch, yaw and roll angles while autopilot is open. Autopilot returns fixed-wing airplanes to initial altitude after control is released back Autopilot/Loiter automatically turns off when Speed below minimum speed based on landing speed. In case of helicopters minimum speed is 40 kmh Speed above 0.9 Mach Engine is damaged Roll angle is above maximums 35° (only for helicopters) Pitch angle is above maximums which is 25° for helicopters and 50° for fixed-wings Rudder control (only by helicopters) Gives autopilot functionality to every air vehicle at mission start automatically Gives loiter (Pylon Turn) functionality to every fixed-wing at mission start automatically Autopilot and Loiter cannot be turned on at the same time Only pilot can turn it on/off. If co-pilot takes control, he/she is able to use the autopilot as well For spawned airplanes and helicopters autopilot functionality should be given via following command [this] spawn DEVAS_AutoPilot; For spawned airplanes loiter functionality should be given via following command [this] spawn DEVAS_Loiter; Future Plans Other autopilot setups by fighter jets, i.e. fix attitute GUI Adjustable loiter parameters Download Dropbox (version 2.0) Armaholic (version 2.0) Sample Mission Dropbox Usage Details are given in readMe.txt inside the zip. Sample mission can be found above. Version History v.2.0 Added: Loiter functionality to airplanes Added: Speed fix for helicopters Added: Pitch will be adjusted to -5° by helicopters automatically Tweaked: Pitch limit by helicopters is increased to 25° Tweaked: +-10° is the band where helicopters are fixing their speed. Pitch angles outside of this band can be used to alter speed Added: Rudder will turn off autopilot by helicopters v.1.7 Added: Co-Pilots can enable the autopilot if they take the control Added: Switch sound when autopilot is engaged or disengaged Tweaked: Give more freedom to adjust the speed of helicopters when autopilot is on v.1.6 Added: Roll and pitch angle limits Added: Maximum speed limit Tweaked: Minimum speed to turn on the autopilot is increased to 40 kmh in case their landing speed is below that (i.e. helicopters) Tweaked: From now on it will not fix the pitch to 0° but also will keep the initial altitude, this means if you climb or dive while autopilot is on with a fixed-wing aircraft after you release the controls it will take you back to initial altitude Fixed: Helicopters will not be able to fly upside down anymore v.1.5 Added: Autopilot functionality for helicopters Tweaked: Autopilot will turn off if engine is stopped and will not show up before engine starts Fixed: It will not disappear from action menu after take off for some planes v.1.1 Fixed: Autopilot not showing in some airplanes Tweaked: Minimum speed of automatic turn off set based on landing speed of airplane v.1.0 Initial version Special Thanks Chronicsilence for his matrix function library Enjoy!