Any questions will be answered to my knowledge, but any addition are very much welcome, I am trying to document my improvements and understanding so it is very much very very appreciated, chiiers!
A little note about smooth(,)
.
You can use smooth(x, 1/n), where n is the number of seconds it takes for x to change by 1.
.
For example, if you have smooth(Activate1, 1/5), when you use AG1, it will take 10 seconds for the "smoothed" value to change from -1 to 1.
@Superliner350 anyway, i know you don't really say much, and i very much appreciate your upvotes, but how tf are you upvoting me that fast every time jfc u fast as fwk I'm actually starting to think you're a Schrödinger's Cat, everywhere and nowhere and omnipresent aaaa
This is useful for stuff such as :
[ Arm Missile Launcher ]
[ Cargo Door + Ramp ]
but most importantly...
[ Custom Landing Gears! ]
as a wise man from SP once said..
"it is okay to use but it is better to understand"
Any questions will be answered to my knowledge, but any addition are very much welcome, I am trying to document my improvements and understanding so it is very much very very appreciated, chiiers!
cough okay so, we'll go with the missile first.
it is attached to a piston(duh), but we'll learn a little bit about the input .
the code is
ceil(smooth(clamp01(TargetSelected),1/6))
how does the code work?
[ ceil ] rounds number away from zero, so any input of even a little bit rounds it to 1(meaning that it fully extends)
[ smooth ] limits the speed/rate of the input
[ clamp01 ] clamps the input between 0 and 1
on the whole, this is what is happening is :
[ ceil ] is turning the little input to 1
[ smooth ] is slowing the speed of the input to 1 by dividing it by 6 (1/6)
[ clamp01 ] is making sure that the [ TargetSelected ] doesn't go below 0 and above 1
the second part of the code for the rotator is changed a bit.
[ floor(smooth(clamp01(Activate1),1/6)) ]
this is different by having [ floor ] which rounds input closer to 0, meaning that until the input is 1, it is not allowing the rotator to move!
@ShinyGemsBro I agree, the energy radiates with AAUUUHUW YISSSS!!
Still can't get over the profile picture
AAAAAAAAAAAAAAAAAAAAAAAUUUUUUUUOWWWW
YYEEEEEEEEEEEEEEEEEEEEEAAAAAAAAAAAAAHHHHH
@ReinMcDeer ah, never thought of it like that, thank you!
A little note about smooth(,)
.
You can use smooth(x, 1/n), where n is the number of seconds it takes for x to change by 1.
.
For example, if you have smooth(Activate1, 1/5), when you use AG1, it will take 10 seconds for the "smoothed" value to change from -1 to 1.
@Superliner350 anyway, i know you don't really say much, and i very much appreciate your upvotes, but how tf are you upvoting me that fast every time jfc u fast as fwk I'm actually starting to think you're a Schrödinger's Cat, everywhere and nowhere and omnipresent aaaa