Raised This Month: $71 Target: $400
 17% 

[TF2] Free Duels v: 2.05 08/27/2014


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Erreur 500
Senior Member
Join Date: Aug 2012
Location: Paris, France
Plugin ID:
3368
Plugin Version:
2.05
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Challenging other players with different mods
    Old 11-14-2012 , 14:55   [TF2] Free Duels v: 2.05 08/27/2014
    Reply With Quote #1





    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
    Attached Files
    File Type: inc free_duels.inc (647 Bytes, 1968 views)
    File Type: zip free_duels_sprites.zip (17.7 KB, 1534 views)
    File Type: smx free_duels.smx (38.3 KB, 1387 views)
    File Type: sp Get Plugin or Get Source (free_duels.sp - 972 views - 60.7 KB)
    File Type: zip ClassRestric 0.6.1 DJ Tsunami, Free_Duel version.zip (9.9 KB, 707 views)
    File Type: txt free_duels.phrases.txt (6.1 KB, 1251 views)
    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500

    Last edited by Erreur 500; 09-09-2014 at 08:00. Reason: Update
    Erreur 500 is offline
    Erreur 500
    Senior Member
    Join Date: Aug 2012
    Location: Paris, France
    Old 11-14-2012 , 14:56   Re: [TF2] Free Duels 2.05v
    Reply With Quote #2

    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:-------------------------------------------------------------------------------------------------------



    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.





    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.





    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.

    Last edited by Erreur 500; 08-28-2014 at 06:01.
    Erreur 500 is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 11-14-2012 , 15:00   Re: [TF2] Free Duels 1.00v
    Reply With Quote #3

    hook player_team instead of teamplay_teambalanced_player
    Leonardo is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 11-14-2012 , 17:46   Re: [TF2] Free Duels 1.00v
    Reply With Quote #4

    Interesting. Does it also have the sounds that comes with the actual dueling tool?
    Mr. Man is offline
    ozgaming
    SourceMod Donor
    Join Date: Aug 2011
    Old 11-14-2012 , 23:07   Re: [TF2] Free Duels 1.00v
    Reply With Quote #5

    Awesome, I asked if someone could make something like this awhile back. Will try it tonight
    ozgaming is offline
    Erreur 500
    Senior Member
    Join Date: Aug 2012
    Location: Paris, France
    Old 11-15-2012 , 06:17   Re: [TF2] Free Duels 1.00v
    Reply With Quote #6

    Yes, it play dueling tool sound : one for challenged player, one for if player accepted or refused and one went duel end.
    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500
    Erreur 500 is offline
    Sillium
    AlliedModders Donor
    Join Date: Sep 2008
    Location: Germany
    Old 11-15-2012 , 08:19   Re: [TF2] Free Duels 1.00v
    Reply With Quote #7

    Nice.. I thinks we'll try it
    __________________
    brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this


    www.unterwasserpyromanen.de
    Sillium is offline
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 11-15-2012 , 14:19   Re: [TF2] Free Duels 1.00v
    Reply With Quote #8

    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?
    __________________

    Last edited by cool_myll; 11-15-2012 at 14:37.
    cool_myll is offline
    Erreur 500
    Senior Member
    Join Date: Aug 2012
    Location: Paris, France
    Old 11-15-2012 , 15:07   Re: [TF2] Free Duels 1.00v
    Reply With Quote #9

    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.
    __________________
    My public creation : PortalMod - Free Duels - Unusual Effects - Particle fireworks - !stuck

    Need private plugin ? We can found an agreement !
    Steam : Erreur 500

    Last edited by Erreur 500; 11-15-2012 at 15:08.
    Erreur 500 is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 11-15-2012 , 15:13   Re: [TF2] Free Duels 1.00v
    Reply With Quote #10

    Quote:
    Originally Posted by Erreur 500 View Post
    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 ~
    Leonardo is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


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


    Powered by vBulletin®
    Copyright ©2000 - 2018, vBulletin Solutions, Inc.
    Theme made by Freecode