Author Topic: shuttle return  (Read 242 times)

Offline welshtony

  • Posts: 1
  • Cookies: 0
shuttle return
« on: March 17, 2014, 12:21:16 PM »
He all

I am stuck when i launch a shuttle with me in it i then try to return to the ship miguel says that the shuttle wont fit. do you have any fixes for it.

thanks all

Anthony

Offline KrrKs

  • Posts: 461
  • Cookies: 25
Re: shuttle return
« Reply #1 on: March 17, 2014, 01:02:03 PM »
Most shuttles are oversized to display right when flown.
You need to alter the ship's (the ship you want to return to) HP.
There should be 2 property with a name similar to "shuttle bay". Like:
Quote
Shuttle Bay
and
Quote
Shuttle Bay_OEP

The first one (without oep) has a
Quote
SetRadius
attribute somewhere. This is the one you need to change.
Most shuttles are (AFAIK) smaller than 0.3.

There is no other way around this that i'm aware of.

To get the actual shuttle size, you could use the ingame console, when flying the shuttle.
You can open it with the (depending on language) ^ or ~ keys, but I believe it is always the most top-left one, directly below escape.
Then type:
Quote
import App
import MissionLib
print MissionLib.GetPlayer().GetRadius()

Offline Maverick

  • Posts: 79
  • Cookies: 1
Re: shuttle return
« Reply #2 on: March 17, 2014, 06:33:17 PM »
He all

I am stuck when i launch a shuttle with me in it i then try to return to the ship miguel says that the shuttle wont fit. do you have any fixes for it.

thanks all

Anthony

KrrKs is correct on how to fix this. Go to your root star trek bridge commander folder and follow this path (your root)\scripts\ships\Hardpoints. Find the ship you wanna increase the shuttle bay size with, you can find the ships hardpoint by scanning the ship you wish to change in quick battle it should give you the ships name in the science officers drop down menu.
Open the hardpoint of the ship you wanna change some ships have more then 1 shuttle bay.
example below:

#################################################
ShuttleBay = App.HullProperty_Create("Shuttle Bay")

ShuttleBay.SetMaxCondition(24000.000000)
ShuttleBay.SetCritical(0)
ShuttleBay.SetTargetable(1)
ShuttleBay.SetPrimary(0)
ShuttleBay.SetPosition(-0.014989, 0.048332, 0.139694)
ShuttleBay.SetPosition2D(60.000000, 56.000000)
ShuttleBay.SetRepairComplexity(1.000000)
ShuttleBay.SetDisabledPercentage(0.000000)
ShuttleBay.SetRadius(0.100000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ShuttleBay)

now change the part where it says ShuttleBay.SetRadius(0.100000) to ShuttleBay.SetRadius(0.500000) so when your done it should look like this.
#################################################
ShuttleBay = App.HullProperty_Create("Shuttle Bay")

ShuttleBay.SetMaxCondition(24000.000000)
ShuttleBay.SetCritical(0)
ShuttleBay.SetTargetable(1)
ShuttleBay.SetPrimary(0)
ShuttleBay.SetPosition(-0.014989, 0.048332, 0.139694)
ShuttleBay.SetPosition2D(60.000000, 56.000000)
ShuttleBay.SetRepairComplexity(1.000000)
ShuttleBay.SetDisabledPercentage(0.000000)
ShuttleBay.SetRadius(0.500000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ShuttleBay)

this should allow to dock most if not all shuttle craft you could increase the value to say 0.7500000 to suite your needs.
This method will have be done on every ship that you want to dock the larger shuttle craft with.
Qprisbrey