Space Engineers

Space Engineers

242 ratings
[GI] TGP Script V1.1 (Targeting Pod)
9
4
2
3
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.056 MB
28 Nov, 2024 @ 3:19am
27 Jan @ 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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2819875413

Dragonfly: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2875838868
39 Comments
Zero Bellum 8 Jun @ 2:14pm 
This is nice it will look nice on my F-1500E
G-han  [author] 20 May @ 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 19 May @ 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 15 Feb @ 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 10 Feb @ 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 2 Feb @ 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
G-han  [author] 2 Feb @ 2:06pm 
@Kumpel Kumplowski you can use Cast Spectator mod from Klime for those shots.
Kumpel Kumplowski 2 Feb @ 12:54am 
Mod is great. Adding - Target locking for moving objects would make it awesome :) From time to time I record fast paced racers in F1 SE or my Driftsliders, vanila CTC sucks, looses tracked grid when many or cannot properly follow
G-han  [author] 18 Jan @ 9:44pm 
@ebhogeterp Oh boi... You've come to the right place. Check the discord server. And see what F-16 Mega Project is.
ebhogeterp 18 Jan @ 5:46pm 
I wish someone would make an AESA radar mod for space engineers and if you don't know AESA radar is here's a link https://en.wikipedia.org/wiki/Active_electronically_scanned_array