ZM RPG mod
Description:
Players will be able to get upgrades to help on their journey of survival
The plugin is not completely finished, but the basics are done
Requirements:
Cvars / Upgrades!
Code:
//*******************************************************************/
//Main configuraion!
sm_zm_leveltype 1 //0=XP system (don't use it yet) | Anything else, the amount of levels per round
sm_zm_minplayers 4 //The minimun amount of players till' XP start to count
sm_zm_maxlevel 250 //Maximun possible level
//All this variable are useless if "leveltype" is not 0
sm_zm_deadxp 80 //The amount of xp people will receive if they are dead
sm_zm_multi 0.8 //The bigger this number, the more XP people will receive
//*******************************************************************/
//Sleeping
//Players can sleep (screen will go black and they can't move) and theirs life will be regenerated
//This is compatiable with Extra Health
//Formula goes as
//For every ( (sm_zm_sleep_start/60) - (sm_zm_sleep_lose/60) * level ) seconds, heal player (sm_zm_sleep_regen + sm_zm_sleep_perlevel * level)
sm_zm_sleep_start 60 //How much time (0.1sec) the player will take to regen 1 life
sm_zm_sleep_lose 1 //How much time (0.1sec) the player will lose per level
sm_zm_sleep_regen 1.0 //How much health player will heal per loop
sm_zm_sleep_perlevel 0.0 //How much life player will heal extra per loop per level
//*******************************************************************/
//Extra Health
//Increase the amount of health players can have
sm_zm_extralife_level 1.4 //How much life player will win per level
sm_zm_extralife_spawn 1 //Set this to 1 if player will respawn with that life
sm_zm_extralife_auto 1 //Set this to 1 if when players buy the upgrate their life will increase
//*******************************************************************/
//Super jump
//Players will be able to jump farther, paying a small amount of health
sm_zm_jump_start 30.0 //How much power the player will start with
sm_zm_jump_power 18.0 //How much power per level the jump will have
sm_zm_jump_upmulti 0.15 //How much power will go to the Z axis
sm_zm_jump_health 1.0 //How much life player will lose per use
sm_zm_jump_healthlevel 0.0 //How much extra life player will lose per level
//*******************************************************************/
//Damage iginite
//There is a change of NPCs get iginitied if player get hit
sm_zm_fire_distancestart 24.0 //The disatance that fire will afect to
sm_zm_fire_distancelevel 8.0 //The disatance that fire distance will increase for each level
sm_zm_fire_probality 23 //What is the probability of player actually igining the entity
sm_zm_fire_probabilitylevel 1 //How much the probability will decrease for each level
sm_zm_fire_time 3.0 //Time zombie will burn
sm_zm_fire_timelevel 0.25 //Time zombie will burn increasiment per level
sm_zm_fire_ondeath 4 //The probability of zombies getting on fire when players die
Commands
Ideas & suggestion
ChangeLog- From Beta
- Do not allow players to sleep in mid-air
- Player not dying when life reaches to 0
- February 26, 2008 (1.1)
- Fixed possible memory leak
- Reduced size of some strings
- Decreased time loop of a timer
- March 2, 2008 (1.2)
- Fixed stupid array size D:
- Fixed numbers not going to -1 (1.2.1)
- March 07, 2008 (1.3)
- Players not receiving screen flash
- Players not dying with jump