Raised This Month: $ Target: $400
 0% 

[TF2] Cosmetic Class Experience [UPDATED!]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
1573
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adds cosmetic class experience to each class. Upon leveling up twice they'll gain a new wearable (not hat).
    Old 03-30-2010 , 06:29   [TF2] Cosmetic Class Experience [UPDATED!]
    Reply With Quote #1

    Requires SDK Hooks
    Compiled with 1.2.4
    Inspired by this

    When compiling, you'll need
    colors

    Credits to Damizean and his Equipment Manager which I have modified slightly for this purpose.

    This plugin gives each class 3 skills to advance in. Upon leveling up twice in any skill they'll gain a new wearable. No wearable are hats on purpose: the plugin is not meant to replace the player's ever-so-loved hat.

    Make sure to try the plugin first with cce_nosubmit 1. If you like it, you can consider adding saving support.

    THE SKILLS
    Soldier
    Soldat's Aim: Hit enemies directly with rockets!
    Air Force: Rocket Jump and hurt enemies!
    Close Combatant: Hit enemies up close!

    Pyro
    Poof Blaster: Reflect objects!
    Ambush Academy: Ambush using the backburner or axtinguisher!
    Distance Damager: Hurt enemies from a distance!

    Scout
    Meatshot: Hurt enemies badly in one shot with the Scattergun or FaN!
    Support Stalker: Hurt and kill enemy support classes!
    Air Mobility: Hurt enemies while airborne!

    Demoman
    Splash Master: Hit multiple enemies at once with explosives!
    Hardhat Harmer: Destroy buildings!
    Drunken Royalty: Slay ememies with melee weapons!

    Engineer
    Sentry Shooting: Kill enemies using your sentry!
    Team Support: Support your team with dispensers and teleporters!
    Wacky Wrench: Kill enemies with your wrench (spies are a good target)!

    HOW TO MAKE IT WORK IN SQL
    STEP 1
    Execute the following into your sql database:
    Code:
    CREATE TABLE  `<DATABASENAME>`.`mw_skills` (
    `id` VARCHAR( 255 ) NOT NULL ,
    `steamid` VARCHAR( 255 ) NOT NULL ,
    `value` INT( 11 ) NOT NULL ,
    PRIMARY KEY (  `id` )
    ) ENGINE = MYISAM
    Replace <DATABASENAME> with the name of your database. It should create a table called mw_skills.

    STEP 2
    Go to addons/sourcemod/configs/databases.cfg

    Add the following after the last database:
    Code:
    	"cce"
    	{       
    		"driver"			"mysql"
              	"host"				"<HOST>"        
              	"database"			"<DATABASENAME>"    
              	"user"				"<USERNAME>"      
              	"pass"				"<PASSWORD>"      
             	"timeout"				"300"       
              	"port"				"3306"   
    	}
    Replace the highlighted fields with your sql settings.
    Change cce_nosubmit to 0 and it should work after the next map change.


    CVARS
    cce_enabled (1): enables/disables the plugin
    cce_level_default (1): default level for players when they join
    cce_level_max (4): Maximum level in each skill a player can reach
    cce_exp_default (150): Default max experience always required for each level
    cce_exp_levelup (500): Additional xp required for each skill. I multiplied for each level (ex: level 3, 150 + 500*2 = 1150 xp required).
    cce_show_skill_name (1): Show the skill name in hud?
    cce_show_rank_name (1): Show the rank name in hud?
    cce_equip (1): Use with Damizean's Equipment Manager?
    cce_missions (7): Missions maximum roll rate. If 0, missions are disabled. 1 means almost always a new mission.
    cce_nosubmit (1): Skills do not get submitted to sql server. Useful if testing features or if you simply don't have one. Note that nothing will be saved.
    cce_sprite (1): Indicate a target with a sprite?
    cce_db (cce): MySQL Database to use.
    cce_version: Current plugin version


    Additionally, make sure to download the wearable models:
    models
    (credit to the original creators, all I did was recompile them)
    Attached Files
    File Type: zip sound.zip (185.7 KB, 436 views)
    File Type: sp Get Plugin or Get Source (mw_cosmeticclassexperience.sp - 511 views - 58.1 KB)
    File Type: zip addons.zip (83.0 KB, 457 views)
    __________________

    Last edited by Mecha the Slag; 04-30-2010 at 21:47.
    Mecha the Slag is offline
    Thrawn2
    Veteran Member
    Join Date: Apr 2009
    Old 03-30-2010 , 08:55   Re: Cosmetic Class Experience
    Reply With Quote #2

    everywhere rpg mods keep popping up, which is awesome.
    but none is using tlevelmod
    this makes me sad. i feel useless ;)

    invention of the same wheel over and over :[

    nonetheless, thanks for the effort ;)

    Last edited by Thrawn2; 03-30-2010 at 09:00.
    Thrawn2 is offline
    Sp0rk
    Junior Member
    Join Date: May 2009
    Location: Fort Worth, TX
    Old 03-31-2010 , 10:02   Re: Cosmetic Class Experience
    Reply With Quote #3

    The plugin fails to compile, but I really like the idea.
    Sp0rk is offline
    Mecha the Slag
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 03-31-2010 , 11:40   Re: Cosmetic Class Experience
    Reply With Quote #4

    requires SDK hooks, as mentioned in the first post.
    __________________
    Mecha the Slag is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 03-31-2010 , 20:25   Re: [TF2] Cosmetic Class Experience
    Reply With Quote #5

    Yay, I'm inspiring more people ^_^

    Could we get some screenshots of these wearables?
    noodleboy347 is offline
    Sp0rk
    Junior Member
    Join Date: May 2009
    Location: Fort Worth, TX
    Old 04-01-2010 , 00:30   Re: [TF2] Cosmetic Class Experience
    Reply With Quote #6

    Actually it was the colors include that was missing, but I worked that out. It seems to work really well and I look forward to testing this on my TF² server! Just one request. Would there be a way to make the skill, rank and experience points smaller or only appear when progress is made? They seem a bit large in the HUD.
    __________________


    Sp0rk is offline
    alinayg
    Senior Member
    Join Date: Apr 2009
    Location: USA, RI
    Old 04-04-2010 , 03:27   Re: [TF2] Cosmetic Class Experience
    Reply With Quote #7

    Quote:
    Originally Posted by noodleboy347 View Post
    Yay, I'm inspiring more people ^_^

    Could we get some screenshots of these wearables?
    Warcraft Source has been on CS:S for a long long time, your not the first, sorry!

    I would love to test these plugins someday tho, when we get more money for more servers!
    __________________
    alinayg is offline
    noodleboy347
    SourceMod Donor
    Join Date: Mar 2009
    Old 04-04-2010 , 06:41   Re: [TF2] Cosmetic Class Experience
    Reply With Quote #8

    Quote:
    Originally Posted by alinayg View Post
    Warcraft Source has been on CS:S for a long long time, your not the first, sorry!

    I would love to test these plugins someday tho, when we get more money for more servers!
    I mean cosmetic experience mods
    noodleboy347 is offline
    lionheart1066
    Senior Member
    Join Date: Aug 2009
    Old 04-05-2010 , 10:47   Re: [TF2] Cosmetic Class Experience
    Reply With Quote #9

    Sounds interesting
    lionheart1066 is offline
    Grundy
    Member
    Join Date: May 2009
    Old 04-07-2010 , 14:15   Re: Cosmetic Class Experience
    Reply With Quote #10

    Quote:
    Originally Posted by [AAA] Thrawn View Post
    everywhere rpg mods keep popping up, which is awesome.
    but none is using tlevelmod
    this makes me sad. i feel useless ;)

    invention of the same wheel over and over :[

    nonetheless, thanks for the effort ;)
    Not everybody!
    __________________
    Grundy 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 15:33.


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