Author Topic: Modded Ships in Campaign  (Read 3290 times)

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Modded Ships in Campaign
« on: March 24, 2011, 09:35:59 PM »
I don't know if this goes here or in scripting so if it's in the wrong spot I'm sorry :hithead:  But I was wondering, what is needed to replace stock ships in campaign?  Like if I wanted to replace the Dauntless with one of DJ's Galaxy Classes.  Is that possible?

Offline eclipse74569

  • Roger Smith of the U.S.S. Lollypop, a good ship
  • Webmaster
  • Posts: 2240
  • Cookies: 65535
Re: Modded Ships in Campaign
« Reply #1 on: March 24, 2011, 09:40:47 PM »
Very much so, but it's a bit complex for me so I will let the more experience let you in on how LOL (IE:  I forgot all the coding to change...and am too lazy to learn it again)
Humankind cannot gain anything without first giving something in return, to obtain, something of equal value must be lost.  That is alchemy's first law of equivalent exchange.  In those days we really believed that to be the world's one and only truth~Alphonse Elric

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Modded Ships in Campaign
« Reply #2 on: March 25, 2011, 07:43:29 AM »
easy - just change the Galaxy.py in the scripts/ships folder (not hardpoint) to point to DJ Galaxy's data folder and hardpoint script...
that should do it, im thinking...

Offline Morgan

  • Moderator
  • Posts: 1340
  • Cookies: 65535
Re: Modded Ships in Campaign
« Reply #3 on: March 25, 2011, 06:25:18 PM »
Replacing the games stock ships for use in SP is perfectly safe, but be advised that some ships (the RanKuf and Sovereign) have special hardpoint needs.

Check out this article I wrote about SP modding at the BC Wiki, it should have some insight.

http://bridgecommander.wikidot.com/single-player-modding

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #4 on: March 25, 2011, 09:44:11 PM »
Hmm... do you use BCUT to change the py file or open it yourself?  I opened it with wordpad but everything was a jumbled mess.

Offline eclipse74569

  • Roger Smith of the U.S.S. Lollypop, a good ship
  • Webmaster
  • Posts: 2240
  • Cookies: 65535
Re: Modded Ships in Campaign
« Reply #5 on: March 25, 2011, 09:54:45 PM »
Hmm... do you use BCUT to change the py file or open it yourself?  I opened it with wordpad but everything was a jumbled mess.

Are you sure that wasn't a PYC file???
Humankind cannot gain anything without first giving something in return, to obtain, something of equal value must be lost.  That is alchemy's first law of equivalent exchange.  In those days we really believed that to be the world's one and only truth~Alphonse Elric

Offline Morgan

  • Moderator
  • Posts: 1340
  • Cookies: 65535
Re: Modded Ships in Campaign
« Reply #6 on: March 25, 2011, 10:25:16 PM »
Hmm... do you use BCUT to change the py file or open it yourself?  I opened it with wordpad but everything was a jumbled mess.
That was likely a PYC file you opened.  For the ship file just use Notepad.  I'm not even sure if BCUT can open the ship files (I know it can do the hardpoints).  When you find the PY, go to its properties and set it to always open with Notepad, that way you can just double-click and have an easy reference for distinguishing PY's from PYC's.

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #7 on: March 25, 2011, 11:36:14 PM »
Oh yeah, that was definitely a PYC file lol

Offline Lurok91

  • Posts: 1309
  • Cookies: 2062
  • SPMod Developer (Retired)
    • Lurok91 Mods
Re: Modded Ships in Campaign
« Reply #8 on: March 25, 2011, 11:44:20 PM »
Realise this is an obvious one but what's worked for me - and is method currently using for SP Game Update -  is rather than link to new models,  have simply replaced  the stock models with new ones.  Avoids messing around with any scripts or PY files  :)

So for example, just delete the current Galaxy nif and textures,  and copy/paste DJ Galaxy nif and textures to the empty Galaxy folder.  Then rename DJGalaxy nif to Galaxy nif.  Voila  :) Most hardpoints I think have left as original as scalings usually ok,  but again easy enough to change or update. Using this method also avoids any ship name errors in Maelstrom scripts.  

Offline eclipse74569

  • Roger Smith of the U.S.S. Lollypop, a good ship
  • Webmaster
  • Posts: 2240
  • Cookies: 65535
Re: Modded Ships in Campaign
« Reply #9 on: March 26, 2011, 01:13:30 AM »
Realise this is an obvious one but what's worked for me - and is method currently using for SP Game Update -  is rather than link to new models,  have simply replaced  the stock models with new ones.  Avoids messing around with any scripts or PY files  :)

