Space Engineers

Space Engineers

十分な評価がありません
O.I.S. Lidar Mapping
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
44.350 KB
2016年12月30日 19時56分
2019年9月19日 8時33分
25 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
O.I.S. Lidar Mapping

Elfi Wolfe 作成の 2 件のコレクション
Orbital Industrial Services, (O.I.S.) Lidar Division
13 アイテム
O.I.S. Programing Division
14 アイテム
解説
Lidar Mapping software.

Name LCD with [LidarStatus] and [LidarFound] somewhere in name.
load script
Have some cameras.

then just have a button set (or tool bar) to run PB with argument lase to turn on/off mapping.

Sends GPS info on:
OISGPS channel with data in the following format
MyTupla<string, string, int, Vector3d>
"GPS", name, MyRelationsBetweenPlayerAndBlock, Position

READ THIS: Programmable blocks and in-game scripts are now in "Experimental mode" in game that you need to turn on in game options.
NOTE: if the script is hurting the server, then you can do the following.
remove the // from
1: //statusLCD.WriteToLCD($"\n{currentTicRun}\n{Runtime.LastRunTimeMs}");
This will then show on the screan the run times of each run.
2: change int limitLaseRun down from 10 to 1 or 2.
This sets the number of lasers to fire each 1/6 of a second.

Arguments / custom Data reading
lase = start/stop mapping
laseon = starts mapping if not mapping
laseoff = stops mapping
turnon = turn on camera laser charging
turnoff = turn off camera laser charging
rebuild = tell script to check and rebuild it self
cleangps = clean the found items
newrange #### = change the range in script to what is entered in argument
newangle ## = (0-45) change the scan angle away from camera.. 45 = max camera range
newlevel # = (0-7) change scan level.. higher numbers take much longer but better resolution.
repeaton / repeatoff = repeat scan after done
stopOnEnemyon / stopOnEnemyoff = stop scan if enemy detected
fireOnEnemyon / fireOnEnemyoff = trigger firing timer block
fireOnNeutralon / fireOnNeutraloff = if fireOnenemy is on, neutral will also be fired on
fireOnceon / fireOnceoff = timing block will fire only once

lcdstatus string = sets name of status lcd
lcdfound string = sets name of found lcd
enemylcd string = sets name of enemy lcd
firingTiming string = sets name of firing timer block

Example
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=830587447

Has FiringSubsystem that will trigger a timer if an enemy is detected (can use time to turn on sound/lights or other system)

Last Inspected 1.199.020
Last Updated 1.192.101
人気スレッド 全て表示 (1)
5
2018年9月23日 6時29分
Bug Reports
Elfi Wolfe
144 件のコメント
Nekron910 2023年7月2日 8時42分 
I tried to use this thing.https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=916386919 There a link to this script, so, i think it had to work, but script dont use any subgrid cameras. Then i came here =))
Elfi Wolfe  [作成者] 2023年7月2日 6時39分 
I had to look at the code to get this answer.
It only uses the same grid as the PB block.
Designed that way so that people could have sub grids with a PB on that sub grid to aim the mapping system at an area or object.
Nekron910 2023年7月2日 0時58分 
Can this script work with a subgrid cameras?
Elfi Wolfe  [作成者] 2022年11月15日 15時54分 
Yes. if a lidar beam hits a grid it will add it to the list of detected objects.
mhwyoshi 2022年11月15日 13時58分 
Can this script give the coordinates of enemy bases? If given enough time and set to orbit a planet?
Elfi Wolfe  [作成者] 2022年3月27日 16時46分 
It can be set by user with newrange command.
just a longer range takes a long longer to map.
PossibleHacker 2022年3月27日 15時54分 
What is the range on this?
Elfi Wolfe  [作成者] 2021年3月26日 7時16分 
Not from the raycast. That is physics engine.
VIPERMKV 2021年3月26日 6時01分 
Hello! There is a method to exclude voxel? Like Asteroids , or small grid?
123 2020年7月21日 14時37分 
Okay that was it, needed to recompile, also noticed my scan time is now 0 minutes but takes longer then 9 minutes?