Author Topic: Rearm/Repair Countdown Timer  (Read 3653 times)

0 Members and 1 Guest are viewing this topic.

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
Rearm/Repair Countdown Timer
This little build is in response to this thread: http://www.hard-light.net/forums/index.php/topic,36957.html

All thats new is when a support ship is docked with you, a countdown timer appears in the rearm box instead of the normal "rearming" or "repairing".  When this timer reaches zero, the repairs and rearming should theoretically be complete.  I've only tested it on secondaries, but i think my math is working for everything.  Someone try and break this.

Whoops forgot the $@*!ing build:

http://fs2source.warpcore.org/exes/phreak/fs2_open_rearmrep_112105.zip
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
Re: Rearm/Repair Countdown Timer
For all those who have downloaded it, i just realized that the release build i packaged doesn't have the functioning timer, the debug one works though.  I also found a bug where if you're rearming and the hud isn't being displayed then the timer doesn't count down.  That'll be fixed quickly, since i know whats going on.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
Re: Rearm/Repair Countdown Timer
Hmm, sounds good.

Backwards compatibility.
-C

 

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
Re: Rearm/Repair Countdown Timer
-rearm_timer command line parameter has been added.  Commiting to codebase since nobody bothered to test this :blah:
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Re: Rearm/Repair Countdown Timer
I tested it! :#  I guess it's a bit late to comment now, though...

Sometimes the timer calculates the time, and never counts down - ie, it would display 00:14:50, and stay on that until finished.

 

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
Re: Rearm/Repair Countdown Timer
in the release build i forgot to put in the statement to subtract off the time.  this should be in the newest cvs builds in total working order.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord