Author Topic: Problem with the DW Klingon Ship Pack Crashing to Desktop  (Read 1703 times)

Offline serverandenforcer

  • Frustrated and Strugling Modeler
  • Posts: 354
  • Cookies: 270
Problem with the DW Klingon Ship Pack Crashing to Desktop
« on: September 06, 2007, 01:02:01 PM »
Don't know if this was already a posted issue or not (I did try to use the search).  Anyways, BC crashes to desk top whenever I play against or use any of the DW Klingon ships  from the ship pack.  At first, it was because of the torpedos that they were using because the ships wouldn't be able to fire the torpedos and would instantly crash to the desktop when I tried to fire them.  So I changed them out to a different torpedo script.  However, the problem happened again when I would try to fire the disruptors.  Nothing would fire from the ship, and, again, the game would crash to the desktop.  Now I don't know how to solve the problem with disruptors.  So I'm hoping someone here does know how.  Here is a copy of the disruptor script for the Vorcha (this problem is current for every ship in the DW Klingon Pack)...

DisruptorCannons = App.WeaponSystemProperty_Create("Disruptor Cannons")

DisruptorCannons.SetMaxCondition(5200.000000)
DisruptorCannons.SetCritical(0)
DisruptorCannons.SetTargetable(0)
DisruptorCannons.SetPrimary(1)
DisruptorCannons.SetPosition(0.000000, -0.296443, 0.000000)
DisruptorCannons.SetPosition2D(17.000000, 76.000000)
DisruptorCannons.SetRepairComplexity(1.000000)
DisruptorCannons.SetDisabledPercentage(0.250000)
DisruptorCannons.SetRadius(0.100000)
DisruptorCannons.SetNormalPowerPerSecond(400.000000)
DisruptorCannons.SetWeaponSystemType(DisruptorCannons.WST_PULSE)
DisruptorCannons.SetSingleFire(1)
DisruptorCannons.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
DisruptorCannons.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(DisruptorCannons)

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Problem with the DW Klingon Ship Pack Crashing to Desktop
« Reply #1 on: September 06, 2007, 01:08:54 PM »
Mostlikely?

A projectile file is missing.
It doesn't matter if it's the torpedoes or disruptors, both will cause a crash if a projectile file is missing.
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 serverandenforcer

  • Frustrated and Strugling Modeler
  • Posts: 354
  • Cookies: 270
Re: Problem with the DW Klingon Ship Pack Crashing to Desktop
« Reply #2 on: September 06, 2007, 01:15:22 PM »
Well, like I said with the torpedo, when I tried to fire them, the game would instantly crashed.  After I changed it out with a different projectile file, it worked.  But when I tried to fire the disruptors, it would crash again.  I just don't know what in the disruptors would be the projectile file.  Don't even know if I'm looking at the right spot in the HP script.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Problem with the DW Klingon Ship Pack Crashing to Desktop
« Reply #3 on: September 06, 2007, 01:19:37 PM »
You aren't actually, you need to look at the individual pulse weapon entries and check the projectiles.

I find it also likely that you are just missing a requirement.
Could you give me a link to the mod please?
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 serverandenforcer

  • Frustrated and Strugling Modeler
  • Posts: 354
  • Cookies: 270
Re: Problem with the DW Klingon Ship Pack Crashing to Desktop
« Reply #4 on: September 06, 2007, 01:22:20 PM »
I found the problem, and the requirement.  Didn't dawn on me to check the individual cannons themselves.  I thought it was setup the same way as torpedos were.  Problem solved.  I feel dumb now for posting this.  Dur ta dur.  OH, heres that link.... http://bridgecommander.filefront.com/file/Dominion_Wars_Klingon_Ship_Pack;38982

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Problem with the DW Klingon Ship Pack Crashing to Desktop
« Reply #5 on: September 06, 2007, 01:23:46 PM »
It's the last requirement that does it. ;)
You better replace your modified hp with the original one as well.
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.