Space Engineers

Space Engineers

LAMP | Launch A Missile Program (for WHAM)
679 則留言
Whiplash141  [作者] 7 月 6 日 上午 11:02 
increase your guidance delay. That determines when the missile starts aiming towards the target
prexray13 7 月 6 日 上午 6:40 
how do i make it so that when i fire a missile it uses the detach group to fly straight out of a missile pod becouse i made this and when i fire it it doesnt do that this is my configuration :
[Names]
Auto-configure missile name=True
Missile name tag=M
Missile number=1
Fire control group name=lamp
Detach thruster name tag=DT

[Delays]
Guidance delay (s)=1
Stage 1: Disconnect delay (s)=0
Stage 2: Detach duration (s)=5
Stage 3: Main ignition delay (s)=0

[Homing Parameters]
; Valid guidance algorithms:
; ProNav, WhipNav, HybridNav, QuadraticIntercept
Guidance algorithm=ProNav
Navigation constant=3
Acceleration constant=1.5
Max aim dispersion (m)=0
Topdown attack height (m)=4000

[Raycast/Sensors]
Use cameras for homing=True
Tripwire range (m)=10
Minimum target size (m)=0
Minimum warhead arming range (m)=100
Ignore friendlies=False
Ignore planets=True
Ignore target ID for detonation=False

[Fuel Conservation]
Conserve fuel=False
Max speed (m/s)=300
Angle tolerance (deg)=2.5
Whiplash141  [作者] 6 月 23 日 上午 1:55 
Not with this script no. This is designed for target homing, not GPS guidance
prexray13 6 月 23 日 上午 12:04 
is there a way for me to use missiles by giving them gps cords to hit ?
Whiplash141  [作者] 4 月 1 日 下午 10:07 
"What's the mechanism by which LAMP determines a target lock?"

Camera raycast. Point directly at the target while looking through your camera and it will acquire and lock the target. If LAMP does not say that you have a target lock, then you do not have a target lock.

You can start your world in single player, hit F11, and enable debug draw to see where your camera raycasts are going.
Baby Jesus 4 月 1 日 下午 7:24 
I'm having an issue where I target lock a ship, but LAMP is not saying that I have a target locked for the purposes of Camera based fire control. What's the mechanism by which LAMP determines a target lock?
Whiplash141  [作者] 3 月 16 日 下午 8:09 
There are 2 commands, enable_fire and disable_fire, which should do what your are looking for
Based_Stickman 3 月 16 日 下午 5:13 
Is it possible to get a master Arm command so that it wont fire anything if not armed so that i can have a lock and use event controller to set when i can fire a missile?
Whiplash141  [作者] 2 月 27 日 上午 12:05 
In the custom data of the WHAM programmable block, there is a section for the gyro PID params that you can mess with
prexray13 2 月 26 日 上午 7:23 
how do i do that ?
Whiplash141  [作者] 2 月 17 日 上午 8:40 
That's likely the cause. You may need to tune the gyro PID as a result so that the rotational control is tighter
prexray13 2 月 17 日 上午 6:19 
yes it has modded thrusters and gyro
Whiplash141  [作者] 2 月 14 日 上午 7:58 
Any mods?
prexray13 2 月 14 日 上午 7:40 
my missiles overshoot the target and come back to hit from the other side it ussualy hapens when the target is on the same altitude as the rocket firing position is there anything i can do to fix this ?
Baum 1 月 16 日 上午 2:30 
Hey, can you add a function like a rada like LiDAR mapping script to attack multiple targets simultaneously and at long range ?
Whiplash141  [作者] 1 月 5 日 下午 8:49 
No it does not. LAMP solely operates on block groups.
Duke3D 1 月 5 日 下午 8:07 
this script change all your block names
Xavius 2024 年 12 月 22 日 下午 5:10 
I love LAMP & WHAM !

Very nice, i would consider myself a satisfied user!
btw. the guide is awesome and nicely formated


