Difference between revisions of "Open Source Plugins for Metamod:Source"
(added devnull's plugin) |
m (crap, wrong copy paste!) |
||
Line 34: | Line 34: | ||
<b>Features:</b> Hook <i>CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon)</i> and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).<br> | <b>Features:</b> Hook <i>CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon)</i> and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).<br> | ||
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?p=34892 www.sourcemod.net/forums/viewtopic.php?p=34892] | <b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?p=34892 www.sourcemod.net/forums/viewtopic.php?p=34892] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br><br> | <br><br> | ||
=== Stripper:Source === | === Stripper:Source === |
Revision as of 10:30, 2 June 2006
Contents
Open Source Plugins for SourceMM
This page lists known plugins with available source code. Please check the licenses for each one as they may not truly be "open source."
Basic Templates
stub_mm
Author: BAILOPAN
Description: minmum implentation of a valid SourceMM plugin
Features: starting template
Download: Included in the SourceMM source code package: prdownloads.sourceforge.net/sourcemm/sourcemm-1.2.2-source.tar.gz?download
sample_mm
Author: BAILOPAN
Description: implements the features of the standard Valve server plugin from the SDK
Features: starting template with similar functionality to the Valve sample_plugin
Download: Included in the SourceMM source code package: prdownloads.sourceforge.net/sourcemm/sourcemm-1.2.2-source.tar.gz?download
sample2_mm
Author: BAILOPAN, edited by L. Duke
Description: fixes (by inheriting from IGameEventListener2 instead of hooking FireGameEvent) the problem in sample_mm plugin where some events are not received
Features: starting template with similar functionality to the Valve sample_plugin
Download: www.sourcemod.net/forums/viewtopic.php?p=34891 (you must be logged in to view the download link)
Functional Plugins
Basic Admin Tool (BAT)
Author: EKS
Description: Provides basic admin functions
Features: Kick, ban, menus, reserved slots, timeleft/nextmap say commands, etc.
Download: www.sourcemod.net/forums/viewtopic.php?t=2923
CS:S Weapon Restrictions 2
Author: L. Duke
Description: Prevents players from picking up restricted weapons (if bought, they fall to the ground). Also includes an option to remove restricted weapons from the game.
Features: Hook CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon) and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).
Download: www.sourcemod.net/forums/viewtopic.php?p=34892
Stripper:Source
Author: BAILOPAN
Description: You can add any type of entity - hostage, spawn point, physics prop, permanently to the map. You can also filter out entities for deletion, either by specific entries or regular expressions. Stripper:Source lets you define global rules and per-map rules. It also lets other plugins (both SourceMM plugins and Server Plugins) use its API.
Features: shows how to edit the map entity lump in memory to change map entities
Download: www.sourcemod.net/forums/viewtopic.php?t=3008