From The Depths
Spiky38 May 26, 2018 @ 3:08pm
Ships are not facing enemy even if I program it
I tried to keep my ship to face the enemy, but even if I put the broadside angle at 0 it keeps turning side ways.

What am I missing?
< >
Showing 1-14 of 14 comments
XenoDragon May 26, 2018 @ 3:23pm 
Try using a AI PID with Yaw set to 0.
Spiky38 May 26, 2018 @ 3:36pm 
How can I change it? I can't change any settings, I can only choose Naval Yaw or Naval Pitch
Cursedth May 26, 2018 @ 3:53pm 
You tube Pid tutorial (s)
https://www.youtube.com/watch?v=BHikGlMlAxE

Start with setting second slider all to right and third slider all to left and keep first low.
Experiment with first then third then maybe add second

Basically first slider is how fast or how much power. If it says Saturared either you want changes to fast or don't have enough power (thrusters or egines)

Third slider is like corections between corrections, start low

Second slider is for coreection over time it accumulates, efftects best visible in 0.1 or lower ranges.


Green line is current value of vehicle.
Red is desired
Blue is what pid is outputting ( or demands)


There is AI Pid and Control Pid
AI PID needs connection to mainframes.
For when AI is in control or you or when you turn AI OFF or only ON for weapons.
Otherwise if you only have AI pid for altitude it stops working and you need control PId to take over, also for you manual input
Last edited by Cursedth; May 26, 2018 @ 3:56pm
mellow May 26, 2018 @ 5:52pm 
look at 'broadside minimum range' he will try to run away when hes closer than that
Spiky38 May 27, 2018 @ 5:32am 
How can I post my design?
FourGreenFields May 27, 2018 @ 6:36am 
Originally posted by Spiky38:
How can I post my design?
FtD's main menu, on the right. Workshop, vehicle workshop.
FourGreenFields May 27, 2018 @ 2:13pm 
The thing was built sideways. Also, the AI PID disabled yaw - only do that if you use another PID or ACBs to control yaw.


Here's an adjusted blueprint (save into your constructables folder, in MyDocuments, I think). Also changed the barrels a bit, because you didn't need as much elevation and azimuth. And removed the failsafe.
https://cdn.discordapp.com/attachments/357970046359699458/450405955709173773/test.blueprint
Spiky38 May 27, 2018 @ 2:15pm 
Thanks! I'll compare the two design and see what I did wrong
Spiky38 May 27, 2018 @ 5:43pm 
Originally posted by FourGreenFields:
The thing was built sideways. Also, the AI PID disabled yaw - only do that if you use another PID or ACBs to control yaw.


Here's an adjusted blueprint (save into your constructables folder, in MyDocuments, I think). Also changed the barrels a bit, because you didn't need as much elevation and azimuth. And removed the failsafe.
https://cdn.discordapp.com/attachments/357970046359699458/450405955709173773/test.blueprint

Alright, I just tested and it works like I wanted it to work, so thanks! and because you helped I choose you to name it!
FourGreenFields May 28, 2018 @ 1:44am 
"M1". Monitor, and likely your first. :steammocking:
I am not creative in an artistic sense, don't ask me to name things. Most of my designs (especially smaller ones) are unnamed, except for the designation (S with a number for speedboats, K for corvettes, etc.).
Last edited by FourGreenFields; May 28, 2018 @ 1:44am
Spiky38 May 28, 2018 @ 4:24am 
I like the sound of M1:steamhappy: , and yes its kinda my first "real" ship, I made others that works great! but they lack a "custom" AI. Now I am making a Missile Corvette but I want it to back away from enemy ship when he engage, how do I do that?
FourGreenFields May 28, 2018 @ 4:29am 
Either by setting a minimal broadside distance, or by having it face the target at all times, and then using ACBs "if enemy range greater/less than..." to control the main thrusters (using custom controls). May want an AI PID that disables the main thrust of the AI.
Spiky38 May 28, 2018 @ 1:24pm 
Cool, I'll checked it out!
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: May 26, 2018 @ 3:08pm
Posts: 14