Catwork
191 modules · 490 definitions · 4242 functions · 4071 documented
Catwork
Hooks hooks
GM gamemode
hook.Add handlers
PLUGIN_META plugin
Globals globals
base64 library
cdraw library
Defines the client-side global
cdraw drawing library and creates the Derma, DermaBold, DermaThin, DermaGlow, DermaNarrow, DermaNarrowBold, Exo and ExoBold fonts in every size from 1 to 72.chat library
chatbox library
CItem class
The base class of every item definition and item instance.
Color class
config library
Defines the global
config library, the framework's saved and networked configuration keys.config.Class object
cw.animation class
Defines the
cw.animation library, which assigns player models to animation classes and picks the animation for each activity and weapon hold type.cw.attribute class
Defines the
cw.attribute library, the registry of character attribute definitions.cw.attribute.Class object
cw.attributes class
Defines the
cw.attributes library, which reads and changes the attribute values, progress and boosts of players.cw.bans class
Defines the server-side
cw.bans library, which keeps Steam ID and IP address bans in the database for the current schema.cw.character class
Defines the client-side
cw.character library, which runs the character menu and the character creation process.cw.class class
Defines the
cw.class library, the registry of classes, the roles a character can take within a faction.cw.class.Class object
cw.command class
Defines the
cw.command library, the registry of chat commands, and the cwCmd console command that runs them.cw.command.Class object
cw.cooldown class
Defines the client-side
cw.cooldown library, which draws a cooldown box that fills clockwise with progress.cw.core class
cw.currency class
Defines the
cw.currency library, a registry of named currency objects that each carry a world model and a default amount.cw.currency.Class object
cw.database class
cw.date class
cw.dermaRequest class
Defines the
cw.dermaRequest library, which lets the server show a player a Derma text prompt, confirmation query or message box and receive the answer.cw.directory class
Defines the client-side
cw.directory library, the HTML help pages shown in the directory menu.cw.door class
Defines the client-side
cw.door library, read-only accessors for the door being managed in the door panel.cw.entity class
Defines the
cw.entity library, helpers for entities in general and for doors, ragdolls, property and item entities in particular.cw.event class
Defines the
cw.event library, a table of switches that turns named framework events on or off.cw.flag class
Defines the
cw.flag library, the registry of single-character player flags with their names and descriptions.cw.FontIcons class
Defines the client-side
cw.FontIcons library, which maps Font Awesome icon names such as fa-star to their characters and draws them.cw.fonts class
Defines the client-side
cw.fonts library, which creates fonts and makes resized copies of them on demand.cw.hint class
Defines the server-side
cw.hint library, which sends hint text to players and keeps the list of gameplay hints shown at random.cw.inventory class
Defines the
cw.inventory library, functions that work on inventory tables of item instances.cw.lang class
cw.limb class
Defines the
cw.limb library, the per-limb damage system switched on by the limb_damage_system config.cw.menu class
cw.menuitems class
Defines the client-side
cw.menuitems library, the list of tabs shown in the main menu.cw.option class
Defines the
cw.option library, the schema-level options: keys, sounds and, on the client, interface colors and fonts.cw.outline class
Defines the client-side
cw.outline library, which draws glowing outlines around entities with halo.Add.cw.player class
Shared part of the
cw.player library: registration of networked player and character data types, player net vars and faction rank checks.cw.PlayerInfoText class
Defines the client-side
cw.PlayerInfoText library, the lines of text shown in the local player's information box.cw.quickmenu class
Defines the client-side
cw.quickmenu library, the options of the quick menu opened from the player information box.cw.quiz class
cw.selector class
Defines the
cw.selector library, numbered on-screen option lists that players pick from with the number keys.cw.selector.Class object
cw.setting class
Defines the client-side
cw.setting library, the controls of the settings menu, each bound to a console variable.cw.storage class
cw.system.Class object
cw.TargetPlayerText class
Defines the client-side
cw.TargetPlayerText library, the lines of text drawn under the name of the player the local player is looking at.cw.theme class
Defines the client-side
cw.theme library, which registers interface themes and switches between them.cw.theme.MarkupObject object
cw.time class
cw.tool class
Defines the
cw.tool library, which lets the framework and plugins define tools for the tool gun.cw.tool.Class object
cw.transfer class
Defines the
cw.transfer library, which sends messages that are too large for a single net message.cw.voices class
Defines the
cw.voices library, voice lines that play a sound when a player says a set phrase in character.CW_LANGUAGE_CLASS class
database.QueryClass object
Defines the
cw.database library, the server's query builder and connection layer for SQLite and MySQL.draw library
Entity class
faction library
faction.Class object
Defines the global
faction library, the registry of factions that characters belong to.file library
game library
hook library
item library
library library
netvars library
Panel class
pipeline library
Defines the global
pipeline library, which lets a system register its content from a folder of Lua files.player class
Adds per-player permission methods to the
Player metatable: Player:HasPermission in both realms and Player:SetPermission, Player:GivePermission and Player:TakePermission on the server.plugin library
Defines the global
plugin library, which loads plugins and the schema and dispatches hooks to them.string library
surface library
table library
util library
vgui library
Weapon class
Commands
A command
Registers the
/A command (aliases /AD, /OP), which sends a message to every online operator, admin and superadmin in the admin chat.Announce command
Registers the operator command
/Announce, which shows a notification with the given text to every player.ARequest command
Registers the
/ARequest command (alias /AR), which sends the caller's help request to all online staff and tells staff callers to use /A instead.CfgListVars command
Registers the superadmin command
/CfgListVars, which prints the config variables to the caller's console, optionally filtered by a search string.CfgSetVar command
Registers the superadmin command
/CfgSetVar, which sets a config variable, optionally for a single map, and announces the change to everyone.CharBan command
Registers the
/CharBan command, which bans the target player's current character and kills them.CharCheckAtts command
Registers the superadmin command
/CharCheckAtts (alias /CheckAtts), which lists the target character's attribute values to the caller.CharCheckFlags command
Registers the superadmin command
/CharCheckFlags (alias /CheckFlags), which shows the caller the target character's flags.CharFallOver command
Registers the
/CharFallOver command (alias /Fallover), which makes the caller fall over as a ragdoll, optionally for 2 to 30 seconds.CharGetUp command
Registers the
/CharGetUp command, which makes a caller who fell over with /CharFallOver get up after five seconds.CharGiveFlags command
Registers the superadmin command
/CharGiveFlags (alias /GiveFlags), which gives flags other than the admin flags to the target character.CharGiveItem command
Registers the superadmin command
/CharGiveItem (aliases /PlyGiveItem, /GiveItem), which gives the target character one to ten instances of an item and requires the G flag.CharPhysDesc command
Registers the
/CharPhysDesc command (aliases /PhysDesc, /ChangeDesc, /ChangeDescription), which sets the caller's physical description or asks for it in a text request when none is given.CharSetDesc command
Registers the operator command
/CharSetDesc (aliases /SetDescription, /SetDesc), which sets another character's physical description or asks the caller for it in a text request.CharSetFlags command
Registers the superadmin command
/CharSetFlags, which replaces the target character's flags with the given ones, admin flags excluded.CharSetModel command
Registers the operator command
/CharSetModel (alias /SetModel), which sets and saves the target character's model.CharSetName command
Registers the operator command
/CharSetName (alias /SetName), which renames the target character.CharTakeFlags command
Registers the superadmin command
/CharTakeFlags, which takes flags other than the admin flags from the target character.CharTie command
Registers the admin command
/CharTie (alias /Tie), which ties or unties the target player through Schema:TiePlayer when the schema provides the InvZipTie command.CharTransfer command
Registers the operator command
/CharTransfer (aliases /Transfer, /PlyTransfer), which moves the target character to another faction through that faction's OnTransferred callback.CharUnban command
Registers the admin command
/CharUnban, which unbans a character by name, whether its owner is online or it only exists in the database.DropCash command
Registers the
/DropCash command (alias /DropTokens), which drops the given amount of the caller's cash as a cash entity where they are looking.DropWeapon command
Registers the
/DropWeapon command (alias /Drop), which drops the caller's active weapon as an item entity where they are looking.Event command
Registers the
/Event command (alias /E), which prints an event message in every player's chat and requires the z flag.EventLocal command
Registers the operator command
/EventLocal (aliases /LocalEvent, /EL), which prints an event message in the chat of players near the caller.ForceFallOver command
Registers the operator command
/ForceFallOver (alias /ForceCharFallover), which makes the target player fall over, optionally for 2 to 30 seconds.GiveCash command
Registers the
/GiveCash command (alias /GiveTokens and two Russian aliases), which gives some of the caller's cash to the player they are looking at.InvAction command
Registers the
/InvAction command, which runs destroy, drop, use or a custom function on an item instance in the caller's inventory and is what the inventory menu sends.It command
Registers the
/It command, which prints a description of the surroundings in the chat of players near the caller.MapChange command
Registers the admin command
/MapChange (alias /Changelevel), which saves data and changes to the given map after a delay of five seconds by default.MapRestart command
Registers the admin command
/MapRestart (alias /Restart), which saves data and reloads the current map after a delay of ten seconds by default.Me command
Registers the
/Me command (alias /Perform), which prints a roleplay action of the caller's character in the chat of nearby players.PluginLoad command
Registers the superadmin command
/PluginLoad, which loads a previously unloaded plugin and sends its new state to the players who can manage plugins.PluginUnload command
Registers the superadmin command
/PluginUnload, which unloads a plugin and sends its new state to the players who can manage plugins.PlyBan command
Registers the operator command
/PlyBan (alias /Ban), which bans a player by name, Steam ID or IP address for a number of minutes, or permanently with a duration of 0.PlyBring command
Registers the operator command
/PlyBring (alias /Bring), which teleports the target player to where the caller is looking, optionally without announcing it.PlyDemote command
Registers the superadmin command
/PlyDemote (alias /Demote), which puts the target player back in the user group and respawns them.PlyGiveAccess command
Registers the superadmin command
/PlyGiveAccess (alias /GiveAccess), which grants the target player permission to use a command given by name or alias.PlyGiveFlags command
Registers the superadmin command
/PlyGiveFlags, which gives the target player flags that apply to all of their characters, admin flags excluded.PlyGoTo command
Registers the operator command
/PlyGoTo (alias /GoTo), which teleports the caller to the target player.PlyKick command
Registers the operator command
/PlyKick (alias /Kick), which kicks the target player from the server with a reason.PlyMute command
Registers the operator command
/PlyMute (alias /Mute), which blocks the target player from OOC and LOOC chat for a number of minutes.PlyRespawnStay command
Registers the operator command
/PlyRespawnStay (aliases /PlyRStay, /RespawnStay), which respawns the target player at the spot where they currently are.PlyRespawnTP command
Registers the operator command
/PlyRespawnTP (aliases /PlyRTP, /RespawnTP), which respawns the target player where the caller is looking.PlySearch command
Registers the superadmin command
/PlySearch, which opens the target player's inventory and cash for the caller as a cw.storage storage.PlySetFlags command
Registers the superadmin command
/PlySetFlags (alias /SetFlags), which replaces the flags that apply to all of the target player's characters.PlySetGroup command
Registers the superadmin command
/PlySetGroup (alias /SetGroup), which puts the target player in the superadmin, admin or operator group and respawns them.PlySetHealth command
Registers the operator command
/PlySetHealth (aliases /PlyHealth, /Health, /SetHealth), which sets the target player's health.PlySlay command
Registers the operator command
/PlySlay (aliases /Slay, /Kill, /PlyKill), which kills the target player.PlyTakeAccess command
Registers the superadmin command
/PlyTakeAccess (alias /TakeAccess), which removes the target player's permission to use a command.PlyTakeFlags command
Registers the superadmin command
/PlyTakeFlags (aliases /TakeFlags, /RemoveFlags), which takes flags that apply to all of the target player's characters, admin flags excluded.PlyTeleport command
Registers the operator command
/PlyTeleport (aliases /PlyTP, /TP), which teleports the target player to where the caller is looking.PlyTeleportTo command
Registers the operator command
/PlyTeleportTo (aliases /PlyTPTo, /TPTo), which teleports one player to another player's position.PlyUnban command
Registers the operator command
/PlyUnban (alias /Unban), which lifts the ban stored in cw.bans for a Steam ID or IP address.PlyUnwhitelist command
Registers the
/PlyUnwhitelist command (aliases /UnWhitelist, /DeWhitelist), which removes the target player from a faction's whitelist.PlyVoiceBan command
Registers the operator command
/PlyVoiceBan (aliases /VoiceBan, /PlyBanVoice), which bans the target player from voice chat.PlyVoiceUnban command
Registers the operator command
/PlyVoiceUnban (aliases /VoiceUnban, /PlyUnbanVoice), which lifts the target player's voice chat ban.PlyWhitelist command
Registers the superadmin command
/PlyWhitelist (aliases /Whitelist, /CharWhitelist, /GiveWhitelist), which adds the target player to a faction's whitelist.PM command
Registers the
/PM command, which sends a private message to the target player or shows their voicemail when they have one set.Radio command
Registers the
/Radio command (aliases /R, /Rs), which sends the caller's message over the radio through cw.player:SayRadio.Roll command
Registers the
/Roll command, which rolls a random number up to 100 or a given maximum and shows it to nearby players, rolling against the player the caller is looking at when there is one.SetCash command
Registers the superadmin command
/SetCash, which sets the target player's cash to an exact amount.SetClass command
Registers the
/SetClass command (aliases /CharSetClass, /ChangeClass), which moves the caller, or for operators another player, into a class when the class limit and the PlayerCanChangeClass hook allow it.SetVoicemail command
Registers the operator command
/SetVoicemail, which sets the automatic reply the caller's character gives to /PM, or removes it with none.StorageClose command
Registers the
/StorageClose command, which closes the storage the caller has open and is sent by the storage window.StorageGiveCash command
Registers the
/StorageGiveCash command, which moves some of the caller's cash into the storage they have open.StorageGiveItem command
Registers the
/StorageGiveItem command, which moves an item instance from the caller's inventory into the storage they have open.StorageTakeCash command
Registers the
/StorageTakeCash command, which takes cash out of the storage the caller has open.StorageTakeItem command
Registers the
/StorageTakeItem command, which takes an item instance out of the storage the caller has open into their inventory.Su command
Registers the superadmin command
/Su, which sends a message to every online superadmin in the admin chat.W command
Registers the
/W command, which whispers an in-character message to players within a third of the talk_radius config, at most 80 units.Y command
Registers the
/Y command, which yells an in-character message to nearby players in larger text.Items
Accessory Base item
Defines the
accessory_base base item for accessories, wearable items shown attached to a bone of the player's model.Alcohol Base item
Defines the
alcohol_base base item for alcoholic drinks: drinking one boosts the item's attributes and makes the player drunk for expireTime seconds, then calls the item's optional OnDrink.Ammo Base item
Defines the
ammo_base base item for ammunition: using one gives ammoAmount rounds of ammoClass if the player carries a weapon that takes that ammo.Clothes Base item
Defines the
clothes_base base item for clothing, which changes the player's model while worn and restores the default model when taken off.Container Base item
Defines the
container_base item for containers, items that carry their own inventory and cash and open as storage when used.Grenade Base item
Defines the
grenade_base base item for throwable grenades, built on weapon_base.Weapon Base item
Defines the
weapon_base base item for weapons: using one gives the player its weaponClass, and unequipping holsters it back into the inventory or drops it.Entities
Cash entity
Shared definition of the
cw_cash entity: a non-spawnable anim entity named Cash with a networked Amount integer.cw_belongings entity
Gear entity
Shared definition of the
cw_gear entity: its networked item Index and the accessors for its item, owner, attachment bone and offsets.Item entity
Shared definition of the
cw_item entity: a non-spawnable anim entity named Item with a networked item Index and an ENT:GetItemTable accessor.Shipment entity
Shared definition of the
cw_shipment entity: a non-spawnable anim entity named Shipment with a networked item Index and an ENT:GetItemTable accessor.Weapons
Effects
cw_bloodsmoke effect
Defines the
cw_bloodsmoke effect, a burst of red smoke particles that leave blood decals where they collide.Panels
cw.characterAttribute panel
cw.characterList panel
cw.characterMenu panel
cw.characterModel panel
cw.characterPanel panel
cw.characterStageFour panel
cw.characterStageOne panel
cw.characterStageThree panel
cw.characterStageTwo panel
cw.menu (menu) panel
Defines the
cw.menu panel, the framework's main menu, with a button column that opens the menu tabs.cw.menuButton panel
Defines
cw.menuButton, the cwFAButton used for a tab in the main menu, and adds the cwMenuButtonSmall font.cw.quiz (quiz) panel
Defines the
cw.quiz library, the quiz that new players have to pass before they can play.cwAttributes panel
cwAttributesItem panel
cwBasicForm panel
Defines
cwBasicForm, a DPanelList-based form with helpers for adding labelled controls bound to console variables.cwBusiness panel
cwBusinessCustom panel
cwBusinessItem panel
cwChatBox panel
cwChatTextEntry panel
cwClasses panel
cwClassesItem panel
cwColumnSheet panel
Defines
cwColumnSheet, a DColumnSheet whose AddSheet creates themed navigation buttons and whose SetActiveButton switches the visible panel.cwDirectory panel
Defines the
cwDirectory menu tab, which shows the categories of cw.directory in a tree on the left and the selected category's page in a DHTML view.cwDoor panel
Defines the
cwDoor door management window and handles the door Cable messages sent by the server.cwFAButton panel
Defines the
cwFAButton panel, a button that draws a Font Awesome icon with an optional text label next to it.cwForm panel
cwIconButton panel
Defines
cwIconButton, a DButton that places its icon at the left edge and moves the text past it.cwImageButton panel
Defines
cwImageButton, a DImage that works as a button with hovered, depressed and disabled states.cwInfoText panel
Defines
cwInfoText, a colored notice bar with an icon and a line of text that can also act as a button.cwInventory panel
cwInventoryCustom panel
cwInventoryItem panel
cwInventorySpace panel
cwInventoryWeight panel
cwLabelButton panel
Defines
cwLabelButton, a DLabel that works as a button with hovered, depressed and disabled states and an optional background box.cwPanelList panel
Defines
cwPanelList, a DCategoryList with an outlined background that docks added items to the top, used as the list in most framework menus.cwScoreboard panel
cwScoreboardItem panel
cwSettings panel
Defines the
cwSettings menu tab, which builds a form of controls for each category of client settings in cw.setting.stored.cwSpawnIcon panel
Defines
cwSpawnIcon, a SpawnIcon that draws a colored border set with SetColor and a fading cooldown overlay set with SetCooldown.cwStorage panel
cwStorageItem panel
cwStorageSpace panel
cwStorageWeight panel
cwSystem panel
voice.Panel panel
Redefines the
VoiceNotify derma control, the notice shown while a player speaks over voice chat.Themes
Systems
Color Modify system
Registers the
Color Modify system, which lets admins with the a flag tune a screen color modification applied to every player.Manage Bans system
Registers the
Manage Bans system, a paged list of banned players that can be unbanned with a click.Manage Config system
Registers the
Manage Config system, which lists the config keys and lets admins edit their values in-game.Manage Groups system
Registers the
Manage Groups system, which lists the members of the superadmin, admin and operator user groups and lets them be demoted.Manage Players system
Registers the
Manage Players system, an admin-only page of the system menu that lists players by scoreboard class.Manage Plugins system
Registers the
Manage Plugins system, which lists every plugin by author and lets admins load or unload them.Plugins
Animated Legs 2 modules
Gives characters animated legs that they can physically see.
Area Displays 2 modules · 2 definitions
Allows nice three dimensional text to be displayed to players.
Crosshair 2 modules
Adds a crosshair.
Cleaned Maps 1 module
A static plugin which removes a lot of commonly unwanted entities from maps.
Catwork Dev Plugin 1 module · 1 definition
Adds useful functions for Catwork developers.
Display Typing 2 modules
This plugin will display whether a character is typing above their head.
Door Commands 1 module · 14 definitions
Provides a bunch of useful commands for interacting with doors.
Dynamic Adverts 1 module · 2 definitions
Allows dynamic images to be placed over the map.
Emote Anims 1 module · 12 definitions
With this plugin characters can perform a variety of different animations.
FA:S 2.0 & CW 2.0 Integration 1 module
Provides compatibility layer for FA:S and CW 2.0 SWEPs.
Map Scenes 1 module · 2 definitions
Allows snapshots of the map to be displayed to clients in the character menu.
Observer Mode 1 module · 1 definition
Staff can enter observer mode, similiar to noclipping but they\nare teleported back to where they entered it.
Pickup Objects 2 modules · 1 definition
Players can pick up light objects with the hands weapon.
Salesmen 4 modules · 9 definitions
Allows NPCs that sell an inventory to be created.
Save Cash 1 module
Cash is saved and respawned when the map is loaded again.
Save Items 1 module
Items are saved and respawned when the map is loaded again.
DBugR Support 1 module
Provides plugin hook detours for DBugR.
Raise Gun 3 modules
Allows players to raise and lower their weapons.
Weapon Selector 2 modules
Provides a weapon selector replacement.
Spawn Points 1 module · 2 definitions
Spawnpoints can be set for each class, faction or by default.
Spawn Saver 2 modules
Players spawn where they disconnected if desired in the config.
Stamina 2 modules
Adds stamina to limit player movement.
Static Entities 2 modules · 3 definitions
Allows you to save entities permanently on the map.
Storage 1 module · 6 definitions
Adds containers where players can store items.
Surface Texts 1 module · 3 definitions
Allows three dimensional text to be placed on a surface.
Clockwork Toolguns 1 module · 1 definition
Converts Clockwork Commands To Toolguns.
HL2RP
Hooks hooks
Schema schema
Schema hooks that register the HL2RP voice groups (
Combine, Dispatch and Human) and their voice lines with the voices library.cw.hint class
Player class
Commands
Broadcast command
Registers
/Broadcast, which lets a character of the administrator faction broadcast a message to the whole city with Schema:SayBroadcast.CharFollow command
Registers
/CharFollow, which makes a scanner player's scanner follow the closest character it can see.CharHeal command
Registers
/CharHeal, which heals the character being looked at with a health_vial, health_kit or bandage from the player's inventory, or repairs a scanner with a power_node.CharPermaKill command
Registers
/CharPermaKill, an operator command that permanently kills a character with Schema:PermaKillPlayer.CharSearch command
Registers
/CharSearch, which opens the inventory and cash of the tied, motionless character being looked at as a cw.storage container.CharSetCustomClass command
Registers
/CharSetCustomClass, an operator command that sets a character's customclass character data to a custom class name.CharTakeCustomClass command
Registers
/CharTakeCustomClass, an operator command that clears a character's customclass character data.CharUnDeath command
Registers
/CharUnDeath, an admin command that undoes the permakill of a character by name.Dispatch command
Registers
/Dispatch, which lets scanners, Overwatch soldiers and senior Civil Protection ranks speak as Dispatch with Schema:SayDispatch.DispenserAdd command
Registers
/DispenserAdd, a superadmin command that spawns a cw_rationdispenser where the player is looking.InvZipTie command
Registers
/InvZipTie, a shortcut that uses a zip_tie item from the player's inventory through /InvAction.ObjectPhysDesc command
Registers
/ObjectPhysDesc, which lets the owner of the physics prop being looked at set its physical description.PermitBuy command
Registers
/PermitBuy, which lets a citizen buy a business permit while the permits config is enabled.PermitTake command
Registers
/PermitTake, which lets a Combine unit above the RCT rank take the custom permits of the citizen being looked at.PKModeOff command
Registers
/PKModeOff, an operator command that turns perma-kill mode off by setting the PKMode global net var to 0 and removing the pk_mode timer.PKModeOn command
Registers
/PKModeOn, an operator command that turns perma-kill mode on for a number of minutes by setting the PKMode global net var to 1 until the pk_mode timer resets it.PlyAddServerWhitelist command
Registers
/PlyAddServerWhitelist, an admin command that adds a player to a server whitelist by storing the identity in their serverwhitelist player data.PlyRemoveSeverWhitelist command
Registers
/PlyRemoveSeverWhitelist (spelled that way), an admin command that removes an identity from a player's serverwhitelist player data.Request command
Registers
/Request, which sends a request to Civil Protection with Schema:SayRequest.SetFreq command
Registers
/SetFreq, which tunes the cw_radio being looked at, or otherwise the character's own frequency data, to a given radio frequency.SetNPCName command
Registers
/SetNPCName, an operator command that sets the cw_Name and cw_Title networked strings of the NPC being looked at.VendorAdd command
Registers
/VendorAdd, an admin command that spawns a cw_vendingmachine with a random stock of 10 to 20 where the player is looking.ViewObjectives command
Registers
/ViewObjectives, which opens the Combine objectives editor for a Combine player by sending Schema.combineObjectives with the EditObjectives Cable message.Items
Antidepressants item
Defines the Antidepressants medical item, which sets the player's
antidepressants net var for ten minutes (restoring normal screen colours on the client) and trades 2 strength for 2 endurance for two minutes.Apple item
Defines the Apple food item, which boosts strength and endurance by 1 for two minutes.
Backpack item
Defines the Backpack storage item, which adds 8 to its carrier's inventory weight limit, is limited to one per player and drops as a
boxed_backpack.Bandage item
Defines the Bandage medical item, which heals the user by
Schema:GetHealAmount and has a Give option that runs the CharHeal command on another character.Beer item
Defines the Beer item on
alcohol_base, which heals 10 health, boosts agility by 2 for two minutes and leaves an empty glass bottle.Beer Bad item
Defines the Beer Bad item on
alcohol_base, shown as Low-Quality Beer, which heals 10 health, boosts agility by 12 for two minutes and leaves an empty glass bottle.Bleach item
Defines the Bleach consumable item, which deals 75 damage to the player who drinks it.
Boxed Backpack item
Defines the Boxed Backpack item, which is opened to give a
backpack unless the player already carries one.Boxed Bag item
Defines the Boxed Bag item, which is opened to give a
small_bag unless the player already carries two.Breach item
Defines the Breach item, which places a
cw_breach charge on the entity the player is looking at when the PlayerCanBreachEntity hook allows it.Bread item
Defines the Bread food item, which boosts strength and endurance by 2 for two minutes.
Breen's Water item
Defines the Breen's Water drink item (
breens_water), which restores 70 stamina and 4 health, boosts agility and endurance by 1 for two minutes, leaves an empty soda can and hides its Drink option from Combine players.Chinese Takeout item
Defines the Chinese Takeout food item, which heals 10 health, boosts endurance by 2 for two minutes and leaves an empty takeout carton.
Chips item
Defines the Chips food item, which boosts agility by 3 for two minutes.
Choko item
Defines the Choko food item, shown as Chocolate Bar, which boosts strength and endurance by 2 for two minutes.
Citizen Supplements item
Defines the Citizen Supplements food item handed out by ration packets, which heals 5 health and leaves an empty tin can.
Coffee item
Defines the Coffee drink item, which heals 5 health and boosts endurance and strength by 1 for two minutes.
Contact Lenses item
Defines the Contact Lenses item,
lenses, which has no behaviour of its own; the framework's PlayerHasLenses hook checks whether the local player carries it.Empty Can item
Defines the Empty Can junk item,
empty_can, which has no behaviour of its own and is accepted as garbage by the metal recycler.Empty Cardboard box item
Defines the Empty Cardboard box junk item,
empty_cardboard, which is left behind by the loyalist and premium supplements and has no behaviour of its own.Empty Carton item
Defines the Empty Carton junk item,
empty_carton, which is left behind by a milk carton or popcorn and has no behaviour of its own.Empty Cup item
Defines the Empty Cup junk item,
empty_cup, which is found in garbage piles and has no behaviour of its own.Empty Glass Bottle item
Defines the Empty Glass Bottle junk item,
empty_glass_bottle, which is left behind by beer and vodka, serves as a crafting material and has no behaviour of its own.Empty Jug item
Defines the Empty Jug junk item,
empty_jug, which is left behind by a milk jug and has no behaviour of its own.Empty Plastic Bottle item
Defines the Empty Plastic Bottle junk item,
empty_plastic_bottle, which is left behind by a large soda and has no behaviour of its own.Empty Soda Can item
Defines the Empty Soda Can junk item,
empty_soda_can, which is left behind by Breen's water and juices, serves as a crafting material and has no behaviour of its own.Empty Takeout Carton item
Defines the Empty Takeout Carton junk item,
empty_takeout_carton, which is left behind by takeout food and has no behaviour of its own.Empty Tin Can item
Defines the Empty Tin Can junk item,
empty_tin_can, a plastic jar that is left behind by citizen supplements and has no behaviour of its own.Handheld Radio item
Defines the Handheld Radio item, which lets its carrier use the radio and has a Frequency option that opens the frequency prompt on the client.
Health Kit item
Defines the Health Kit medical item for the Metropolice Force and Overwatch factions, which heals twice
Schema:GetHealAmount and has a Give option that runs the CharHeal command on another character.Health Vial item
Defines the Health Vial medical item for the Metropolice Force and Overwatch factions, which heals one and a half times
Schema:GetHealAmount and has a Give option that runs the CharHeal command on another character.Defines the High Tier Ration Packet item (
ration_high), which is opened for 100 tokens, premium supplements and two special Breen's waters and fires the PlayerUseRation hook.Defines the Highest Tier Ration Packet item (
ration_highest), which is opened for 150 tokens, two premium supplements and two special Breen's waters and fires the PlayerUseRation hook.Large Soda item
Defines the Large Soda drink item, which refills stamina, heals 10 health, boosts agility by 5 for two minutes, leaves an empty plastic bottle and hides its Drink option from Combine players.
Defines the Loyalist Tier Ration Packet item (
ration_medium), which is opened for 75 tokens, citizen supplements and a special Breen's water and fires the PlayerUseRation hook.Medic Uniform item
Defines the Medic Uniform clothes item on
clothes_base, which switches the wearer to the group03m human models and is sold to characters with the m flag.Melon item
Defines the Melon food item, which heals 10 health and boosts agility by 2 for two minutes.
Defines the Metropolice Supplements food item for the Metropolice Force faction, which heals 5 health and boosts endurance by 2 for two minutes.
Milk Carton item
Defines the Milk Carton drink item, which heals 5 health, boosts endurance and strength by 1 for two minutes and leaves an empty carton.
Milk Jug item
Defines the Milk Jug drink item, which heals 10 health, boosts endurance and strength by 2 for two minutes and leaves an empty jug.
Defines the Minimal Tier Ration Packet item (
ration_minimal), which is opened for 20 tokens and citizen supplements and fires the PlayerUseRation hook.Paracetamol item
Defines the Paracetamol medical item, which refills stamina and boosts endurance by 30 for two minutes.
Poncho item
Defines the Poncho clothes item on
clothes_base, whitelisted to the Vortigaunt faction, which switches the wearer to the vortigaunt_ozaxi model.Premium Supplements item
Defines a Premium Supplements food item under the unique ID
premium_supplements, a copy of the premium supplements item with a different model that heals 5 health, boosts endurance by 2 for two minutes and leaves an empty cardboard box.Premium Supplements item
Defines the Premium Supplements food item (
premium_supplements) handed out by the high tier ration packets, which heals 5 health, boosts endurance by 2 for two minutes and leaves an empty cardboard box.Ration Packet item
Defines the Ration Packet item (
ration_normal), which is opened for 30 tokens, citizen supplements and a Breen's water and fires the PlayerUseRation hook.Request Device item
Defines the Request Device item, which lets its carrier send requests to the Combine with the
/Request command and has no behaviour of its own.Resistance Uniform item
Defines the Resistance Uniform clothes item on
clothes_base, which switches the wearer to the group03 human models and is sold to characters with the m flag.Sardine item
Defines the Sardine food item, which boosts strength and endurance by 5 for two minutes.
Small Bag item
Defines the Small Bag storage item, which adds 4 to its carrier's inventory weight limit, is limited to two per player and drops as a
boxed_bag.Smooth Breen's Water item
Defines the Smooth Breen's Water drink item (
smooth_breens_water), which restores 80 stamina and 6 health, boosts agility by 2 for two minutes, leaves an empty soda can and hides its Drink option from Combine players.Defines the Special Breen's Water drink item, which restores full stamina and 8 health, boosts agility by 3 for two minutes, leaves an empty soda can and hides its Drink option from Combine players.
Spray Can item
Defines the Spray Can item, which a player must carry to use their spray and has no behaviour of its own.
Defines the Standard Tier Ration Packet item (
ration_standard), which is opened for 50 tokens, citizen supplements and a smooth Breen's water and fires the PlayerUseRation hook.Stationary Radio item
Defines the Stationary Radio item, which is used to place a
cw_radio entity owned by the player where they are looking, within 192 units.Steroids item
Defines the Steroids medical item, which refills stamina and boosts strength by 30 for seven minutes.
Suitcase item
Defines the Suitcase item (
cw_suitcase), a fake melee weapon held in the hand whose Unpack option replaces it with a random piece of clothing, food and drink.Tea item
Defines the Tea drink item, which heals 5 health and boosts endurance and strength by 1 for two minutes.
Vegetable Oil item
Defines the Vegetable Oil consumable item (
vegetable_oil), which deals 5 damage to the player who drinks it and is not sold in the business menu.Vodka item
Defines the Vodka item (
vodka) on alcohol_base, which heals 15 health, boosts strength by 15 for two minutes and leaves an empty glass bottle.Zip Tie item
Defines the Zip Tie item for the Metropolice Force and Overwatch factions, which ties up the character the player is looking at after a timed action.
Factions
administrator.Faction faction
Defines the whitelisted Administrator faction (
FACTION_ADMIN), which uses the group17 human models and only accepts transfers from the Citizen faction.citizen.Faction faction
Defines the Citizen faction (
FACTION_CITIZEN), the only faction open without a whitelist, with the tnb/citizens models and a rule that Combine characters transferred into it need a new name.cwu.Faction faction
Defines the whitelisted Civil Worker's Union faction (
FACTION_CWU), with the group02 human models and a rule that Combine characters transferred into it need a new name.loyal.Faction faction
Defines the whitelisted Loyalist faction (
FACTION_LOYAL), with the tnb/citizens models and a rule that Combine characters transferred into it need a new name.mpf.Faction faction
Defines the whitelisted Metropolice Force faction (
FACTION_MPF), a Combine faction whose units get the cp_c08 Civil Protection models and a generated recruit name with a random unit number.ota.Faction faction
Defines the whitelisted Overwatch Transhuman Arm faction (
FACTION_OTA), a Combine faction whose units get the Combine soldier model and a generated soldier name with a random unit number.rebel.Faction faction
Defines the whitelisted Rebel faction (
FACTION_REBEL), with the tnb/citizens models and a rule that Combine characters transferred into it need a new name.refugee.Faction faction
Defines the whitelisted Refugee faction (
FACTION_REFUGEE), with the tnb/citizens models and a rule that Combine characters transferred into it need a new name.vortigaunt.Faction faction
Defines the whitelisted Vortigaunt faction (
FACTION_VORT), with the vortigaunt model and a rule that Combine characters transferred into it need a new name.vortigaunt_slave.Faction faction
Defines the whitelisted Vortigaunt Slave faction (
FACTION_VORT_SLAVE), with the vortigaunt_slave model and a rule that Combine characters transferred into it need a new name.Entities
Combine Lock entity
Shared definition of the
cw_combinelock entity (print name Combine Lock), a spawnable anim entity with its smoke charge, flash and locked data table variables and the ENT:IsLocked getter.cw_breach entity
cw_factory_garbage_metal entity
Shared definition of the
cw_factory_garbage_metal entity, a spawnable garbage recycler that turns metal junk items into scrap_metal items, with its settings, network vars and think logic.cw_factory_garbage_paper entity
Shared definition of the
cw_factory_garbage_paper entity, a spawnable garbage recycler that turns paper and cardboard junk items into paper items, with its settings, network vars and think logic.cw_factory_garbage_plastic entity
Shared definition of the
cw_factory_garbage_plastic entity, a spawnable garbage recycler that turns plastic junk items into plastic items, with its settings, network vars and think logic.Single-file definition of the
cw_factory_garbage_metal entity (print name Garbage Recycler - Metal), a machine that turns metal junk items into scrap_metal items.Single-file definition of the
cw_factory_garbage_paper entity (print name Garbage Recycler - Paper), a machine that turns paper and cardboard junk items into paper items.Single-file definition of the
cw_factory_garbage_plastic entity (print name Garbage Recycler - Plastic), a machine that turns plastic junk items into plastic items.Mortar Shell entity
Defines the
combine_mortar_shell entity (print name Mortar Shell), a shell that falls straight down trailing smoke and explodes on impact.Radio entity
Shared definition of the
cw_radio entity (print name Radio), with its off state data table variable and the ENT:GetFrequency and ENT:IsOff getters.Ration Dispenser entity
Shared definition of the
cw_rationdispenser entity (print name Ration Dispenser), with its ration time, flash time and locked data table variables and ENT:IsLocked.Vending Machine entity
Shared definition of the
cw_vendingmachine entity (print name Vending Machine), with its stock, flash action and flash time data table variables and ENT:GetStock.Weapons
cw_pushbroom weapon
Defines the
cw_pushbroom weapon, a push broom for sweeping rubbish that has no view model and shows a broom prop in the owner's hand instead.cw_stunstick weapon
Defines the
cw_stunstick weapon, the Civil Protection stun baton.Flash weapon
Defines the
cw_flashgrenade weapon (Flash), a thrown grenade that blinds every player within 768 units who can see it.Smoke weapon
Defines the
cw_smokegrenade weapon (Smoke), a thrown grenade that explodes into a cw_effect_smoke cloud after four seconds.Suitcase weapon
Defines the
cw_suitcase weapon (Suitcase), a purely cosmetic carried item that is never raised and whose attacks do nothing.Vorti-Beam weapon
Defines the
weapon_vort weapon (Vorti-Beam), the vortigaunt's beam attack and healing ability.Effects
cw_effect_smoke effect
Defines the
cw_effect_smoke effect, a burst of large, long-lived smoke particles used as the cloud of the cw_smokegrenade weapon.Panels
cwObjectives panel
Defines the
cwObjectives panel, a small frame for editing the Combine objectives.Themes
theme.Theme theme
Defines the HL2RP schema's client theme, built with
cw.theme:Begin and registered with cw.theme:Finish.HL2RP Plugins
Advanced Accessories 0 modules
Gives players items that can be seen equipped.
Affective wounds 1 module
Makes it so that certain wounds actually affect players.
Apply 1 module · 4 definitions
Adds several name-related commands such as /apply.
Books 2 modules · 3 definitions
Adds books to the schema which players can read.
Combine Civil Authority 2 modules · 5 definitions
Adds a lot of useful functions for combine players.
Stop Breaking My Freaking Wood 1 module
Makes it so anything wooden can't be damaged, applies after server restart.
Extra Clothing 2 modules · 4 definitions
Adds some clothing items for TnB and customizable models.
Combine Chatter 1 module
Occasionally emits a radio sound off of a combine player.
Combine Devices 1 module · 1 definition
Combine Locks 2 modules · 12 definitions
Radiation 2 modules · 10 definitions
Adds radiation system.
Craft 3 modules · 40 definitions
Crafting system
Left-Side Menu 2 modules · 1 definition
Adds new character creation menu.
Combine Technology Overlay 1 module · 5 definitions
A modern overhaul of Combine technology designed with non-intrusiveness and responsiveness in mind.
Custom Spawn 1 module · 2 definitions
Adds custom spawnpoints for each player.
Diseases 2 modules · 19 definitions
Adds diseases, prescriptions and medicaments for them.
Emplacement Gun 3 modules · 2 definitions
Adds the combine Emplacement Gun.
Extra Commands 1 module · 7 definitions
Adds several useful commands for server administration.
Extra Items 3 definitions
Adds some extra items.
FactionNPC 1 module
Factories 1 module
Farming 2 modules · 16 definitions
Adds plantable seeds.
Flashlight 1 module · 1 definition
Adds flashlights to allow players to see in the dark.
Force Fields 2 modules · 1 definition
Adds combine force fields that citizens can't pass through.
Friendly Combine 1 module
Makes combine NPCs (such as turrets, soldiers, etc.) friendly to combine factions.
Garbage 2 modules · 3 definitions
Allows admins to spawn garbage entities that can then be searched by players.
Gathering 2 modules · 3 definitions
Resource gathering system.
Spelling 1 module
This plugin makes proper sentences.
Hunger 2 modules · 5 definitions
Makes it essential for players to eat food and drink water.
Karma 2 modules · 4 definitions
Adds a simple karma system.
Nightvision 2 modules · 1 definition
Notepad 2 modules · 4 definitions
Adds purchasable notepads which players can write/edit.
Nutscript Vending Machines 1 module · 2 definitions
Vending machines ported from Nutscript by Arbiter.
Permanent Doors 1 module · 2 definitions
Lets players have permanent doors.
Perma Remove 1 module · 1 definition
Allows Super Admins to remove map entities permanently.
Personal Doors 1 module · 2 definitions
Allows server owners to make certain doors Lock/Unlockable by certain players only.
Ration Factory 1 module · 8 definitions
Optimized version of rations factory by Dr.
Roll Gains 1 module
Adjusts outcome of /roll based on player's attributes, faction and weapon.
Third Person 3 modules
Adds a setting option to enable/disable third person view.
Union Light 1 module · 2 definitions
Adds a union light to illuminate an area.
Extra Voices 1 module
Adds extra voices.
Vort Howl 1 definition
WRROOOOORRHRHHHHHRHRHHH