TransphasicPlasmaTorp.py -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 11 years ago

I apologize for the double posting, my browser messed up.

I've recently installed this ship: http://bridgecommander.filefront.com/file/Modified_Armoured_Voyager;62885

It's great, and works wonderfully in every way, except for the transphasic torpedo. When I fire any other type of torpedo this ship has it works fine, but when I select T_Plasma and fire, the game crashes. I have all of its requirements installed.

The error message which comes up says:

File "\Scripts\Tactical\Projectiles\TransphasicPlasmaTorp.py", line 16, in Create

pTorp.SetNetType AttributeError: QUANTUMTORPEDO >>>

Can anyone help me fix this?




JimmyB76 Filer

ST: Bridge Commander Central Forums Admin

30,799 XP

19th March 2003

0 Uploads

2,860 Posts

84 Threads

#2 11 years ago

open the torp script (located in scripts/tactical/projectiles) - the py, and look for where it says:

pTorp.SetNetType

change QUANTUMTORPEDO to just QUANTUM

(so it appears as: pTorp.SetNetType(Multiplayer.SpeciesToTorp.QUANTUM)

that should do the trick...




Guest

I didn't make it!

0 XP

 
#3 11 years ago

Wow thanks. Just one question, how do I open the script to make that syntax change? Perhaps there's a program I don't have, or one that I should use?




JimmyB76 Filer

ST: Bridge Commander Central Forums Admin

30,799 XP

19th March 2003

0 Uploads

2,860 Posts

84 Threads

#4 11 years ago

open the PY with notepad... and delete the PYC when you're done... but be sure to make a backup of the PY before you make any changes to it, it is a good habit to get into :)