Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: samourai23 on 2018-01-14 15:48:39

Title: Changing Vincent’s Ultimate Weapon’s formula
Post by: samourai23 on 2018-01-14 15:48:39
Hello, I’d like the formula for Vincent’s Ultima weapon to be changed.

The original formula is :

[((Enemies killed by Vincent)/128)+10]/16

Well I would like the damage gain to be 8 times faster, so that the increase is actually visible if I were to play the game from beginning to end.

So basically I want the formula to become :

[((Enemies killed by Vincent)/16)+10]/16

But I’d like that formula to be changed for any weapon that would use that formula (modded with WallMarket)


Can someone help ?


Thank you very much ! :)
Title: Re: Changing Vincent’s Ultimate Weapon’s formula
Post by: nfitc1 on 2018-01-16 03:58:19
In a hex editor change

Code: [Select]
0x1DC929   07  ->  04
That byte controls the divisor to the enemy kill count in powers of 2. ( divisor = 2 ^ X )
Title: Re: Changing Vincent’s Ultimate Weapon’s formula
Post by: samourai23 on 2018-01-16 14:37:54
Thank you very much !

 :D ;D
Title: Re: Changing Vincent’s Ultimate Weapon’s formula
Post by: Chrysalis on 2018-02-04 14:53:57
thanks, this line is correct for HEXT_in?

1DC929  = 04