Author Topic: weapons energy recharge rate.  (Read 1327 times)

0 Members and 1 Guest are viewing this topic.

Offline slappy

  • 22
weapons energy recharge rate.
Hi guys
           I'm new around here so I have a good old noob question regarding setting the weapons energy recharge rate in the ships table. Problem is I would like it to be much slower than I can seem to get it
I.e. about 5 Min's from empty to full. Any help on this would be gratefully appreciated.
         Cheers

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: weapons energy recharge rate.
Hi and welcome to the forum, im sure a mod or admin will give you the full works in a moment

have you looked in the wiki it is a very usefull source of information and looking thoough it though time consuming will answer most questions
you want this http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Weapon_Regeneration_Rate:
from the modding section
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline slappy

  • 22
Re: weapons energy recharge rate.
Yeah I seen that its just no matter how small a number I put in I can get it any where near long enough for what I am trying to achieve.Tnx for the reply

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: weapons energy recharge rate.
Are you seeing changes at all?  There may be a lower limit to how slowly it will actually recharge due to how it's set up.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: weapons energy recharge rate.
Hmm. Doing the math, a recharge rate of 0.0034 should do the trick....

And tracing through the code, it should work.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline slappy

  • 22
Re: weapons energy recharge rate.
Yay tnx man that's got it!!! Now I'm just wondering if you could explane the math involved so I can tweak it to other ships without to much of trial and error.
           cheers
Noobs Ehh  :)

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: weapons energy recharge rate.
Simple. As explained on the wiki, the $Recharge rate rating is the percentage of primary energy recovered every second if full power is given to weapons recharge. A value of 1 would mean that it would take 1 second to fully restore primary weapons energy. The default value of 0.04 means that every second, 4 % of weapons energy are restored, which in turn means that it would take 25 seconds to restore primary energy from 0.

So, to get the desired value, you need to divide 1 by the amount of seconds the restoration should take (in this case, 300).
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline slappy

  • 22
Re: weapons energy recharge rate.
Ahh simples, tnx again and be ready for more stupid questions :D