Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
Very nice, i would consider myself a satisfied user!
btw. the guide is awesome and nicely formated
Thanks for making Whiplash141
Mayhaps lol
"btw is there an example missile out there?"
An example launch platform with missiles is available: https://steamcommunity.com/sharedfiles/filedetails/?id=3207356939
Feel free to disassemble, pillage, and customize :)
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.
Alternatively, you can leave a link to your ship and i can diagnose the issue you are having quickly.
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)
@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.
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?