CL30 Posted July 5, 2019 Posted July 5, 2019 Does anyone know if it's possible to change the distance troops spawn from the helicopter? What I mean is when you load, for example, an Anti-Air group, fly to your destination and choose "Unload/Extract..." is it possible to adjust how far away from the chopper they magically appear at? Just thinking it would be nice to be able to deploy these guys on cargo ships, or oil platforms, but they always spawn into the water. i5-9900K @ 5.0 GHz| Gigabyte Z390 Aorus Master | 64 GB Trident G.Skill RAM @ 3200 MHz | Thermaltake Floe Riing 360 AIO | Samsung EVO 860 500 GB SSD | Crucial MX500 500 GB M.2 | SanDisk 1TB SSD | RTX 3090 | EVGA G3 850W Gold PSU | Thermaltake View 71 TG Snow Edition | Thrustmaster Warthog HOTAS | MFC Crosswind pedals | Oculus Rift-S [sIGPIC][/sIGPIC]
GTFreeFlyer Posted July 5, 2019 Posted July 5, 2019 (edited) Hey stranger. I've narrowed it down to this for you to try.... lines 3984 and 3985: local x_Offset = math.cos(_angle) * 30 local y_Offset = math.sin(_angle) * 30 Try changing 30 to something lower on both lines. This math function appears to give the offset from your helo's position, so just make sure the number is more than 0, otherwise it looks like they'll spawn under your skids. Edited July 5, 2019 by GTFreeFlyer My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server Supercarrier Reference Kneeboards IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast
CL30 Posted July 5, 2019 Author Posted July 5, 2019 Hey stranger. I've narrowed it down to this for you to try.... lines 3984 and 3985: local x_Offset = math.cos(_angle) * 30 local y_Offset = math.sin(_angle) * 30 Try changing 30 to something lower on both lines. This math function appears to give the offset from your helo's position, so just make sure the number is more than 0, otherwise it looks like they'll spawn under your skids. Thanks, GT! Gonna try it now. Much appreciated! i5-9900K @ 5.0 GHz| Gigabyte Z390 Aorus Master | 64 GB Trident G.Skill RAM @ 3200 MHz | Thermaltake Floe Riing 360 AIO | Samsung EVO 860 500 GB SSD | Crucial MX500 500 GB M.2 | SanDisk 1TB SSD | RTX 3090 | EVGA G3 850W Gold PSU | Thermaltake View 71 TG Snow Edition | Thrustmaster Warthog HOTAS | MFC Crosswind pedals | Oculus Rift-S [sIGPIC][/sIGPIC]
CL30 Posted July 5, 2019 Author Posted July 5, 2019 Worked great, thanks!! i5-9900K @ 5.0 GHz| Gigabyte Z390 Aorus Master | 64 GB Trident G.Skill RAM @ 3200 MHz | Thermaltake Floe Riing 360 AIO | Samsung EVO 860 500 GB SSD | Crucial MX500 500 GB M.2 | SanDisk 1TB SSD | RTX 3090 | EVGA G3 850W Gold PSU | Thermaltake View 71 TG Snow Edition | Thrustmaster Warthog HOTAS | MFC Crosswind pedals | Oculus Rift-S [sIGPIC][/sIGPIC]
GTFreeFlyer Posted July 12, 2019 Posted July 12, 2019 You can actually make it easier to change if you replace “30” with “ctld.troopSpawnDistance” (without the quotes), then go to the top of the script file where all the other variables are defined and make yourself a new one: ctld.troopSpawnDistance = 30. Now you only need to change the number here and it is also easier to find at the top of the script. My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server Supercarrier Reference Kneeboards IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast
CL30 Posted July 13, 2019 Author Posted July 13, 2019 You can actually make it easier to change if you replace “30” with “ctld.troopSpawnDistance” (without the quotes), then go to the top of the script file where all the other variables are defined and make yourself a new one: ctld.troopSpawnDistance = 30. Now you only need to change the number here and it is also easier to find at the top of the script. Interesting. Will have to try that, thanks! i5-9900K @ 5.0 GHz| Gigabyte Z390 Aorus Master | 64 GB Trident G.Skill RAM @ 3200 MHz | Thermaltake Floe Riing 360 AIO | Samsung EVO 860 500 GB SSD | Crucial MX500 500 GB M.2 | SanDisk 1TB SSD | RTX 3090 | EVGA G3 850W Gold PSU | Thermaltake View 71 TG Snow Edition | Thrustmaster Warthog HOTAS | MFC Crosswind pedals | Oculus Rift-S [sIGPIC][/sIGPIC]
Recommended Posts