@SnoWFLakE0s @PlanariaLab @WNP78 is it possible to use the variable system to influence "default" variables such as FireWeapons? Say I dont want to use a button set to FireWeapons and instead want to use a button for multiple purposes?
ex:
FireWeapons = B1=1?true:false
but at the same time
CycleTargetingMode = B1=0?true:false
like have a custom variable with the same name as a default variable which would in turn effect the default variable? ive tried this in game but I cant seem to get it to work.
edit: by default variable I mean:
Pitch
Roll
Yaw
Throttle
Brake
Trim
VTOL
LandingGear
FireGuns
FireWeapons
LaunchCountermeasures
Activate1
Activate2
Activate3
Activate4
Activate5
Activate6
Activate7
Activate8
also you can use the <alpha> to adjust brightness of mfd in game, heres a script:
<alpha=#{(round((MFDBright/1.25)8)/8>0.9/8&round((MFDBright/1.25)8)/8<1.1/8)?"24":((round((MFDBright/1.25)8)/8>1.9/8&round((MFDBright/1.25)8)/8<2.1/8)?"48":((round((MFDBright/1.25)8)/8>2.9/8&round((MFDBright/1.25)8)/8<3.1/8)?"6c":((round((MFDBright/1.25)8)/8>3.9/8&round((MFDBright/1.25)8)/8<4.1/8)?"91":((round((MFDBright/1.25)8)/8>4.9/8&round((MFDBright/1.25)8)/8<5.1/8)?"b5":((round((MFDBright/1.25)8)/8>5.9/8&round((MFDBright/1.25)8)/8<6.1/8)?"c9":((round((MFDBright/1.25)*8)/8>6.9/8)?"ff":"00")))))}>
@SemedianIndustries hope its not too late but if its in a label and not a variable you can do an if-then and just have the valueiftrue or valueiffalse as: ""
@Guywhobuildsstuff check that your centrifuge is balanced perfectly. Maybe consider a counter-weight and another centrifuge to cancel out any torque. Or just go into overload and change the weight of the base of the centrifuge to 1E+21
@WNP78 is it possible to influence the "original" input variables with other variables? I was trying to "overwrite" the code for the original input variables by making a new variable with the same name in the variable setters section, but no matter how high the priority it would still not work.
ex:
FireWeapons. = (Safety=1)&(SomethingElse=1)&(FireWeapons)?true:false
edit: I found im getting the error message: invalid variable, FireWeapons is already a built in variable
is there anyway to override this or share the variable, instead of a keybind or UI button fire weapons can be activated with FT code in the variable setter?
@SnoWFLakE0s @PlanariaLab @WNP78 is it possible to use the variable system to influence "default" variables such as FireWeapons? Say I dont want to use a button set to FireWeapons and instead want to use a button for multiple purposes?
ex:
FireWeapons =
B1=1?true:false
but at the same time
CycleTargetingMode =
B1=0?true:false
like have a custom variable with the same name as a default variable which would in turn effect the default variable? ive tried this in game but I cant seem to get it to work.
edit: by default variable I mean:
+2Pitch
Roll
Yaw
Throttle
Brake
Trim
VTOL
LandingGear
FireGuns
FireWeapons
LaunchCountermeasures
Activate1
Activate2
Activate3
Activate4
Activate5
Activate6
Activate7
Activate8
also you can use the <alpha> to adjust brightness of mfd in game, heres a script:
+1<alpha=#{(round((MFDBright/1.25)8)/8>0.9/8&round((MFDBright/1.25)8)/8<1.1/8)?"24":((round((MFDBright/1.25)8)/8>1.9/8&round((MFDBright/1.25)8)/8<2.1/8)?"48":((round((MFDBright/1.25)8)/8>2.9/8&round((MFDBright/1.25)8)/8<3.1/8)?"6c":((round((MFDBright/1.25)8)/8>3.9/8&round((MFDBright/1.25)8)/8<4.1/8)?"91":((round((MFDBright/1.25)8)/8>4.9/8&round((MFDBright/1.25)8)/8<5.1/8)?"b5":((round((MFDBright/1.25)8)/8>5.9/8&round((MFDBright/1.25)8)/8<6.1/8)?"c9":((round((MFDBright/1.25)*8)/8>6.9/8)?"ff":"00")))))}>
Heres the code from above, wasnt formatting right:
<alpha=#{(round((consoleBright/1.25)8)/8>0.9/8&round((consoleBright/1.25)8)/8<1.1/8)?"24":((round((consoleBright/1.25)8)/8>1.9/8&round((consoleBright/1.25)8)/8<2.1/8)?"48":((round((consoleBright/1.25)8)/8>2.9/8&round((consoleBright/1.25)8)/8<3.1/8)?"6c":((round((consoleBright/1.25)8)/8>3.9/8&round((consoleBright/1.25)8)/8<4.1/8)?"91":((round((consoleBright/1.25)8)/8>4.9/8&round((consoleBright/1.25)8)/8<5.1/8)?"b5":((round((consoleBright/1.25)8)/8>5.9/8&round((consoleBright/1.25)8)/8<6.1/8)?"c9":((round((consoleBright/1.25)*8)/8>6.9/8)?"ff":"00")))))}>
+1@2Papi2Chulo thought you might be able to use this in your f18 MFDs or f18 panels
@SemedianIndustries hope its not too late but if its in a label and not a variable you can do an if-then and just have the valueiftrue or valueiffalse as: ""
Can you assign multiple functions to a single button part or do you use a piston to push/retract the buttons that go along with the selected screen?
@Guywhobuildsstuff check that your centrifuge is balanced perfectly. Maybe consider a counter-weight and another centrifuge to cancel out any torque. Or just go into overload and change the weight of the base of the centrifuge to 1E+21
@Guywhobuildsstuff in what context? instead of magnets you might want to just use the attachment editor to attach the part to another non-moving part.
@WNP78 is it possible to influence the "original" input variables with other variables? I was trying to "overwrite" the code for the original input variables by making a new variable with the same name in the variable setters section, but no matter how high the priority it would still not work.
ex:
FireWeapons. = (Safety=1)&(SomethingElse=1)&(FireWeapons)?true:false
edit: I found im getting the error message: invalid variable, FireWeapons is already a built in variable
is there anyway to override this or share the variable, instead of a keybind or UI button fire weapons can be activated with FT code in the variable setter?