Space Engineers

Space Engineers

92 个评价
Automated Gravity Cannon
   
奖励
收藏
已收藏
取消收藏
Type: Blueprint
文件大小
发表于
更新日期
771.703 KB
2016 年 5 月 30 日 上午 6:52
2016 年 6 月 7 日 上午 3:46
3 项改动说明 ( 查看 )

订阅以下载
Automated Gravity Cannon

描述
Automated GraviCannon

This gravity cannon is one of practicle implementations of Innoble's space scanner script.
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=579825254

Cannon is capable to locate and destroy moving ships in it's scanner range which is set to 15km by default (this value is ajustable). Of course, I mean only linear motion with constant velocity.

How to use it:
Put come iron ingots or steel plates in cargo container of cannon.
Press "1" to run script in atodetect/autodestroy mode. Cannon will hunt for ships in 15km range.
Press "2" to stop script. Sometimes you need to press "2" multiple times.

You can run radar in "sectoral scan" mode. It will detect ships only in limited sector in front of cannon in this mode.
It's useful for targetting specified ship.

Press "4" to select 1st sector point, then move crosshair to set sector width and press "4" again.
After sector width is set, crosshair your target ship and press "5" to run radar in "sectoral scan mode".
Cannon will calculate intercept course and launch projectiles, using its gravity generators.

Ok, now a few words about variables in the beginning off cannon script.



Here is a description of cannon settings

double PROJECTILE_VELOCITY=131; // Projectile velocity
double kP = 3; // ========================
double kI = 0.0001; // PID controller settings
double kD = 80; // ========================
double Precision = 3; // Desired precision (3 means 3m error in 10km range, i don't recommend to set this var to lower values)
int BurstTime = 1500; // It's a "burst length"
int FireMode = 2; // 0 - burst, 1 - slug, 2 - buckshot (gauss)
float GaussSpread=0.1f; // Gauss shot spread multiplier
float JunkFilter = 15; // Minimum target radius. If object is of smaller size, it won't get shot.


Please, note: FireMode var sets different fire mods, the most advanced of which is the 2nd mode. It creates something like a buckshot with spread bound to with target size and distance to interception point.

Ok, that is the brief description. Try to use this BP and let me know, if you have any questions.
23 条留言
jfullernz 2020 年 4 月 10 日 下午 8:05 
No longer working, script error due to getfreedestination having been removed from SE
Solomon 2017 年 8 月 16 日 下午 12:44 
А как теперь пользоваться данной убермашиной?
ИƐѺИSΛMƱŔΛ1 2017 年 4 月 2 日 上午 2:39 
Жаль что сейчас она не работает (
ZloyDoctor 2017 年 1 月 15 日 上午 1:02 
И еще, простите за оффтоп, у вас получилось "запрячь пиратов" с Getnearestplayer ?
:steamhappy:
Pennywise  [作者] 2017 年 1 月 15 日 上午 12:42 
можно сделать, но без автоматического засечения целей
ZloyDoctor 2017 年 1 月 15 日 上午 12:33 
А вы схожий скрипт, только на raycast не делали? У вас есть скрипт на триангуляцию и есть скрипт на raycast....
Pennywise  [作者] 2017 年 1 月 14 日 下午 11:50 
А просто в ванили радар уже не будет работать, так как GetFreeDestination() убрали
Pennywise  [作者] 2017 年 1 月 14 日 下午 11:49 
Я точно не знаю, что там за мод, может он просто модифицирует ванильный блок уд управления. http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=803652481
ZloyDoctor 2017 年 1 月 14 日 下午 11:48 
А с ванильными частями никак?
Pennywise  [作者] 2017 年 1 月 14 日 下午 11:47 
ZloyDoctor Убирать не буду, конечно. Только теперь, чтобы оно работало, надо заменить блок remote control в конструкции на мод от rexxar'а