AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Custom Weapons 3 (Beta 2) (https://forums.alliedmods.net/showthread.php?t=285258)

Theray070696 07-15-2016 12:55

[TF2] Custom Weapons 3 (Beta 2)
 
4 Attachment(s)
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

crafting 07-15-2016 12:55

Re: [TF2] Custom Weapons 3 (Beta 1)
 
1 Attachment(s)
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.

Theray070696 07-15-2016 12:55

Re: [TF2] Custom Weapons 3 (Beta 1)
 
Also reserved

Mr.Orion 07-15-2016 13:26

Re: [TF2] Custom Weapons 3 (Beta 1)
 
2 Attachment(s)
________________________________
//* == [ 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 :



Chdata 07-15-2016 13:50

Re: [TF2] Custom Weapons 3 (Beta 1)
 
"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.

shadowpikachu 07-17-2016 03:49

Re: [TF2] Custom Weapons 3 (Beta 1)
 
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.

KaidemonLP 07-18-2016 04:44

Re: [TF2] Custom Weapons 3 (Beta 1)
 
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).

Mr.Orion 07-18-2016 12:23

Re: [TF2] Custom Weapons 3 (Beta 1)
 
Quote:

Originally Posted by KaidemonLP (Post 2437401)
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. :bee:

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.

Chdata 07-18-2016 13:15

Re: [TF2] Custom Weapons 3 (Beta 1)
 
aaah! all the rewrite work

SpectraGalaxy 07-19-2016 05:22

Re: [TF2] Custom Weapons 3 (Beta 1)
 
I'm having a bit of trouble with Orion's attributes. It says the attributes failed to load because Native DataPack.DataPack was not found.


All times are GMT -4. The time now is 04:37.

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