Raised This Month: $12 Target: $400
 3% 

[DOD:S] Fireworks 1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silent_Water
Member
Join Date: Sep 2008
Plugin ID:
711
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    fires a firework into the sky every round that is won
    Old 01-08-2009 , 04:20   [DOD:S] Fireworks 1.2
    Reply With Quote #1

    Fireworks for DOD:S 1.2

    This plugin is based on an idea by V0gelz and Eric Lidman. They've created a simple fireworks plugin for CS:S. I've not used much of their code but some ideas.

    Here is my plugin - just for DOD:S - that creates a firework every round that is won (or manually). The firework can be seen over the flags (control points).

    Installation

    To install just compile the source or copy the .smx file to your plugins folder.

    Variables


    Since v1.2 there is a configuration file dod_fireworks.cfg created in cfg/sourcemod/.

    sm_dod_fireworks
    Just shows the version information

    sm_fireworks_timeout
    Fireworks max running seconds before it stops, default: 60

    sm_fireworks_sound
    Enable / disable Fireworks sounds (1/0), default: 1

    sm_fireworks_roundend
    Enable / disable Fireworks at round end (1/0), default: 1

    Commands (Admin only)

    sm_fireworks_start
    Fires fireworks into the sky

    sm_fireworks_stop
    Cancel the fireworks

    Version history

    1.0 (01/08/2009)
    - First stable public release
    - To do: more effects (if anyone needs this)
    1.1 (01/08/2009)
    - fixed a minor issue with a Warning (unused variable)
    1.2 (01/09/2009)
    - added fallback for maps without control points (without flags)
    - corrected frequency setting for maps with few control points
    - fixed possible index overflow to be sure it'll never happen
    - added automated creation of a config file (dod_fireworks.cfg)
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_fireworks.sp - 4889 views - 8.2 KB)

    Last edited by Silent_Water; 01-09-2009 at 09:23. Reason: New version v1.2
    Silent_Water is offline
     


    Thread Tools
    Display Modes

    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 11:08.


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