Raised This Month: $ Target: $400
 0% 

[TF2] Civilian


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bitl
Senior Member
Join Date: Jul 2012
Plugin ID:
4245
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-12-2014 , 16:32   [TF2] Civilian
    Reply With Quote #1

    Info:

    This allows you to change your class to a recreated replica of the Civilian class. However when you die in-game you change your class back to Scout.
    More information here: http://wiki.teamfortress.com/wiki/Civilian

    Requirements:

    - TF2ItemsInfo
    - TF2Attributes

    ConCommands:

    - sm_civilian - Changes you to civilian.

    Releases:

    1.0:
    - First Release
    Attached Files
    File Type: sp Get Plugin or Get Source (civilian.sp - 451 views - 1.2 KB)
    File Type: smx civilian.smx (5.0 KB, 695 views)
    __________________
    My Plugins
    Modified Plugins:
    Building Spawner
    Monster
    It's Raining Men!
    Tutorials:
    Custom Gamemode

    I DON'T DO PLUGIN REQUESTS.

    Last edited by Bitl; 06-12-2014 at 16:36.
    Bitl is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 06-12-2014 , 23:12   Re: [TF2] Civilian
    Reply With Quote #2

    All you need here is tf2 removeallweapons
    Also, using tf2attributes without checking if it's loaded could potentially cause problems, if it's unloaded at some point.
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 06-14-2014 , 00:33   Re: [TF2] Civilian
    Reply With Quote #3

    I thought SetPlayerClass to class 10 did a lot of this already. Am I mistaken?
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 06-14-2014 at 00:34.
    FlaminSarge is offline
    gryffn
    New Member
    Join Date: Jul 2015
    Old 07-21-2015 , 18:14   Re: [TF2] Civilian
    Reply With Quote #4

    oh cool! i was looking for something like this
    gryffn is offline
    MAGNAT2645
    Senior Member
    Join Date: Nov 2015
    Location: AlliedMods.net
    Old 12-24-2016 , 05:59   Re: [TF2] Civilian
    Reply With Quote #5

    can someone update this to work with this https://forums.alliedmods.net/showthread.php?t=255885 ?
    __________________
    MAGNAT2645 is offline
    Benoist3012
    Veteran Member
    Join Date: Mar 2014
    Location: CWave::ForceFinish()
    Old 12-25-2016 , 07:10   Re: [TF2] Civilian
    Reply With Quote #6

    The funny thing is, this plugin depends on TF2itemsinfo only because it uses a define inside the inc LOL. (TF2ItemSlot).
    Which can be safely replace with 5 :v

    Anyway, I removed the dependency so you don't need TF2ItemsInfo anymore, and moved it to new syntax.
    Attached Files
    File Type: sp Get Plugin or Get Source (civilian.sp - 225 views - 1.2 KB)
    File Type: smx civilian.smx (6.3 KB, 287 views)
    __________________
    Benoist3012 is offline
    MAGNAT2645
    Senior Member
    Join Date: Nov 2015
    Location: AlliedMods.net
    Old 12-28-2016 , 09:42   Re: [TF2] Civilian
    Reply With Quote #7

    Quote:
    Originally Posted by Benoist3012 View Post
    The funny thing is, this plugin depends on TF2itemsinfo only because it uses a define inside the inc LOL. (TF2ItemSlot).
    Which can be safely replace with 5 :v

    Anyway, I removed the dependency so you don't need TF2ItemsInfo anymore, and moved it to new syntax.
    Thanks, I never thought that this will be easy (maybe because im lazy)

    So, now i can delete TF2ItemsInfo? (When i type sm plugins unload tf2itemsinfo, only Civilian plugin say that TF2ItemsInfo is needed dependency)
    __________________
    MAGNAT2645 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 20:20.


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