Thread: Duel Mod v1.2
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-01-2008 , 17:31   Duel Mod v1.2
Reply With Quote #1

Duel Mod

Description
This mod is designed to allow dueling, where players challenge each other and engage in battle. It is designed for the mod "The Specialists", but can be used on other mods.

Installation
Install like any other plugin, then add/modify the following into your amxx.cfg:

Code:
// Duel Mod

// Whether or not Duel Mod is on
// 0 - off
// 1 - on
amx_duel 1

// Whether or not players can only injure each other while dueling
// 0 - off
// 1 - on
amx_duel_onlyduel 1

// Whether or not to block the "kill" command while in duels
// 0 - off
// 1 - on
amx_duel_blockkill 1

// Countdown timer for duels to begin
// 0 - disabled
// Use any other number up to 10 for timer
amx_duel_countdown 3

// Transparency of other players while dueling
// 0 - invisible
// 255 - visible as normal
// any other value - somewhere in between
amx_duel_transparency 80

// Punching bag mode
// Note: requires amx_duel_onlyduel 1 to be
// active
// 0 - off
// 1 - on
amx_duel_punchingbag 1

// Glow setting
// 0 - no glow, just transparency
// 1 - glow randomly
// 2 - hologram (stub)
amx_duel_glow 1
Commands
say /duel - Will challenge the player being looked at to a duel.
say /accept - Will accept a challenge. Note that you can also use /duel, but you must be looking at the person who challenged you. With /accept, the last person to challenge you will be accepted.
say /punchingbag - Turns the player into a punching bag (requires amx_duel_punchingbag to be set to 1).
say /deny - Denies the last person who challenged you until you turn it off by saying /duel or /accept to them.
say /pair - Pairs you with anyone else who typed that command.

Credits
Havoc9 - Testing help (specifically SaderBiscut and Jimmy Striker).
Lord_Destros - Testing help.
Steely - Testing help.
sawyer
- Testing help.

coderiz - New semiclip method.
Charming - Encouragement.

Demonstration Video
http://www.youtube.com/watch?v=m8Z-EL7N-34
Attached Files
File Type: sma Get Plugin or Get Source (duelmod.sma - 3071 views - 16.2 KB)
__________________

Last edited by Hawk552; 06-09-2008 at 10:23. Reason: upped to v1.2
Hawk552 is offline
Send a message via AIM to Hawk552