@Mildycoolerthencool I'm guessing you have the overload mod enabled? (it's installed with the game by default you just need to enable it from the main menu)
So click on your gyroscope and open the overload menu (it's a blue button on the bottom of your screen), from the drop down at the top select "Gyroscope" , then replace the value for "activationGroup" (the collumn to the right) with your code.
You'll also need to swap out some parts of the code depending on your plane, replace "X" with the amount of seconds you want it to be enabled for and replace "Rocket" with the name of whatever missile your plane is using.
Here's an example if you need link
@shipster
sum(clamp01(ammo("Rocket") < 1)) < X ? clamp01(ammo("Rocket") < 1) : 0
is the entire input, put it in as the ag group using overload, change X to the amount of time (in seconds) it should run for.
"Rocket" is filler for the weapon you want it to be, if its say a the cleaver missile you would use "Cleaver" instead
@DClass if you want it on Activate1 use:
sum(clamp01(Activate1)) < X ? clamp01(Activate1) < 1) : 0
Change the letter X to the amount of time you want it running
@DClass @shipster Credit goes to WNP78 for the original code, I modified it slightly to work when firing weapons, change X to change the amount of time it runs for, I'm using Rocket as an example but change that too the name of whatever weapon you're firing (not the name in xml, the name from part selection), keep the quotation marks they're meant to be there
@leehopard
@SnoWFLakE0s
@Mildycoolerthencool I'm guessing you have the overload mod enabled? (it's installed with the game by default you just need to enable it from the main menu)
So click on your gyroscope and open the overload menu (it's a blue button on the bottom of your screen), from the drop down at the top select "Gyroscope" , then replace the value for "activationGroup" (the collumn to the right) with your code.
You'll also need to swap out some parts of the code depending on your plane, replace "X" with the amount of seconds you want it to be enabled for and replace "Rocket" with the name of whatever missile your plane is using.
Here's an example if you need link
@Destroyerz117 where do I need to put the code in?
Ok thank you very much @Destroyerz117
@shipster
sum(clamp01(ammo("Rocket") < 1)) < X ? clamp01(ammo("Rocket") < 1) : 0
is the entire input, put it in as the ag group using overload, change X to the amount of time (in seconds) it should run for.
"Rocket" is filler for the weapon you want it to be, if its say a the cleaver missile you would use "Cleaver" instead
Wait so are those two lines meant to be connected? Or are they two different lines? @Destroyerz117
Thank you guys!! @DClass @Destroyerz117
@DClass yes
In seconds?
@Destroyerz117
@DClass if you want it on Activate1 use:
sum(clamp01(Activate1)) < X ? clamp01(Activate1) < 1) : 0
Change the letter X to the amount of time you want it running
And you have on when you deactivate ActivationGroup 1 and it waits until a curtain amount of time until it’s deactivate @Destroyerz117
@DClass @shipster Credit goes to WNP78 for the original code, I modified it slightly to work when firing weapons, change X to change the amount of time it runs for, I'm using Rocket as an example but change that too the name of whatever weapon you're firing (not the name in xml, the name from part selection), keep the quotation marks they're meant to be there
sum(clamp01(ammo("Rocket") < 1)) < X ? clamp01(ammo("Rocket") < 1) : 0
hol up I swear I have this code already, I'll get back to you in a bit
I need to know this as well can you tell me the anwser when you know it