Thanks for making Whiplash141 :steamthumbsup:
V0IDBEANS 2024 年 12 月 11 日 下午 11:28 
Wiplash141 just saw you responded to my comment, thank you so much for getting to that. Love your mod Thank you!
Grub 2024 年 11 月 23 日 下午 10:45 
Thanks whip! Once again whip is a legend in the space engineers community.
Whiplash141  [作者] 2024 年 11 月 23 日 下午 9:44 
"Is this "Satisfied user" in the description, a moth, perchance?"
Mayhaps lol

"btw is there an example missile out there?"
An example launch platform with missiles is available: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3207356939

Feel free to disassemble, pillage, and customize :)
Grub 2024 年 11 月 23 日 下午 8:22 
btw is there an example missile out there?
Grub 2024 年 11 月 23 日 下午 8:20 
Is this "Satisfied user" in the description, a moth, perchance?
Whiplash141  [作者] 2024 年 11 月 9 日 下午 3:32 
No, sorry
Lt.Fenix 2024 年 11 月 9 日 下午 1:39 
Is there any chance you'd consider adding long-range sensors for target locking?
Whiplash141  [作者] 2024 年 10 月 24 日 上午 8:44 
You should see blue FOV pyramids and orange lines that denote where the raycasts are going like shown in this video: https://www.youtube.com/watch?v=_4jcQjZVkno

The orange circles indicate where the raycast impacted something. Those small orange sphere should be appearing on the surface of the ship you are targeting. If they are showing up on your ship instead, they are being obstructed.
Big Cat 2024 年 10 月 24 日 上午 12:16 
Toggling physics primitives worked, not sure how to tell if my cameras are obstructed though. A bog green box is around the grid I'm locked onto, and a sphere is above my ship, which seems to be the source of the camera raycast if I'm correct.
Whiplash141  [作者] 2024 年 10 月 23 日 上午 9:01 
Interesting, it works consistently for me. Try toggling physics primitives on then back off then enable debug draw.

Alternatively, you can leave a link to your ship and i can diagnose the issue you are having quickly.
Big Cat 2024 年 10 月 23 日 上午 7:34 
I’m not seeing any raycasts at all I’m when I turn the option on. Seems like others have had this issue with the F11 menu since the Automaton update
Whiplash141  [作者] 2024 年 10 月 22 日 下午 9:52 
@V0IDBEANS:

This is a "fun" quirk of how merge blocks work. When you unmerge two grids, you are essentially deleting the blocks of the smaller grid and respawning them in place as their own grid.

The custom turret controller identifies blocks by their entity ID, when the smaller grid (your camera subgrid) is respawned in this manner, the entity ID changes and thus the camera linkage breaks. The fix is to just add more blocks to that camera subgrid. I added like 50 blocks in a stupid pole and launched the missiles and the missiles were the grid that got remapped/respawned.