So for example, just delete the current Galaxy nif and textures,  and copy/paste DJ Galaxy nif and textures to the empty Galaxy folder.  Then rename DJGalaxy nif to Galaxy nif.  Voila  :) Most hardpoints I think have left as original as scalings usually ok,  but again easy enough to change or update. Using this method also avoids any ship name errors in Maelstrom scripts.  


Speaking of which Lurok, PMing you now!
Humankind cannot gain anything without first giving something in return, to obtain, something of equal value must be lost.  That is alchemy's first law of equivalent exchange.  In those days we really believed that to be the world's one and only truth~Alphonse Elric

Offline 086gf

  • Location: United Socialist States of America!
  • Posts: 1357
  • Cookies: 32
Re: Modded Ships in Campaign
« Reply #10 on: March 28, 2011, 02:16:15 PM »
Oh yeah, that was definitely a PYC file lol

And you've been here how long?;) lol
All hail the messiah!

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #11 on: June 17, 2011, 08:00:10 PM »
OK, So I did what Jimmy suggested and it semi-worked.  I managed to get DJ's USS Venture in game but when Picard gives me command of the ship it crashes.  I assume it has something to do with other mods like the Elite Force II Bridge Crew so I installed a second copy of the game and did the same thing, but the second copy doesn't get that far.  It crashes after I click campaign.

I'm not quite sure what's causing it.  Any suggestions?

EDIT: Ok, so I managed to fix the above problem.  For some reason it was saying "data/Models/Ships/DJValiant/DJVenture.nif" but I changed it and got it to work.  I played for a minute or so, going up to the part where you do a weapons test.  Everything worked fine and then the game crashed.  Now when I go into the game and click campaign it crashes from the start all over again.

It's really weird.

Offline DMWalsh79

  • Posts: 276
  • Cookies: 8
Re: Modded Ships in Campaign
« Reply #12 on: June 17, 2011, 11:02:37 PM »
Stoopid nOOb type question but did you make sure all the mods but stock ships and systems were turned off?

I have been able to get DJs Pegasus into single player by replacing both the ship script and the hardpoint.  However, now I only get as far as rescuing the Sov.  After that whenever I try to warp back to Vesuvi it my game crashes.
"Think where man's glory most begins and ends, And say my glory was I had such friends" W.B. Yeats

"When one is dealing with monsters, He must take care not to become one himself" - Friedrich Nietzsche

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #13 on: June 18, 2011, 12:11:01 AM »
I've messed with the mutators a bit, turning off mods/stock ships/stock planets and different variations of.  I've noticed that if I want to successfully start a campaign, I must first click on quick battle.  Once the quick battle loads up I can click on campaign and go from there.  But if I just click campaign from the start it will just instantly crash.

Offline DMWalsh79

  • Posts: 276
  • Cookies: 8
Re: Modded Ships in Campaign
« Reply #14 on: June 18, 2011, 11:51:36 PM »
are you using KM?  Trying to get a mental image of what you mean.  I'm using the newest version of KM and the closest thing I can think of is when you click Missions and it takes you to the selection screen for Campaign Episodes or QB OR Galaxy Charts.
"Think where man's glory most begins and ends, And say my glory was I had such friends" W.B. Yeats

"When one is dealing with monsters, He must take care not to become one himself" - Friedrich Nietzsche

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #15 on: June 19, 2011, 05:10:12 AM »
I don't have KM installed, although I might install it now.  There is no level selection screen or anything just Campaign and Quick Battle.

Offline Commander_One

  • Chief of Operations, USS Bo Jangles
  • Posts: 111
  • Cookies: 8
  • Peace and Long Life...Live Long and Prosper
Re: Modded Ships in Campaign
« Reply #16 on: June 19, 2011, 12:38:12 PM »
easy - just change the Galaxy.py in the scripts/ships folder (not hardpoint) to point to DJ Galaxy's data folder and hardpoint script...
that should do it, im thinking...

This always works for me.  Don't forget though, to actually rename the DJ galaxy py file to "Galaxy.py"   And defintely don't forget to delete the "galaxy.pyc" file.  ;)

Offline Nihilus

  • Posts: 407
  • Cookies: 14
Re: Modded Ships in Campaign
« Reply #17 on: June 19, 2011, 08:53:39 PM »
I've noticed that even with KM installed, the game will crash when I try to enter the Vesuvi system in Campaign.

Offline DMWalsh79

  • Posts: 276
  • Cookies: 8
Re: Modded Ships in Campaign
« Reply #18 on: June 19, 2011, 11:44:03 PM »
Yeah I just switched back to the default Galaxy and when I try to head back to Vesuvi after saving the Sov the game crashes.  Wonder what that's about.
"Think where man's glory most begins and ends, And say my glory was I had such friends" W.B. Yeats

"When one is dealing with monsters, He must take care not to become one himself" - Friedrich Nietzsche