Space Engineers

Space Engineers

Nedostatek hodnocení
O.I.S. Lidar Mapping
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
44.350 KB
30. pro. 2016 v 19.56
19. zář. 2019 v 8.33
Poznámky ke změnám (25) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
O.I.S. Lidar Mapping

V 2 kolekcích od uživatele Elfi Wolfe
Orbital Industrial Services, (O.I.S.) Lidar Division
13 položek
O.I.S. Programing Division
14 položek
Popis
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
http://gtm.steamproxy.vip/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
Populární diskuze Zobrazit vše (1)
5
23. zář. 2018 v 6.29
Bug Reports
Elfi Wolfe
Počet komentářů: 144
Nekron910 2. čvc. 2023 v 8.42 
I tried to use this thing.https://gtm.steamproxy.vip/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  [autor] 2. čvc. 2023 v 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 2. čvc. 2023 v 0.58 
Can this script work with a subgrid cameras?
Elfi Wolfe  [autor] 15. lis. 2022 v 15.54 
Yes. if a lidar beam hits a grid it will add it to the list of detected objects.
mhwyoshi 15. lis. 2022 v 13.58 
Can this script give the coordinates of enemy bases? If given enough time and set to orbit a planet?
Elfi Wolfe  [autor] 27. bře. 2022 v 16.46 
It can be set by user with newrange command.
just a longer range takes a long longer to map.
PossibleHacker 27. bře. 2022 v 15.54 
What is the range on this?
Elfi Wolfe  [autor] 26. bře. 2021 v 7.16 
Not from the raycast. That is physics engine.
VIPERMKV 26. bře. 2021 v 6.01 
Hello! There is a method to exclude voxel? Like Asteroids , or small grid?
123 21. čvc. 2020 v 14.37 
Okay that was it, needed to recompile, also noticed my scan time is now 0 minutes but takes longer then 9 minutes?