The other solution is to move the camera off of the grid that unmerges from the missiles.
(I haven't seen this game quirk in like 5+ years and I forgot it was a thing haha)
Whiplash141  [作者] 2024 年 10 月 22 日 下午 9:36 
Jump in single player, load up your ship, hit f11, and enable debug draw. It will show you precisely where the camera raycasts are going. I suspect that your cameras are obstructed.
Big Cat 2024 年 10 月 22 日 下午 9:13 
So I've been playing around with this and WHAM a lot, and the camera locking and homing on a ship that's around 1KM away reads as "No Target" I can only use the Beam Ride homing option, which is difficult for a small grid ship
V0IDBEANS 2024 年 9 月 25 日 上午 10:35 
Of course! https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3337469601 on the menu (ctrl + 2) + (4) is where the turret is located (ctrl +3) is where the Lamp controls are located. 1 = fire, 2 = switch mode, 3 = lock on. "ATGM Custom Turret Controller" is the turret where the camera keeps switching to none when I fire the last missile so I can't see while I beam ride. I appreciate your help a lot!
Whiplash141  [作者] 2024 年 9 月 25 日 上午 6:56 
Huh... that sounds like a strange game bug. Do you have a blueprint where I can replicate that behavior?
V0IDBEANS 2024 年 9 月 25 日 上午 12:50 
The custom turret controller I use to launch the missile is assigned to a camera. when I fire the last missile the assigned camera on my custom turret controller will switch to none. and then I have to re assign the camera on the custom turret controller. and sense I cant see the through the camera, I cant guide my missile. sorry if Im not making any sense.
Whiplash141  [作者] 2024 年 9 月 24 日 下午 9:31 
Deselected in what sense? I'm not sure I'm following what the issue is.
V0IDBEANS 2024 年 9 月 24 日 下午 7:17 
Hi Whiplash I wanna thank you for making my favorite script, but I am running into an issue where when I shoot my last missile my camera gets de selected from my custom turret that I use to shoot the missile which means I can use the beam ride! I have to go back to the custom turret controller to select the camera again. I have recompiled all the code and I have replaced all the custom turret parts and It still de selects the camera in my custom turret controller and I am very confused... I also notice the lcd panel flickers and I shoot my last missile... very strange! if you could let me know what it could possibly be that what be much help to me. and again thank you for your work!
Whiplash141  [作者] 2024 年 9 月 12 日 上午 2:17 
@A_Superior_DuDe: No

@inno16: You have to manually designate the target for camera homing to establish lock. You *can* initially fire in beam ride, then switch to camera homing mid flight, but the missiles can't automagically just detect targets on their own.
inno16 2024 年 9 月 11 日 下午 4:55 
Hi, is it possible to shoot missiles with beam and once they are within 5k you switch them to Camera Lock?
A_Superior_DuDe 2024 年 9 月 6 日 下午 2:54 
Hey, i have been tinkering with your code, and added WC Turret compatability for my own use. (Want to engage targets at 10+km).

I have gotten it to function, however upon successful hit, the program crash and needs to be Recompiled.

EXCEPTION:
System.InvalidOperationException: Nullable object
must have a value.

at
System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
resource)

at Program.BroadcastTargetingData()
at Program.GuidanceProcess()

The only change to the code is that i use the WC api to populate the _targetinfolist with a MyDetectedEntityInfo when it has a target. (And yes, im verifying that the target variable isnt null before passing it :P

Have been troubleshooting a bunch, but i only have like 5 characters left after i minified the code, so im a bit short on space (and ideas)


Do you have any idea what could cause this issue?
Whiplash141  [作者] 2024 年 8 月 13 日 下午 5:56 
No, but you can do something with event controllers to that effect
MEGATRON 2024 年 8 月 12 日 下午 2:17 
Can you make an update wich detects ship speed and rotation and prevents LAMP from firing (or autofiring). This will be verry helpfull to prevent accidents.
sharkiemalarkey 2024 年 7 月 16 日 上午 10:39 
Love the acronym "LAMP", it reminds me of a funny video where a IR missile is facing the sun. (If you want to see what I mean, here is the link to the video, https://www.youtube.com/watch?v=On9iCg_VyZM)
Whiplash141  [作者] 2024 年 7 月 16 日 上午 10:15 
no
Susflower 2024 年 7 月 16 日 上午 4:25 
Is there any possibility of aiming missiles in the "Turret" mode using turrets from the WC?
Whiplash141  [作者] 2024 年 5 月 19 日 下午 4:02 
No. You can currently set up timers to be triggered on lock, on search, on idle, and on missile fire. You can do any arbitrary logic you want in there.
Based_Stickman 2024 年 5 月 19 日 下午 1:49 
Will we get the ability to have the broadcast controller be apart of a launching ships fire control so we can send messages if lock lost, missile fired, etc....
Whiplash141  [作者] 2024 年 5 月 12 日 上午 8:01 
Nope, there is not currently.
[ZD] Jobey 2024 年 5 月 12 日 上午 5:22 
Is there a way for you to have different targets marked at the same time for the autofire? I am being attacked by waves of small drones and was hoping to fire a missile at each at the same time once they are in range?
Come and See 2024 年 5 月 9 日 下午 4:11 
I solved my own problem by modifying LAMP to work off of WeaponCore turrets. :D I just added the WC API stuff and updated TurretGuidance. This is for my singleplayer shenanigans because I wanted to make a mobile AI SAM platform and missile firing drones.