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
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=597101455
For getting your current target location, you can paste the following script to a Programmable block (And also create a Text Panel named DISPLAY_PANEL):
void Main()
{
IMyTextPanel targetPanel = GridTerminalSystem.GetBlockWithName("DISPLAY_PANEL") as IMyTextPanel;
targetPanel.WritePublicTitle(VectorToString(Me.GetPosition(), 4));
}
string VectorToString(Vector3D vector, int decimals)
{
return Math.Round(vector.GetDim(0), decimals) + ":" + Math.Round(vector.GetDim(1), decimals) + ":" + Math.Round(vector.GetDim(2), decimals);
}
@conradfrenzy2 The GFD used by long range locking cannot determine the exact grid details, only can see bounding sphere. The best that can be done is offset targeting, meaning the missile aims some offset from the detected target center. However this cannot detect target rotation.
Currently tricking out an atmospheric strike fighter/multirole to have both anti-aircraft lock-on missiles as well as a more precise (snipe turrets off a base) type cruise missile setup with selectable fire)
Agree with ghost that a kind of precision GPS designator (that gives co-ords of the block targeted, rather than the grid's current position) would make these scripts just about perfect. Then I could fly in one-shotting drones with my semi-active missiles, then deliver two heavier armour piercing bunker busters to the target. Something like a camera guided missile, although I ideally want to be free to avoid incoming fire, or attack other targets once my missiles are released.
Though I will soon be experimenting with combining your scripts with aerodynamic wings to see if laser guided bombs could be a thing (or even gravity-fired orbital artillery).
Secondly im looking for a simple script to show distance and gps of enemy and my current location on a text panel. like aim use script show gps cords, distance and my current location on a text panel and close the script.
i tried to do it myself from your scripts but i couldnt :( i have no experience and knowledge about c.
thx for great work again.