Author Topic: Porting Ship. (Script BSOD problems) July 31.  (Read 2967 times)

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Porting Ship. (Script BSOD problems) July 31.
« on: July 28, 2008, 09:15:22 AM »
Right, I'm porting a ship from Legacy to BC.
For my first attempt, everything went fine.
But now the scripting part gets lame.
I get BSOD at start-up, (added pic of console)
I think the answer is simple, but I cant find the solution..

~

Offline USS Frontier

  • Posts: 176
  • Cookies: 562
Re: Porting Ship.
« Reply #1 on: July 28, 2008, 09:59:23 AM »
You have typed
Code: [Select]
Foundation.ShipDef.'MiniOps.desc = 'USS MiniOps - MiniOps Class'
Take that quote (') from the name of your shipdef variable.
It should be like this:
Code: [Select]
Foundation.ShipDef.MiniOps.desc = 'USS MiniOps - MiniOps Class'
"Revenge is a dish best served cold"
                    -Old Klingon Proverb
GravityFX Download
Galaxy Charts Download

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship.
« Reply #2 on: July 28, 2008, 12:16:51 PM »
Thanks, sorry for this, but sometimes I just cant see the smallest thing..
it worked now, but it's crashing ingame.
Believe it has to do with MPE, I'll post later if I cant figure it out.

~

Offline Villain

  • Posts: 1480
  • Cookies: 71
  • The artist formerly known as Prime
Re: Porting Ship.
« Reply #3 on: July 28, 2008, 12:25:54 PM »
It usually is something tiny with Python, I'm learning. :) Though I've never heard of this "MiniOps" class, that's probably because I'm not a fan of Legacy. Are you planning on releasing this? Or is this just a personal mod?


"The design is clearly ancient... Launched hundreds of thousands of years ago."

Quote from: JimmyB76
der-ner-ner-ner-ner ..... der-ner-ner-ner-ner .....
---
Quote from: Rick Sternbach, on the topic of the Galor Class' length
...Probably not, but the number I get(379.6m) could be considered ?original intent,? a term that I think I will be using from now on, and ?canon? be damned.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship.
« Reply #4 on: July 28, 2008, 06:02:57 PM »
From a python perspective, BC is quite sturdy, generally speaking only projectiles can "crash" BC, but most of the tiny errors result in a black screen.
Otherwise it isn't a "tiny" error, but a big API missinterpretation (which isn't anyones fault in this case). ;)


So, the question is, is it crashing on a projectile firing, or does the hp not select the "scene root" node, or didn't you include viewpoints (forgot the name)?
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship.
« Reply #5 on: July 29, 2008, 04:32:13 PM »
Well after a close look in MPE, I noticed all the ship systems were gone.
So, I picked a new HP from bc-files, and Is is working ingame.
2more problems showed up;
- it's one glowing ship (familliar with that -> forgot Alpha layers)
- Even for a Nebula class with 5 naccles, it should not be bigger than a Borg Cube lol!

But thats more for BC modding I believe.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship.
« Reply #6 on: July 30, 2008, 09:24:10 PM »
Right I was porting another ship,
And wanted to give it "engine overload"
I started game, and got BSOD. I looked at Console, and was like  :shock:. Because I cant get a clue.
I removed Engine Overload, but it still happens.

~

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #7 on: July 31, 2008, 05:41:52 AM »
Please put up the ship def file you were working on.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #8 on: July 31, 2008, 05:58:37 AM »
I put up the entire script folder.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #9 on: July 31, 2008, 06:01:29 AM »
This ought to do it.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #10 on: July 31, 2008, 06:20:04 AM »
Thanks, I got it ingame now.
now I need to figure out, how to let the phasers fire from the ship instead od 10km of the port nacelleXD

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #11 on: July 31, 2008, 06:21:47 AM »
Don't forget to set the scale in MPE, to something like 0.01 if memory serves me right.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #12 on: July 31, 2008, 07:17:22 AM »
Yup 0.01. But it has that scale. So I'm stuck for the moment.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #13 on: July 31, 2008, 07:30:09 AM »
You better ask a real hper.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Voyager16

  • Modding is improving.
  • Posts: 310
  • Cookies: 9
  • KM - Mod Team Member
Re: Porting Ship. Scaling/position problem- July 31.
« Reply #14 on: July 31, 2008, 09:19:38 AM »
Right, I need some help here.

- The ship I ported from Legacy, has the size of 2borg cubes. (and it's a Nebula class)...
  When Looking at MPE, it says model scale 0.01. That is good, but it still is huge ingame.

-I have modded an other vessel, but when playing, you see the lights (the red and green lights etc) next to the ship.
  If I fire a phaser, the same thing happens, 10km of the naccle or something. and when fireing a torpedo, you see
  the launch glow, also next to the ship.
  How can I fix this?

I wanted to look at the MPE thread at BCU, but the forums are down apperntly..


Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Porting Ship. (Script BSOD problems) July 31.
« Reply #15 on: July 31, 2008, 09:34:19 AM »
Well, scaling in MPE will only affect hardpoint placements, not model size.
You will have to re-export the ship after the proper scaling.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.