[TF2] Equipment manager 1.1.8 (05/22/10)
8 Attachment(s)
[TF2] Equipment manager 1.1.8 This plugin allows players to equip custom wearable items (those being hats, armors, or anything the administrator sets in the server) to customize the visuals of the characters. It requires Voogru's patch for player attachments extension to work. Please remember that with the recent changes in Valve's policy about the usage of their official/promotional content, we do not intend to support their use with this plugin. ONLY USE CUSTOM CONTENT WHEN USING THIS PLUGIN. Otherwise Valve would react to this and completely restrict the creation of custom items. Find more info about it here. Special thanks to voogru for his hard work on the patch for player attachments extension. Thanks to Sourcemod's IRC channel for the tips, CrimsonGT, and exvel's colors library. Thanks for Sexual Harrasment Panda for beta-testing the plugin on his server and translation tweakings, and everyone else who's contributed with it. Thanks to Zuko for the polish translation. Cvars
To compile the plugin, you'll need exvel's colors library. Compiling it without it (or downloading the compiled plugin) will fail. I also would appreciate if you left the welcome announcement saying the plugin is available. Thank you. People using this plugin? Many! Need more hats? Well, check Zuko's Mega Pack |
Re: [TF2] Wearables for everyone!
Only works in TF2?
|
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
Thank you so much! My server's donators will like this. :)
|
Re: [TF2] Wearables for everyone!
Nice plugin man. I had the same idea as pheadxdll. :) +karma 4 u.
Suggestion. Im prolly gonna edit it myself anyways, but it would be better if you had a simpler say trigger imo. sm_tf2_wearables is kinda alot to type and remember. Its fine for a console command, but how bout a simple say trigger. I was thinking along the lines of a trigger like !equip, !hats, or !wearables. Something like that. Just a suggestion.. Bug: It looks like resupply lockers remove wearables just fyi. Is there a way to fix that? |
Re: [TF2] Wearables for everyone!
Maybe this could help?
http://forums.alliedmods.net/showpos...05&postcount=4 I'm pretty sure either activator or caller is the client. |
Re: [TF2] Wearables for everyone!
Even though I set sm_tf2_wearables_adminonly 1 and sm_tf2_wearables_announce 0 in my server.cfg, they get reset every map.
It would be nice if we could choose a flag instead of adminonly |
Re: [TF2] Wearables for everyone!
Quote:
modify the setting in it instead. |
Re: [TF2] Wearables for everyone!
They dont get reset every map. Youre doing something wrong.
And there is an announce msg that is not part of the cvar check. Thats probably what youre seeing. I already fixed that in mine. |
Re: [TF2] Wearables for everyone!
Quote:
Also, for the trigger, SM automatically deletes the sm_ part from the command, so a chat trigger can also be !tf2_wearables. Quote:
Anyway, what you mean with a flag? Making some wearables admin only through the list file? |
Re: [TF2] Wearables for everyone!
nice nice ;)
thx ahh hope fix comming soon for that resuply bug :( anyways possible to download the skins from fpsbana and put it as hat ? i got a error like this :( Error Vertex File for 'player\items\heavy\football_helmet.mdl' checksum -1423448764 should be 467941287 ------ sorry to ask so much maybe is possible to add a chat command for "!hats" ;) |
Re: [TF2] Wearables for everyone!
He means be able to specify flags. I already edited it that way for mine.
Code:
new Handle:Cvcharadminflag = INVALID_HANDLE; Code:
public OnConfigsExecuted() Code:
public OnClientPostAdminCheck(client) Code:
stock bool:IsValidAdmin(client, const String:flags[]) |
Re: [TF2] Wearables for everyone!
Thank you, I'll implement the admin flags code into the plugin :)
|
Re: [TF2] Wearables for everyone!
thanks man!
someone have custom hats? |
Re: [TF2] Wearables for everyone!
It works great, but I'm having trouble putting in custom hats. I'm not sure where to put the model and material files, and I'm also not sure how to make it so that clients'll download them :(
|
Re: [TF2] Wearables for everyone!
does this plugin force downloads if everything is configured right for the custom content?
Can you make it so people with certain flags automatically have certain things? this would allow all admins to always have a special armband or something to that effect. On top of that they would be able to select other things as well. |
Re: [TF2] Wearables for everyone!
1 Attachment(s)
Well, I've integrated a small dependencies system to manage the download of the wearable items. Let's say you have your custom model, located at:
Code:
/models/custom/hats/hat.mdl Code:
/models/custom/hats/hat.mdl.dep Code:
materials/models/rss-custom/hats/samus/samus-blue.vtf Quote:
|
Re: [TF2] Wearables for everyone!
Quote:
2)Plugin currently removes ammo and health as well as resupply lockers 3)When modeling, how do you tell it where to put the wearable 4)Could you post up your custom content? 5)Yes, automatically equip admins with flag b let's say with a certain hat, or armband. 6)Could these admins have other hats as well as the armbands? |
Re: [TF2] Wearables for everyone!
Quote:
Quote:
Quote:
Quote:
Quote:
Anyway, in the same wearable model, you can attach various submodels to different bones. For example, in my Sonic mask, I also attached the shoes models to the foot bones Quote:
|
Re: [TF2] Wearables for everyone!
sorry didn't see your upload for samus, but thank you for sonic. Also thank you for the info on the modeling, as I have a friend making some models for us. Also, it doesn't remove the cabinte, but the cabinets ability to give out ammo and such. It has removed all health and ammo drops for us though, I'll look through lots and errors and such to see if it's letting me know anything.
Edit: health and ammo pickups are fine, i must've done something wrong |
Re: [TF2] Wearables for everyone!
I can post the Scout reference .MAX I've used to make the hats on my server, but I don't know if I'm permitted to do so.
|
Re: [TF2] Wearables for everyone!
I am currently trying to get some of the custom models off of fpsbanana, i'll let you know if those work. First one i'm trying is the pyro darth vader.
|
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
I got that one to work using a plugin I wrote quickly based off of his earlier research post, so I know you can get vader working. I'm trying to figure out how to use the vader model as a normal model so I can leave them laying around, but I havn't had as much luck doing that :)
|
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
Is there a way to give the correct hat to the correct class so I dont have the demos afro on the pyro?
|
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
You are the best! 5star +karma
|
Re: [TF2] Wearables for everyone!
If people are willing to upload their hats that they make, I can host them on my website. I'd love to get a good database of these, once I make them i'll be hosting them on my site at least.
|
Re: [TF2] Wearables for everyone!
The Scout one doesn't work because in the data file you called it Battler's Helmet. Changing it to Batter's fixes it.
|
Re: [TF2] Wearables for everyone!
Here's some example code to make hats stick after touching an ammo cabnit. Hope it helps:
Code:
new Handle:g_hDistance = INVALID_HANDLE; |
Re: [TF2] Wearables for everyone!
Quote:
I've uploaded the files both onto my gameserver and onto my webhost fast download server. I've edited the Translation file (tf2_wearables.items) and TF2_Wearables (in the data folder) to add samus helm. I've checked my clientside folder and they seem to be downloading fine. I dont know what could be going wrong. |
Re: [TF2] Wearables for everyone!
Quote:
@OP, can you also make it so with admin only the message it has when you join the server is for admins only? And can you also make a trigger for it, like suggested above (!hats) |
Re: [TF2] Wearables for everyone!
Working now somehow magically. Thanks for the help
|
Re: [TF2] Wearables for everyone!
It would be pretty wicked if you incorporated a command like sm_wear, so you could force wearables on someone without having to tell them about the menu and etc.
This could also work with other plugins too. |
Re: [TF2] Wearables for everyone!
Quote:
Please? |
Re: [TF2] Wearables for everyone!
Quote:
|
Re: [TF2] Wearables for everyone!
xD I will, but wait before I can get things in order, I've been rewriting quite some stuff, I've made a more complex way to setup the wearables, allowing you to select wich classes can use them, if only admins can or wich are the forceable defaults for common users or admins (for the armband thing).
Also, I'm increasing the number of wearable items at once to 3 so you can, for example, wear a helmet and an armor at the same time. I still need to check if this works properly though. Example of the new style of setup: PHP Code:
|
Re: [TF2] Wearables for everyone!
I am very excited, looks like you've been busy.
|
All times are GMT -4. The time now is 14:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.