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
{{ message }}
This repository was archived by the owner on Feb 17, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+41-1Lines changed: 41 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,16 @@ item_utils:
39
39
x: 1
40
40
y: 0.25
41
41
z: 1
42
+
modified logicer:
43
+
affected_items:
44
+
- GunLogicer
45
+
modified_attachments:
46
+
None:
47
+
DamageMultiplier: 1.01
48
+
HipInaccuracyMultiplier: 1.05
42
49
debug_mode: false
43
50
```
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.
45
52
46
53
Also note that since the `flat_item` modifier is declared after `health_increaser`, `flat_item` has "higher priority".
47
54
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
68
75
|removed_permissions|Keycards|List of permissions the card will lose|List\<KeycardPermission>|[ ]|
69
76
|needs_ammo|Guns|Determines whether the gun needs ammo to fire|Boolean|true|
70
77
|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>>|{ }
71
79
|effect_duration_multi|Grenades|Affects how long the effects of a grenade will last on a player|float|1|
72
80
|fuse_time_multi|Grenades|Affects the fuse time of a grenade|float|1|
73
81
|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
80
88
Last updated 2/25 22:02, Feel free to suggest additional ones.
81
89
82
90
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.
0 commit comments