PDA

View Full Version : Challenge Mod v0.6 [SaveXP]


Alekkkk
05-22-2012, 15:24
Challenge Mod
v0.6

oDIhk4yW7_Y

Contents
Description
Configuration
Suggestions
Commands
Cvar's
Installation
Requirements
Credits
Multilangual Support
Changelog


descrDescription:

Ok , in the video you can see a map ( thanks to keshi (http://gamebanana.com/members/893790) for the map ) made for this mod and the gameplay changed in v0.5
This mod is made only for dueling with others, like in jb , but u can duel with who you want all the time. There can be more than one duel at a time. You can injure only the person with who you are in duel.
When player accept a challenge , both challenger and challenged will be teleported to random area ( you can set positions with a command ( see configuration and commands ) and will be frozen for 5 seconds ( can be changed with cvar ). After that the duel will start.
If you want you can enable glowing with a cvar. If is enabled players will glow in random color during the duel ( easy to see your opponent ). For glowing you can see the video from the first version in the end of the post.

In v0.6 is added shop. You can buy regeneration(10 sec 30 hp) , speed (300.0 , can be changed with define), flashbang, +50 armor.
You can't open the shop with a command. It is open automatically when the duel starts , and can be used only once during a duel.

Semi clip is active for all but the players in duel.
If you have "Vip Access" , all weapons will be unlocked for you , and will spawn with +50 armor

Levels and xp needed:

Level 0 [0-400 xp]
Weapons to duel with:
Knife , He Grenade , USP , Deagle , MP5 , Galil , Famas , AWP

Level 1 [400-800 xp]
Unlocked Weapons:
Glock

Level 2 [800-1800 xp]
Unlocked Weapons:
Scout , P90 , P228
20 armor on spawn

Level 3 [1800-3000 xp]
Unlocked Weapons:
AK47 , M4A1
30 armor on spawn

Level 4 [3000-5000 xp]
Unlocked Weapons:
Elite Barettas , MAC10
40 armor on spawn

Level 5 [5000-10000 xp]
Unlocked Weapons:
SG552 , AUG
50 armor on spawn

Level 6 [10000-20000 xp]
Unlocked Weapons:
Fiveseven , UMP
80 armor on spawn

Level 7 [20000+ xp]
Unlocked Weapons:
G3SG1 , SG550 , TMP
100 armor on spawn


Note: If you do not select anything in menus during the time , the choice will be made automatically

confConfiguration:

You can change [Challenge Mod] Prefix in the beginning of the .sma file.

new Prefix[19] = "^1[^4Challenge Mod^1]";
Note : If you set COLOR_CHAT to false , you need to change this line
static Prefix[19] = "[Challenge Mod]";

You must set positions where players will be teleported before starting duel.They will not be set automatically. You must use "duel_move [1-16]" command

Example:

"duel_move 1" - This will be position for challenger for Area 1
"duel_move 2" - This will be position for challenged player for Area 1
"duel_move 3" - This will be position for challenger for Area 2
"duel_move 4" - This will be position for challenged player for Area 2
....

There are 8 Areas..

After that you must save them with "duel_save" . If you don't do that, they will not exist anymore after mapchange. - They are saved to a file with mapname and .chmod in /maps

Note: In the archive there are positions for duel_arena.bsp .

You can configure some defines in the beginning of the .sma
#define COLOR_CHAT true

If this is set to true , you must use chatcolor.inc and colorchat plugin. Messages in chat will be displayed colored.
If you don't want color messages set COLOR_CHAT to false.
Note that if this is disabled you need to use Challengemod_normal.txt instead of Challengemod.txt


#define ENABLE_GLOWING false

If you want players to glow in different colors due to a duel , set ENABLE_GLOWING to true
I am considering to remove glowing completely , but maybe next update.


#define ENABLE_XP_MODE true

This enables the experience mode . Most of the weapons needs some experience , if you don't have enough you can't use them.
If you want you can disable XP Mode by simply set ENABLE_XP_MODE to false
Note that if this is disabled the shop will not work ( shop is working with experience )

#define ENABLE_SOUNDS true

If you want to enable sounds in game set this to true.
If you don't want custom sounds set this to false

#define VIP ADMIN_RESERVATION
Change "ADMIN_RESERVATION" to whatever you want to be the vip access
#define SPEED 300.0
Change "300.0" to whatever you want to be the speed bought from the shop

suggSuggestions:
Use Infinite Round (http://forums.alliedmods.net/showthread.php?t=117782&highlight=infinite+round) plugin by Arkshine . You don't need rounds or objectives
Use Free for all (http://forums.alliedmods.net/showthread.php?t=80208) plugin by ConnorMcLeod . That you can duel with everyone in the server.
Max Players 16 .
Use the map in the archive "duel_arena.bsp"

commCommands:
Say /Challenge - Opens choose player menu (choose player to duel with)
Say /Duel - The same as above
Say /help - Displays help in console
Say /xp - Shows hud with level and xp
Say_team /xp - Same as above
Say /afk - Auto refuse duels and can't be challenge anymore ( say it again to go back )
Say /spec - Go to spectators team. Say it again to play

Admin Commands (You need rcon flag to use this commands)

duel_move [1-16]
duel_save
see configuration how to use them


cvarCvars:
XP Cvars
duel_savexp [1/0] - Save XP or Not
duel_xp_kill [15] - How much XP to gain per kill
duel_xp_hs_bonus [10] - How much XP to recieve for headshot
duel_xp_savetype [1/2] - How to save XP. To authid or to names.
Bonus XP For Different Weapons - 0 is default for all
duel_xp_usp "0"
duel_xp_glock "0"
duel_xp_deagle "0"
duel_xp_p228 "0"
duel_xp_elite "0"
duel_xp_fiveseven "0"
duel_xp_mp5 "0"
duel_xp_tmp "0"
duel_xp_p90 "0"
duel_xp_mac10 "0"
duel_xp_ump "0"
duel_xp_galil "0"
duel_xp_famas "0"
duel_xp_ak47 "0"
duel_xp_m4a1 "0"
duel_xp_sg552 "0"
duel_xp_aug "0"
duel_xp_scout "0"
duel_xp_awp "0"
duel_xp_g3sg1 "0"
duel_xp_sg550 "0"
duel_xp_knife "0"
duel_xp_grenade "0"


Block Fire in the hole Cvars
sv_fith_block
0 - Disabled
1 - Block radio
2 - Block message
3 - Both
Auto Join Cvars

ajc_team (0: OFF, N: team index, 5: auto team, default: 5) - controls team join
ajc_class (0: OFF, N: class index, 5: auto class, default: 5) - controls class join
ajc_imm (0: OFF, 1: ON, default: 1) - don't affect on immuned players (ON/OFF)

Automatic Unstucking Cvars
amx_autounstuck | 1/0 | Turns plugin on/off
amx_autounstuckeffects | 1/0 | Turns unstuck effects on/off
amx_autounstuckwait | default 6 | Accuracy of unstuck detecting, higher is more accurate and takes more time, value 10 takes 1 second. value 1 takes 0.1 second, do NOT set this to 0, if you dont know what to do with it, leave it on 6

Mod Cvar's
duel_autoanswer [1/2] - (def:2) Auto accept / Auto decline
duel_challengedmenu_timer [10] - (def:10) Time to answer the challenge
duel_weaponmenus_timer [10] -(def:10) Time to choose weapon (for every menu)
duel_semiclip [1/0] - (def:1) Enable/Disable semiclip
duel_respawntime [5] - (def:5) Seconds before respawn player
duel_blockkill [1/0] - (def:1) Enable/Disable Kill Command
duel_blockdrop [1/0] - (def:1) Enable/Disable Drop Command
duel_blockpickup [1/0] - (def:1) Enable/Disable Pick up weapons
duel_enableafk [1/0] - (def:0) Enable/Disable AFK command
duel_grenade_selfdmg [1/0] - (def:0) Enable/Disable grenade self dmg
duel_afk_cooldown [30] - (def:30) How much seconds to wait after can use "afk" command again
duel_start_timer [5] - (def:5) How much seconds to wait before starting duel ( Players are frozen in this time )
duel_enable_spec [1/0] - (def:1) Enable/Disable "/spec" command
Shop Cvars
shop_enable [1/0] - (def:1) Enable/Disable the shop
shop_regen [20] - How much to cost regeneration in the shop ( in XP )
shop_speed [10] - How much to cost Speed in the shop ( in XP )
shop_flashbang [10] - How much to cost Flashbang in the shop ( in XP )
shop_armor [5] - How much to cost Armor in the shop ( in XP )




installInstallation:
First of all you need to install ColorChat v0.2.1 (http://forums.alliedmods.net/showthread.php?t=94960) by ConnorMcLeod. Otherwise Challengemod will not work
Download Challengemod.sma (http://forums.alliedmods.net/attachment.php?attachmentid=105330&d=1340230441) and compile it locally with chatcolor.inc (http://forums.alliedmods.net/attachment.php?attachmentid=79768&d=1298024851) from Connor's plugin
Take the Challengemod.amxx (after compile it) and put it in \cstrike\addons\amxmodx\plugins
Open cstrike\addons\amxmodx\configs\plugins.ini and add Challengemod.amxx on new line
Download and extract resources.zip (http://forums.alliedmods.net/attachment.php?attachmentid=105248&d=1340140007) in \cstrike folder

If you define COLOR_CHAT to false you don't need ColorChat plugin. Also you will not need chatcolor.inc to compile it.( see Configuration for more information )


reqRequirements:
amxmisc
cstrike
engine
hamsandwich
fakemeta
fun
chatcolor
nvault

creditsCredits:
xPaw (http://forums.alliedmods.net/member.php?u=39377) - Blocking Fire in the hole code (http://forums.alliedmods.net/showpost.php?p=1062542&postcount=2)
VEN (http://forums.alliedmods.net/member.php?u=3695) - Auto Join on Connect code (http://forums.alliedmods.net/showthread.php?p=438587)
Igoreso (http://forums.alliedmods.net/member.php?u=41097) - Hide round timer and money code (http://forums.alliedmods.net/showthread.php?t=76947)
Ramono (http://forums.alliedmods.net/member.php?u=8143) - Automatic unstucking code (http://forums.alliedmods.net/showthread.php?p=441576)
And for block buyzone code , but i don't remember from where i get it..
keshi (http://gamebanana.com/members/893790) - Making a map for this mod.


mlMultilangual Support:
English
Bulgarian
Polish - OnePL (http://forums.alliedmods.net/member.php?u=180654)
Swedish - MoKeN (http://forums.alliedmods.net/member.php?u=167398)

Changes in ML v0.4:
DUEL_GLOW_MESSAGE = Your Opponent: %s
DUEL_COLOR_RED = Glowing in RED
DUEL_COLOR_GREEN = Glowing in GREEN
DUEL_COLOR_WHITE = Glowing in WHITE
DUEL_COLOR_DARKBLUE = Glowing in DARK BLUE
DUEL_COLOR_YELLOW = Glowing in YELLOW
DUEL_COLOR_LIGHTBLUE = Glowing in LIGHT BLUE
DUEL_COLOR_PURPLE = Glowing in PURPLE
DUEL_COLOR_ORANGE = Glowing in ORANGE
DUEL_AFK = %s !t%s!n is !taway!n from keyboard , now you can't challenge him
DUEL_BACK = %s !t%s!n is !gback!n , you can now challenge him to duel
DUEL_AFK_COOLDOWN = %s You must wait %d seconds to use it again
DUEL_CONSOLE_HELP = %s !gOpen console to see help

changelogChangelog:

v0.6
- Added cvar for /spec command
- Added define for colorchat , xp mode and glowing , removed cvar for glowing
- Added delay of 2 seconds when giving grenades
- Added Shop ( auto open when duel start )
- Added sounds
- Fixed bug: showing only knife in deathmsg

v0.5
- fixed bug (Avilable in v0.4) - shutting down server when player suicides..
- Added teleport players to area before starting duel ( See Description )
- Added countdown before starting duel
- Added freeze players during start duel countdown
- Added commands to set origins where to teleport players. ( See commands )
- Changed Semiclip method again.. ( works perfect for map like this in the archive )
- Added more cvars

v0.4
- Added a lot of cvar's ( see cvar's list )
- Code must be much more readable now ( added some comments too ) , also the code is a little modified
- I think that i fixed the semi clip ( however i added a cvar to disable it if you don't want it )
- Added /afk command ( for more info see commands list )
- Added /spec command ( for more info see commands list )
- Made some changes to ML

v0.3
- Added Save XP mod 7 levels[see description]
- Added semi clip
- Added ML support for the menu's
- Removed Cvar for glow thickness


Video - http://www.youtube.com/watch?v=1qNbkpM7G1c
This video is from the first version of the plugin.

If you want to test pm me.

You need to compile this plugin locally !

Aooka
05-22-2012, 15:30
Nice !

OnePL
05-23-2012, 15:56
Polish translation

[pl]
HELP_MSG = %s Napisz !g/challenge!n lub !gnacisnij M!n aby rozpoczac pojedynek
DUEL_WON = %s !t%s !gwygral !nw pojedynku przeciewko !t%s !nz !t%s
DUEL_SUICIDE = %s !t%s !npopelnil !tsamobojstwo
DUEL_OPPONENT_LEFT = %s Twoj przeciwnik wyszedl z gry
DUEL_DISCONNECTED_INDUEL = %s !t%s !grozlaczony!n z serwera podczas pojedynku przeciwko !t%s !nz !t%s
DUEL_WAITING_CHALLENGE = %s Czekasz na wyzwanie
DUEL_INDUEL = %s Jestes w pojedynku
DUEL_DEAD_MSG = %s Musisz byc zywy, aby otworzyc te menu
DUEL_WAITING_ANSWER = %s Czekas na odpowiedz od kogos
DUEL_PLAYER_ISBUSY = %s !t%s !njest zajety
DUEL_CHALLENGE_MSG = %s !t%s !gwyzwany !t%s!n do pojedynku z !t%s
DUEL_OPPONENT_NOTINGAME = %s Twoj przeciwnik nie gra
DUEL_REFUSED_CHALLENGE = %s !t%s !godmowil!n pojedynku przeciw !t%s !nz !t%s
DUEL_ACCEPTED_CHALLENGE = %s !t%s !gprzyjal!n pojedynek przeciw !t%s !nz !t%s
DUEL_RESPAWN_MESSAGE = Zostaniesz ozywiony za %d sekund
DUEL_GLOW_MESSAGE = Twoj przeciwnik swieci sie na
DUEL_COLOR_RED = CZERWONO
DUEL_COLOR_GREEN = ZIELONO
DUEL_COLOR_WHITE = BIALO
DUEL_COLOR_DARKBLUE = CIEMNY NIEBIESKI
DUEL_COLOR_YELLOW = ZOLTO
DUEL_COLOR_LIGHTBLUE = JASNY NIEBIESKI
DUEL_COLOR_PURPLE = FIOLETOWO
DUEL_COLOR_ORANGE = POMARANCZOWO

OnePL
05-29-2012, 07:52
Updated polish translation


[en]
HELP_MSG = %s Napisz !g/challenge!n lub !gnacisnij M!n aby rozpoczac pojedynek
DUEL_WON = %s !t%s !gwygral !nz !t%s !nw pojedynku na !t%s
DUEL_SUICIDE = %s !t%s !nPopelnil !tsamobojstwo
DUEL_OPPONENT_LEFT = %s Twoj przeciwnik wyszedl z gry
DUEL_DISCONNECTED_INDUEL = %s !t%s !grozlaczyl sie!n z serwerem podczas pojedynku z !t%s !nw !t%s
DUEL_WAITING_CHALLENGE = %s Czekasz na wyzwanie
DUEL_INDUEL = %s Jestes w pojedynku
DUEL_DEAD_MSG = %s Musisz byc zywy, aby otworzy to menu
DUEL_WAITING_ANSWER = %s Czekasz na odpowiedz od innego gracza
DUEL_PLAYER_ISBUSY = %s !t%s !njest zajety
DUEL_CHALLENGE_MSG = %s !t%s !gwyzwal !t%s!n do pojedynku w !t%s
DUEL_OPPONENT_NOTINGAME = %s Twojego przeciwnika nie ma na serwerze
DUEL_REFUSED_CHALLENGE = %s !t%s !godrzucil!n pojedynek przeciwko !t%s !nw !t%s
DUEL_ACCEPTED_CHALLENGE = %s !t%s !gprzyjal!n pojedynek przeciwko !t%s !nw !t%s
DUEL_RESPAWN_MESSAGE = Zostaniesz ozywiony za %d sekund
DUEL_GLOW_MESSAGE = Twoj przeciwnik swieci sie na
DUEL_COLOR_RED = CZERWONO
DUEL_COLOR_GREEN = ZIELONO
DUEL_COLOR_WHITE = BIALO
DUEL_COLOR_DARKBLUE = CIEMNY NIEBIESKI
DUEL_COLOR_YELLOW = ZOLTO
DUEL_COLOR_LIGHTBLUE = JASNY NIEBIESKI
DUEL_COLOR_PURPLE = FIOLETOWO
DUEL_COLOR_ORANGE = POMARANCZOWO
DUEL_LEVEL_UP = %s Gratulacje! !gZdobyles!n nastepny poziom
DUEL_MENU = \yWybierz \ybron [\wpozostalo %d sekund\y]
DUEL_PISTOL_MENU = \yWybierz Pistolet [\wpozostalo %d sekund\y]
DUEL_MACHINE_MENU = \yWybierz Karabin Maszynowy [\wpozosatalo %d sekund\y]
DUEL_RIFLE_MENU = \yWybierz Karabin [\wpozostalo %d sekund\y]
DUEL_CHALLENGED_MENU = \w%s \yWyzwano Cie do pojedynku z \r%s \y[\wpozostalo %d sekund\y]
DUEL_CHALLENGED_ACCEPT = Przyjmij
DUEL_CHALLENGED_REFUSE = Odrzuc

rastafari
05-29-2012, 09:56
In my opinion best plugin made in may.
Some suggestions:
-Add /spec or something like that command to let others spectate the duel
-Change Hud message something like this:
Your Opponent:%name
Glowing in: %color
-Command to auto-refuse duels, writing it again would enable

Alekkkk
05-29-2012, 12:22
OnePL Thanks !

rastafari - i'll add /spec in next version, and change the message like you suggested.

I'm not sure what do you mean with -Command to auto-refuse duels, writing it again would enable

Now the duel is auto refused every time. You suggest to auto accept the duel if no action for the second challenge?

I found a little bug in the semi clip. That would be fixed in the next version too.

Challengemod.txt is updated.

Alekkkk
06-03-2012, 16:15
Update , see changelog.

FR0NTLINE
06-03-2012, 22:50
This is especially cool for people that talk shit and you want a 1v1 during game play. Especially some damn awp whores.

Thanks 4 your work ALEKKKK! and i'm glad your name has 4 k's instead of 3.

Alekkkk
06-09-2012, 15:38
Update. See description and changelog.. :D

ConnorMcLeod
06-09-2012, 19:50
Any reason you set bpammo on CmdStart ? (Could use AmmoX (http://wiki.amxmodx.org/Half-Life_1_Game_Events#AmmoX) message, when ammo is > 1, set it to 1, for example)
Sent from UpdateClientData :
void CBasePlayer::SendAmmoUpdate(void)
{
for (int i=0; i < MAX_AMMO_SLOTS;i++)
{
if (m_rgAmmo[i] != m_rgAmmoLast[i])
{
m_rgAmmoLast[i] = m_rgAmmo[i];

ASSERT( m_rgAmmo[i] >= 0 );
ASSERT( m_rgAmmo[i] < 255 );

// send "Ammo" update message
MESSAGE_BEGIN( MSG_ONE, gmsgAmmoX, NULL, pev );
WRITE_BYTE( i );
WRITE_BYTE( max( min( m_rgAmmo[i], 254 ), 0 ) ); // clamp the value to one byte
MESSAGE_END();
}
}
}


May be you could add a define to disable colorchat ?

Alekkkk
06-09-2012, 20:01
I'm using cmdstart because i was thinking to add cvar's to customize every weapon bpammo or even to set bpammo compared to user level.. However, i never do that.
Also i was never thinking about different way to set bpammo to 1 all the time.. Thanks for the example .

Nice idea , i will add a define in the next update.

sm0ke0n7h3w473r
06-15-2012, 07:42
Can you give COMPILED .SMA >?

<VeCo>
06-15-2012, 07:47
Can you give COMPILED .SMA >?
Click on "Get Plugin".

sm0ke0n7h3w473r
06-15-2012, 08:18
Now i see :D

MokeN
06-15-2012, 12:25
Swedish Translation, i can even make finnish translation if needed.


[se]
HELP_MSG = %s S'a'g !g/challenge!n or !gpress M!n f'o'r att starta en duell!
DUEL_WON = %s !t%s !gvann !nduellen mot !t%s !nmed !t%s.
DUEL_SUICIDE = %s !t%s !nutf'o'rde !tsj'a'lvmord.
DUEL_OPPONENT_LEFT = %s Din utmanare har l'a'mnat spelet.
DUEL_DISCONNECTED_INDUEL = %s !t%s !gkopplade bort sig!n fr'an servern medans utmanade mot !t%s !nmed en!t%s
DUEL_WAITING_CHALLENGE = %s You are waiting to be challenged
DUEL_INDUEL = %s Du 'a'r i en duell
DUEL_DEAD_MSG = %s Du m'aste vara levande f'o'r att kunna 'o'ppna den h'a'r menyn
DUEL_WAITING_ANSWER = %s Du v'a'ntar en utmanings f'o'rfr'agan fr'an n'agon
DUEL_PLAYER_ISBUSY = %s !t%s !n'a'r upptagen
DUEL_CHALLENGE_MSG = %s !t%s !gutmanade !t%s!n till en duell med !t%s
DUEL_OPPONENT_NOTINGAME = %s Din utmanare 'a'r inte in-game
DUEL_REFUSED_CHALLENGE = %s !t%s !gnekade!n duellen mot !t%s !nmed !t%s
DUEL_ACCEPTED_CHALLENGE = %s !t%s !gaccepterade!n duell mot !t%s !nmed !t%s
DUEL_RESPAWN_MESSAGE = Du kommer bli 'aterupplivad inom %d seconds
DUEL_GLOW_MESSAGE = Din utmanare: %s
DUEL_COLOR_RED = Lyser R'o'd
DUEL_COLOR_GREEN = Lyser Gr'o'n
DUEL_COLOR_WHITE = Lyser Vit
DUEL_COLOR_DARKBLUE = Lyser M'o'rk Bl'a
DUEL_COLOR_YELLOW = Lyser Gul
DUEL_COLOR_LIGHTBLUE = Lyser Ljus Bl'a
DUEL_COLOR_PURPLE = Lyser Lila
DUEL_COLOR_ORANGE = Lyser Orange
DUEL_LEVEL_UP = %s Grattis! Du !g'o'kade!n en level
DUEL_MENU = \yV'a'lj \yVapen [\w%d sekunder kvar\y]
DUEL_PISTOL_MENU = \yV'a'lj Pistol [\w%d sekunder kvar\y]
DUEL_MACHINE_MENU = \yV'a'lj Maskingev'a'r [\w%d sekunder kvar\y]
DUEL_RIFLE_MENU = \yV'a'lj Gev'a'r [\w%d sekunder kvar\y]
DUEL_CHALLENGED_MENU = \w%s \yutmanade dig till en duell med \r%s \y[\w%d sekunder kvar\y]
DUEL_CHALLENGED_ACCEPT = Acceptera
DUEL_CHALLENGED_REFUSE = Neka
DUEL_AFK = %s !t%s!n 'a'r !tborta!n fr'an datorn , du kan inte utmana honom nu.
DUEL_BACK = %s !t%s!n 'a'r !gtillbaks!n , du kan nu utmana honom till en duell
DUEL_AFK_COOLDOWN = %s Du m'aste v'a'nta %d sekunder f'o're du kan anv'a'nda det igen
DUEL_CONSOLE_HELP = %s !g'O'ppna konsolen f'o'r att se hj'a'lp

Backstabnoob
06-15-2012, 12:49
Looks interesting, I'll try it out.

Frozegrew
06-16-2012, 01:53
Very nice mode. I love it :)

Alekkkk
06-19-2012, 17:14
MoKeN , added thanks.

Update v0.6 :

- Added cvar for /spec command
- Added define for colorchat , xp mode and glowing , removed cvar for glowing
- Added delay of 2 seconds when giving grenades
- Added Shop ( auto open when duel start )
- Added sounds
- Fixed bug: showing only knife in deathmsg

All files are updated.

Edit:
.sma file is updated. ( one line is moved because of an error )

Rasist
06-21-2012, 14:14
Nice!
:)

ToXicRS
07-03-2012, 09:42
Serbian Translation :D

[srb]
HELP_MSG = %s Napisi !g/challenge!n ili !gpress M!n da zapocnes duel
DUEL_WON = %s !t%s !gje pobedio u !nthe duelu protiv !t%s !nwith !t%s
DUEL_SUICIDE = %s !t%s !nje pocinio !tsamoubistvo
DUEL_OPPONENT_LEFT = %s Tvoj protivnik je napustio igru
DUEL_DISCONNECTED_INDUEL = %s !t%s !gse diskonektovao!n sa servera u duelu !t%s !nsa !t%s
DUEL_WAITING_CHALLENGE = %s Cekas da budes izazvan
DUEL_INDUEL = %s U duelu si
DUEL_DEAD_MSG = %s Moras da budes ziv da bi otvorio ovaj meni
DUEL_WAITING_ANSWER = %s Cekas odgovor od nekoga
DUEL_PLAYER_ISBUSY = %s !t%s !nje zauzet
DUEL_CHALLENGE_MSG = %s !t%s !gizazvan si !t%s!n u duelu sa !t%s
DUEL_OPPONENT_NOTINGAME = %s Tvoj protivnik nije u igri
DUEL_REFUSED_CHALLENGE = %s !t%s !gOtkazan !n duel protiv !t%s !nsa !t%s
DUEL_ACCEPTED_CHALLENGE = %s !t%s !gprihvacen!n to duel protiv !t%s !nsa !t%s
DUEL_RESPAWN_MESSAGE = Bices respawnovan za %d sekundi
DUEL_GLOW_MESSAGE = Tvoj protivnik: %s
DUEL_COLOR_RED = Glow u CRVENO
DUEL_COLOR_GREEN = Glow u ZELENO
DUEL_COLOR_WHITE = Glow u BELO
DUEL_COLOR_DARKBLUE = Glow u TAMNO PLAVO
DUEL_COLOR_YELLOW = Glow u ZUTO
DUEL_COLOR_LIGHTBLUE = Glow u SVETLO PLAVO
DUEL_COLOR_PURPLE = Glow u LJUBICASTO
DUEL_COLOR_ORANGE = Glow u NARANDZASTO
DUEL_LEVEL_UP = %s Cestitamo! Presao !gsi na visi!n nivo
DUEL_MENU = \yIzaberi \yOruzje [\w%d preostalo sekundi\y]
DUEL_PISTOL_MENU = \yIzaberi pistolj [\w%d preostalo sekundi\y]
DUEL_MACHINE_MENU = \yIzaberi pusku [\w%d preostalo sekundi\y]
DUEL_RIFLE_MENU = \yIzaberi snajper [\w%d preostalo sekundi\y]
DUEL_CHALLENGED_MENU = \w%s \yizazvan si u duel sa \r%s \y[\w%d preostalo sekundi\y]
DUEL_CHALLENGED_ACCEPT = Prihvati
DUEL_CHALLENGED_REFUSE = Odbij
DUEL_AFK = %s !t%s!n je !tafk!n nemozes da ga izazoves
DUEL_BACK = %s !t%s!n se !gvratio!n , sada mozes da ga izazoves na duel
DUEL_AFK_COOLDOWN = %s Moras da sacekas %d sekundi da koristis opet
DUEL_CONSOLE_HELP = %s !gOtvori konzolu za pomoc

Xpawn
07-03-2012, 10:57
Not Bad :/

ozakong
01-22-2013, 17:23
y u dont make a on\off command?? y i have to go to the ftp to close this plugin

Alekkkk
01-24-2013, 07:23
y u dont make a on\off command?? y i have to go to the ftp to close this plugin

:?:

Napoleon_be
01-28-2013, 08:13
Dutch ML support

[nl]
DUEL_GLOW_MESSAGE = Je tegenstander: %s
DUEL_COLOR_RED = Gloeien in ROOD
DUEL_COLOR_GREEN = Gloeien in GROEN
DUEL_COLOR_WHITE = Gloeien in WIT
DUEL_COLOR_DARKBLUE = Gloeien in DONKER BLAUW
DUEL_COLOR_YELLOW = Gloeien in GEEL
DUEL_COLOR_LIGHTBLUE = Gloeien in LICHT BLAUW
DUEL_COLOR_PURPLE = Gloeien in PAARS
DUEL_COLOR_ORANGE = Gloeien in ORANJE
DUEL_AFK = %s !t%s!n is !tweg!n van toetsenbord , je kan hem nu niet uitdagen.
DUEL_BACK = %s !t%s!n is !gterug!n , je kan hem nu uitdagen.
DUEL_AFK_COOLDOWN = %s Je moet nog %d seconden wachten om het opnieuw te gebruiken.
DUEL_CONSOLE_HELP = %s !gOpen console om hulp te bekijken.

Lokogaditano
01-30-2013, 17:30
very nice plugin

I add spawn points in map, because only 8 vs 8, I add 18 vs 18, but , when are 12 vs 12, the new player that enter the server cant join a team


and when people are in duel, semiclip dont work, Other players from others duels block me and all people

Alekkkk
01-31-2013, 09:51
very nice plugin

I add spawn points in map, because only 8 vs 8, I add 18 vs 18, but , when are 12 vs 12, the new player that enter the server cant join a team


and when people are in duel, semiclip dont work, Other players from others duels block me and all people

Download the map included in the first post , its made exactly for this mode

XINLEI
02-01-2013, 11:10
Spanish translation:
[es]
HELP_MSG = %s Escribe !g/challenge!n o !gpresiona M!n Para iniciar un duelo
DUEL_WON = %s !t%s !ggano !nel duelo contra !t%s !ncon !t%s
DUEL_SUICIDE = %s !t%s !nse ha !tsuicidado
DUEL_OPPONENT_LEFT = %s Tu oponente abandono la partida
DUEL_DISCONNECTED_INDUEL = %s !t%s !gse desconecto!n del servidor mientras jugaba contra!t%s !ncon !t%s
DUEL_WAITING_CHALLENGE = %s Estas esperando a que te reten.
DUEL_INDUEL = %s Estas en un duelo
DUEL_DEAD_MSG = %s Debes estar vivo para abrir este menu
DUEL_WAITING_ANSWER = %s Estas esperando la respuesta de alguien
DUEL_PLAYER_ISBUSY = %s !t%s !nesta ocupado
DUEL_CHALLENGE_MSG = %s !t%s !gha retado a !t%s!n en un duelo con !t%s
DUEL_OPPONENT_NOTINGAME = %s Tu oponente no esta en el juego
DUEL_REFUSED_CHALLENGE = %s !t%s !grechazo!n el duelo de !t%s !ncon !t%s
DUEL_ACCEPTED_CHALLENGE = %s !t%s !gacepto!n el duelo contra !t%s !ncon !t%s
DUEL_RESPAWN_MESSAGE = Reapareceras en %d segundos
DUEL_GLOW_MESSAGE = Tu oponente: %s
DUEL_COLOR_RED = Brillando en ROJO
DUEL_COLOR_GREEN = Brillando en VERDE
DUEL_COLOR_WHITE = Brillando en BLANCO
DUEL_COLOR_DARKBLUE = Brillando en AZUL
DUEL_COLOR_YELLOW = Brillando en AMARILLO
DUEL_COLOR_LIGHTBLUE = Brillando en CIAN(azul clarito)
DUEL_COLOR_PURPLE = Brillando en PURPURA
DUEL_COLOR_ORANGE = Brillando en NARANJA
DUEL_LEVEL_UP = %s Felicidades! Tu !gGanas!n Nivel
DUEL_MENU = \yElegir \yArma [\w%d segundos restantes\y]
DUEL_PISTOL_MENU = \yElegir pistola [\w%d segundos restantes\y]
DUEL_MACHINE_MENU = \yElejir SMG [\w%d segundos restantes\y]
DUEL_RIFLE_MENU = \yElegir Rifle [\w%d segundos restantes\y]
DUEL_CHALLENGED_MENU = \w%s \yTe ha retado a un duelo con \r%s \y[\w%d segundos restantes\y]
DUEL_CHALLENGED_ACCEPT = Aceptar
DUEL_CHALLENGED_REFUSE = Rechazar
DUEL_AFK = %s !t%s!n Esta !tlejos!n del teclado (AFK) , No lo puedes retar aun.
DUEL_BACK = %s !t%s!n Esta !gde vuelta!n , Ahora puedes retarlo a un duelo
DUEL_AFK_COOLDOWN = %s Debes esperar %d segundos para usarlo de nuevo
DUEL_CONSOLE_HELP = %s !gAbre la consola para ver la ayuda

Suggestions/improvements:

-A menu or something to make a duel with the same gun
-increase the duel limit from 8 to 15 so it can be for a 32 server (2 watching)
-options to make a duel in some specific place (example a sniper duel in a large space, shotgun duel in a close space)
-more maps. i think you can use fun_allinone for this too :)