Author Topic: Shuttle Launches in HP [manual setup]  (Read 5825 times)

Offline dEjavU

  • Posts: 123
  • Cookies: 3
Re: Shuttle Launches in HP [manual setup]
« Reply #20 on: November 19, 2009, 08:11:06 AM »
Sorry Tiq it still don't work right, still launches from the rear in the wrong direction....



...what I did noticed though is that the shuttles are coming out of the other rear launch door. Kind of cool considering my first attemp resulted in the shuttles coming out of the other rear door, and I was thinking of as a comprimise was to get two shuttles to come out from both rear doors than I'd be settled and satisfied but when I went and used the OEP coordinates for your Bonaventure scripted ship for Launch Drop Bay 1 and Launch Drop Bay 2(yes I changed the coordinates for their hull property counterparts as well)and deleted the .PYC file but it didn't do squat..same result, they all come out from the same door. It's like their all following the leader or something. Whatever you did seemed to have partially fixed the problem with the return shuttle though. I say partially because I could only dock one shuttle and after that, for some reason, the mothership(NX01)seems to keep reverting back to having a full payload of shuttles..even though there are still the other shuttles flying around and I patiently kept trying, none of the rest will dock with the ship(just the first one at a time)......



That's very confusing because I only have the ships carrier file accomidate 4 shuttles(one for each bay). Here's how the NX's carrier file set up, can you tell me if theres anything wrong with this....

Carrier = __import__("ftb.Carrier")
class NX01Enterprise(Carrier.Carrier):
    def __init__(self, pShip):
        Carrier.Carrier.__init__(self, pShip)
        LauncherGroup = __import__("ftb.LauncherGroup")
        group = LauncherGroup.LauncherGroup()

        LauncherManager = __import__("ftb.LauncherManager")

   launcher1 = LauncherManager.GetLauncher("Main Hangar 1", pShip)
   group.AddLauncher("Main Hangar 1", launcher1)

   launcher1.AddLaunchable("NX01Shuttle", "ftb.friendlyAI", 1)

   launcher1 = LauncherManager.GetLauncher("Main Hangar 2", pShip)
   group.AddLauncher("Main Hangar 2", launcher1)

   launcher1.AddLaunchable("NX01Shuttle", "ftb.friendlyAI", 1)

   launcher1 = LauncherManager.GetLauncher("Shuttle Drop Bay 1", pShip)
   group.AddLauncher("Shuttle Drop Bay 1", launcher1)

   launcher1.AddLaunchable("NX01Shuttle", "ftb.friendlyAI", 1)

   launcher1 = LauncherManager.GetLauncher("Shuttle Drop Bay 2", pShip)
   group.AddLauncher("Shuttle Drop Bay 2", launcher1)

   launcher1.AddLaunchable("NX01Shuttle", "ftb.friendlyAI", 1)



   self.AddLauncher("Group 1", group)

 # Define how much Shuttles we can carry maximal (Return Shuttles script)
    def GetMaxShuttles(self):
       return 4
    # Don't use the following Tractors to Dock:
    def IgnoreTractors(self):       
       return ["Aft Tractor", "Forward Tractor"]

ShipManager = __import__("ftb.ShipManager")
ShipManager.RegisterShipClass("NX01Enterprise", NX01Enterprise)


Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Shuttle Launches in HP [manual setup]
« Reply #21 on: November 19, 2009, 08:24:20 AM »
Sorry it didnt work like you wanted
Did you Target each shuttle before ordering it to return [easy to forget]

well TBH I have had troubles at times activating the Return any way, it seems to be something we just got to live with.

If memory serves "Main Hangers" are mainly for , Landing and unloading supplies for the ship [resupply] , I dont recall ever seeing them used in any episode [correct me if I wrong]

Best thing to do is remove "Main Hanger stuff, else it will always use Main Hanger. although a new carrier py will have to be made
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Shuttle Launches in HP [manual setup]
« Reply #22 on: November 19, 2009, 08:48:20 AM »
I will fix the HP now, but remember I will be removing "MainHanger" so a new carrier file is going to need to be made. {have you got BCUT, good toool]  http://bridgecommander.filefront.com/file/Bridge_Commander_Universal_Tool;106619


There you are But remember create a new carrier
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline dEjavU

  • Posts: 123
  • Cookies: 3
Re: Shuttle Launches in HP [manual setup]
« Reply #23 on: November 19, 2009, 10:02:39 AM »
No your right, I don't think they ever showed the ship using the main hanger bays either. Okay I did what you said and removed all Main Hangers entries, worked with only the Launch Drop Bays which I used your coordinates for the OEP entries for the HP file you tweaked. Made a brand new carrier file for it and.. :eek .....



..it works! Maybe a bit cheesy with the shuttle bay doors not opening and the shuttles all coming out from the same spot but it sure beats the hek out of setteling for rear shuttle launches  :P

Thanks allot Tiq, your freakin' awesome!

Offline dEjavU

  • Posts: 123
  • Cookies: 3
Re: Shuttle Launches in HP [manual setup]
« Reply #24 on: November 19, 2009, 10:08:47 AM »
I will fix the HP now, but remember I will be removing "MainHanger" so a new carrier file is going to need to be made. {have you got BCUT, good toool]  http://bridgecommander.filefront.com/file/Bridge_Commander_Universal_Tool;106619


There you are But remember create a new carrier


Sorry couldn't catch this in time never the less the effort is very much appreciated(thanks). How are you creating the coordinates for the entries? I would like to see(know)if it's possible to launch from the other drop bay doors.

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Shuttle Launches in HP [manual setup]
« Reply #25 on: November 19, 2009, 11:51:12 AM »
Quote
Maybe a bit cheesy with the shuttle bay doors not opening

 How are you creating the coordinates for the entries?

That we can do Nothing about the doors. and creating the coordinates is why dont give-up on learning MPE
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline dEjavU

  • Posts: 123
  • Cookies: 3
Re: Shuttle Launches in HP [manual setup]
« Reply #26 on: November 19, 2009, 09:50:24 PM »
I understand, again a million thanks Tiq. Hopefuly(as time progresses)you'll continue to provide additional tutorials and scripting tips over at that BCS forrum page you provided earlier.  :)

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Shuttle Launches in HP [manual setup]
« Reply #27 on: November 20, 2009, 08:13:53 AM »
I understand, again a million thanks Tiq. Hopefuly(as time progresses)you'll continue to provide additional tutorials and scripting tips over at that BCS forrum page you provided earlier.  :)
The main question, is, Did you understand them?   I try to make them easy to understand.
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline dEjavU

  • Posts: 123
  • Cookies: 3
Re: Shuttle Launches in HP [manual setup]
« Reply #28 on: November 20, 2009, 11:28:46 AM »
Yes I understand them perfectly(their all great). Maybe, if you have time, you can make an introduction tutorial for advanced users(or beginners)on how to properly use the MPE.  ;)

milenent

  • Guest
Re: Shuttle Launches in HP [manual setup]
« Reply #29 on: November 29, 2009, 06:01:31 AM »
I've read it 3 times but I'm still not getting what is the shuttle class. I'm using http://defiant.homedns.org/~erik/STBC/carrier/ . I've selected the HP but I don't know what is the ship class. Any suggestions  :(

Offline KrrKs

  • Posts: 461
  • Cookies: 25
Re: Shuttle Launches in HP [manual setup]
« Reply #30 on: November 29, 2009, 10:00:58 AM »
Most likely it is the name of the Shuttles Ship - file in scripts/ships.