View Single Post
Author Message
Erreur 500
Senior Member
Join Date: Aug 2012
Location: Paris, France
Old 11-14-2012 , 13: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, 3421 views)
File Type: zip free_duels_sprites.zip (17.7 KB, 2833 views)
File Type: smx free_duels.smx (38.3 KB, 2301 views)
File Type: sp Get Plugin or Get Source (free_duels.sp - 1790 views - 60.7 KB)
File Type: zip ClassRestric 0.6.1 DJ Tsunami, Free_Duel version.zip (9.9 KB, 1110 views)
File Type: txt free_duels.phrases.txt (6.1 KB, 2824 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 07:00. Reason: Update
Erreur 500 is offline