Heroes: Source
Project Status: I am working on a bug now. I will release the "playable" 0.0.2b version after I fix it.
Current Version: 0.0.1a
Available Languages:- English
- Turkish
- (In 0.0.1b)German
Current Features:- Easy setup without any configuration.
- Players earn money and experience points when they kill.
- Players lose money and experience points when they get killed.
- Unlimited levels!
- Levels and experiance points are saved and loaded using players' name.
Planned Features:
- Warmup Round
- (In 0.0.1b)Players can learn skills.
- (In 0.0.1b)Active skills.
- Passive skills with cooldowns.
- (In 0.0.1b)Learning/Unlearning skills.
- (In 0.0.1b)Saving and loading player data using players' name, SteamID or IP.
- Players can purchase upgrades.
- Upgrades that improves damage, armor, etc.
- Selling/buying upgrades.
- (In 0.0.1b)Bank system.
Console Commands:
(In 0.0.1b) hs_menu - Shows the menu.
(In 0.0.1b) hs_stats - Shows the stats menu.
(In 0.0.1b)hs_bank - Shows the bank menu.
(In 0.0.1b)hs_withdraw - Takes 1 parameter: amount - Withdraws money from the bank.
(In 0.0.1b)hs_deposit - Takes 1 parameter: amount - Deposits money to the bank.
Chat Commands:
Commands typed with green only enabled when sm_heroessource_shortcuts is '1'!
If a command needs a parameter you should seperate them with a ' '. For example: sh_givemoney Shaman 10000
(In 0.0.1b)hs_menu, hsmenu,
menu - Shows the menu.
(In 0.0.1b)hs_stats, hsstats,
stats - Shows the stats menu.
(In 0.0.1b)hs_bank, hsbank,
bank - Shows the bank menu.
(In 0.0.1b)hs_withdraw, hswithdraw,
withdraw - Takes 1 parameter: amount - Withdraws money from the bank.
(In 0.0.1b)hs_deposit, hsdeposit,
deposit - Takes 1 parameter: amount - Deposits money to the bank.
CVar's:
sm_heroessource_enable - Enables/disables plugin.
(In 0.0.1b)sm_heroessource_shortcuts - Enables/disables chat command shortcuts.
sm_heroessource_debug - Enables/disables debug mode.
(In 0.0.1b)sm_heroessource_savingmethod - Changes player data saving method. (All player data will be lost when this changes.)
(In 0.0.1b)sm_heroessource_summerytime - Changes summery panel display time.
sm_heroessource_levelvariant - Read
Level System.
sm_heroessource_mbonus_normal - Money bonus for a normal kill.
sm_heroessource_mbonus_knife - Money bonus for a knife kill.
sm_heroessource_mbonus_grenade - Money bonus for a grenade kill.
sm_heroessource_mbonus_hs - Money bonus for a headshot kill.
sm_heroessource_xpbonus_normal - XP bonus for a normal kill.
sm_heroessource_xpbonus_knife - XP bonus for a knife kill.
sm_heroessource_xpbonus_grenade - XP bonus for a grenade kill.
sm_heroessource_xpbonus_hs - XP bonus for a headshot kill.
(In 0.0.1b)sm_heroessource_sp_perlevel - Read
Skill Point System.
(In 0.0.1b)sm_heroessource_spbonus - Read
Skill Point System.
(In 0.0.1b)sm_heroessource_spbonus_levels - Read
Skill Point System.
(In 0.0.1b)sm_heroessource_bankadvanced - Read
Bank System.
(In 0.0.1b)sm_heroessource_bankwithdrawcut - Read
Bank System.
(In 0.0.1b)sm_heroessource_bankminwithdraw - Read
Bank System.
(In 0.0.1b)sm_heroessource_bankinterest - Read
Bank System.
sm_heroessource_dec_percent - Read
Decreases.
(In 0.0.1b)sm_heroessource_defhealth - Players' normal health when round starts.
(In 0.0.1b)sm_heroessource_maxhealth - Maximum health a player can reach.
(In 0.0.1b)Skills:
Health Regeneration (Active)
Regenerates your health when you get hurt.
1hp/sec per level.
Endurance (Active)Raduces damage you recieve. Does not affect damage recieved from other skills.
1.8 percent damage per level.
Return (Active)Returns some of the damage to attacker.
2 percent damage per level.
Health (Active)Increases your health points.
5hp per level.
Level System:
Levels are calculated using a simple math equation:
Level=Square Root(Experiance Points/Level Variant)
So if you want to make level up's harder you have to assign a higher value to
sm_heroessource_levelvariant.
(In 0.0.1b)Skill Point System:
Skill points are calculated using this math equation:
SkillPoint=Level*_sp_perlevel+((Level/_spbonus_levels)*_spbonus)
So players get
_sp_perlevel SP for each level and
_spbonus for each
_spbonus_levels.
(In 0.0.1b)Bank System:
There are two modes for bank system: advanced and normal mode. If you turn advanced mode off, players will deposit and withdraw money directly, but if you turn advanced mode on these will happen:
1-Bank will cut some money from player when they withdraw it.
2-Bank will give interest to players if they are alive at the round end.
Decreases:
Every player loses money and xp when they get killed. And these decreases calculated with this equation:
Decrease=(Killer's Bonus/100)*Decrease Percent
So if you want a lower decreasement for victims you have to assign a smaller value to
sm_heroessource_dec_percent.
Notes:
This plugin is only for Counter-Strike: Source. If you are using this plugin with another mod your server may crash!
This plugin tested without any other plugins. Using this plugin with other plugins (especially plugins in
Gameplay category) may crash your server!
Thanks To:
- sumguy14 (Help and KeyValues example)
- ferret (Help and more)
- BAILOPAN (Help and is there anything else?)
- -<[PAGC]>- Isias (German translation)
- teame06, faluco and the hat (GunGame's source code really helped me)
- pRed* | NZ (SM Super Menu)
- Authors of the wiki articles (I love wikis)
Translations Need To Be Updated:
- German (I will upload the files soon.)