[TF2] Unusual effects 2.19 SQL (21/12/2015)
17 Attachment(s)
Unusual effects ------------------------------------------------------------------------- Because of VALVE restriction: This plugin just add unusual effects on weapons, I don't have permission to add free unusual effects on hats, killstreak effects or australium items! ------------------------------------------------------------------------- Last Change v2.19 (21/12/2015): Show log, Change : .sp and .smx. Use TF2 Item DB now! Description I publish this little plugin, to help admins who want add unusual effects on their players, donors or admins. Players can choose qualities and unusual effects on their items (level = 100 ). Plugin auto saves player data in SQL DB. Players can show current effect by selecting in the menu "Show effects" and will go on this site : http://bit.ly/l77777 How does it works ? Write !unusual and select what you want on your current weapon. Effects are directly added or deleted! Players can be limited by flags: - You can restrict the number of effects that a player with a flag (or without flag) can have, by editing unusual_permissions.cfg There is an admin tools in the menu, which allow you to add effects on a connected player or remove an unusual effect from player in DB. [/LEFT] There is a fix for FF2 and VSH mod: - If you run a FF2 server, this plugin will automatically block boss unusual effect update thanks to this enabled cvar : unusual_fix_ff2boss 1 Command : Quote:
Admin Commands (flag generic) : Code:
Cvar : Code:
For Developer : Native functions
Spoiler
unusual_list.cfg
Spoiler
unusual_permissions.cfg
Spoiler
Warning: Due to an issue which we are not able to fix, only Valve can, I remove Gunslinger and Lollichop from the plugin. Installation unusual.smx in tf\addons\sourcemod\plugins unusual.sp in tf\addons\sourcemod\scripting unusual.inc in tf\addons\sourcemod\scripting\include unusual.phrases in tf\addons\sourcemod\translations unusual_list.cfg in tf\addons\sourcemod\configs unusual_permissions.cfg in tf\addons\sourcemod\configs If you want to use MySQL, copy/paste this in sourcemod/configs/databases.cfg. Replace by your own data. PHP Code:
Need SourceMod 1.7 or after If you want to convert your old database file (unusual_effects.txt) to the new DB SQLite or MySQL, You can use this tool : Unusual effects SQL converter I'm alway open for any suggestion Old versions http://bit.ly/1auTR2Z Logs
Spoiler
BEFOR REPPORT A PROBLEM: Quote:
Quote:
Quote:
|
Re: [TF2] Unusuals effects
Effects on weapons works great, but when I chose new hat, and choose head or misc, nothing appears. The menu closes and does nothing.
|
Re: [TF2] Unusuals effects
The add new hat and add new weapons don't seem to do anything. Once I get to the head/misc or prim/sec the menu just closes.
|
Re: [TF2] Unusuals effects
Thats really nice! Thanks
|
Re: [TF2] Unusuals effects
Oh... God. It has begun. Is it possible to remove particle attachments to hats? I'd prefer not to give my donors that as an incentive since... I have morals?
PS: For those of you who don't like the inherent particle names and can't tell them apart, I've renamed them in the code snippet here: Code:
PanelEffect(iClient) |
Re: [TF2] Unusuals effects
Are you sure releasing plugin like that is okay?
Not that i don't like plugin. It's nice but valve may put some restrictions on tf2items related plugins. Same was when people abused 'attachables' |
Re: [TF2] Unusuals effects
Nevermind. Looked through the code and realized the original .sp calls the TF2items plugin by its native name, not my renamed (name).
|
Re: [TF2] Unusuals effects
Valve will not like this.
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
2 Attachment(s)
For those who are concerned about the ethics of attaching particles to hats/miscs, I've attached a modified version below:
Changes: 1. Removed hats/misc section (ineffective anyways). 2. Removed class/slot selection (ineffective anyways). 3. Suppressed menu popup after particle application and removal. 4. Cleaned up phrases and made particle effects more recognizable. 5. Changed the command trigger from !unusual to !particle. 6. CVAR flag changed to particle_immunity (def: 0). Accepted flags: a, b, o, p, q, r, s, t or z. 0 = don't need flag Please check whether I did the menus right. Also remove this post if it violates any Valve policies. |
Re: [TF2] Unusuals effects
inb4removed?
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Is there a way for the unusual effect to change on just going to the resupply cabinet This would help a lot because then when you change the effect and when you delete the effect you don't have to change classes.
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
Quote:
|
Re: [TF2] Unusuals effects
Somehow while discussing in this thread later i've forgot about Valve and possiblity for them to add restrictions about particles
My bad :down: |
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Ouah ... I didn't think this little plugin will create a polemic ! I just wanted to help administrator and give more fun for donator !
Quote:
Else I'm agree with you Mr. Man I writed official particle name but it isn't explicit. I will add cvar for enable or disable hat particle. Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
@Erreur 500,
... approved TF2 Items Info plugin is too good? |
Re: [TF2] Unusuals effects
Changing particle effect of currently equipped weapons is working
But Add New Weapon Add New Hat Menus are closing after you choose Slot (example: Misc, PDA etc) Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
Really appreciate what you're doing! |
Re: [TF2] Unusuals effects
Don't see why you are using the key value structure of the tf2items config to change the effects of the items. (Plus reloading the plugin each time it's called (with ServerCommand))
Why not just use PrepareItemHandle stock in FlaminSarge's Give Weapon plugin and use OnGiveNamedItem and change the attributes there? + TF2ItemsInfo to determine item slot of iIndex. |
Re: [TF2] Unusuals effects
Quote:
|
Re: Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
I don't really see what the problem is with particles on hats. It only works on said server...so what is the big deal?
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Tried it, it needs update, but works good at some point. But, after unloading plugin, deleting it, and even after server restart, particles/effects are saved (on my RL, degreaser etc.) No plugin and i have effects, why is that?
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
Re: [TF2] Unusuals effects
Quote:
|
| All times are GMT -4. The time now is 21:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.