Plugin Info:
Modification: ALL
Category: Admin Commands
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
07-08-2014
, 10:54
Castle Mod - Please trash this Thread
#1
Please trash this thread.
Spoiler
Castle Mod
- v1.0.2, last updated : 08.07.2014
Description
At Castle Mod the Counter-Terrorists sit on the Top of a Castle with a Scout which needs to be reloaded after each shot and which scope can not be used. They do not have other weapons.
The Terrorists start in front of the Castle only with a knife and are partly visible.
Both teams can buy upgrades like Health, Armor, Speed and Damage.
Also available, Chances to get a weapon on Spawn.
The Mod also contains a Shop API where you can add Shop Items via Sub-plugins like ZP etc.
Requirements
Credits Backstabnoob - For this amazing SQL Layer and his help. :*
Lirran - Original Idea and Map
Commands say /upgrades - Opens the Upgrade Menu
say /shop - Opens the Shop
Notes The Upgrades are final. If you add more upgrades, you need to delete the entire table once!
Media
Changelog
Quote:
Originally Posted by Version 1.0.0
Quote:
Originally Posted by Version 1.0.1
Some Code fixes (thanks to Claudi and Backstabnoob)
Quote:
Originally Posted by Version 1.0.2
Fixed Bug where you stood invisible after Team Swap.
Natives
PHP Code:
native CM_AddItem (const szTitle [], const iTeam , const iCreditCost , const szHandler []); // 1 = CT, 2 = T
native CM_GetUserCredits ( id );
native CM_SetUserCredits ( id , const iAmount );
Defines
PHP Code:
// Time in seconds how long a CT is frozen on Round Begin
#define TIME_CT_FROZEN 2.0
// Model for CTs
#define MODEL_CT_PATH "models/player/gsg9/gsg9.mdl"
// Name of Model for CTs
#define MODEL_CT_NAME "gsg9"
// Amount of Invisibility for Terrorists
#define INVIS_FAC_PERCENT 45
// Light Factor of Map
#define LIGHT_FAC "d"
// Level-Up Sound
#define LEVEL_UP_SOUND "CastleMod/levelup.wav"
// Max. Level for Skills
#define MAX_LEVEL 71
// Max. Level for Nades
#define MAX_LEVEL_NADES 11
// Max. Level for Weapons
#define MAX_LEVEL_WEAPONS 11
// Base Nade Chance
#define CHANCE_NADE 5.73
// Base Weapon Chance
#define CHANCE_WEAPON 4.63
// Credits per Kill
#define CREDITS_PER_KILL 5
__________________
Last edited by Kia; 07-10-2014 at 05:35 .