Download details

Safe undocking / jum Safe undocking / jumping

HOT

License

Size 5.62 KB

Filedate Sunday, 08 April 2012 00:00

Filename safe_undocking_gz.zip

Downloads 1,029

Created Thursday, 14 June 2012 19:44

Changed Thursday, 14 June 2012 19:44

System

Website Website external

[b][u]Safe undocking / jumping[/u][/b]. . . Written for [b]AP[/b]. Not tested with [b]TC[/b].

Ever since Reunion came out, there have been certain ships that [b]would[/b] explode when the player [b]manually[/b] undocked them from certain stations.
This only got worse with TC and AP, since more and bigger ships and stations entered service.

I fixed it.


[u]What this script does:[/u]

If [b]the[/b] playership [b]manually[/b] undocks from anything or enters a new sector by any means, it's collision detection is disabled.

Collisions are reenabled if any of these conditions is true:
[list][*] autopilot is enabled
[*] ship's speed is reduced
[*] ship's course is changed (10° dead zone for the benefit of joystick users)
[*] ship is clear of [i]the[/i] closest ship, station, gate, [i]and[/i] asteroid.
(these 4 objects are searched for once, at the moment of launch)
[*] the player changes ships
[*] the player goes to a different sector or docks somewhere
[*] 60 seconds expire[/list]

There are no watcher scripts constantly running in the background.

Not only does this fix the typical issue of undocking a Khaak Corvette from a Kyoto or many stations, it also avoids other stupid situations.
If you emerge from a gate in a TM and immediately launch in a fighter, you are usually catapulted straight into the gate superstructure. This can no longer happen since gates are one of the 4 types of checked navigational hazards.
If you emerge from a gate and find yourself inside another ship, don't panic and don't touch anything. Strafe (that is not a course change) or accelerate away.


The inspiration for this script was [url=http://forum.egosoft.com/viewtopic.php?t=256572]this[/url]. I just didn't agree with the [i]way[/i] they did it. =P


[url=http://www.hentschke-keramik.de/x3scripts_tc.php3][img]http://www.egosoft.com/img/button_download.gif[/img][/url][url=http://www.hentschke-keramik.de/x3scripts_tc.php3]Download:[/url] ZIP

[size=16][u][b]Installation:[/b][/u][/size] extract the ZIP into the "X3 Terran Conflict" folder. The correct folder structure is already included.


[u][b]Resources used:[/b][/u] none


Please share this download, simply highlight and copy the bbcode and paste on the forum. Easy download link.
Direct Download BBCode: