AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Free Duels v: 2.05 08/27/2014 (https://forums.alliedmods.net/showthread.php?t=200900)

Erreur 500 11-14-2012 13:55

[TF2] Free Duels v: 2.05 08/27/2014
 
6 Attachment(s)




Last update:
08/27/2014 change : .smx, translations file and ClassRestric 0.6.1 DJ Tsunami, Free_Duel version=> Show logs for more informations.



More Information and Rules : See below post!


How to install ?


Free_duels.cfg in \tf\cfg\sourcemod => Auto generated
free_duels.smx in tf\addons\sourcemod\plugins
free_duels.sp in tf\addons\sourcemod\scripting
free_duels.inc in tf\addons\sourcemod\scripting\include
free_duels.phrases.txt in tf\addons\sourcemod\translations
free_duels_sprites.zip , decompress it and place the 2 sprites in tf\materials\free_duel

Need to work : morecolors.inc


ConVARS:
Code:

duel_enabled "1"                  // Enable or disable the plugin.
duel_tag "1"                  // add 'duels' tags.
duel_immunity 0                // Flag to make duel ? a or b or o or p or q or r or s or t or z , 0 = no flag needed.
 
duel_type1 "1"                  // Enable or disable `normal` duel (type 1) ?
duel_type2 "1"                  // Enable or disable `time left` duel (type 2) ?
duel_type3 "1"                  // Enable or disable `amount of kills` duel (type 3) ?
duel_class "1"                        // Enable or disable duel with class restriction ?
duel_godmod "1"                // Enable or disable duel with godmod ?
duel_headshot "1"              // Enable or disable duel 'only head shot' for sniper ?
 
duel_classrestrict 0              // 1 = classrestrict by DJ Tsunami, 2 = Max Class (Class Limit) by Nican , 0 = none.
duel_godmod_flag "a"              // Flag to make godmod duel ? a or b or o or p or q or r or s or t or z , 0 = no flag needed.
duel_headshot_flag "a"          // Flag to make 'only head shot' duel (sniper) ? a or b or o or p or q or r or s or t or z , 0 = no flag needed.

DataBase:

If you want to use MySQL, copy/paste this in sourcemod/configs/databases.cfg. Replace by your own data.

PHP Code:

 
"duel"
{
            
"driver"                          "mysql"
            "host"                            "YourHost"
            "database"                        "YourDatabaseName"
            "user"                            "Login"
            "pass"                            "PassWord"
           
//"timeout"                        "0"
           //"port"                           "0"


Else use SQLite and do nothing.



----------------- Be Careful ! ------------------


If you use a Class restriction's plugin, like TF2 Class Restrictions or TF2 MaxClass :
Else if you don't run Class Restriction's plugin : duel_classrectrict 0



FOR server which run TF2 Class Restrictions :

Download, decompress ClassRestric 0.6.1 DJ Tsunami, Free_Duel version.zip and copy/paste the two files in your server. It's the same configs and CVARs as the original, but players in duel with class restriction are immune. Think to change cvar : duel_classrectrict 1
[SIZE=3]Use only this version ClassRestric 0.6.1 DJ Tsunami, Free_Duel version.zip if you run free_duels !


FOR server which run TF2 MaxClass (Class limit) : Just Think to change cvar : duel_classrectrict 2



-------------------------------------------------------------------------




Translations

English : Done
French : Done
Italian : by Petrov

Want more translation ? Give me your translation !


Logs


Spoiler

Erreur 500 11-14-2012 13:56

Re: [TF2] Free Duels 2.05v
 
RULES



General:-------------------------------------------------------------------------------------------------------

- Player 1 wins if :
- Player 2 writes !abort;
- Player 2 changes team;
- Player 2 disconnects;
- Player 2 loses duel.

- Player 2 has 20 sec to accept or refuse Player 1 duel thanks to a panel which contain all duel data.

- A duel sprite will be add above dueler head. Only you and your challenger can see it.

- As Spy if you are cloaked, your duel sprite is hidden.




Options:-------------------------------------------------------------------------------------------------------

http://erreur500.comuv.com/gallery/1...733_500x80.png

Possibilities: Scout, Sniper, Soldier, Demoman, Medic, Heavy, Pyro, Spy, Engineer, or ANY (=No class restriction)

Availability: Can be used with all duel Types.

Rules:
- If you tried to change class, you will receive a warning!
- You must !abort duel before change class.



http://erreur500.comuv.com/gallery/3...62e_500x70.jpg

Possibilities: ON - OFF

Availability: Can be used with all duel types BUT Class Restriction option must be as 'Sniper'.

Rules:
- Only head-shots will be recognized.
- You can do body-shots and kill some one, but it won't be recognized.



http://erreur500.comuv.com/gallery/f...e56_500x90.png

Possibilities: ON - OFF

Availability: Can be used with all duel types.

Rules:
- You can't hurt/kill other player, except your opponent.
- Players can't hurt/kill you.
- If you tried to take control point or flag, you loose your GodMod option.
- When you exit control point or drop flag, you re-find your GodMod option.
- GodMod player are colored as Blue or Red.
- Your building will be automatically destroyed.

Leonardo 11-14-2012 14:00

Re: [TF2] Free Duels 1.00v
 
hook player_team instead of teamplay_teambalanced_player

Mr. Man 11-14-2012 16:46

Re: [TF2] Free Duels 1.00v
 
Interesting. Does it also have the sounds that comes with the actual dueling tool?

ozgaming 11-14-2012 22:07

Re: [TF2] Free Duels 1.00v
 
Awesome, I asked if someone could make something like this awhile back. Will try it tonight

Erreur 500 11-15-2012 05:17

Re: [TF2] Free Duels 1.00v
 
Yes, it play dueling tool sound : one for challenged player, one for if player accepted or refused and one went duel end.

Sillium 11-15-2012 07:19

Re: [TF2] Free Duels 1.00v
 
Nice.. I thinks we'll try it :)

cool_myll 11-15-2012 13:19

Re: [TF2] Free Duels 1.00v
 
Any way to set it so only admins can initiate? Or people with certain flags?

Also, does it show the duel icon on the dueler?

Erreur 500 11-15-2012 14:07

Re: [TF2] Free Duels 1.00v
 
For now, no. All player can write !duel
Next time i will add cvars for certain flags only.

It doesn't show the duel icon on the dueler because I don't know how to make it. I looking for since some days.

Leonardo 11-15-2012 14:13

Re: [TF2] Free Duels 1.00v
 
Quote:

Originally Posted by Erreur 500 (Post 1838383)
It doesn't show the duel icon on the dueler because I don't know how to make it. I looking for since some days.

attach particle effects ~


All times are GMT -4. The time now is 17:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.