Space Engineers
LiDAR Platform with Cameras [Vanilla]
7 σχόλια
farm fam 25 Οκτ 2021, 9:09 
Edit Custom Data in the Lidar Programmable block. Turn "Use Firing order" true.

Then, if you want the torpedos to work, paste the entire Lidar Platform again, detach the rotor head, and delete the Large grid, leaving only the missile column.

Then edit the programmable block inside each of the 8 missiles, and change one line of the code from Kinetic to:
MissileType missileType = MissileType.Explosive;

Add either a Camera to the very top of each missile, on top of the warhead, or a sensor half way up each missile. Or both!

Blueprint the editted missile sprue, and delete it. Go back to the original platform, turn the main programmable block OFF to keep the welders off, and disable the welders.

Once the welders are off, change the blueprint in the projector to the one you just made, and set vertical offset to +2. The images should line up.

Turn the main programmable block back on and toggle the welders on. The system will now work, and the missiles will actually do damage.
jTurp  [Δημιουργός] 19 Φεβ 2021, 15:32 
@thegrandslam2002

Yeah I think the Lidar script has UseFiringOrder set to false in the config - I had to change that in my test as well the other day. Set it to true and it should fix itself
thegrandslam2002 19 Φεβ 2021, 13:52 
Currently not working - lower missiles fire first and explode/get stuck immediately
jTurp  [Δημιουργός] 11 Μαρ 2020, 9:49 
I’ll update the scripts when I get home - just dropped an update yesterday
Paintballno1 11 Μαρ 2020, 4:53 
Cant wait to play with this later
jTurp  [Δημιουργός] 12 Φεβ 2020, 6:25 
Ah, I’ll update the scripts in the BP.
Stuxnet Victim 11 Φεβ 2020, 23:50 
I'm getting compilation errors trying to play with this - says

Program(323,26): Error: 'IMyRadioAntenna' does not contain a definition for 'AttachedProgrammableBlock' and no accessible extension method 'AttachedProgrammableBlock' could be found (are you missing a using directive or an assembly reference?)

I tried dropping in the version of your script currently on the workshop but I think it tried to turn the entire station into a missile instead of targeting something (the PB is now called missile.lostofnumber)!