Bridge Commander Central

BC Forums => BC Scripting => Topic started by: vonfrank on March 13, 2009, 07:22:35 PM

Title: Modding Inaccurate Phasers (KM)
Post by: vonfrank on March 13, 2009, 07:22:35 PM
I like the inaccurate phaser mod that is included with KM1.0 but i think that they are a little to inaccurate.

is ther some way to make them be a little more accurate than they currently are?
Title: Modding Inaccurate Phasers (KM)
Post by: vonfrank on March 13, 2009, 08:27:44 PM
well actually i just found how to modify this


in your main scripts directory there is a file called "FoundationTech" and in it there is a section that controls this, here it is

   if fAngleDiff < 0.0:      fAngleDiff = fAngleDiff * -2.5
   else:                  fAngleDiff = fAngleDiff * 2.5


the bolded and underlined numbers are what i changed to set the hit ratio. the lower the number, the more likely the phasers will hit the ship (the default was 5.0 for both)


i kind of solved my own problem, but thanks for your imput... i didn't know that sensors directly influenced the hit chance :D
Title: Modding Inaccurate Phasers (KM)
Post by: MLeo on March 14, 2009, 12:37:16 PM
If you look 16 lines down from where you found those 2 lines. ;)
Title: Modding Inaccurate Phasers (KM)
Post by: JimmyB76 on September 20, 2021, 03:00:25 PM
bumped for easier future reference...