Melee weapon recovery time cap
-
- Leprechaun
- Posts: 36
- Joined: 18 Dec 2018
Melee weapon recovery time cap
Hey all, is there a way to lower the 30ms cap on melee recovery time?
Re: Melee weapon recovery time cap
I think so, but which game? If MM7, I can give you the addresses for the 30 constant.
Re: Melee weapon recovery time cap
Just to be clear - 30 milliseconds is 33 attacks per second. Why, precisely, are we trying to get that even lower?
Re: Melee weapon recovery time cap
Newest MMExtension (from repo), Game.MinMeleeRecoveryTimerotalihinna wrote: ↑07 Sep 2022, 15:04 Hey all, is there a way to lower the 30ms cap on melee recovery time?
Because it is not 30 ms actually? If you want some numbers, (for MM8 turn-based mode) it is 1.0 * recovery * 2.13333 time units (256 units == 60 in-game seconds). I.e. 30 recovery is 15 in-game seconds if I didn't fail somewhere.raekuul wrote: Just to be clear - 30 milliseconds is 33 attacks per second. Why, precisely, are we trying to get that even lower?
-
- Leprechaun
- Posts: 36
- Joined: 18 Dec 2018
Re: Melee weapon recovery time cap
Thank you! And this was for MM7, will the MMextension variable work?
-
- Leprechaun
- Posts: 36
- Joined: 18 Dec 2018
Re: Melee weapon recovery time cap
And I think 30 recovery is not 15 in game seconds - that would be too slow
Re: Melee weapon recovery time cap
Turn-based mode treats time weirdly (and at least in MM7 it seems to be buggy sometimes), it's better to recall that one in-game minute is about two real seconds and 100 recovery is one minute, so 30 would be about 0.6 seconds. And it seems that MMExt is steadily putting me out of job, ha ha. It's not the first time I'm reinventing the wheel with some hooks or constants; I need to check the git out more often.
EDIT: oh wait, ingame seconds. Then 18. Again, it might actually be 15 in TB, there are definitely some conversion errors regarding recovery there.
EDIT: oh wait, ingame seconds. Then 18. Again, it might actually be 15 in TB, there are definitely some conversion errors regarding recovery there.
Re: Melee weapon recovery time cap
Yes, you just need to install newest MMExtension (follow the instructions at the bottom). Or make use of addresses Tomsod offered to give you, but that's much harder I think.rotalihinna wrote: ↑08 Sep 2022, 16:39 Thank you! And this was for MM7, will the MMextension variable work?
in-game seconds. In-game minute lasts at most 3-4 real life seconds.rotalihinna wrote: ↑08 Sep 2022, 16:41 And I think 30 recovery is not 15 in game seconds - that would be too slow
Unfinished mod by me: MM7 Rev4 mod, MMMerge version.
Re: Melee weapon recovery time cap
I would've probably just provided an MMExt script, so it'd be basically the same. Not much point if there's already an interface, though.
-
- Leprechaun
- Posts: 36
- Joined: 18 Dec 2018
Re: Melee weapon recovery time cap
Thanks to all of you, I was able to get the limit down! However, it looks like there's some sort of hard limit at 4 - even if I set the variable to 1, I can't get the recovery lower than 4 in the game no matter what.
Who is online
Users browsing this forum: dru_lya, Semrush [Bot] and 3 guests