[TF2] Random Round Modifier v.1.0
Description:
This plugin will pick a random modifier(sub-plugin) and a random value for that modifier for each round. The possibilities are endless and every round will have a unique twist.
What are modifiers?
They modify/add certain effects on every player on server to make the round different and more fun.
For example, one of the modifiers is called Random Head-shot explosion. The first round could make all head shots create an explosion. The second round could make melee damage increase to 350%. The third round could increase everyone speed to 150%. It's all random!
There can only be 1 active modifier per round. And will work for any map.
You can also write your own modifier!
Modifiers:
Note: Values are percentage, so multiply by 100 to get percent. (E.g 1.0 => 1.0x100 = 100%)
Quote:
Backstab Damage Modifier - (0.01-3.0)
Plugin: rrm_backstabdamage.smx
- Modifier that changes backstab damage.
Critical Modifier - (0.5-1.0)
Plugin: rrm_crits.smx
- Modifier that changes critical chance.
Damage Modifier - (0.5-3.0)
Plugin: rrm_damage.smx
- Modifier that changes damage done.
Explosive Headshots Modifier
Plugin: rrm_exphs.smx
- Modifier that sets off an explosion on a headshot.
Gravity Modifier - (0.1-0.5)
Plugin: rrm_gravity.smx
- Modifier that changes players' gravity.
Heal on hit Modifier - (0.05-0.2)
Plugin: rrm_healonhit.smx
- Modifier that heals players by how much damage they did to others.
Headshot Damage Modifier - (0.1-2.0)
Plugin: rrm_hsdamage.smx
- Modifier that changes headshot damage.
Jump Modifier - (0.5-3.0)
Plugin: rrm_jump.smx
- Modifier that changes the jump height of players.
Melee Damage Modifier - (2.0-3.5)
Plugin: rrm_meleedamage.smx
- Modifier that changes damage done from your melee weapon.
Melee Only Modifier
Plugin: rrm_meleeonly.smx
- Modifier that force everyone to melee.
Primary Damage Modifier - (1.5-2.5)
Plugin: rrm_primarydamage.smx
- Modifier that changes damage done from your primary weapon.
Scary Bullets Modifier - (0.1-1.0)
Plugin: rrm_scarybullets.smx
- Modifier that grants chance of scary bullets.
Secondary Damage Modifier - (1.5-2.5)
Plugin: rrm_secondarydamage.smx
- Modifier that changes damage done from your secondary weapon.
Sentry Damage Modifier - (0.5-2.5)
Plugin: rrm_sentrydamage.smx
- Modifier that changes sentry damage.
Speed Modifier - (0.5-2.0)
Plugin: rrm_speed.smx
- Modifier that changes the the speed of players.
|
Dependency:
Quote:
- Sourcemod 1.7+
- Metamod 1.10+
- TF2Attributes
- morecolors.inc to compile
- rrm.inc to compile
|
Installation:
Quote:
Download RRM.7z and unpack it. Open and place addons/ and cfg/ folder to your /tf directory
Make sure to place rrm.smx in plugins folder and the subplugins in plugins/rrm directory
|
How to remove a modifier?:
Quote:
Each modifier is a sub-plugin
1. Go to addons/sourcemod/plugins/rrm folder
2. Find the plugin of the modifier you don't want
3. Delete it
After doing that unload/load or restart server and that modifier will be removed from the core.
|
Commands:
Quote:
sm_rrmroll - Rerolls the modifier
|
ConVars:
Note: These convars are located in cfg/rrm
Version Log:
Quote:
1.0 -
Added 5 new modifiers (Jump, Secondary Damage, Primary Damage, Melee Damage, Gravity)
Added cvars for each sub-plugins
Fixed timer OnModifierUnloaded from stack error when there are 0 modifiers loaded
Timer will additionally remove sub-plugins from core that gets unloaded
Removed debug messages
If plugin is late-loaded, core will automatically find a new modifier
Clean/Tidy coding and description of core/sub-plugins
Replace HUD messages with default color messages
Forgot to add core source-code
0.01 - Beta testing release
|
Github source: Here
If you encounter any bugs just report it here and i will try to fix it asap.
Enjoy