View Single Post
Author Message
DieTeetasse
Senior Member
Join Date: Jul 2009
Old 12-11-2009 , 20:45   [L4D2] L4D1 Versus Score System
Reply With Quote #1

The Left 4 Dead 1 Score System is there!
You are annoyed that a almost dead team get the same points as your team, who gets through with 4 meds?
This is the plugin you need ;)

Function:
Calculate the round score like the good old Left 4 Dead 1 to the old competetion back.

Dependencies:
- Sourcemod 1.4 development
- Left 4 Downtown v0.4.6 (only v2.3)
- cfg/sourcemod/l4d2_versus_score_system_map_multiplier.txt file
- addons/sourcemod/gamedata/l4d2_versus_score_system_gamedata.txt

Installation:
- install Left 4 Downton v0.4.6 (only v2.3)
- copy l4d2_versus_score_system_map_multiplier.txt to cfg/sourcemod
- copy l4d2_versus_score_system_complete.smx to addons/sourcemod/plugins
- copy l4d2_versus_score_system_gamedata.txt to addons/sourcemod/gamedata

Cvars:
l4d2_l4d1vs_version "2.3" //Version number
l4d2_l4d1vs_enable "1" //Enabling/disabling score system
l4d2_l4d1vs_defib_multiplier "0.5" //Multiplier for the restored health of a defib unit (0 for disabling)
l4d2_l4d1vs_map_multiplier_enable "1" //Enable/disable map multiplier on score
l4d2_l4d1vs_checkpoint_health_remover_enable "1" //Enable/disable removing of health items in the checkpoint room
l4d2_l4d1vs_score_display "2" //Score display mode (0 = chat, 1 = motd, 2 = both)
l4d2_l4d1vs_welcome_msg_enable "1" //Enable/disable welcome message while joining

Todo:
- tie breaker -> infected damage decides (?)

Known Bugs / Incompatibilites:
- NO support for 8+ clients server

History:
v2.3:
- use of an own gamedata file (thx AtomicStryker)
- hide scoreboard at round end
- added cvar to change score display mode
- added score output for first round team on second half
- dynamic roundscore array
--> support for 5+ maps campaigns
- simplified score output and motd
--> need Sourcemod 1.4 dev!

v2.2:
- fixed passing update break
- simplified some functions
- deleted old code
- support for custom maps added
- incapped survivor will be counted with 30 temphhp and their items (except for final)

v2.1:
- added another function and renamend an old one (GetSurvivorDistance and GetSurvivorDistancePoints)
- fixed bug, that distance points instead of the distance in percentage would be displayed
- fixed incompatibility for L4D2 Team Manager (thx AtomicStryker)

[...]

Download history:
0.x - 91
1.x - 260
2.x - 253

Additional infos:

The online compiler can't compile the sp file, because of downtowns extension.

Important!
New plugin (with downtowns extension): l4d2_versus_score_system_complete (v2.3)
Old plugin (without extension and only changing the survial bonus): l4d2_versus_score_system (v1.7)

Teetasse
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_versus_score_system.sp - 2421 views - 22.7 KB)
File Type: txt l4d2_versus_score_system_map_multiplier.txt (687 Bytes, 1148 views)
File Type: zip l4d2_versus_score_system.zip (25.2 KB, 1169 views)
File Type: sp Get Plugin or Get Source (l4d2_versus_score_system_complete.sp - 1012 views - 36.5 KB)
File Type: smx l4d2_versus_score_system_complete.smx (13.6 KB, 1275 views)
File Type: txt l4d2_versus_score_system_gamedata.txt (1.6 KB, 1270 views)

Last edited by DieTeetasse; 05-26-2010 at 07:30.
DieTeetasse is offline