EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCR] XTC Safe undocking scripts (Standalone Version)
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Aragon Speed





Joined: 10 Dec 2005
Posts: 768 on topic
Location: UK
Thank you for registering your game
modified
PostPosted: Sat, 15. Aug 09, 09:23    Post subject: [SCR] XTC Safe undocking scripts (Standalone Version) Reply with quote Print

XTC Safe undocking scripts

In XTM and XTC there are some ships that have trouble undocking without blowing up while the player is IS. This is due to their sheer size causing them to crash into the station they are undocking from.

There are a few ships that also suffer from this available as mods for TC, and in both cases the simplest way to solve this problem is for the player to order the ship to undock while they are OOS.

We found this spoilt the immersion factor, especially if it was a ship you were flying. Having to get into another ship and to fly OOS just to undock, and then to return to your ship of choice was a real bind.

The safe undocking scripts we created for X3R\XTM to solve this have now been ported across to TC. So that everyone can have ships that don't blow up when they undock, we have altered our XTC scripts to work as standalone scripts for everyone to use.

These are very simple scripts that just turn the collision detection off on big ships for a short amount of time when you undock, thus stopping the ship from crashing into the station it is undocking from.

Usage:
Just drop the scripts from the zip file into your scripts folder, and then forget about them. Yep, as simple as that. Wink

(You will need to activate the script editor for these scripts to work. But your running modded anyway right, so what does that matter? Very Happy )

Big Ship Safe Undocking: >>>Click to download<<<

These scripts are a modders resource. If you want to include them in your own mod then you are welcome to do so without having to ask for permission.



Last edited by Aragon Speed on Sun, 16. Aug 09, 08:04; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
chaosras





Joined: 28 Oct 2004
Posts: 99 on topic
Location: Houston
Thank you for registering your game
PostPosted: Sat, 15. Aug 09, 16:52    Post subject: Reply with quote Print

So from an initial look at these scripts, they apply only to TLs, M7s, and larger undocking at shipyards and equipment docks?


_________________
Space Cowboy - http://www.myspace.com/hardknight

"I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion.
I watched C-beams glitter in the dark near Tannhäuser Gate. All those moments will be
lost in time, like tears in rain."
- R. Batty

HKP Transponder Interface Software
HKP Enhanced Missile Barrage
Back to top
View user's profile Send private message
Gorium





Joined: 13 Jun 2009
Posts: 200 on topic

Thank you for registering your game
PostPosted: Sat, 15. Aug 09, 21:16    Post subject: Reply with quote Print

Could this mod be extended to M6s as well? The Hyperion sometimes has issues getting out of some station...

Will wait for this improvement and apply the script then...

Nice creation though.

Back to top
View user's profile Send private message
Aragon Speed





Joined: 10 Dec 2005
Posts: 768 on topic
Location: UK
Thank you for registering your game
PostPosted: Sun, 16. Aug 09, 08:02    Post subject: Reply with quote Print

chaosras wrote:
So from an initial look at these scripts, they apply only to TLs, M7s, and larger undocking at shipyards and equipment docks?

Yup.

Gorium wrote:
Could this mod be extended to M6s as well? The Hyperion sometimes has issues getting out of some station...

The scripts run on individual stations and not on ships, which is why it is limited to EQ docks and SY's, any more and it could start to have serious performance problems - and I think TC has enough of those already. ^^

If the Hyp has trouble with those stations, then we could add that in as an exception I suppose, but to be honest the scripts are really aimed at the larger mod ships and not at ships that are already in the stock game.

Back to top
View user's profile Send private message Visit poster's website
Alan Phipps
Moderator (English)
Moderator (English)

MEDALMEDALMEDAL

Joined: 16 Apr 2004
Posts: 16864 on topic
Location: Stonehenge, UK
Thank you for registering your game
PostPosted: Sun, 16. Aug 09, 17:22    Post subject: Reply with quote Print

For M6 undocking issues (super shipyards with internal M6 docking and some stations that cause Springblossom/Hyperion to collide with nearby parts of the station) you don't need to change ship to go OOS or anything. Just stay onboard but undock the M6 using the autopilot (fly to ..., dock at ... etc) and there are no collision issues.

Back to top
View user's profile Send private message
InSeeCure





Joined: 09 Sep 2009



PostPosted: Mon, 28. Sep 09, 01:59    Post subject: Reply with quote Print

Hi... Am new to the forum and therefor sometimes ask stupid things....

But here goes, is it possible to do the same for gates? Like a ''Safe gate travel''
By that I mean all ships coming out using the center of an gate? (M8,M6,M7,M2 and M1)

Getting tired off accidents using the gates, I ones killed 2 M8's, 1 M6 and just missing an M7 going through 5 terran sectors, not a good way to travel...

Back to top
View user's profile Send private message
enenra





Joined: 08 Apr 2005
Posts: 6152 on topic

Thank you for registering your game
PostPosted: Mon, 28. Sep 09, 11:02    Post subject: Reply with quote Print

That won't be possible - at least not in the same way like the safe undocking script works.

Firstly, it would mean to make all ships entering a certain radius of a gate invincible, which wouldn't quite be that cool for combat.
Secondly disabling their collision body, which is essentially what this script does (--> the ships are invincible), would prevent a ship from using gates - they would just pass through the event horizon. Wink


_________________
Back to top
View user's profile Send private message
X2-Eliah





Joined: 12 Oct 2006
Posts: 1827 on topic
Location: Sundsvall, Sweden
Thank you for registering your game
PostPosted: Mon, 28. Sep 09, 11:04    Post subject: Reply with quote Print

In theory, it would be possible, I suppose.

The problem would be the implementation.
Firstoff, the script that would check the ships entering/exiting sector would have to be constantly running. Since ships do not give special signals when entering sector, the script would be very CPU-intensive, as it would utilize a number of workarounds.

Second, The player would easily cheat the system by staying near the gate and fighting while being invincible.

Third, all enemies that jump in are immune for a while, which is not what you'd want.

Four, If only the playership is affected, then after every jump the game would have to load extra scripts before even loading the sector.


Fifth, if your ship has no collision detection, it can not jump at all - it will just fly through the gate instead of jumping, since the whole event itself is triggered by a collision of the ship against the rotating thingie.

Back to top
View user's profile Send private message
InSeeCure





Joined: 09 Sep 2009



PostPosted: Mon, 28. Sep 09, 22:20    Post subject: Reply with quote Print

OKEY OKEY OKEY I GET IT I GET IT Laughing.... bad ide.... emm

Okey getting a bit off topic now but I just have one more.... stupid ide....

There is an mod that makes gates 300% bigger and I was wondering if it's possible to change the entery/exit points, say that big ships have one entery point off center and one exit point to the opposite side maybe making the small ship lane just top and bottom, and make M6's and M8's take the small ship lane...

Thanks for the respons Smile and sorry for going off topic Sad

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 19. Oct 17, 11:11

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.42686 seconds, sql queries = 23