Space Engineers

Space Engineers

Ikke nok vurderinger
O.I.S. Lidar Mapping
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
44.350 KB
30. dec. 2016 kl. 19:56
19. sep. 2019 kl. 8:33
25 ændringsbemærkninger ( vis )

Abonner for at downloade
O.I.S. Lidar Mapping

I 2 samlinger af Elfi Wolfe
Orbital Industrial Services, (O.I.S.) Lidar Division
13 genstande
O.I.S. Programing Division
14 genstande
Beskrivelse
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ære diskussioner Vis alle (1)
5
23. sep. 2018 kl. 6:29
Bug Reports
Elfi Wolfe
144 kommentarer
Nekron910 2. juli 2023 kl. 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  [ophavsmand] 2. juli 2023 kl. 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. juli 2023 kl. 0:58 
Can this script work with a subgrid cameras?
Elfi Wolfe  [ophavsmand] 15. nov. 2022 kl. 15:54 
Yes. if a lidar beam hits a grid it will add it to the list of detected objects.
mhwyoshi 15. nov. 2022 kl. 13:58 
Can this script give the coordinates of enemy bases? If given enough time and set to orbit a planet?
Elfi Wolfe  [ophavsmand] 27. mar. 2022 kl. 16:46 
It can be set by user with newrange command.
just a longer range takes a long longer to map.
PossibleHacker 27. mar. 2022 kl. 15:54 
What is the range on this?
Elfi Wolfe  [ophavsmand] 26. mar. 2021 kl. 7:16 
Not from the raycast. That is physics engine.
VIPERMKV 26. mar. 2021 kl. 6:01 
Hello! There is a method to exclude voxel? Like Asteroids , or small grid?
123 21. juli 2020 kl. 14:37 
Okay that was it, needed to recompile, also noticed my scan time is now 0 minutes but takes longer then 9 minutes?