@Kendog84
1) There's /10 in the middle of first AP_h_ac variable setter, it's proportion between altitude difference and flight path angle. Replace 10 with higher value toget lower vertical velocity.
2) It's what i wrote before, <10 in the end of activator of wpSystem_ctgt_id. You can use DebugExpression sqrt(pow(wpSystem_d_x,2)+pow(wpSystem_d_y,2)+pow(wpSystem_d_z,2)) in dev console to get current distance to waypoint.
AI "piloted" plane and player "piloted" one take different routes (at least initially) for some reason, even if I spawn them at the same location.
I know about it. wpSystem_ctgt_id variable setter must be zero if Time is less than 0.1s, but Time is global so it only works for player's airplane, and those who was spawned later will perhaps start from 1 or 2 (i.e. second or third point). Try to replace Time with sum(1) in wpSystem_ctgt_id and it's activator.
You're more likely to successfully pass the waypoint if you only change one type of coords with every ID.
IDK why it works such way. It only uses coords to get angle to waypoint, and then uses that angle to turn.
Related to above, if the plane has to turn a lot to reach the next WP, you should make it travel a long distance (so the plane can turn gradually). Again, less likely to miss WP this way.
Not a surprise. Airplane needs time (and thus distance) to turn, and if AP doesn't makes airplane fly chaotically it will become more and more accurate (to some limit) until a change in heading or altitude occurs.
@Olliebowen replace AP_out_ail,AP_out_ele,AP_out_rudder,AP_out_throttle variables setters with inputs you need.
Or replace AP_in_head variable setter with sum(Roll)*20 and AP_in_alt with smooth(Altitude,Time<.1)+sum(Pitch*20) if you wish to keep arcade controls.
You need to rotate cockpit to make use of coaxial minigun. It's possbible and actually shorter than autoaim you currently use (pd controller for local-space x,y target position), but it will work either for gun or for cannon.
An example is auto-rotating heli, it gets energy from airflow and uses it to produce thrust. Perhaps your craft works same way, but thrust in this case is more than drag.
@Kendog84 Setting target to your current position seems like an odd idea.
A slider is limited, it may work for default map but it won't work for other maps, and it's accuracy depends on it's range.
A keyboard maybe?
For preset coords i can make a selector or menu.
@DenizLion You can't use state of real hardware and you can't change user's inputs with FT. max(0,rate(Throttle)) or rate(Throttle)?1:0 will work while Throttle's rising. Throttle=1?1:0 will work if Throttle's 100%
Activate1?input-if-active:input-if-inactive
Angle of rotator is it's input multiplied by it's range. WNP's post Snow's guide in case you can't understand WNP's post
Control surface behind center of mass pushes tail down, then wing pushes entire airplane up, so total force is wing lift-stab lift-mass
Control surface in front of COM pushes aircraft up, so total force is wing lift+stab lift-mass
You can make rear wing that's smaller than front one but has upwards lift, but such configuration is usually unstable because force on larger wing increases faster (in terms of AoA) than force on smaller wing and rotates airplane to the direction it already rotates.
Pitch*clamp01((Time-smooth(Time,abs(rate(GS<V1))?9999:0))>T1)*clamp01((Time-smooth(Time,abs(rate(GS<V2))?9999:0))>T2) .... *clamp01((Time-smooth(Time,abs(rate(GS<Vi))?9999:0))>Ti) V1,V2...Vi is speed at which 1,2...ith gear switches in meters per second. T1,T2...Ti is time 1,2...ith gear needs to switch.
Hippo's right, any weapon is useless if you don't know position of target.
Also FT-based missile will not give enemy any warnings and will not care about chaff|flares, so it will be almost impossible to dodge it.
Here it is. I don't really know how it'll work, but it's actually coded.
@PlaneFlightX
@rexzion (perhaps you noticed already)
Kendog, you will know about this comment without mention since it's your post...
Here. Some white parts were cropped so you need to use white background.
"fun" fact: it uses ~7.28 symbols per pixel. Andrew image used 16 symbols per pixel so tech's better than it was, but PNG files can use less than one byte per pixel...
a helicopter or any rotorcraft that can at least exceed Mach 1
don't make it look too much like an airplane.
Can turbofan be considered as heli rotor?
It's impossible to make something realistic that goes around speed of sound and rotates and produces thrust enough to keep itself and it's power source in air.
If you will keep "realistic" part, you can use jets (doesn't goes around speed of sound (inlet decreases speed of airflow)), ion engines and plasma actuators (can't keep it's power source in air without being very large or very long, doesn't rotates), scramjets (can't keep power source in air (produces low thrust on subsonic speeds), doesn't rotates)
It's not really health, but you can check if engine is alive using it's thrust output.
Target name may be a good idea, but we don't have such thing irl.
Ability to track unselected aircraft
It will be overcomplicated. You know, FT doesn't even have arrays to store it properly.
At the moment it's possible to get radar-like system that saves position and speed of target and updates it while target's selected, it's not a problem to store four or five targets, and maybe add some info from user's camera. You should know about it as "a person who uses a lot of FT in every build".
ability to distinguish if target's in the air or on the ground
That "AA-AG" system is not about air and ground, it's more about builds and game objects.
AI this, AI that
Just don't treat it as AI, it's autopilot+auto targeting. Even weapon selecting is not it's problem. Use FT.
"aircraft is deemed not airworthy"
AFAIK there's some differences in autopilot outputs and that's all.
Will adding HE round to gun really worth it? IMHO guns are arcade-like and they're as simple as they must be, if you need something complex use cannons.
̶2̶4 28 Sides of fuselage... Building with calculator and notepad... But it works correctly, right?
What doesn't works correctly is slicing of hollow fuselages and a lot of underlines in combination with full stops.
I'm not sure if it's just for me and how exactly it works, so i can't send bug report at the moment, but it's a post for complaining, right?
@ollielebananiaCFSP I agree that it's results are still too laggy and too large, but you're comparing wrong app.
With fuselage you can get a lot of different shapes and your brain can understand what's edge and what's plane, but this app can only work with what a label can display and uses array of pixels.
But i have different function: it takes two python functions as edges and fills area between them with solid color using underlines. I didn't noticed any fps decrease in level using three 1560-line cats made with that function and i could edit them in designer with minor lags. I think it's the result for you to compare.
@WNP78
I will try it if i will find suitable squares.
For now i found out that it will only be effective if large square is 17 or more pixels wide, and both full stop and unicode square aren't suitable because full stop is round-ish and square isn't actually square. image
Little update since i saw spiderman avatar mod for it: it's unity and i don't understand how it stores 3d model, so i can't do anything with it.
I wish good luck for others.
idk if it's a problem or a bug, but there's constant 0.01 in your integrator so it may not work correctly in low physics.
it's definitely not a bug or a problem, but why don't you use integrator to control pitchrate always, even with non-zero pitch?
@FlyingPatriot #comment-4113027
1. use markdown! [text](address)this one should work
2. your link is not readable because of stars or underscores (markdown)
3. don't use redirects, it sucks to get to four different domains just because you need one japanese site.
Some recommendations: <#RRGGBBAA> and <#RGBA> works too, so it isn't necessary to write "color";
sort of run-length encoding will significantly decrease performance cost (especially if you will ignore some of least significant bits);
you don't need to write pixels with zero alpha, you can use whitespace or <space=Xem> tag instead (i'm using tag if there's more than 15 transparent pixels and whitespaces otherwise, but it's just because of length and i don't really know how it affects performance);
if you're using left alignment you can throw away transparent pixels in front of linefeed.
Don't you think last line of description makes challenge nonsensical?
You will literally need to call most of humans who can do it to get five of them here, and even so, five months feels like a bit too little time to do it (but it may be just lazy me).
For designer, it's mostly fine (because i don't really use it's menus), but two changes i'd like to see is possibility to use Tab/Shift+Tab and spacebar to choose and control input fields/buttons/checkboxes and possibility to switch off screen updates as long as nothing changed. In my opinion it's just stupid to load 80% of GPU while anything stays same.
@WormWithLegs
... or replace RotationAxis tag in xml with PositionAxis.
it's properties here are <positionaxis axis="0,1,0" input="Trim" scale="0.2" min="-0.45" max="1.5">/positionaxis>
(nvm all-lowercase letters, it's broken by browser html parser)
axis is a vector (it may not be normalized), it's offset of moving end in meters when input is 1/scale.
@Kendog84
1) There's
/10
in the middle of firstAP_h_ac
variable setter, it's proportion between altitude difference and flight path angle. Replace 10 with higher value toget lower vertical velocity.2) It's what i wrote before, <10 in the end of activator of
wpSystem_ctgt_id
. You can useDebugExpression sqrt(pow(wpSystem_d_x,2)+pow(wpSystem_d_y,2)+pow(wpSystem_d_z,2))
in dev console to get current distance to waypoint.I know about it.
wpSystem_ctgt_id
variable setter must be zero if Time is less than 0.1s, but Time is global so it only works for player's airplane, and those who was spawned later will perhaps start from 1 or 2 (i.e. second or third point). Try to replace Time withsum(1)
inwpSystem_ctgt_id
and it's activator.IDK why it works such way. It only uses coords to get angle to waypoint, and then uses that angle to turn.
Not a surprise. Airplane needs time (and thus distance) to turn, and if AP doesn't makes airplane fly chaotically it will become more and more accurate (to some limit) until a change in heading or altitude occurs.
+1@Olliebowen replace
+1AP_out_ail
,AP_out_ele
,AP_out_rudder
,AP_out_throttle
variables setters with inputs you need.Or replace
AP_in_head
variable setter withsum(Roll)*20
andAP_in_alt
withsmooth(Altitude,Time<.1)+sum(Pitch*20)
if you wish to keep arcade controls.My entry. FT-only, truck itself isn't my build.
+1@Kendog84
+1It's in the end of activator of
wpSystem_ctgt_id
It is prop-driven, it just uses props from older version of game.
My entry. You know, one upvote doesn't costs building new airplane.
+2Maybe it's not "tera", maybe it's "terra" i.e. ground-level?
+3.
You need to rotate cockpit to make use of coaxial minigun. It's possbible and actually shorter than autoaim you currently use (pd controller for local-space x,y target position), but it will work either for gun or for cannon.
+2An example is auto-rotating heli, it gets energy from airflow and uses it to produce thrust. Perhaps your craft works same way, but thrust in this case is more than drag.
+1@Kendog84 Setting target to your current position seems like an odd idea.
+1A slider is limited, it may work for default map but it won't work for other maps, and it's accuracy depends on it's range.
A keyboard maybe?
For preset coords i can make a selector or menu.
If you added rotators and code and it still doesn't works make sure both nozzles rotate to the same direction when you're trying to yaw.
Congrats on inventing propeller.
FT works in control surface (inputId xml property iirc).
Will gawr gura be counted as fish? Will octopus be counted as fish?
@DenizLion You can't use state of real hardware and you can't change user's inputs with FT.
+1max(0,rate(Throttle))
orrate(Throttle)?1:0
will work while Throttle's rising.Throttle=1?1:0
will work if Throttle's 100%
+1Activate1?input-if-active:input-if-inactive
Angle of rotator is it's input multiplied by it's range.
WNP's post
Snow's guide in case you can't understand WNP's post
Control surface behind center of mass pushes tail down, then wing pushes entire airplane up, so total force is wing lift-stab lift-mass
Control surface in front of COM pushes aircraft up, so total force is wing lift+stab lift-mass
You can make rear wing that's smaller than front one but has upwards lift, but such configuration is usually unstable because force on larger wing increases faster (in terms of AoA) than force on smaller wing and rotates airplane to the direction it already rotates.
Pitch*clamp01((Time-smooth(Time,abs(rate(GS<V1))?9999:0))>T1)*clamp01((Time-smooth(Time,abs(rate(GS<V2))?9999:0))>T2)
....*clamp01((Time-smooth(Time,abs(rate(GS<Vi))?9999:0))>Ti)
V1
,V2
...Vi
is speed at which1
,2
...i
th gear switches in meters per second.T1
,T2
...Ti
is time1
,2
...i
th gear needs to switch.Is it (the code) your own development?
+1Hippo's right, any weapon is useless if you don't know position of target.
Also FT-based missile will not give enemy any warnings and will not care about chaff|flares, so it will be almost impossible to dodge it.
Here it is. I don't really know how it'll work, but it's actually coded.
+1@PlaneFlightX
@rexzion (perhaps you noticed already)
Kendog, you will know about this comment without mention since it's your post...
in xml set button's
interactionType
toToggle
clamp01 requires one input. try to activate AG1 and try again. And you don't need activation group in rotator itself with this code.
set
zeroOnDeactivate
toFalse
in input section of rotator's xml.or use something like
sum(Throttle*clamp01(Activate1))
for input.Here. Some white parts were cropped so you need to use white background.
+1"fun" fact: it uses ~7.28 symbols per pixel. Andrew image used 16 symbols per pixel so tech's better than it was, but PNG files can use less than one byte per pixel...
swedish flag
+1red bull logo with text
red bull logo without text
spotify
Use Military font if you see thick white stripes between pixels.
My entry
@AltheimManufactorum For hexagons, perhaps it's pipes ("|") or dashes, you can clearly see it while she's near 9m AGL and label's semi-transparent.
Can turbofan be considered as heli rotor?
It's impossible to make something realistic that goes around speed of sound and rotates and produces thrust enough to keep itself and it's power source in air.
If you will keep "realistic" part, you can use jets (doesn't goes around speed of sound (inlet decreases speed of airflow)), ion engines and plasma actuators (can't keep it's power source in air without being very large or very long, doesn't rotates), scramjets (can't keep power source in air (produces low thrust on subsonic speeds), doesn't rotates)
It's not really health, but you can check if engine is alive using it's thrust output.
Target name may be a good idea, but we don't have such thing irl.
It will be overcomplicated. You know, FT doesn't even have arrays to store it properly.
At the moment it's possible to get radar-like system that saves position and speed of target and updates it while target's selected, it's not a problem to store four or five targets, and maybe add some info from user's camera. You should know about it as "a person who uses a lot of FT in every build".
That "AA-AG" system is not about air and ground, it's more about builds and game objects.
Just don't treat it as AI, it's autopilot+auto targeting. Even weapon selecting is not it's problem. Use FT.
AFAIK there's some differences in autopilot outputs and that's all.
Will adding HE round to gun really worth it? IMHO guns are arcade-like and they're as simple as they must be, if you need something complex use cannons.
+2̶2̶4 28 Sides of fuselage... Building with calculator and notepad... But it works correctly, right?
+1What doesn't works correctly is slicing of hollow fuselages and a lot of underlines in combination with full stops.
I'm not sure if it's just for me and how exactly it works, so i can't send bug report at the moment, but it's a post for complaining, right?
@ollielebananiaCFSP I agree that it's results are still too laggy and too large, but you're comparing wrong app.
+1With fuselage you can get a lot of different shapes and your brain can understand what's edge and what's plane, but this app can only work with what a label can display and uses array of pixels.
But i have different function: it takes two python functions as edges and fills area between them with solid color using underlines. I didn't noticed any fps decrease in level using three 1560-line cats made with that function and i could edit them in designer with minor lags. I think it's the result for you to compare.
@IAlsoBuildPlane try again, then open web console (it's usually in dev tools, F12) and send me screenshot
+2@IAlsoBuildPlane Because it's svg, it's not even raster
+2Try to use png instead
@WNP78
+1I will try it if i will find suitable squares.
For now i found out that it will only be effective if large square is 17 or more pixels wide, and both full stop and unicode square aren't suitable because full stop is round-ish and square isn't actually square.
image
Damn, i hoped you will cut sprite if it's out of screen bounds, but you just made it disappear.
Little update since i saw spiderman avatar mod for it: it's unity and i don't understand how it stores 3d model, so i can't do anything with it.
+1I wish good luck for others.
idk if it's a problem or a bug, but there's constant 0.01 in your integrator so it may not work correctly in low physics.
it's definitely not a bug or a problem, but why don't you use integrator to control pitchrate always, even with non-zero pitch?
Hey, birdie, are you finally alive?
@FlyingPatriot #comment-4113027
+11. use markdown!
[text](address)
this one should work2. your link is not readable because of stars or underscores (markdown)
3. don't use redirects, it sucks to get to four different domains just because you need one japanese site.
@ReinMcDeer
+1targetingStyle
(ContinuousLock
orStandardLock
, though i'm still not sure if it can be changed)It's a shame you can't make it work.
+1Some recommendations: <#RRGGBBAA> and <#RGBA> works too, so it isn't necessary to write "color";
+1sort of run-length encoding will significantly decrease performance cost (especially if you will ignore some of least significant bits);
you don't need to write pixels with zero alpha, you can use whitespace or <space=Xem> tag instead (i'm using tag if there's more than 15 transparent pixels and whitespaces otherwise, but it's just because of length and i don't really know how it affects performance);
if you're using left alignment you can throw away transparent pixels in front of linefeed.
Don't you think last line of description makes challenge nonsensical?
+1You will literally need to call most of humans who can do it to get five of them here, and even so, five months feels like a bit too little time to do it (but it may be just lazy me).
/reminder for myself to be a bit less lazy
+1My entry
For designer, it's mostly fine (because i don't really use it's menus), but two changes i'd like to see is possibility to use Tab/Shift+Tab and spacebar to choose and control input fields/buttons/checkboxes and possibility to switch off screen updates as long as nothing changed. In my opinion it's just stupid to load 80% of GPU while anything stays same.
+1My entry (i will re-upload it if you insist).
Did you mean hovercrafts?
@WormWithLegs
+1... or replace RotationAxis tag in xml with PositionAxis.
it's properties here are
<positionaxis axis="0,1,0" input="Trim" scale="0.2" min="-0.45" max="1.5">/positionaxis>
(nvm all-lowercase letters, it's broken by browser html parser)
axis is a vector (it may not be normalized), it's offset of moving end in meters when input is 1/scale.