Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Commit 50ac38a

Browse files
committed
2 parents cbbd819 + a7a2b6e commit 50ac38a

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,16 @@ item_utils:
3939
x: 1
4040
y: 0.25
4141
z: 1
42+
modified logicer:
43+
affected_items:
44+
- GunLogicer
45+
modified_attachments:
46+
None:
47+
DamageMultiplier: 1.01
48+
HipInaccuracyMultiplier: 1.05
4249
debug_mode: false
4350
```
44-
Note how the flat_item modifier affects the item "None". This inversely represents ALL items, so use this to affect attributes of all items simultaneously.
51+
Note how the flat_item modifier affects the item "None". This inversely represents ALL items, so use this to affect attributes of all items simultaneously. This is also true for attachments: using None as the modifier name will affect the default gun's stats regardless of the attachments on it.
4552
4653
Also note that since the `flat_item` modifier is declared after `health_increaser`, `flat_item` has "higher priority".
4754
This is important because the modifier with the higher priority will take effect LAST.
@@ -68,6 +75,7 @@ NOTE: Many properties require specific pre-defined values, like the names of typ
6875
|removed_permissions|Keycards|List of permissions the card will lose|List\<KeycardPermission>|[ ]|
6976
|needs_ammo|Guns|Determines whether the gun needs ammo to fire|Boolean|true|
7077
|can_disarm|Guns|Determines whether the gun can be used to disarm someone|Boolean|true|
78+
|modified_attachments|Guns|A list of modified attachments the gun will have. See the config above for an example|Dictionary<AttachmentNameTranslation, Dictionary<AttachmentParam, float>>|{ }
7179
|effect_duration_multi|Grenades|Affects how long the effects of a grenade will last on a player|float|1|
7280
|fuse_time_multi|Grenades|Affects the fuse time of a grenade|float|1|
7381
|ammo_limit_multis|Armors|Affects the ammo limits of a type of armor (currently unavailable due to client side checks)|Dictionary<AmmoType, float>|{ }|
@@ -80,3 +88,35 @@ NOTE: Many properties require specific pre-defined values, like the names of typ
8088
Last updated 2/25 22:02, Feel free to suggest additional ones.
8189

8290
Possibly more coming soon<sup>TM</sup>...
91+
92+
# Attachments
93+
Version 1.2 brings modifiable attachments. MANY modifiers/parameters are NOT able to be affected, like the zoom/speed/loudness, but things like recoil/inaccuracy/damage are.
94+
95+
See below for a list of modifiable attachment attributes.
96+
97+
NOTE: if an attachment already affects that specific modifier, it's value will be changed, not completely replaced.
98+
Not all of the values are directly multiplied; Running the plugin with debug mode enabled lets you see how the values are changed.
99+
100+
### Attachment Modifiers (AttachmentParam)
101+
102+
```yaml
103+
AdsZoomMultiplier
104+
AdsMouseSensitivityMultiplier
105+
DamageMultiplier
106+
PenetrationMultiplier
107+
FireRateMultiplier
108+
OverallRecoilMultiplier
109+
AdsRecoilMultiplier
110+
BulletInaccuracyMultiplier
111+
HipInaccuracyMultiplier
112+
AdsInaccuracyMultiplier
113+
DrawSpeedMultiplier
114+
GunshotLoudnessMultiplier
115+
MagazineCapacityModifier
116+
DrawTimeModifier
117+
ReloadTimeModifier
118+
ShotClipIdOverride
119+
AdsSpeedMultiplier
120+
SpreadMultiplier
121+
SpreadPredictability
122+
```

0 commit comments

Comments
 (0)