Thread: Fireworks!
View Single Post
Author Message
V0gelz
Senior Member
Join Date: Jun 2004
Old 05-06-2008 , 15:45   Fireworks!
Reply With Quote #1

Fireworks!
For CS:S, TF2, DODS!
But actually should work with any mod.

Description
This plugin lets you shoot fireworks in every map and every game mod.
You can change the field size, if the map has a low ceiling and turn the explosions off and on. The only event at the moment that will trigger fireworks is at the end of the round.

Suggestions
If you have an idea for this plugin or an event that could trigger fireworks. Let me know and ill consider to implement it. The options are endless.

Youtube movie: http://www.youtube.com/watch?v=gTBSEl6Frfw


Picture:




Readme:
PHP Code:
/*****************************************************************************************
 *  vog_fireworks.sma     version 1.4                 Date: 02/01/2010
 *   Author: V0gelz      [email protected]
 *   Original Idea: Eric Lidman aka Ludgwig Van
 *
 *   Shoots fireworks into the sky.
 *   The effects look best on bigger more open maps.
 *   Youtube movie: http://www.youtube.com/watch?v=gTBSEl6Frfw
 * 
 *   I'm adding effects but this is work in progress, if any of
 *   you have seen some cool effects that maybe could be used in
 *   this fireworks plugin let me know! PM me on sourcemod if you do.
 *   The effects look best on bigger more open maps.
 *
 *   Support For CS:S, TF2, DODS!
 *
 *  ADMIN COMMANDS:
 *
 *   sm_fireworks             Sets fireworks off at random points on map.
 *   sm_fireworks_cancel        Cancels the on going fireworks.
 *   sm_fireworks_sound        Toggles the sound of the explosions off and on.
 *
 *  CVARS (which can be set in the mod/cfg/sourcemod/sourcemod.cfg):
 *
 *     sm_fireworks_noise 1        This sets whether your fireworks makes noise.
 *
 *    sm_fireworks_roundend 1  -- 0 = no fireworks display at round end in CS:S.
 *                               -- 1 = fireworks at round end.
 *
 *    sm_fireworks_field_size 1    How large the fireworks field size is,
 *                    1 small/2 average/3 big
 *
 *    sm_fireworks_low_ceiling 1    Low ceiling map such as standard maps like de_dust, we put 1,
 *                    big huge maps with a high ceiling, we put 0.
 *
 *  NOTE:
 *
 *   This plugin has room to grow. If you have ideas, let me know. Perhaps we
 *    can set off fireworks automatically on events like multikill
 *    or headshot. The possiblilities for attaching fireworks to game events
 *    are limitless. Check back often as new effects and options will be added.
 *
 *
 *  CREDITS:
 *         Olly & Tsunami - for helping on the env_shooter problem.
 *        MatthiasVance - for info!
 *         Silent_Water - Sphere code.
 *
 ****************************************************************************************/ 

Give suggestions!

ChangeLog:

Version 1.4
- Warning fixes.
- Temp fix for the client game crashes.
- Changes abit of code.

Version 1.3b
- Version check fix.

Version 1.3a
- Env_shooter entity support only for css and other ep1 games at the moment. Client crashes when fireworks is running and round is resetting.

Version 1.3
- Added End Round Support for DoD:Source and TF2.
- Fixed and rewrote some code.
- Added sm_fireworks_sound var to turn off/on sounds.
- Fixed crashing bug on end round.

Version 1.2
- Added new special effects.
- Sphere + line and new colors and explosions.
- Flare balls that fly all over the map.
- Fixed error with sprites that don't show up.
- Sound files fixes.
- Added explosion sound on and off cvar and admin option.
- Added field size
- Added a high and low ceiling option
- Added alot of cool sounds.
- Alot of fixes.
- And much more ..

Notes
You can use map configuration plugins to set field size, ceiling and sound for each map or you can just put standard value in your server config.


Download
For the full package (sounds and script) download the .zip under this thread.

*PLEASE USE THE GET PLUGIN THAT IS ATTACHED TO THIS POST*
*IT MAY GIVE ERRORS IF YOU USE THE ONE IN THE ZIP FILE*
Attached Files
File Type: sp Get Plugin or Get Source (vog_fireworks.sp - 4560 views - 22.2 KB)
File Type: zip vog_fireworks.zip (692.9 KB, 4070 views)
__________________

Last edited by V0gelz; 12-12-2011 at 12:02. Reason: Update to 1.4
V0gelz is offline