Custom Lunchbox Effects - nosoop/SM-TFCustomAttributeStarterPack GitHub Wiki
These are the custom lunchbox effects available in this pack.
The names are used as the values for the custom lunchbox effect
attribute specified in the Custom Attribute List, and they may optionally have another attribute to control its properties.
Example(s):
- To use
sugar frenzy
, you must set the attributes as follows:custom lunchbox effect
must be set tosugar frenzy
sugar frenzy drink properties
must be set to a string matching the formduration=10 mult_postfiredelay=0.75
.
custom_lunchbox_effect.smx
must be running in addition to the providing plugins below.
sugar frenzy
- Gives the user a modified firing rate, a modified reload rate, and a modified move speed for a given duration.
- Provides an attribute
sugar frenzy drink properties
, which is a varstring with the following options:duration
is the amount of time the buff is applied.mult_postfiredelay
determines the delay between attacks while buffed.mult_reload_time
determines the duration of each reload sequence while buffed.mult_movespeed
determines the player's move speed while buffed.
- Requested by Karma Charger and used in his Bonk! Sugar Frenzy video.
mod crit chance
- Applies a modified crit chance to the user for a given duration. Internally, this applies an instance of the
mult_crit_chance
attribute class. In all honesty, I find it hard to tell the difference myself, at least not without some dumb hacks to tweak the crit handling. - Provides an attribute
mod crit chance lunch properties
, which is a varstring with the following options:duration
is the amount of time the buff is applied.scale
is the crit modifier. Better have a good understanding of how random crits work!
- Requested by Karma Charger and used in his Banana Blast! video.