Raised This Month: $174 Target: $400
 43% 

[TF2] Custom Weapons 3 (Beta 2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Theray070696
Senior Member
Join Date: Sep 2014
Plugin ID:
5281
Plugin Version:
Beta 2
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows players to make and use custom weapons, wearables and shields!
    Old 07-15-2016 , 13:55   [TF2] Custom Weapons 3 (Beta 2)
    Reply With Quote #1

    Wanting new weapons in TF2? Valve not doing it? Take matters into your own hands with Custom Weapons 3! Based on the Custom Weapons 2 plugin by MasterOfTheXP, Custom Weapons 3 has a brand new menu system and the ability for servers to make shields and wearables!

    Unlike Custom Weapons 2, however, Custom Weapons 3 uses a module-based system.
    "What is that supposed to mean?"
    Well, what that means is that if you want to contribute to Custom Weapons 3, a lot of the plugin is exposed via forwards in the .inc file. It also means that if a server owner finds a module that causes lag, it can be removed or replaced by a more optimized module.

    "How do I know what to insta..."
    Shhhh... I was about to get to that. In the attachments of this post, you will see something called "CW3 Starter Kit.zip". If you're setting up a server, the starter kit has everything you need to get it going, just copy the plugins folder into your servers sourcemod/plugins folder. There are a few modules in the scripting folder, but the default modules do mostly the same job. cw2legacy is only to be used if you have issues getting your CW2 server working with the split CW2 modules.

    COMMANDS AND CVARS
    Spoiler


    WHAT EACH OFFICIAL MODULE DOES
    Spoiler


    WEAPON CONFIG PARAMETER LIST/HOW TO MAKE A WEAPON CONFIG
    Spoiler


    EXAMPLE WEAPON CONFIG
    Spoiler


    Q&A
    Spoiler


    SIMPLE INSTALLATION
    First things first, make sure your server has tf2items and tf2attributes installed. You will also need tf2items.randomizer.txt from this post. (currently outdated! use the attachment in this post!)
    1. Download the CW3 Starter Kit from this post.
    2. Extract the plugins folder from the .zip file you download into your sourcemod folder.
    3. You're done! All you have to do now is download or create some custom weapons! (They go into sourcemod/configs/customweapons btw)

    MANUAL INSTALLATION
    First things first, make sure your server has tf2items installed. For either of the attribute modules, make sure you also have tf2attributes installed. You will also need tf2items.randomizer.txt from this post. (currently outdated! use the attachment in this post!)
    1. Download the latest CW3 Starter Kit from this post.
    2. Put cw3.smx into your sourcemod/plugins folder.
    3. Create a cw3 folder in sourcemod/plugins
    4. Inside that folder, create a folder named modules
    5. Inside that folder, place any modules you want to use.
    6. Inside the cw3 folder, create a folder named attributes
    7. Inside that folder, place any attribute plugins that run on cw3.
    8. Inside your sourcemod/configs folder, create a folder called cutsomweapons
    9. Inside that folder, place any weapon configs you have, or create your own!
    10. Place tf2items.randomizer.txt into your sourcemod/gamedata folder.
    11. (cw2attributes and cw2legacy users only) Inside your sourcemod/plugins folder, create a folder called customweaponstf
    12. Inside that folder, place any attribute plugins that are built on the CW2 base.
    13. You're done! All you have to do now is download or create some custom weapons!

    ABOUT INVISIBLE WEAPONS
    If weapon models are invisible to other people on your server, that is not a bug. Valve disabled visible weapons a few years ago. DO NOT POST A FIX HERE! IT IS BANNED ON ALLIEDMODS!

    (FREE) DLC
    You need weapons and modules to use CW3, so why not grab some of these?
    HOTFIXES
    Spoiler


    CHANGELOG
    Spoiler


    KNOWN BUGS
    Spoiler


    Looking for a server? Come check out Custom TF2 Weapons, the officially supported Custom Weapons 3 server!

    VIDEOS
    Spoiler
    Attached Files
    File Type: zip CW3 Starter Kit Beta 2.zip (336.4 KB, 2381 views)
    File Type: zip CW3 Starter Kit Beta 1.zip (332.2 KB, 931 views)
    File Type: txt tf2items.randomizer.txt (177 Bytes, 1668 views)
    File Type: zip CW3 Starter Kit Beta 2 - Hotfix 1.zip (336.5 KB, 1998 views)
    __________________

    Last edited by Theray070696; 11-10-2016 at 14:01. Reason: Added known bugs section and explained the /c reload command a bit better
    Theray070696 is offline
    crafting
    Senior Member
    Join Date: May 2014
    Location: Somewhere on Earth
    Old 07-15-2016 , 13:55   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #2

    How to Make a Custom TF2 Weapon Guide
    https://www.youtube.com/watch?v=rl8OjrruHMI

    Plus, I have some of the current versions of the custom weapons we use on our severs.
    Attached Files
    File Type: zip customweapons.zip (5.1 KB, 2676 views)

    Last edited by crafting; 07-20-2016 at 17:08.
    crafting is offline
    Theray070696
    Senior Member
    Join Date: Sep 2014
    Old 07-15-2016 , 13:55   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #3

    Also reserved
    __________________
    Theray070696 is offline
    Mr.Orion
    Senior Member
    Join Date: Apr 2012
    Location: In my microwave.
    Old 07-15-2016 , 14:26   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #4

    ________________________________
    //* == [ ORION'S ATTRIBUTES ] == *\\
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


    UPDATED : 07/18/2016 : Version : 1.04/1.04/1.04
    Sourcemod Version needed : 1.8

    ¥ Requests :


    ¥ A non-explained list of 159 attributes :


    ¥ Changelog :


    ¥ Known Bugs :


    ¥ Source Code :


    Attached Files
    File Type: zip Orion.zip (247.7 KB, 521 views)
    File Type: zip Orion Newest Not Tested.zip (245.0 KB, 291 views)

    Last edited by Mr.Orion; 10-31-2017 at 15:31.
    Mr.Orion is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 07-15-2016 , 14:50   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #5

    "insert a block into your"

    just give a [spoiler]'d [code] for an example weapon config, it's much easier than trying to get the average layman to come to the same conclusion that they're using keyvalue config syntax in a very specific way.





    I would've kept the convar names the same, that way nobody really needs to update their configs ;p


    quick, remind people you've already been running CW3 for a while now lolo!!

    PHP Code:
    stock WeaponSwitch(iClientiSlot)
    {
        
    ClientCommand(iClient"slot%i"iSlot+1);

    This can make people weapon switch without needing to do anything special to fix the viewmodels. Setting m_hActiveWeapon directly won't fire OnWeaponSwitch, which the core plugin uses to change whether or not viewmodels are visible or not.
    __________________

    Last edited by Chdata; 07-15-2016 at 15:04.
    Chdata is offline
    shadowpikachu
    Junior Member
    Join Date: Jan 2013
    Old 07-17-2016 , 04:49   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #6

    I know the guy above doesn't take requests but someone just make an attribute that makes a hitscan have a very small aoe with no falloff from the explosion itself.

    Last edited by shadowpikachu; 07-17-2016 at 04:53.
    shadowpikachu is offline
    KaidemonLP
    Member
    Join Date: Jul 2016
    Old 07-18-2016 , 05:44   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #7

    Will there be a tutorial of how to use the attributes and what attributes exist.

    Is there a atribute that can make a backstab does no damage(that is applied to the knife).

    Last edited by KaidemonLP; 07-18-2016 at 09:14.
    KaidemonLP is offline
    Mr.Orion
    Senior Member
    Join Date: Apr 2012
    Location: In my microwave.
    Old 07-18-2016 , 13:23   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #8

    Quote:
    Originally Posted by KaidemonLP View Post
    Will there be a tutorial of how to use the attributes and what attributes exist.

    Is there a atribute that can make a backstab does no damage(that is applied to the knife).
    Not be rough or anything, but you should learn to read.

    From my moreaw2.smx : No Backstab ; It disables backstab and you can set your own damage dealt, like 40 for example, which is the base knife damage.
    __________________
    Mr.Orion is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 07-18-2016 , 14:15   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #9

    aaah! all the rewrite work
    __________________
    Chdata is offline
    404UNF
    ( ͡° ͜ʖ ͡°)
    Join Date: Dec 2011
    Location: 🍁
    Old 07-18-2016 , 23:05   Re: [TF2] Custom Weapons 3 (Beta 1)
    Reply With Quote #10

    Very nice. Now get all of AW2's custom attributes ported over for this in one gigantic plugin like we wanted to do for CW2.
    __________________
    I'm not a SourcePawn expert, I just play one on TV.
    Want to join the SourceMod Discord server? Click here!
    <- Links fixed!
    404UNF 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 05:19.


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