Rank Mod v1.0
This was made by request.
I don't need it to be approved, I don't care if you don't like it, I'm just releasing it here because I don't code private (at least not for free).
Playing the mod- You kill people and get XP.
- There are ranks and classes, ranks can have an arbitrary number of classes.
- For each class you pass, you're provided with a set of improvements to choose from:
- Increase max health
- Increase max armor
- Increase max speed
- Decrease gravity
- Decrease visibility
- There are limits for all improvements
- Every value is customizable by CVars
Configuring the mod- First of all, you have to create the config file 'addons/amxmodx/configs/rank_mod.cfg'. This file will describe the ranks and classes. Here's an example:
Code:
-- This is a comment. Comments start at line start only. (Well, the parser will ignore everything after the upper bound of the class, but I suggest leaving the comments on their own lines)
Vegetables
- Tomato : 0..100
- Pickle : 101..250
Fruits
- Apple : 251..450
- Orange : 451..700
- Banana : 701..1000
- Cherry : 1001..1350
Meat
- Beef : 1351..1750
- Pork : 1750..2200
- Lamb : 2201..2700
- After customizing the config file, you can move on to customizing cvars if you don't like the default values:
Code:
amx_rm_headshot_xp (4) - XP gained by hs
amx_rm_bodyshot_xp (2) - XP gained by normal kill
amx_rm_knifestab_xp (3) - XP gained by knife kill
amx_rm_knife_hs_xp (5) - XP gained by headstab kill (very rare, but who knows, it was requested)
amx_rm_grenade_kill_xp (3) - XP gained by nade kill
amx_rm_health_increase (5) - Max health increase by class
amx_rm_max_health (125) - The maximum health a player can get
amx_rm_armor_increase (5) - Armor increase by class
amx_rm_max_armor (125) - The maximum armor a player can get
amx_rm_speed_increase (5) - Speed increase by class (in units/sec)
amx_rm_max_speed (400) - The maximum speed a player can get (WHICH MEANS DON'T USE THIS WITH KZ/BHOP)
amx_rm_gravity_decrease (2) - The percentage of gravity a player loses by class
amx_rm_min_gravity (85) - The minimum percentage of gravity a player can reach
amx_rm_visibility_decrease (5) - How much visibility a player loses by class, full visible = 255 so 5 = ~2%
amx_rm_min_visibility (200) - The minimum visibility a player can reach
- Important: if you change the plugin in a way that changes how things are saved, increment the value of RM_VAULT_VERSION to avoid compatibility issues between old entries. This also applies if you uncomment SAVE_BY_IP.
Please report bugs.
Request features here!