Author Topic: Tokamak Decay Rate  (Read 1750 times)

Offline Seal0486

  • Newbie
  • *
  • Posts: 12
Tokamak Decay Rate
« on: August 11, 2007, 06:34:23 PM »
Has any one Figured out the Decay Rate of tokamak?

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Tokamak Decay Rate
« Reply #1 on: August 12, 2007, 01:31:44 AM »
Yes, every 248 (= 0xF8) game ticks the damage to the tokamak is increased by 1. There are 100 ticks in a time mark.
 

Offline Seal0486

  • Newbie
  • *
  • Posts: 12
Tokamak Decay Rate
« Reply #2 on: August 12, 2007, 01:06:43 PM »
How can i change that or op2 bc i dont know what dll to edit

Offline Mcshay

  • Administrator
  • Sr. Member
  • *****
  • Posts: 404
Tokamak Decay Rate
« Reply #3 on: August 12, 2007, 02:53:33 PM »
Its not a dll you would edit, you would have to edit op2 itself. Or mabe the sheets. Plus it would cause game desyncs in multiplayer, I wouldn't do it.

PS: Stop posting that image, it takes up the whole screen and does nothing to further the conversation.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Tokamak Decay Rate
« Reply #4 on: August 12, 2007, 04:04:04 PM »
Removed the images from the posts. If you continue to post irrelevant screenshots / images you will have your image posting rights disabled.

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Tokamak Decay Rate
« Reply #5 on: August 12, 2007, 07:28:24 PM »
The constant is hardcoded into the executable. You'd need to do a code edit to change it.

The function is virtual though, so if you wanted to change the behavior you could also try replacing the function by writing your own, and editing the virtual function table to point to your function. That still requires an edit to the read only data section though, and it's a lot more work.

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Tokamak Decay Rate
« Reply #6 on: August 13, 2007, 05:07:42 AM »
Shame its not in the sheets. The morale stuff can be edited from the sheets which is nice.