Author Topic: Weapon recharge time  (Read 1893 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Just a small question. Can the time of the primary weapon recharge (0 to 100%) be altered ?  I changed the "$power output" value, but to no effect (or is this only for the afterburner) ?

Thanks in advance for any insights :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
power output doesnt do anything, you can just omit it from your entries. just tweak the fire wait.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Power output does nothing and will probably never do anything to maintain backwards compatibility.
-C

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
I'm pretty sure power output does something... we experimented with it in TVWP.  I'm pretty sure removing it prevents ETS stuff from recharging.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Yeah, sure, make me open up the code... :p

Yes, if power output is less than or equal to 0, there are effects (ie subsys autorepair is disabled). But the code just checks that conditional, it doesn't seem to actually use the value for anything.
-C

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
just tweak the fire wait.

That would not help me in this matter. What I want to do is to create feature I always hate in WingCommander, namely "drained gunpower" :) . Technically each fighter has two or more guns, one weak and one powerful. Firing salvos will quickly drain your power, and then only the light weapon with less energy usage fires. While fighting capitalships you are forced to withdraw to recharge your guns.

While I was able to recreate that pretty good, I find it really disturbing that it takes 20 or more seconds to get the gunpower back to 100%. Therefore I want the recharge rate increased. Am I right, that I would have to make another code-request for that ?
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
$Max Oclk Speed:
$Max Weapon Eng:

IIRC, one of these 2 figures will accomplish what you want (I think the first one has to do with how fast your weapon energy regenerates).
The Trivial Psychic Strikes Again!

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Nope. Changing both values doesn't has an effect to the recharge time (But I really wonder what this "oclk" is for). It looks like that the "%- recharge per second" is hardcoded, so it is the same recharge time no matter how many weapon-energy the fighter has.
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
damn it, $Max Oclk Speed: is how fast you can go when full power is diverted to engines and $Max Weapon Eng: is simply the max charge in your weapon battery.

and i thought we reached a consensus as to what power output did, and that consensus is nil. now you guys are saying it does something, bah. :D

now i wouldnt mind having variables that determine shield and weapon charge rate.
« Last Edit: December 10, 2005, 02:08:28 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
It looks like that the "%- recharge per second" is hardcoded, so it is the same recharge time no matter how many weapon-energy the fighter has.

Yeah, I just looked.  It's hard coded at four percent per second.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
i smell the energy recharge rate as a table entry someime in the very near future.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
i smell the energy recharge rate as a table entry someime in the very near future.

Prays that this will happen before WCS releases the prologue-campaign  :D
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.