You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,22 @@ This plugin is made to run alongside B3none's retakes implementation: https://gi
26
26
-`mp_afterroundmoney 65535`
27
27
- More info about this in the "Buy Menu" section below
28
28
29
+
## Game Data/Signatures (Optional Information)
30
+
This section is optional. If you dont care, you can skip it. The defaults are fine.
31
+
32
+
This plugin relies on some function signatures that:
33
+
- Regularly break with game updates:
34
+
-`GetCSWeaponDataFromKey`
35
+
-`CCSPlayer_ItemServices_CanAcquire`
36
+
- Are not included in the default CS# signatures:
37
+
-`GiveNamedItem2`
38
+
39
+
Custom game data signatures are maintained in https://github.com/yonilerner/cs2-retakes-allocator/blob/main/Resources/RetakesAllocator_gamedata.json. There are a few ways to keep these up to date:
40
+
- If you want the plugin to automatically download the signatures, you can do so by running the plugin with the `AutoUpdateSignatures` config set to `true`. **This is the recommended approach**. See more below in the "Configuration" section.
41
+
- If you want to manually download the signatures, you can do so by downloading the `RetakesAllocator_gamedata.json` file from Github and placing it in the `RetakesAllocator/gamedata` folder in the plugin. You may have to create that folder if it does not exist.
42
+
43
+
If you do not want to use any custom game data/signatures, you can disable `AutoUpdateSignatures` and `CapabilityWeaponPaints`. If you do this (and if you previously had downloaded custom game data, make sure to delete the `RetakesAllocator/gamedata/RetakesAllocator_gamedata.json` file), the plugin will fallback to using the default CS# signatures. See more below in the "Configuration" section.
44
+
29
45
## Usage
30
46
31
47
### Round Types
@@ -311,6 +327,8 @@ room for it*.
311
327
-`UseOnTickFeatures`: Set to false if you want better performance and dont want any OnTick features, including:
312
328
- Bombsite center announcement
313
329
- Advanced gun menu
330
+
-`AutoUpdateSignatures `: When true, the plugin will always try to download the latest custom game data/signatures on startup. A game server restart may be required to apply the new signatures after they have been downloaded. If this is disabled, the plugin will fallback to using the default CS# game data/signatures.
331
+
-`CapabilityWeaponPaints`: When true, will try to use the custom game data `GiveNamedItem2` that will maintain weapon paints in non-standard situations. This is enabled by default for backwards compatibility, but is less stable. If this option is enabled, `AutoUpdateSignatures` should also be enabled. If you dont want to use `AutoUpdateSignatures`, at least ensure that the custom game data/signatures are updated correctly, since this `GiveNamedItem2` is not in the default game data/signatures.
0 commit comments