Space Engineers

Space Engineers

41 평점
Plane Pilot
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Type: Mod
Mod category: Block
파일 크기
게시일
업데이트일
604.576 KB
2018년 5월 6일 오전 2시 37분
2020년 3월 19일 오후 12시 12분
업데이트 노트 12개 (보기)

다운로드 위해 구독하기
Plane Pilot

설명
First: This is designed for a special usecase. You can use it, but dont cry if it works more for my usecase then for yours. (in default setup it is designed to work with the Advanced Fly Module, read the description for more informations)

Second: This is a fakemod, i am not using gyros to turn into targetdirection, i am using just a force. The strength of this force calculated by number of std gyros. For my usecase this is enough.

This Mod add a new Remote Control block for Small and Large Planes. Planes have forward thrust and aerodynamic wings (use "Plane Parts"). Is mostly designe to us it for Pirate drones. It has impact to the SimSpeed, but not as much, try to use turrets and you will see that the turrets have more impact to the SimSpeed.
Also i add a fake connector to connect drones at structure, with this i can copy and paste many drones as ones, this works also with blueprints. In the adminversion of this mod this connector block is invisible.

In short:
The remote control looks into the direction wehre the target is. You have to manage the thruster for your self.
Designed to get faster and more interesting enemies (pirate faction).

In long:
The Plane Pilot is an Autopliot for Planes. I added some buttons and sliders to the bottom of the remote control menue.
!! dont activate default AutoPilot !! while using the Plane Pilot.
You can use GPS marks, you can use scripts for pirate drones like in the default AutoPilot.
You can setup the Fly Mode with the default switch (thats the only button they are used from default buttons)
For all other settings scoll down to find on/off and slider.
Dont try to land a plane with activated Collision Avoidance.

Settings:
Flight Mode: Patrol/Circle/One Way | the default setting, default behavior
GPS Locations and Waypoint: Use it like default
Plane Pilot On/Off: On/Off
Plane Pilot Collision Avoidance: On/Off. The Coll. Avoidance is special designed for the Plane usecase. It detects other stuff arround/before you, like planes and voxels, and it tries to prevent collisions.
Plane Pilot align to gravity (Roll only): On/Off. Roll the ship to have bottom side down. (for my usecases i use the Advanced Fly Module, i added this feature just for you)
Plane Pilot fly low: On/Off, use it only for small planes, it tries to fly in low altitude to the target, also if the target is at higher alt (just cool)
CA min height: the min fly height for the plane, sometimes the plane is flying lower, this value is to define ranges for collision checks
CA flightcorridor radius: Also a value for collision checks, the CA checks a cylinder in front of the plane with this radius, if something in this corridor the CA tries to change target direction to get a clean corridor
Waypoint threshold distance: if you are closer than this value, switch to next target, has no effect if you use "One Way"

Special cases:
- To prevent the plane from flying in circels arrount the target GPS and dont switch to the next GPS because threshold is not reached, the Plane Pilot checked the distance and switched to the next if needed, also if the threshold is not reached.
- it works for large ships, but its less dynamic because the ships are less dynamic
- for my normal use cases i use small fighters
- for a large flying fortress i dont activate collision avoidance
- if you see red lines, this means that the path for the voxel collision avoidance hit the own grid, copy and paste the ship to fix this. in this mod i test a automatic startpointcalculation for the path while init the block, if you set blocks after init, you have to re-init (copy and paste or remove and set the Plane Pilot again)

Have fun, if you have questions please ask me.
If you are faster than me and you create a world with drones they use this pilot, please tell me, thx.

I have uploaded a copy from this mod where the blocks are not available at the g-menue: https://steamoss.com/sharedfiles/filedetails/?id=1697665843
_______________________________________________________
More for the Package:
AutoGatling
https://steamoss.com/sharedfiles/filedetails/?id=1381114389

Plane parts
https://steamoss.com/sharedfiles/filedetails/?id=837058476

AdvancedFlyModule
https://steamoss.com/sharedfiles/filedetails/?id=631769080

Port this to MOD.io for XBox?
This Mod is using client side script, that is not working for XBox.
인기 토론 모두 보기(1)
0
2018년 5월 12일 오전 5시 03분
Available Actions for ingame scripts
Takeshi
댓글 42
Takeshi  [작성자] 2021년 11월 9일 오전 11시 52분 
yea, the pilot needs at least one waypoint. Without it will be deactivated and should fly just forward I think.
Shameless Gamer 2021년 11월 8일 오후 8시 23분 
I think, I meant the aircraft would crash into the ground. Sorry for the incorrect terminology.
Takeshi  [작성자] 2021년 3월 29일 오전 4시 53분 
@ShamlessGamer, i was not able to produce a crash while removing next waypoint. Please give me feedback if you can provoke it and how. Thx.
Takeshi  [작성자] 2021년 3월 27일 오후 3시 17분 
Hi, thx.
Can you provoke the crash? Dont know something about the problem.
If it is so easy to provoke it, I will take a look at it, if not, please give me a step by step report. Thank you.
Shameless Gamer 2021년 3월 27일 오후 2시 58분 
i'V BEEN WAITING TO FIND A MOD LIKE THIS FOR SO LONG THANK YOU WORKS GREAT except it crashed when I removed a way point it was following but I really just need the auto leveling thank you.
epflederer 2021년 2월 2일 오후 8시 28분 
Best option would be the slider to reduce or increase force that the plane pilot applies then. Maybe it acts as a multiplier on the applied forces? I don't know much about coding but that is what I would do.
Takeshi  [작성자] 2021년 2월 2일 오후 12시 49분 
too much calculation. I am only pull the front into the target direction. With setings for the gyros I have to check the current rotation to know the ship/gyro rotation.
epflederer 2021년 2월 2일 오후 12시 19분 
What if the plane pilot gave inputs to the gyros like standard autopilot does. Would that be a feasible solution?
Takeshi  [작성자] 2021년 2월 2일 오전 8시 45분 
at the moment i am using the gyropower, but it will refresh only at init and if a block is added or removed from the grid. Because loading and checking the griddata is not so good for the perfomance.
epflederer 2021년 2월 1일 오후 10시 08분 
I intend to use gyros as the turning method. I was going to use a script to set the gyro power based on airspeed, thus giving the illusion that the plane is using control surfaces. My concern was that if the plane pilot was applying the turning based simply on the number of active gyros and not on the power of them, I would be unable to get the control surface effect i want while using the plane pilot.