So you want to be able to change the distance at which the round explodes?
The most basic proximity fuse input is TargetDistance / Muzzle velocity. It gives you an output in seconds. The time it will take to reach your target. You can try this TargetSelected? (TargetDistance/(v - rate(TargetDistance) + (proxy/v)):99
Here, v is velocity of shell and proxy is the distance in meters you want the shell to explode. + to get closer - to get further away from target. For example, TargetSelected?(TargetDistance/(800 - rate(TargetDistance) - (10/800))
Here the shell will explode 10 meters away from target.
incase you didn't know, The 1250 in your code is the muzzle velocity. You change it to whatever your cannons velocity in meters/second is.
Try this PitchAngle >= 35 ? 1 : 0 here, if the pitch angle is greater or equal to 35 you will get output of 1. If it's below 35, then you get output of 0.
Put this in the activation group section if you only wants it to be activated and not running. You can use throttle or anything else to run the engine. If you want it to run the engine,put it in the input section instead.
Make sure to set zeroOnDeactivate to true or it won't turn off.
@upperflat the rotor is not clipping into anything. The problem occurred when I raised the center of mass higher using the y mass offset setting. Appreciate your help though.
Happy birthday. Where cake?
Unrelated, but we all know about the bot infestation in you tube and other media's comments. Well I have noticed a few here. One specifically here.
This could become a problem if not addressed.
Well that's human brain for you. Sometimes they are attracted to meme posts sometimes not. There are many good examples in this site and i am sure you have seen at least one.
@Mistral90 i don't think you understood the problem here. The blueprints don't match with each other and Some show wrong dimensions like length and wingspan. And sometimes, the part where I lose my mind, the length or wingspan of front view doesn't match with the top view. Even though they are literally from the same blueprint. And that's the reason for remaking the whole thing.
@50CalChicken i know nothing about them. Hope you figure this out. Having to shelf something you made because something didn't work out is a terrible feeling. Both in game and in real life.
Image links from some (if not most) image hosting websites expire over time. And some links don't work at all. And the one i am using, postimage, is banned in some countries (don't know which countries to be exact). So far, no images I uploaded has expired. And it doesn't require login.
It's exactly what you said it is. A new plane building game that looks better than simpleplanes when it comes to graphics, physics and stuff like that. But i believe simpleplanes (and soon simpleplanes 2) gives it's players more creative freedom. Both games have their up's and down's. Some prefer one over the other. And devs themselves said simpleplanes won't be receiving any major updates so that they can focus on SP2 more. So don't be surprised if some players chose to leave simpleplanes.
@Kvvjvivjv try fiddle around with the suspension. Do not set it's mass property to zero. Set suspension strength to minimum and damper to maximum for best recoil effect. Also, set partCollisionResponse to None and disableAircraftCollision to true on the suspension so the recoil won't break it. Set the connon's recoil to max. You may have to increase the cannon's recoil from its default limit via overload menu depending on the caliber.
@MrCOPTY you are right, {RPM;0000} is actually the better choice for text label (when using it as digital guage). Don't know why I didn't think about that despite using it all the time. And i was recommending round() on the text label not the guage. That would not work properly in this situation. And i haven't used round() that much either other than to get a rounded output.
Just remembered, you can add damperMulriplier to joint rotator section and give it a value like 10000 to make them turn smoothly. You will have to tweak the number a little depending on the situation.
@Susimposter first you have to give a name to the rpm output of an engine. Then get a rpm guage and replace RotorRPM with your variable in the input code
Simply put, it's too complex. If you want it to be bigger than 10 unit (which is 5 meters by the way) you can rescale it using overload menu. About shapes, you can switch to manual and give each corner different shape. That's how I make airfoil shape for custom wings. They are part efficient, easy to work with and looks good enough.
What do you mean by that. What exactly you want this code to do compared to what it actually does.
Pretty sure you already know this but incase you didn't, clamp01(input) locks locks whatever input you gave between 0 and 1. clamp(input,min value,max value) locks it between whatever minimum and maximum value you gave. For example, clamp01(Throttle * 2) where Throttle * 2 output is locked between 0 and 1 even though it can give a maximum output of 2. clamp(VTOL * 2, -0.5,1) where output is locked between -1 and 2 even though it can give a minimum of -2 and maximum of 2.
So you want to be able to change the distance at which the round explodes?
+2The most basic proximity fuse input is
TargetDistance / Muzzle velocity
. It gives you an output in seconds. The time it will take to reach your target. You can try thisTargetSelected? (TargetDistance/(v - rate(TargetDistance) + (proxy/v)):99
Here,
v
is velocity of shell andproxy
is the distance in meters you want the shell to explode.+
to get closer-
to get further away from target. For example,TargetSelected?(TargetDistance/(800 - rate(TargetDistance) - (10/800))
Here the shell will explode 10 meters away from target.
incase you didn't know, The
1250
in your code is the muzzle velocity. You change it to whatever your cannons velocity in meters/second is.What is it?
+1Try this
+2PitchAngle >= 35 ? 1 : 0
here, if the pitch angle is greater or equal to 35 you will get output of1
. If it's below 35, then you get output of0
.Put this in the activation group section if you only wants it to be activated and not running. You can use throttle or anything else to run the engine. If you want it to run the engine,put it in the input section instead.
Make sure to set
zeroOnDeactivate
totrue
or it won't turn off.@upperflat the rotor is not clipping into anything. The problem occurred when I raised the center of mass higher using the y mass offset setting. Appreciate your help though.
@TheUltimatePlaneLover already did.
Happy birthday. Where cake?
Unrelated, but we all know about the bot infestation in you tube and other media's comments. Well I have noticed a few here. One specifically here.
This could become a problem if not addressed.
I just assumed they had pedals for that
Well that's human brain for you. Sometimes they are attracted to meme posts sometimes not. There are many good examples in this site and i am sure you have seen at least one.
+1@Mistral90 thanks my dude. You just saved me a lot of pain.
@Mistral90 i don't think you understood the problem here. The blueprints don't match with each other and Some show wrong dimensions like length and wingspan. And sometimes, the part where I lose my mind, the length or wingspan of front view doesn't match with the top view. Even though they are literally from the same blueprint. And that's the reason for remaking the whole thing.
@50CalChicken i know nothing about them. Hope you figure this out. Having to shelf something you made because something didn't work out is a terrible feeling. Both in game and in real life.
I thought you were having trouble with a plane in game 😂
+1Well, the more you know
What's a spectrum aircraft reciever ?
+1Image links from some (if not most) image hosting websites expire over time. And some links don't work at all. And the one i am using, postimage, is banned in some countries (don't know which countries to be exact). So far, no images I uploaded has expired. And it doesn't require login.
+3I really like this whole lore stuff you guys got going on here. So iam planning to change my name as a company too.
It's exactly what you said it is. A new plane building game that looks better than simpleplanes when it comes to graphics, physics and stuff like that. But i believe simpleplanes (and soon simpleplanes 2) gives it's players more creative freedom. Both games have their up's and down's. Some prefer one over the other. And devs themselves said simpleplanes won't be receiving any major updates so that they can focus on SP2 more. So don't be surprised if some players chose to leave simpleplanes.
+1Why? Why would you do that? Why would anyone do that?
+1@Kvvjvivjv try fiddle around with the suspension. Do not set it's mass property to zero. Set suspension strength to minimum and damper to maximum for best recoil effect. Also, set
partCollisionResponse
toNone
anddisableAircraftCollision
totrue
on the suspension so the recoil won't break it. Set the connon's recoil to max. You may have to increase the cannon's recoil from its default limit via overload menu depending on the caliber.I use postimage. Heard it's blocked in some countries.
+1Do you need to sign in with imgbb?
@Mistral90 transfer?
@Christiant2 i didn't mean to start a debate.
The mig-25 and mig-31 might look the same but they are lot different.
+1Juggles? What exactly is going on with your cannon? Is it wobbly? I don't quite understand
@MrCOPTY you are right,
+1{RPM;0000}
is actually the better choice for text label (when using it as digital guage). Don't know why I didn't think about that despite using it all the time. And i was recommendinground()
on the text label not the guage. That would not work properly in this situation. And i haven't usedround()
that much either other than to get a rounded output.Just remembered, you can add
damperMulriplier
tojoint rotator
section and give it a value like10000
to make them turn smoothly. You will have to tweak the number a little depending on the situation.@winterro does the other Monstrosities still work? If yes, you must have missed something. If no, it maybe something with the game.
@Susimposter if you want to see the precise RPM of an engine, put
{round(variable)}
in a text label.@Susimposter first you have to give a name to the rpm output of an engine. Then get a rpm guage and replace
RotorRPM
with your variable in the input code@TheMouse ohhh, I forgot about that
+1@DogThatMakesPlanes oh you were helping that guy. I thought you wanted help.
@DogThatMakesPlanes you have to create an account.
Maybe the code only works when the aircraft is stationary?
Simply put, it's too complex. If you want it to be bigger than 10 unit (which is 5 meters by the way) you can rescale it using overload menu. About shapes, you can switch to manual and give each corner different shape. That's how I make airfoil shape for custom wings. They are part efficient, easy to work with and looks good enough.
@Susimposter what exactly are you trying to do? What do you want it to show? Engine rpm or something else
@MIGFOXHOUND31BSM26 for democracie
@winterro ohh, now I see
What's WIP supposed to be?
Wait, wouldn't the added weight make it even more wobbly?
What do you mean by that. What exactly you want this code to do compared to what it actually does.
+3Pretty sure you already know this but incase you didn't,
clamp01(input)
locks locks whatever input you gave between0
and1
.clamp(input,min value,max value)
locks it between whatever minimum and maximum value you gave. For example,clamp01(Throttle * 2)
whereThrottle * 2
output is locked between0
and1
even though it can give a maximum output of2
.clamp(VTOL * 2, -0.5,1)
where output is locked between-1
and2
even though it can give a minimum of-2
and maximum of2
.It was a custom made rocket. You simply attach what ever you want to launch to the top of the detacher.
@Dillboy949 add wait to the nose.
To share link do this
[alt test](link)
To share image

@MonsNotTheMonster links from Imgur didn't work for me. Maybe I used it wrongly.
I am using postimage for images. But it's blocked in some countries.
Now that you asked, I might start listening to music while playing.
Nope.
@IceCraftGaming yeah you tell him. we are all mentally (un)stable people here.
+1the wings are too big, I assume.
The link is broken by the way.
@MonsNotTheMonster links from some image hosting websites don't work here.
In sp Control sirfaces effectiveness depends on aircraft speed I think.
Yes please. I always wanted to make a laser guided missile. Obviously I don't have the brain required for such task
+1