Space Engineers

Space Engineers

253 ratings
[GI] TGP Script V1.1 (Targeting Pod)
9
6
3
3
2
24
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.056 MB
Nov 28, 2024 @ 3:19am
Jan 27, 2025 @ 6:27am
2 Change Notes ( view )

Subscribe to download
[GI] TGP Script V1.1 (Targeting Pod)

Description


We proudly present you the ultimate reconnaissance tool for all types of environmets: The Targetting Pod

This script uses rotors and hinges to control a camera and make it look at a set of positions. It supports gravity stabilization and real time control.



FEATURES:
- You can look at a direction in 5km distance. The pod will stabilize the camera and track the position.
- You can add multiple points to track and also remove if not needed.
- You can convert position from GPS or create GPS coordinates from the tracking point.
- You can use the pod while flying. The pod overrides the gyros in order to keep the aircraft stable.



UPCOMING FEATURES:
- Target locking for moving objects.
- Turret or CTC slaving.
- Improved stabilization.

Don't forget that we need some interest in order to add these features.



HOW TO SET UP:
- Create the pod as shown in the example.
- Place a programmable block in the same grid.
- Name the blocks as shown in the example. (You can change the block names in the script.)
- Set up your hotbar to control the pod.
- Have fun!



ARGUMENTS:
Control:
Enables or disables the control of the targetting pod.

Manual:
No tracking. The camera just moves as you control it.

SearchMode:
Toggles the Search Mode. Search mode locks and stabilizes the camera to the last point the input has been given.
If you control the camera it follows your commands, if you don't it keeps tracking where you are looking. (5KM limit. Returns to manual if out of limit)
Note: Does not work in space. If argument is given it will automatically turn back to Manual.

Point Track:
Disables player control. Player can only switch between pre added points or return to SearchMode to add more points.
Note: Does not work in space. If argument is given it will automatically turn back to Manual.

AddPos:
Switches the state to Point Track and adds the current look position to the list.

DelPos:
Deletes the current position from the list.

NextPos:
Switches to the next position in the list.

PrevPos:
Switches to the previous position in the list.



INPUTTING OR OUTPUTTING GPS COORDINATES:

GetPos:
Outputs the current look position from the list to the PB's custom data.

Inputting GPS coordinates as arguments:
Adds the coordinate's position to the list.



VERSION NOTES:
V1.0:
- Official Release.

V1.1:
- Some bugfixes.
- TGP now can work in space but only in manual control.
- Setting up has made easier.


NOTES:
- You can use this script in your projects, modify it, reupload it to the workshop as long as you give credit to the workshop page of the original.

- Special thanks to Digi for amazing PB debugging mod.

- This mod is a part of F_16 Mega Project.
If you want to learn more: https://discord.gg/gxSyRAvXGh



BLUEPRINTS USED IN VIDEOS:
Leopard: https://steamcommunity.com/sharedfiles/filedetails/?id=2819875413

Dragonfly: https://steamcommunity.com/sharedfiles/filedetails/?id=2875838868
43 Comments
G-han  [author] Apr 4 @ 8:07pm 
@kawasaki, Sadly it is not. The problem is that you can get the grid that the camera is looking. But you can not get continuous data about it. For that you should use an external turret. And it kills the whole image of it.

And I'm not even sure it is allways possible to make a turret target a grid that you want. There will be some problems as well.
kawasaki Mar 30 @ 4:36am 
@G-han is it not possible to use the camera raycast to determine a grid? And in that case lock to that target. I had a similar but wonkier script that was able to lock on grids.
G-han  [author] Jan 4 @ 4:54am 
@Shimmon I'm sorry but it is not. And also the target locking is not possible in vanilla SE without a turrets lock. I didn't know that before :(
Shimmon Dec 28, 2025 @ 10:13pm 
Hey @G-han, I (still) love the script but i was just wondering if this script is still under active development and would receive any the features mentioned in upcoming features? I just think that target locking for moving objects would be awesome for laser guided bombs/missles.
Zero Bellum Jun 8, 2025 @ 2:14pm 
This is nice it will look nice on my F-1500E
G-han  [author] May 20, 2025 @ 3:24am 
@Shimmon Yes, you will see a field in the block names called "cockpitTag". If you add that tag to your cockpit. Controls will only be recieved from that cockpit.
Shimmon May 19, 2025 @ 8:35pm 
Hi, is it possible to make it so that the targeting pod can only be controlled by one cockpit at a time possibly by having a field/designation for a cockpit? When flying my two person heavy fighter with my friend and I activate the control both of us have control which causes problems for my friend piloting. I have one cockpit set to main cockpit.
Rikkich Feb 15, 2025 @ 3:11am 
Hi! When I try to install your script, I get an error - "Run program again after fixing the problems above", I read your manual several times, but I did everything correctly, when I try to add incorrect names to blocks, your script notifies about incorrect names, but when they are correct it displays the error indicated earlier
mikino917 Feb 10, 2025 @ 11:55am 
Hi, Is it possible to make it so that the gps pos data is not outputed to the custom data but into a seleceted text panel?
Kumpel Kumplowski Feb 2, 2025 @ 2:47pm 
@G-han I am using it but not the same effect/purpose. In my case I need stabilized camera on flying drone. I have that drone programmed using script for movement and behavior to do as I want by commands. I am using vanilla CTC but targeting and stabilization on it is terrible, especially when you have many grids in the group