Addon Details

Watch - Add Favorite


hTP_SimpleDM ScreenShot

Does this version work for you?
7
w00ts
w00t!2

hTP_SimpleDM - Version 1.3

posted on 2007-12-21 19:03:13
by HitThePipe

Requires:

Tags: css deathmatch

Description

This is a basic team death match addon. It includes ranking by either most kills or K/D Ratio. This is just a beta release for testing and feedback. In this release, the round objectives are NOT disabled. There is a known bug with ranking players by K/D ratio. Players with a 10 or higher ratio will not be ranked properly. This is related to a quirk within SQL, I will try to find a solution to this, but for now, use rank by total kills if it is a problem. This addon also saves a players guns and menu setting so they will be the same on return visits to your server. You can also load and unload this addon at any time without the need for a map change. [b][color=blue]Player Chat commands:[/color][/b][list] [*][color=green]guns[/color] ->brings up main menu [*][color=green]stats[/color] ->sends a popup with the players stats [*][color=green]teamstats[/color] ->sends a popup with team stats [*][color=green]rank[/color] ->sends a popup with a players rank and the 9 other ranked players around him. -Ex. If you are ranked 20, the menu will show ranks 16-25 with the players name highlighted. [*][color=green]ranks # #[/color] ->sends popup with ranks in range # - #, maximum range is 15. -Ex. ranks 25 40 [*][color=green]top #[/color] ->sends popup with top # players, maximum 15. -Ex. top 10 [*][color=green]ammo[/color] ->gives player 120 rounds for both primary and secondary weapon. Ammo is also accessible from the guns menu. [b][color=blue]Admin Chat commands:[/color][/b] [*][color=green]resetranks[/color] ->Reset DeathMatch ranks.[/list] There is also a dm_config.ini file in the htp_dm folder.[color=green] [code]###################################### # hTP_SimpleDM Config # ###################################### [settings] clear_inactive_users = 7 # number of days before clearing inactive users from database count_bot_kills_deaths = 0 # 0=no, 1=yes, credit player with bot kills/deaths disable_map_objectives = 1 # effects only de_ and cs_ maps # 0=no # 1=yes(rounds function normally) # 2=yes(round lasts for entire map) dm_fraglimit = 100 # ends map when a player reaches dm_fraglimit # set to 0 to disable message_prefix = '[DeathMatch]' # prefix for all messages (place inside the single quotes) use_ranking = 1 # 0=ranking off, 1=ranking on use_ba_bank = 0 # give cash awards/penalties to ba_bank accounts # 0=no, 1=yes # -Note:ba_bank does not need to be loaded, # but does need to exist on the server. ################# Ranking Config #################################### # these settings are ignored if use_ranking = 0 [[rank_settings]] update_ranks_interval = 1 # 0=on map change, 1=every round rank_by = 0 # 0= rank by most kills, 1= rank by k/d ratio # NOTE: k/d ratio will not rank players with a 10 or higher k/d ratio correctly. # Rank by most kills if this is a problem rank_min_kills = 10 # minimum number of kills for a player to be ranked ranks_limit = 100 # number of players to rank # -NOTE: All players with more than 0 kills will be tracked in the database. # This only affects the # of players to include in ranks list. ################ Bank Config ######################################### # these settings are ignored if use_ba_bank = 0 [[bank_settings]] kill_cash_award = 0 # 0=ba_bank bank_min_deposit, >0=cash award headshot_cash_award = 500 # extra cash bonus for headshot, this is in addition to kill_cash_award allow_awp_headshot_award = 1 # allow AWP for headshot bonus # 0=no, 1=yes knife_cash_award = 500 # extra cash bonus for knife kill, this is in addition to kill_cash_award knife_death_penalty = 5000 # cash penalty for getting knifed to death ignore_max_balance = 1 # allow balance to exceed ba_bank bank_max_balance # 0=no, 1=yes ######################################################################## # ALLOWED WEAPONS # ######################################################################## #- Set to 1 to allow, 0 to restrict [weapons] [[Pistols]] # These appear on pistol menu glock = 1 usp = 1 deagle = 1 p228 = 1 fiveseven = 1 elite = 1 [[Rifles]] #These appear on rifle menu m4a1 = 1 ak47 = 1 awp = 1 famas = 1 galil = 1 sg552 = 1 aug = 1 sg550 = 1 g3sg1 = 1 scout = 1 m3 = 1 xm1014 = 1 m249 = 1 tmp = 1 mac10 = 1 mp5navy = 1 ump45 = 1 p90 = 1 [[Items]] # These will be given at spawn assaultsuit = 1 defuser = 1 [[Others]] # These will be given at spawn knife = 1 hegrenade = 1 smokegrenade = 1 flashbang = 1 [/code][/color] [b]Installation:[/b][list][*]Unzip all files to your cstrike folder. [*]Put es_load htp_dm in your autoexec.cfg.[/list] [b]Many thanks to:[/b][list][*]GODJonez - unicode converter code [*]Errant - various info and insight [*]TP_Predator - prodding me to learn python [*]british.assassin - giving his approval for "borrowing/learning" from ba_bank [*]SuperDave - having the patience of a saint through many PM's [/list]

Version Notes For 1.3

Updated on: 2008-03-10 18:31:17 EST by HitThePipe (View Zip Contents)
[b]Delete old files EXCEPT usersettings.db[/b] -Made weapon menus configurable. (see dm_config above) -Added ability to disable map objectives. (see dm_config above) -Added new chat command "teamstats". (see above) -Added dm_fraglimit. (see dm_config above) -Last member of a team made invincible until another team member spawns. -Custom events. (See forum thread) -Now detects version of ES_Tools. If using .420, est_Dissolve used to eliminate ragdolls. -Many other behind the scenes changes. -Tried to fulfill all requests, not sure if I got them all.

( Previous Versions )