Author Topic: Modding Inaccurate Phasers (KM)  (Read 1260 times)

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Modding Inaccurate Phasers (KM)
« 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?

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Modding Inaccurate Phasers (KM)
« Reply #1 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

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Modding Inaccurate Phasers (KM)
« Reply #2 on: March 14, 2009, 12:37:16 PM »
If you look 16 lines down from where you found those 2 lines. ;)
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 JimmyB76

  • Posts: 6423
  • Cookies: 421
Modding Inaccurate Phasers (KM)
« Reply #3 on: September 20, 2021, 03:00:25 PM »
bumped for easier future reference...