Raised This Month: $ Target: $400
 0% 

[ANY] Custom Unusual Effects


Post New Thread Reply   
 
Thread Tools Display Modes
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 07-20-2013 , 19:42   Re: [ANY] Custom Unusual Effects
Reply With Quote #11

Hey good job guy, thanks for sharing.

Some of the effects worked perfectly, the Rocket Troll is cool
however the effects did not work as custom: "derpy" or "gabe"
and commands to remove the effects did not work.
StayOx is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 07-20-2013 , 20:37   Re: [ANY] Custom Unusual Effects
Reply With Quote #12

Use a while loop with FindEntityByClassname to kill off the info_particle_system.
__________________
Chaosxk is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-21-2013 , 16:18   Re: [ANY] Custom Unusual Effects
Reply With Quote #13

Quote:
Originally Posted by Chaosxk View Post
Use a while loop with FindEntityByClassname to kill off the info_particle_system.
store as entrefs?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 07-21-2013 , 23:43   Re: [ANY] Custom Unusual Effects
Reply With Quote #14

Quote:
Originally Posted by friagram View Post
store as entrefs?
Or that.
__________________
Chaosxk is offline
Mikethe3nd
Junior Member
Join Date: Aug 2013
Old 08-08-2013 , 01:12   Re: [ANY] Custom Unusual Effects
Reply With Quote #15

Can you possibly make it so only Admins can use it, PM me a edited file or something because I can't seem to do it myself.
Mikethe3nd is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 08-08-2013 , 04:04   Re: [ANY] Custom Unusual Effects
Reply With Quote #16

Quote:
Originally Posted by Mikethe3nd View Post
Can you possibly make it so only Admins can use it, PM me a edited file or something because I can't seem to do it myself.
You could use admin_overrides.cfg file in sourcemod/config to override the commands for this timer to any flag you want.

Code:
    RegConsoleCmd("sm_unusual_spawn", UnusualHead, "Become Unusual");
    RegConsoleCmd("sm_unusual", UnusualMenu, "Unusual Menu");
    RegConsoleCmd("sm_customunusuals", UnusualMenu, "Unusual Menu");
    RegConsoleCmd("sm_unusuals", UnusualMenu, "Unusual Menu");
    RegConsoleCmd("sm_u", UnusualMenu, "Unusual Menu");
    RegConsoleCmd("sm_unusual_delete", DeleteParticle, "Remove Unusual");
    RegConsoleCmd("sm_ud", DeleteParticle, "Remove Unusual");
__________________
cw main:

cw speedruns:
vodka00 is offline
Mikethe3nd
Junior Member
Join Date: Aug 2013
Old 08-08-2013 , 09:29   Re: [ANY] Custom Unusual Effects
Reply With Quote #17

I tried doing this on the file

Quote:
Overrides
{
"sm_u" "z"
"@Unusuals" "z"
"sm_ud"
"sm_unusual_spawn" "z"
"sm_unusual_delete "z"
"sm_customunusuals" "z"
"sm_unusuals"
"sm_unusual"
}
I don't know if its the right way but ye, it doesn't work

I tried
Quote:
}
RegAdminCmd("sm_unusual_spawn", Command_UnusualHead, ADMFLAG_ROOT);
RegAdminCmd("sm_unusual", Command_UnusualMenu, ADMFLAG_ROOT);
RegAdminCmd("sm_customunusuals", Command_UnusualMenu, ADMFLAG_ROOT);
RegAdminCmd("sm_unusuals", Command_UnusualMenu, ADMFLAG_ROOT);
RegAdminCmd("sm_u", Command_UnusualMenu, ADMFLAG_ROOT);
RegAdminCmd("sm_unusual_delete", Command_DeleteParticle, ADMFLAG_ROOT);
RegAdminCmd("sm_ud", Command_DeleteParticle, ADMFLAG_ROOT);
}
in the unusuals.sp just for the sake of trying but nothing too

Last edited by Mikethe3nd; 08-08-2013 at 09:31.
Mikethe3nd is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 08-10-2013 , 03:40   Re: [ANY] Custom Unusual Effects
Reply With Quote #18

I installed this using the zip file, and every time I try to use an effect I get this in the console

Code:
Custom Unusuals] You selected effect: 1700946279
Attempting to create unknown particle system 'gabe'
Can some one tell me what I did wrong?
Server is running on MetaMod:Source v1.9.3-devV, SourceMod v1.5.0-dev+3851


Also, can we get a bit more instructions on the OP? For custom particle effects and such.

Last edited by jpwanabe; 08-10-2013 at 17:58.
jpwanabe is offline
Mikethe3nd
Junior Member
Join Date: Aug 2013
Old 08-10-2013 , 18:20   Re: [ANY] Custom Unusual Effects
Reply With Quote #19

Yeh, I tried everything' even the scripting section couldn't help me.
Mikethe3nd is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 08-10-2013 , 18:37   Re: [ANY] Custom Unusual Effects
Reply With Quote #20

Quote:
Originally Posted by jpwanabe View Post
I installed this using the zip file, and every time I try to use an effect I get this in the console

Code:
Custom Unusuals] You selected effect: 1700946279
Attempting to create unknown particle system 'gabe'
Can some one tell me what I did wrong?
Server is running on MetaMod:Source v1.9.3-devV, SourceMod v1.5.0-dev+3851


Also, can we get a bit more instructions on the OP? For custom particle effects and such.
In each particle file (.pcf) there can be up to 64 systems which are independent particle effect systems. It's stating that it cannot find the system named 'gabe' in whatever particle file you specified it to look in.
__________________
cw main:

cw speedruns:
vodka00 is offline
Reply



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 03:45.


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