@STRATO72 do what @Monarchii say, add a rotator that moving opposite way with same input
or just detach connection from bottom one,and add connection to something not moving
add cockpit to each turret any cockpit, and set the variable on each of the cockpit,
ex; turret1 using cockpit1, so FT in turret1, change targetDistance,targetAltitude, targetHeading,Heading, Altitude. from variables cockpit1 and so on each turret
if a turret didn't have cockpit, it'll only calculate by the main cockpit so the output of every turret is the same even tho different places and needs different angles
to activate gauge at 91%throttle just put this in activation Throttle>90 so it is on at 91%
for the needle, just inverselerp (0.90,1,Throttle)*100 so the gauge will count 90% as 0, and 100% as 100
or delete *100 if you want the result 0-1
it would be a lot of ft
you need for every control surfaces,and how much the desired output and the limit.
if you are not really into FT alot
my basic is just if something value exceeded? (value i want) : (do normal value)
to get the value i want i mostly just use PID, using only proportional of it and change smoothing use inverselerp. i have knowledge limit of that, but it can be work
or if you play with ft alot, i made a little autopilot, just change it to always on, and the target value changing realtime as input
@Kendog84 i am on android.. but i think theres similar way. thank you for the info!
also about rotator, it shake even nothing attached to the shaft of it?
what if i scale the rotator to almost invisibe, and scale engine power also?
i thought, if the output is not same as the the input, some calculation have a little offset
@ThomasRoderick
nice explanation 👍👌 thank you very much
so in rotator, i need one rotator per custom variable? it'll be many rotator 😂 but its interesting,i wanna try to make my button autopilot work that way, so its possible to put in Sub-assembly
@ThomasRoderick lemme try understand it
so i put variable name in the rotator current angle variable? and the variable as the rotator input?
and i take, for example
if i wanna put Ft for flap that start going down at 110 m/s and full at 80m/s
i put rotator current angle name to 'flap' and input to inverselerp(110,80,IAS)
If i set rotator to 180° and min 0 max 1
the flap input will be 'flap'/180?
thank you! @ThomasRoderick @Seeras
i think it wasn't a bug,
because i didnt modify from his plane, i use his plane as Sub-assembly,and put it to the buttons (because i dont wanna move the custom variables one by one)
are there a way to copy custom variables?
im indonesian, my teacher teach me
sincostan seccoseccotan
demisamidesamisamidesade
basically
sin=de/mi
cos=sa/mi and so on
but idk how to use it in simpleplane
like, HOW and when lol
how many G you plane goes? im not expert, but
try (yourvariable)*(1-(VerticalG/x)
cange x to any G start from your max G, change accordingly, lower to lower max G, vice versa
@Gerald19 my English is not good, but, you want activation group, but dont want to use Activate1-8?
just use button or switch
and change input to
ex; i want to activate engine 1, i set switch input to eng1 and add custom variables, eng1 with value 0 or blank
and change engine input from anything it was and add *(the switch variable you use) so originally Throttle to Throttle*eng1
edit:
if when turning on switch or buttons, cannot turning it off again
edit button xml input ,interractionType set to Toggle
@PlaneFlightX ...
i didnt know anything about coding. i searched up whats notepad++
if i want to use it, do i need to know some coding language or something? or it can be intuitively?? i assume notepad++ can make easier
are there free lesson online thats start from scratch? can you recommend me
Nevermind! i misunderstood
i thought wobble "after" pitching
if wobble during pitch just decrease the angle from rotator/control surface you use
if still persist,
just change input
from Pitch to smooth(Pitch,x)
again, change x
start from 0.1,0.2, and higher if the pitch too slow
this is limited to my knowledge if the input on the elevator
try Pitch+(Pitch=0?PID(0,PitchRate,x,0,0)/PitchRate:0)
change x to
start with 0.3
if the craft pitch too fast, go lower.if too slow, go higher
try not to go more than 1,
you can go lower to 0.01 and more
or Pitch+(Pitch=0?clamp(-PitchRate/x,0,0.5):0)
change x to how fast your craft pitch rate,
if you plane pitch at max is 10degree/s
put 10, change number accordingly
try
someone else knew better. i dont know xml coding. just learnt from players posts
yeah yours were too complicated 😂
i was fiddling with FT and i thought... maybe i can make autopilot
then i got these problems 😂
but im happy anyway
basic autopilot
really basic
not your basic 😂@PlaneFlightX
@hpgbproductions thank you very much!
i haven't try now
but, is it right i can use lerpangle to go with the closest angle?
tried to change the heading to 360 bcs i cannot figured
why you can't?
you already using shizuku right?
and you sure you copied to Mods folder?
try this
https://www.simpleplanes.com/Mods/View/1650924/Maywar-for-android-Newedition
T
+1@STRATO72 do what @Monarchii say, add a rotator that moving opposite way with same input
or just detach connection from bottom one,and add connection to something not moving
@STRATO72 so the turret wasnt auto aim?
or the bottom one only? one manual and another auto?
you make your own FT?
if does
add cockpit to each turret any cockpit, and set the variable on each of the cockpit,
ex;
turret1
usingcockpit1
, so FT inturret1,
changetargetDistance,targetAltitude, targetHeading,Heading, Altitude.
from variablescockpit1
and so on each turretif a turret didn't have cockpit, it'll only calculate by the main cockpit so the output of every turret is the same even tho different places and needs different angles
@FlyOnTheWall 😁 thanks
+1@Kendog84 i haven't really played with rotator, bu i was thought if using scale from in game mods, i thought it'll make it weaker.. im not sure...
ill check on your build
to activate gauge at 91%throttle just put this in activation
+1Throttle>90
so it is on at 91%for the needle, just
inverselerp (0.90,1,Throttle)*100
so the gauge will count 90% as 0, and 100% as 100or delete *100 if you want the result 0-1
it would be a lot of ft
you need for every control surfaces,and how much the desired output and the limit.
if you are not really into FT alot
my basic is just
if something value exceeded? (value i want) : (do normal value)
to get the value i want i mostly just use PID, using only proportional of it and change smoothing use inverselerp. i have knowledge limit of that, but it can be work
or if you play with ft alot, i made a little autopilot, just change it to always on, and the target value changing realtime as input
@Kendog84 i am on android.. but i think theres similar way. thank you for the info!
also about rotator, it shake even nothing attached to the shaft of it?
what if i scale the rotator to almost invisibe, and scale engine power also?
i thought, if the output is not same as the the input, some calculation have a little offset
@ThomasRoderick
+1nice explanation 👍👌 thank you very much
so in rotator, i need one rotator per custom variable? it'll be many rotator 😂 but its interesting,i wanna try to make my button autopilot work that way, so its possible to put in Sub-assembly
@ThomasRoderick lemme try understand it
so i put variable name in the rotator current angle variable? and the variable as the rotator input?
and i take, for example
if i wanna put Ft for flap that start going down at 110 m/s and full at 80m/s
i put rotator current angle name to 'flap' and input to inverselerp(110,80,IAS)
If i set rotator to 180° and min 0 max 1
the flap input will be 'flap'/180?
@ThomasRoderick wow thats brilliant! i want to do that, but man, a lot of rotator to do 😂
+1thanks for the info!
so no easy way to move custom variables@ThomasRoderick
thank you! @ThomasRoderick @Seeras
+1i think it wasn't a bug,
because i didnt modify from his plane, i use his plane as Sub-assembly,and put it to the buttons (because i dont wanna move the custom variables one by one)
are there a way to copy custom variables?
thats for pitching up if both up and down
+1PitchRate<0? ( Pitch - PitchRate * 0.005 ) * ( inverselerp(9,0,VerticalG) ) : ( Pitch - PitchRate * 0.005 ) * ( inverselerp(-4,0,VerticalG) )
its easy to do add that from your variable
(Pitch - (PitchRate* 0.005) * (1-(VerticalG/13.5)
but if you want accuracy
whats the aircraft pitch rate, in the real sample, (degree/s)
or try
+1(Pitch-PitchRate*0.005)*(inverselerp(9,0,VerticalG))
@FlyOnTheWall thank you 🙏
can i use and modify
+1@Zerkk tysm!
+1i borrow your plane, i hope you dont mind..
+2if you mind ill delete it 🙏
uhmm the link just send me here
nvm its
@IFVuser thank you 😁
+1@WzNick tysm!
how to make link clickable
im indonesian, my teacher teach me
sincostan seccoseccotan
demisamidesamisamidesade
basically
sin=de/mi
cos=sa/mi and so on
but idk how to use it in simpleplane
like, HOW and when lol
how many G you plane goes? im not expert, but
+1try
(yourvariable)*(1-(VerticalG/x)
cange x to any G start from your max G, change accordingly, lower to lower max G, vice versa
@Gerald19 my English is not good, but, you want activation group, but dont want to use Activate1-8?
just use button or switch
and change input to
ex; i want to activate engine 1, i set switch input to
eng1
and add custom variables,eng1
with value 0 or blankand change engine input from anything it was and add
*(the switch variable you use)
so originallyThrottle
toThrottle*eng1
edit:
if when turning on switch or buttons, cannot turning it off again
edit button xml input ,
interractionType
set toToggle
i'll stick to simple-planes😅 cant stand tedious task
@MSLITecnik i know only that, just like in the vids
idk how and when if its implemented. to FT
whats with the trigonometry... i cant understand... help
how does it work, here in SP
goodluck ln your highschool!
+1so, i think i need to learn coding first then
thank you very much! @PlaneFlightX
@PlaneFlightX ...
i didnt know anything about coding. i searched up whats notepad++
if i want to use it, do i need to know some coding language or something? or it can be intuitively?? i assume notepad++ can make easier
are there free lesson online thats start from scratch? can you recommend me
@MSLITecnik methamphetamine?
+1jk yeah i also kinda understand a little about theFT but the math, i need to learn more
@FlyOnTheWall rename it didnt work for me
i think it has to be the android version
tried other mod, if not mobile didnt work for me
it has to be (mod name.spmod-android)
after dropping in mod folder, have you activate it from mod menu in game?
the maywar map work for me
my SP 1.12.205
MIUI 14.0.5 Android 13
you code it ingame? or also like import from somewhere??
are you a programmer or developer?
my mind was blown
you weren't made a
SimplePlane
@PlaneFlightX yes like a year ago, or some
lmk if it work
lets fix it
im still learning
you guys use blueprints?
+1Nevermind! i misunderstood
i thought wobble "after" pitching
if wobble during pitch just decrease the angle from rotator/control surface you use
if still persist,
just change input
from
Pitch
tosmooth(Pitch,x)
again, change x
start from 0.1,0.2, and higher if the pitch too slow
this is limited to my knowledge if the input on the elevator
try
Pitch+(Pitch=0?PID(0,PitchRate,x,0,0)/PitchRate:0)
change
x
tostart with 0.3
if the craft pitch too fast, go lower.if too slow, go higher
try not to go more than 1,
you can go lower to 0.01 and more
or
Pitch+(Pitch=0?clamp(-PitchRate/x,0,0.5):0)
change x to how fast your craft pitch rate,
if you plane pitch at max is 10degree/s
put 10, change number accordingly
try
someone else knew better. i dont know xml coding. just learnt from players posts
yeah yours were too complicated 😂
i was fiddling with FT and i thought... maybe i can make autopilot
then i got these problems 😂
but im happy anyway
basic autopilot
really basic
not your basic 😂@PlaneFlightX
btw your explanation is better than the one from github 👍
@hpgbproductions thank you very much!
i haven't try now
but, is it right i can use lerpangle to go with the closest angle?
tried to change the heading to 360 bcs i cannot figured
@PlaneFlightX thank you :D
you use Heading+180?
if Heading=90 it will be 270?
@rimiha IT WORKS! finally
i was just using text labels to see the expression results
@rimiha thank you so much! 👍👌
why you can't?
you already using shizuku right?
and you sure you copied to
Mods
folder?try this
https://www.simpleplanes.com/Mods/View/1650924/Maywar-for-android-Newedition