Hi yall, so im making parachute bombs, and i want them to launch and open the parachute at a specified altitude or a timed delay using code,can someone give me the xml code for a timed delay and a specific altitude opening? Thank you
Hi yall, so im making parachute bombs, and i want them to launch and open the parachute at a specified altitude or a timed delay using code,can someone give me the xml code for a timed delay and a specific altitude opening? Thank you
@HuskyDynamics01 I tried inputing it into XML. And it disappeared
@XgenAerodynamics
I know someone already answered, and there's really no point in me answering, but there's currently no way of knowing how to activate anything through a weapon's location, which I wish they'd add soon.
However, delaying activation can be achieved, and has been a thing for the players. I didn't understand what
smooth
did when I discovered it, so I didn't use it much. But, as you can tell, it delays an activation. Oh and, I think it slows down the speed of a control surface in wings.@XgenAerodynamics It should go in the parachute's
Input
value.@SheriffHackdogMCPE thank uuu
@HuskyDynamics01 where do I input the code?
@ZeroWithSlashedO
Both for different purposes, or whichever can be achieved
Ah okay@HuskyDynamics01
@Axartar I don't believe there's a way to find the altitude of a specific part (such as a bomb). The only output variables for weapons are for the camera, if you happen to have one enabled.
Yeah, my funky trees knowledge is short, but with the variable outputs is there an altitude variable parts?@HuskyDynamics01
If the bombs are being salvoed via an activation group, you could do
smooth(yourActivationGroup,1/delayTime)
, with the appropriate values. For example, if you wanted to launch the bomb with AG2 and have the parachute deploy after 4 seconds, you would dosmooth(Activate2,0.25)
.I don't believe it's possible to have something set up this way for launching a bomb via the regular "Launch Weapons" control (since the bomb doesn't really have a way of knowing whether it's been launched or not), and it is not possible to do it when the bomb reaches a specific altitude, since the only
Altitude
variables are for the active cockpit.Wait so, I'm a bit confused.
Do you want activation delay by time or activation delay by altitude?
you need to contact snowflake0s he's the best ft coder
@Axartar thank u so much, please get back To Me when u can
For delay it’s its own variable on the parachute, I think. If it exists. The altitude seems a little difficult. I’m not great at funky trees. I’ll have a look