Raised This Month: $51 Target: $400
 12% 

[TF2] TFGunGame - [1.2.1] - [8/14/13]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Plugin ID:
3783
Plugin Version:
1.2.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Every kill gives you a different weapon, once you hit a specific level, you win.
    Old 07-25-2013 , 23:00   [TF2] TFGunGame - [1.2.1] - [8/14/13]
    Reply With Quote #1

    [TF2] TFGunGame
    Version: 1.2.1


    Introduction:
    Quote:
    This is TFGunGame, a complete rewrite from the original 2 GunGame mods for TF2.
    To keep it short, players gain new weapons every level. When they hit a specific level, they will win the game.
    Why rewrite another? The older ones were giving errors, buggy and were crashing servers. I liked the mod so i decided to rewrite it.

    Features:
    Quote:
    - Can customize their own levels.
    - Can add attributes to each weapons.
    - Can change the player's model/size on different weapons.
    - Can customize each map to enable the plugin or use a different weapon config.
    - Can customize how many levels to play, how many deaths to delevel, how many assists to level.
    - The TF2 Scoreboard will change to the level that the player is on.

    Dependency:

    ConVars:
    Quote:
    tfgg_version - Version of plugin, DO NOT MODIFY
    tfgg_enabled - Enables/Disables the plugin, this is also overridden by map config.
    tfgg_level - How many levels to play from the weapons config.
    tfgg_assist - How many assists before leveling up.
    tfgg_delevel - How many deaths before deleveling.
    tfgg_resize - Should resize be enabled for weapons config.
    tfgg_model - Should the weapons config be able to change the players model.
    Commands:
    Quote:
    tfgg_reload_configs - Reloads both the map and weapons config.
    Installation:
    Quote:
    1. Download and Install the latest version of TF2Items and extract it to sourcemod directory.
    2. Download and Install tf2items_giveweapon.smx from TF2items Give Weapon to your sourcemod/plugin directoy.
    3. Download and Install tf2items_randomizer.txt to your sourcemod/gamedata directoy.
    4. Update to Sourcemod 1.5 and Metamod 1.10 to the updated version.
    5. Download and Install TF2Attributes
    6. Download and Install TFItemsInfo
    5. Optional Install: Updater: http://forums.alliedmods.net/showthread.php?t=169095
    6. Download the TFGunGame.zip file and unpack the files to your TF2 directory, also unpack the FastDl to your webserver if you have fastdownload on your server, otherwise ignore it.
    7. Do a full map restart or map change.
    8. Success!
    Updating:
    Quote:
    This plugin will automatically update if you have updater installed. If not, then i would recommend installing it.
    Else you can follow the installation guide to do it manually.
    Supported Maps:
    Quote:
    Valve Stock Maps:
    - CTF_
    - KOTH_
    - CP_ (Timer will countdown, will try to fix this later on)
    - PL_ (Timer will countdown, will try to fix this later on)
    Future maps should use the gg_ tag.
    How to set up gungame_maps: (LOCATED IN Sourcemod/config/gungame_maps.cfg)
    PHP Code:
    "GunGame Maps"
    {
        
    //prefixes should be add FIRST on the list, then map specific after
        
    "koth_"
        
    {
            
    //enables or disables for this map: 1 - Enabled; 0 - Disabled
            //Default value is 0, so if you don't specify a map like here then gungame will be disabled, reguardless if tfgg_enabled is set on your server.cfg
            
    "enabled"            "1"
            
    //the levels config this map will use
            //Default value is gungame_weapons.cfg, so if you don't specify a config file for a map, it will automatically set to gungame_weapons.cfg
            
    "weapons_config"        "gungame_weapons.cfg"
        
    }
        
    "gg_"
        
    {
            
    "enabled"            "1"
            
    //Not listing the weapons_config will default to use "gungame_weapons.cfg"
        
    }
        
    "koth_nucleus"
        
    {
            
    //all koth maps will enable this plugin except this map
            
    "enabled"            "0"
        
    }
        
    "ctf_2flag"
        
    {
            
    "enabled"            "1"
            
    //gungame_levels2.cfg does not come with this plugin, you need to make your own and can make a different rotation of weapon lists for different maps
            
    "weapons_config"        "gungame_weapons2.cfg"
        
    }
        
    "ctf_turbine"
        
    {
            
    "enabled"            "1"
            
    //Not listing the weapons_config will default to use "gungame_weapons.cfg"
        
    }
        
    //all other maps not listed will disable this plugin on those maps

    How to set up gungame_weapons: (LOCATED IN Sourcemod/config/gungame_weapons.cfg)
    PHP Code:
    "GunGame Weapons"
    {
        
    "0"
        
    {
            
    //Index - Gives player a weapon by it's index
            
    "index"            "160"
            
    //Class - What class to set to, recommended to set the class the what the weapon only supports.
            
    "class"            "scout"
            
    //Size - Can set a players size when they reach this level only if tfgg_resize is enabled.
            
    "size"            "1.2"
            
    //Model - Can set a players model when they reach this level only if tfgg_model is enabled/
            
    "model"            "models/bots/scout/bot_scout.mdl"
            
    //add attributes to this weapon, for this example i made the player jump 2x with this weapon with triple jump
            
    "attributes"    "326 ; 2.0 ; 250 ; 1.0"
        
    }
        
    "1"
        
    {
            
    "index"         "22"
            "class"         "engineer"
            "size"            "0.5"
        
    }
        
    "2"
        
    {
            
    "index"         "425"
            "class"         "heavy"
            "model"            "models/bots/heavy/bot_heavy.mdl"
        
    }
        
    "3"
        
    {
            
    "index"         "36"
            "class"         "medic"
            
    //2x speed
            
    "attributes"    "442; 2.0"
        
    }
        
    "4"
        
    {
            
    "index"            "45"
            "class"            "scout"
            
    //adds more health && no double jump
            
    "attributes"    "140 ; 1.5 ; 49 ; 1.0"
        
    }
        
    "5"
        
    {
            
    "index"            "16"
            "class"            "sniper"
            
    //100% to slow down enemy
            
    "attributes"    "32 ; 1.0"
        
    }
        
    "6"
        
    {
            
    "index"            "171"
            "class"            "sniper"
        
    }
        
    "7"
        
    {
            
    "index"            "37"
            "class"            "medic"
        
    }
        
    "8"
        
    {
            
    "index"            "40"
            "class"            "pyro"
        
    }
        
    "9"
        
    {
            
    "index"            "61"
            "class"            "spy"
        
    }
        
    "10"
        
    {
            
    "index"            "20"
            "class"            "demoman"
        
    }
        
    "11"
        
    {
            
    "index"            "15"
            "class"            "heavy"
        
    }
        
    "12"
        
    {
            
    "index"            "595"
            "class"            "pyro"
        
    }
        
    "13"
        
    {
            
    "index"            "141"
            "class"            "engineer"
        
    }
        
    "14"
        
    {
            
    "index"            "14"
            "class"            "sniper"
        
    }
        
    "15"
        
    {
            
    "index"            "56"
            "class"            "sniper"
        
    }
        
    "16"
        
    {
            
    "index"            "228"
            "class"            "soldier"
        
    }
        
    "17"
        
    {
            
    "index"            "307"
            "class"            "demoman"
        
    }
        
    "18"
        
    {
            
    "index"            "19"
            "class"            "demoman"
        
    }
        
    "19"
        
    {
            
    "index"            "29"
            "class"            "medic"
        
    }
        
    "20"
        
    {
            
    "index"            "44"
            "class"            "scout"
        
    }
        
    "21"
        
    {
            
    "index"            "466"
            "class"            "pyro"
        
    }
        
    "22"
        
    {
            
    "index"            "169"
            "class"            "engineer"
        
    }
        
    "23"
        
    {
            
    "index"            "812"
            "class"            "scout"
        
    }
        
    "24"
        
    {
            
    "index"            "357"
            "class"            "soldier"
        
    }
        
    "25"
        
    {
            
    "index"            "331"
            "class"            "heavy"
        
    }
        
    "26"
        
    {
            
    "index"            "423"
            "class"            "spy"
        
    }
        
    // continue on for all weapons

    Version Log:
    Quote:
    v.1.2.1
    - Fixes -1 entity call stack error

    v.1.2.0
    - Fixed tfgg_model and tfgg_resize not resetting players back to normal
    - Fixed config not reloading properly on map change
    - Fixed flamethrower afterburn from doing damage after you upgraded to the next level
    - Changed the default value for gungame_weapons.cfg "enabled" to 0, so if "enabled" is not specified then the plugin will disable
    - Fixed translation files having a different plugin name
    - Added map prefixes like... koth_ or gg_
    - Fixed issue with errors and plugin not disabling if map change to something not in gungame_maps.cfg

    v.1.1.0 -
    - Renamed plugin since it was too similar with the other one
    - Added tf2attributes, tf2itemsinfo
    - You can now add attributes to each weapons, see o.p on gungame_weapons.cfg for details
    - Renamed levels_config to weapons_config in the gungame_maps.cfg
    - Renamed gungame_levels.cfg to gungame_weapons.cfg
    - Fixed ctf_ maps where winning does not reset the round
    - Added HUD display of levels
    Thanks:
    Quote:
    bl4nk - For his code on changing scoreboard.
    asherkin - For TF2Items and fixing it.
    FlaminSarge - For GiveWeapons and TF2Attributes.
    Mecha the Slag - For the older gungame plugin.
    Erreur 500 - For the older gamegun plugin.
    Leonardo - For TF2ItemsInfo.
    I am only supporting English translations, if you want to help translate to other languages, you can PM me.

    Steam Group: http://steamcommunity.com/groups/TFGunGame

    Also i suggest getting cleaner:
    https://forums.alliedmods.net/showthread.php?t=195008
    And suppressing the messaged "Restoring player view height at"
    Those messages occur when player changes class and server restoring the view of client

    Should work on TF2 Beta but not yet tested.
    Enjoy

    RECENT AND UNOFFICIAL VERSION for testing, fixes scoreboard when disabled:
    https://forums.alliedmods.net/showpo...2&postcount=51
    Attached Files
    File Type: zip TFGunGame.zip (124.6 KB, 840 views)
    File Type: sp Get Plugin or Get Source (tf2gungame.sp - 608 views - 22.2 KB)
    __________________

    Last edited by Chaosxk; 02-16-2016 at 00:26.
    Chaosxk is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 07-25-2013 , 23:00   Re: [TF2] GunGame Fortress 3 v.1.0.0 [7/26/13]
    Reply With Quote #2

    TFGunGame Custom Weapon Configs:
    MaloModo Weapon Config: https://forums.alliedmods.net/showpo...4&postcount=14



    Recommended Plugins:
    [TF2] Advanced Infinite Ammo by Tylerst: https://forums.alliedmods.net/showthread.php?t=190562
    __________________

    Last edited by Chaosxk; 07-31-2013 at 18:48.
    Chaosxk is offline
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 07-25-2013 , 23:06   Re: [TF2] GunGame Fortress 3 v.1.0.0 [7/26/13]
    Reply With Quote #3

    let's do eet!
    island55 is offline
    AeroAcrobat
    AlliedModders Donor
    Join Date: Apr 2011
    Location: lives in a circus
    Old 07-26-2013 , 00:00   Re: [TF2] GunGame Fortress 3 v.1.0.0 [7/26/13]
    Reply With Quote #4

    very nice! I like GG
    Will test when I've get time.
    __________________
    AeroAcrobat is offline
    Rd1981
    Senior Member
    Join Date: Apr 2011
    Old 07-26-2013 , 02:34   Re: [TF2] GunGame Fortress 3 v.1.0.0 [7/26/13]
    Reply With Quote #5

    L 07/25/2013 - 23:23:56: SourceMod error session started
    L 07/25/2013 - 23:23:56: Info (map "ctf_2fort") (file "errors_20130725.log")
    L 07/25/2013 - 23:23:56: [SM] Failed to load plugin "tf2gungame.smx": This plugin only works for TF2 or TF2 Beta..
    L 07/25/2013 - 23:23:58: [SM] Plugin encountered error 25: Call was aborted
    Doesnt seem to be working.
    Rd1981 is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 07-26-2013 , 03:47   Re: [TF2] GunGame Fortress 3 v.1.0.0 [7/26/13]
    Reply With Quote #6

    Quote:
    Originally Posted by Rd1981 View Post
    L 07/25/2013 - 23:23:56: SourceMod error session started
    L 07/25/2013 - 23:23:56: Info (map "ctf_2fort") (file "errors_20130725.log")
    L 07/25/2013 - 23:23:56: [SM] Failed to load plugin "tf2gungame.smx": This plugin only works for TF2 or TF2 Beta..
    L 07/25/2013 - 23:23:58: [SM] Plugin encountered error 25: Call was aborted
    Doesnt seem to be working.
    Sorry did a last minute typo.
    Reuploaded, didn't change version numbers tho.

    Also i suggest getting cleaner:
    https://forums.alliedmods.net/showthread.php?t=195008
    And suppressing the messaged "Restoring player view height at"
    Those messages occur when player changes class and server restoring the view of client

    Should work on TF2 Beta but not yet tested.
    __________________
    Chaosxk is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 07-26-2013 , 16:49   Re: [TF2] GunGame Fortress 3 - [ v.1.0.0] [7/26/13] (Revamped)
    Reply With Quote #7

    Cool will maybe install this on one of my gameservers.
    __________________
    Happy DODs player is offline
    Rd1981
    Senior Member
    Join Date: Apr 2011
    Old 07-29-2013 , 05:45   Re: [TF2] GunGame Fortress 3 - [ v.1.0.0] [7/26/13] (Revamped)
    Reply With Quote #8

    At the end of the game the plugin doesnt reset after theres a winner so I have to reload the plugin.
    Rd1981 is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 07-29-2013 , 07:10   Re: [TF2] GunGame Fortress 3 - [ v.1.0.0] [7/26/13] (Revamped)
    Reply With Quote #9

    Quote:
    Originally Posted by Rd1981 View Post
    At the end of the game the plugin doesnt reset after theres a winner so I have to reload the plugin.


    What map are you using?
    __________________
    Chaosxk is offline
    MrAwesomePhantom
    Member
    Join Date: Feb 2013
    Old 07-29-2013 , 08:08   Re: [TF2] GunGame Fortress 3 - [ v.1.0.0] [7/26/13] (Revamped)
    Reply With Quote #10

    Im not getting any guns in game and getting this error in the console

    Native "TF2Items_GiveWeapon" reported: Plugin owning this native is currently paused.
    L 07/29/2013 - 22:04:16: [SM] Displaying call stack trace for plugin "tf2gungame.smx":
    L 07/29/2013 - 22:04:16: [SM] [0] Line 341, tf2gungame.sp::GiveClientWeapons()
    L 07/29/2013 - 22:04:16: [SM] [1] Line 464, tf2gungame.sp:isableLockerRoom()
    L 07/29/2013 - 22:04:16: [SM] [2] Line 220, tf2gungame.sp::OnRoundStart()
    MrAwesomePhantom is offline
    Reply



    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 16:21.


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