AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Warpaintme (v2.3 dated 05Oct2022) (https://forums.alliedmods.net/showthread.php?t=330830)

PC Gamer 02-23-2021 02:07

[TF2] Warpaintme (v2.3 dated 05Oct2022)
 
2 Attachment(s)
Description:
Players can give themselves random or specific warpainted weapons.

Admins can give random or specific warpainted weapons to targeted players.
Admins can give overpowered random or specific warpainted weapons to targeted players.

Weapons may randomly be unusual and/or have have killstreak or stat tracker. Any weapons given by the player or Admin are removed when the player dies or touches a locker.

Credits:
The plugin is makes use of code developed by luki1412 and manicogaming.

Dependencies:
This plugin requires TF2Attributes by FlaminSarge. Here's a link: https://github.com/FlaminSarge/tf2attributes

Player Commands:
!warpaintme
!warpaintme XXX
(where xxx is a paint id number: 200-297, 300-310, 390, 391, 400-410, 15000-15158)
Examples:
!warpaintme (this will give you a random set of warpainted weapons)
!warpaintme 303 (this will give you weapons with warpaint ID 303 (macaw paint))
Decorated war hero collection weapons can also be given if you use the item definition index number instead of a warpaint id. For example, to give a Scout the Blue Mew scattergun type: !warpaintme 15106
Here's a link to item index numbers: https://wiki.alliedmods.net/Team_for...nition_indexes

Admin Commands (requires SLAY flag):
Admin commands to give YOU or TARGET warpainted weapons:
!warpaint
!warpaint (target)
!warpaint (target) XXX(where xxx is a paint id number: 200-297, 300-310, 390, 391, 400-410, 15000-15158)
Examples:
!warpaint charlie (this will give player named charlie a random set of warpainted weapons)
!warpaint charlie 250 (this will give player named charlie weapons with warpaint id 250 (smissmas camo))

Admin commands to give YOU or TARGET overpowered warpainted weapons:
!opwarpaint
!opwarpaint (target)
!opwarpaint (target) XXX
(where xxx is a paint id number: 200-297, 300-310, 390, 391, 400-410, 15000-15158)
Examples:
!opwarpaint robert (this will give player named robert random overpowered warpainted weapons)
!opwarpaint @red 301 (this will give all RED players overpowered weapons with warpaint id 301 (park pigmented))

Note: The overpowered weapons were developed for use on my Uber Upgrades server. They will likely be too overpowered for normal use on your server. Consider editing the weapon attributes before use.

Video of [TF2] Warpaintme Plugin:


List of Warpaint weapon numbers


Installation:
Put warpaintme.smx into the folder: /sourcemod/plugins/
Change map

Change Log:
v2.3 05Oct2022 - Added Scream Fortress 2022 warpaints (id's: 400-410)
v2.2 23Jan2022 - Added support for decorated war hero collection weapons.
v2.1 13Oct2021 - Updated for new warpaints.
v2.0 23Feb2021 - Added support for Medieval Mode. Adjusted health for scout & heavy while OP.
v1.0 23Feb2021 - Initial release.

BlazingDiancie 02-23-2021 08:38

Re: [TF2] Warpaintme (v1.0 dated 23Feb2021)
 
Could something like this become a Custom Weapons 3 plugin one day?

PC Gamer 02-23-2021 13:54

Re: [TF2] Warpaintme (v1.0 dated 23Feb2021)
 
Quote:

Originally Posted by BlazingDiancie (Post 2737954)
Could something like this become a Custom Weapons 3 plugin one day?

I'm not sure since I've never used Custom Weapons 3.


Plugin in original post updated to version 2.0 which adds support for Medieval Mode. In other words, if playing a medieval mode map like cp_degrootkeep the plugin will not give primary or secondary weapons to players unless the weapon is allowed in medieval mode (like the Medic crossbow).

Version 2.0 now correctly gives Scout and Heavy players with overpowered weapons 2000 health.

PC Gamer 10-13-2021 20:20

Re: [TF2] Warpaintme (v2.1 dated 13Oct2021)
 
Plugin in original post updated to version 2.1 which adds support for the newly released warpaints.

heavyisgps 01-23-2022 09:35

Re: [TF2] Warpaintme (v2.1 dated 13Oct2021)
 
How do you add the warpaints from the Decorated War Hero Collection? I don't see Plaid Potshotter or the civil servant anywhere.

Is there some other trick to apply those?

PC Gamer 01-23-2022 23:26

Re: [TF2] Warpaintme (v2.1 dated 13Oct2021)
 
Quote:

Originally Posted by heavyisgps (Post 2769133)
How do you add the warpaints from the Decorated War Hero Collection?

I don't consider decorated war hero collection weapons to be warpainted since they have their own unique item definition index. One easy way to get those weapons would be to use the "tf2items_giveweapon" plugin or the "gimme" plugin. But....

Since you asked for it I added support for decorated war hero collection weapons into this plugin. To use it type the item definition index for the weapon you want in place of the paint id. For example, if a Pyro wanted to use the Ballonicorn flamethrower they would type: !warpaintme 15089

A list of item index number can be found here: https://wiki.alliedmods.net/Team_for...nition_indexes

404UserNotFound 01-24-2022 04:44

Re: [TF2] Warpaintme (v2.2 dated 23Jan2021)
 
I had previously done up a plugin to grant decorateds but it was crap compared to this, and also wasn't public but was just me messing around with trying to learn how to generate the newer ones.

Would this allow for using any of the unused warpaints listed in the schema? There's a few entries that may not be used/may just be for testing but one or two are plainly labelled as unused and I'd love to test them out.

PC Gamer 01-24-2022 23:42

Re: [TF2] Warpaintme (v2.2 dated 23Jan2021)
 
Quote:

Originally Posted by TF2CutContentWiki (Post 2769217)
Would this allow for using any of the unused warpaints listed in the schema?

I have no idea how to view the schema. What are the warpaint ids that you want to try?

404UserNotFound 01-25-2022 03:02

Re: [TF2] Warpaintme (v2.2 dated 23Jan2021)
 
Quote:

Originally Posted by PC Gamer (Post 2769286)
I have no idea how to view the schema. What are the warpaint ids that you want to try?

I don't have the info in front of me at the moment, but I do recall that "schema" isn't quite correct for describing where I saw the info. If I remember correctly, I saw info on some unused war paint names.....I think either in tf_english.txt or items_game.txt....it may be the localization files (tf_english.txt, etc).

I'm not even entirely sure if they're hooked up to actually be usable or not but they seem to be copies of existing war paints, just with Unused slapped somewhere in the name. I'll have to double check when I get home from work.

RaphtaliaTheTanooki 01-30-2022 19:06

Re: [TF2] Warpaintme (v2.2 dated 23Jan2021)
 
23 jan 2021, seems legit


All times are GMT -4. The time now is 19:12.

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