Official Half-Life 2: Deathmatch RolePlay Mod
Version 3. 12 Beta
Idea and first implementation: by Pinkfairie
Realisation: by Krim
Old Version:
http://forums.alliedmods.net/showthread.php?t=78380
Thanks for the help from Benni who implemented much of my old code for me and added some of his codes on his own.
Also Thanks to Samantha and Monkeys who found many bugs, helped me debug it and created some AWSOME extensions for the V3.
The V3 is more developer friendly than the last version, you can add your own extensions in it w/o hacking it in the rp_main code.
Please use Version 3 of the script. All mods avaiable until now are based on the old 2.41 code, which is EXTREMLY unstable *1, has many exploits*2 and causes much lags on a server*3.
*1 The Code is known for corrupting its savegames once in a while - then you have no chance to get the old savegames back without a backup
*2 you can easily crash a gameserver using 2.4 based code and enforce *1 on your will
*3 The code reloads the save.txt around 10times / sec and writes it back. This takes an ENORMOUS amount of ram and time if you have a decent playerbase (for ex if your file is larger than 1MB).
Version 2.4 was NEVER intended for "all the time around the clock usage" -> only for a small round of Roleplaying on a LAN. V3 is intended for all-time-usage on a dedicated inet server. I suggest every modder to port their functions to a 3.0 extension.
Dependencies
This code REQUIRES SDKHOOKS: http://forums.alliedmods.net/showthread.php?t=106748
This code uses COLORS:
http://forums.alliedmods.net/showthread.php?t=96831
This Version is in BETA Status. There may occur BUGS.
New Features in V3:
Reprogrammed to work with SQL Databases (SQLite per default - so you dont need a SQL Server)
Reprogrammed to fix many many possible bugs
Reprogrammed to be easy adapted to other Games like CSS or TF2 (coming really soon)
Reprogrammed to make Extensions possible.
Many HUD Improvements (Like Colored HUDs, Informations etc)
New Feeding System: Players require Food - otherwise they'll stop gaining income
Many new administrative commands (like setincome etc)
All commands now renamed to make clear they're RP commands (for ex: rp_setmoney USER AMOUNT)
New Values like STR, DEX, INT, SPD, WGT avaiable
Tracers, Scanner etc now toggable
Locks are now maxed to 10 per door
Buydoor implemented (buydoor, selldoor, setdoorprice etc)
Furniture Script now part of the Roleplay Plugin itself
Jail System reprogrammed
Talkzone modified (OOC is default chat)
Multimap support (now enabled)
Roleplay Tools now part of the Roleplay Plugin
Crowbar now for "working" - so no damage to players
Pistols in hand of a cop => Taser (no damage)
new ITEM: Potions
new ITEM: Moneytracker + upgrades
new ITEM: Pusher (stomps players)
new ITEM: Secure PVP (maybe not practicable and will be removed)
new ITEM: Battery
new ITEM: Decoy (Crime lowerer)
And MANY MANY MANY MANY MANY other improvements i dont remember yet.
Todo:
Item GPSBug & GPSScanner dont work
Item Policejammer still dont work
Check everything
Check all new Bugs
Reimplement the new drugs and the new alcohol
CVARS (will not be updated. actual list on the download page):
See: http://hl2rp.wmchris.de/cl/cl.html
Commands (same as for CVARS - no updates here, see download page for full list):
Console Command List. RP_ commands require Admin Privileges, SM_ commands dont.
See http://hl2rp.wmchris.de/cl/cl.html
Credits
Thanks to Benni who helped - it takes some time to fix all the bugs he implemented but it still helps a LOT!!
Also Thanks to Bubka3 and Mario who showed me that it's impossible to release a script under the GPL here w/o people trying to steal everything.
License
The script is licensed under an
extended GPLv3, which means: there are
additional rules. The license is included in each download and can be viewed on the Download-Page
To Download Page