FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   ST:BC Modding and Editing (http://forums.filefront.com/st-bc-modding-editing-14/)
-   -   transphasic torpedo mod (http://forums.filefront.com/st-bc-modding-editing/7673-transphasic-torpedo-mod.html)

mattdawolf August 28th, 2002 06:19 PM

transphasic torpedo mod
 
Is this transphasic torpedo mod supposed to be separate or replace all the quantam torpedos?

dharbert August 28th, 2002 06:30 PM

It's separate. You can have both quantums and transphasic torpedoes on the same ship.

dharbert August 28th, 2002 06:33 PM

Here is a quote from the file on BCFiles:

if you want to make this your 2 or 3 torpedo on that ship just make some little changes like this

Topedo.SetMaxTorpedoes(0, 265)
Topedo.SetTorpedoScript(0, "Tactical.Projectiles.Photon")
Topedo.SetMaxTorpedoes(1, 60)
Topedo.SetTorpedoScript(1, "Tactical.Projectiles.Quantum")
Topedo.SetMaxTorpedoes(2, 30)
Topedo.SetTorpedoScript(2, "Tactical.Projectiles.Transphasic")
Topedo.SetNumAmmoTypes(3)
App.g_kModelPropertyManager.RegisterLocalTemplate( Topedo)

and that will give you 3 different torpedos on one ship.

So, you can have normal photons, quantums and transphasics on the same ship. :)

mattdawolf August 28th, 2002 07:18 PM

where and how do I make this mod?

L.T Craig August 29th, 2002 10:44 AM

HUH
 
Ok so i whould need 2 do

Topedo.SetMaxTorpedoes(0, 265)
Topedo.SetTorpedoScript(0, "Tactical.Projectiles.Photon")
Topedo.SetMaxTorpedoes(1, 60)
Topedo.SetTorpedoScript(1, "Tactical.Projectiles.Quantum")
Topedo.SetMaxTorpedoes(2, 30)
Topedo.SetTorpedoScript(2, "Tactical.Projectiles.Transphasic")
Topedo.SetNumAmmoTypes(3)
App.g_kModelPropertyManager.RegisterLocalTemplate( Topedo

well wer do i find the text 2 do that?
plz help i dpont have a clue!

dharbert September 1st, 2002 12:16 PM

Lets say, for example, that you wanted to add them to a Sovereign class ship. Just find the following lines in your sovereign.py file.

Torpedoes = App.TorpedoSystemProperty_Create("Torpedoes")

Torpedoes.SetMaxCondition(6000.000000)
Torpedoes.SetCritical(0)
Torpedoes.SetTargetable(0)
Torpedoes.SetPrimary(1)
Torpedoes.SetPosition(0.000000, 0.000000, -0.100000)
Torpedoes.SetPosition2D(73.000000, 55.000000)
Torpedoes.SetRepairComplexity(3.000000)
Torpedoes.SetDisabledPercentage(0.750000)
Torpedoes.SetRadius(0.250000)
Torpedoes.SetNormalPowerPerSecond(150.000000)
Torpedoes.SetWeaponSystemType(Torpedoes.WST_TORPED O)
Torpedoes.SetSingleFire(0)
Torpedoes.SetAimedWeapon(1)
kFiringChainString = App.TGString()
kFiringChainString.SetString("0;Single;123;Dual;53 ;Quad")
Torpedoes.SetFiringChainString(kFiringChainString)
Torpedoes.SetMaxTorpedoes(0, 200)
Torpedoes.SetTorpedoScript(0, "Tactical.Projectiles.PhotonTorpedo2")
Torpedoes.SetMaxTorpedoes(1, 60)
Torpedoes.SetTorpedoScript(1, "Tactical.Projectiles.QuantumTorpedo")
Torpedoes.SetMaxTorpedoes(2, 0)
Torpedoes.SetTorpedoScript(2, "Tactical.Projectiles.Transphasic")
Torpedoes.SetNumAmmoTypes(3)
App.g_kModelPropertyManager.RegisterLocalTemplate( Torpedoes)

Lammertyn Ken September 2nd, 2002 04:31 PM

OK, I hope you're the person I've been looking for, I can't read the Hardpoint files like you can I think, I opened them with: Wordpad, Notepad and MS Word. And every time I only get the typical screen you get when you try to read a new Word document on an older version of MS Word, that is: squares,strange letters and here and there a piece of text you can read.
My question now: What program should I use to open those py and pyc files in the Hardpoints so I can read and modify them?
Please answer quickly!!!

Thank you a thousand times in advance!!!

dharbert September 2nd, 2002 05:43 PM

You can't correctly read or modify the .pyc files. These are Python scripts that have been compiled by Bridge Commander. If you want to do any modifications to the game then you need to download the SDK. You can get it here:

http://www.bcfiles.com/file.info?ID=2455

The SDK contains .py files that CAN be read and modified by notepad. That's what I use to edit them.

Hope this helps. :)

Kaschparl September 3rd, 2002 12:54 AM

You can decompyle your .pyc files, too. You need the python program and the decompyling algorythm. Or go to http://startrek.webhop.info/decompyler.html. It's in German and didn't tried but I think it works. There you decompyle you files online. Just load your .pyc file and you will get the decompyled file.



Greetings from Germany

Akira Toriyama September 4th, 2002 08:53 AM

U Forgot Something
 
ok the first thing is the fackt that u have to edit the quick battle.py file to support the 3 torp types,i have already made one and will give it to u after while if not u will only get one torp torp type and that wouldsuck
the second thing is the fact that the py files are case sensitive if u do spell any thing wrong or forget a capitol letter it will show the afore mentioned problem


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.