feat: Add option to bypass initial upgraded special power reload time - #3054
feat: Add option to bypass initial upgraded special power reload time#3054Stubbjax wants to merge 4 commits into
Conversation
|
If |
|
This would change the behavior between retail / older versions and newer versions given an INI file that has this new field, correct? Is this desirable without any macro around it? |
|
Can add RETAIL_COMPATIBLE_CRC yes. |
If
In what situation? If a retail build tries to use this field then the client will crash. |
Using two local instances, one without this change and one with it, there could be a mismatch, correct? |
Is that not the case for any other deviation in INI data between two clients? |
|
The INI file(s) would be the same for both instances, so it's not like any other deviation in the INI data. |
So the INI is the same but the build is different? |
Yes. There would be a discrepancy how the INI file is interpreted between the different builds. I don't think it's a good idea to do that without a retail compatibility macro and perhaps a new macro. |
|
I think we've dealt with a similar situation before: link. |
Yes, and will that reload after unit creation or not? Player builds Helix, clicks it: does it need to reload the Bomb first or can it be used straight away? |
That's a good point. I have moved the field to the |
This change adds a
HasInitialReloadTimefield to theSpecialAbilitymodule. When assigned a value ofNO, the special power does not have to await itsReloadTimewhen it is first enabled.Usage:
Before
The Helix's Napalm Bomb must always await its 10-second reload time after the upgrade completes
BEFORE.mp4
After
With
HasInitialReloadTime = NO, the Helix's Napalm Bomb can be used as soon as the upgrade completesAFTER.mp4