Adding lightning + sound to slay
1 Attachment(s)
Hey all,
I have been attempting to modify slay.sp to add lightning + sound. I have taken the lightning effects and sound from the Uberpunisher plugin (http://forums.alliedmods.net/showthread.php?t=58660), and tried to add it in. I managed to get the plugin to compile, but it only plays the sound... no lightning effect. See the attached slay.sp to see what I have done. Does anybody know what I am doing wrong here? Regards, Bobbobagan |
Re: Adding lightning + sound to slay
Bump. Please help me!
|
Re: Adding lightning + sound to slay
bump again :D
|
Re: Adding lightning + sound to slay
That's because you're setting up the TempEnts, but not sending them.
Code:
TE_SetupBeamPoints(toppos, playerpos, g_Lightning, g_Lightning, lightningstartframe, lightningframerate, lightninglife, lightningwidth, lightningendwidth, lightningfadelength, lightningamplitude, lightningcolor, lightningspeed); It should be: PHP Code:
|
Re: Adding lightning + sound to slay
Someone has actually done a separate plugin already that does this, might check it out..
http://forums.alliedmods.net/showthr...=admin+thunder |
All times are GMT -4. The time now is 00:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.