Monthly Target: $400 Donations: $126
 31% 

[DOD:S] Fireworks 1.2


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    24 
    Plugin Description:
    fires a firework into the sky every round that is won
    Old 01-08-2009 , 05: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 - 3831 views - 8.2 KB)

    Last edited by Silent_Water; 01-09-2009 at 10:23. Reason: New version v1.2
    Silent_Water is offline
    BenSib
    Senior Member
    Join Date: Aug 2008
    Old 01-09-2009 , 04:51   Re: [DOD:S] Fireworks 1.1
    Reply With Quote #2

    !!
    BenSib is offline
    monkie
    Senior Member
    Join Date: Oct 2006
    Location: Shanghai, China
    Old 01-09-2009 , 09:35   Re: [DOD:S] Fireworks 1.1
    Reply With Quote #3

    Thank you so much, 1.1 fix sounds good.
    __________________
    monkie is offline
    Send a message via MSN to monkie Send a message via Skype™ to monkie
    sniperkills
    Senior Member
    Join Date: Apr 2008
    Old 01-09-2009 , 09:37   Re: [DOD:S] Fireworks 1.1
    Reply With Quote #4

    lol now thats kool works great on my server canu make a cfg for this
    __________________
    {─ŇD}ۣۜ$ήi■ŰяҚillş
    sniperkills is offline
    Silent_Water
    Member
    Join Date: Sep 2008
    Old 01-09-2009 , 10:25   Re: [DOD:S] Fireworks 1.1
    Reply With Quote #5

    Quote:
    Originally Posted by sniperkills View Post
    lol now thats kool works great on my server canu make a cfg for this
    *** UPDATED ***

    I've fixed some issues (see version history) and added automated creation of the config file "dod_fireworks.cfg" in cfg/sourcemod/
    Silent_Water is offline
    FeuerSturm
    Veteran Member
    Join Date: Apr 2004
    Location: Germany
    Old 01-11-2009 , 05:59   Re: [DOD:S] Fireworks 1.2
    Reply With Quote #6

    tested, working & approved!

    nice job, Silent_Water!
    __________________
    FeuerSturm is offline
    Kahless
    Member
    Join Date: May 2008
    Old 01-11-2009 , 07:17   Re: [DOD:S] Fireworks 1.2
    Reply With Quote #7

    A picture would be cool
    Kahless is offline
    Silent_Water
    Member
    Join Date: Sep 2008
    Old 01-11-2009 , 07:53   Re: [DOD:S] Fireworks 1.2
    Reply With Quote #8

    Quote:
    Originally Posted by Kahless View Post
    A picture would be cool
    Hmmm - it is very difficult to make pictures of a highly dynamic process like a firework (as in reality) but here are two. Due to the file size limit they are very poor - a video would be better
    Attached Thumbnails
    Click image for larger version

Name:	dod_avalanche0001.jpg
Views:	1832
Size:	81.3 KB
ID:	35782   Click image for larger version

Name:	dod_avalanche_night0001.jpg
Views:	494
Size:	84.7 KB
ID:	35783  
    Silent_Water is offline
    Kahless
    Member
    Join Date: May 2008
    Old 01-12-2009 , 05:36   Re: [DOD:S] Fireworks 1.2
    Reply With Quote #9

    Works Awesome installed on all three servers
    Kahless is offline
    V0gelz
    Senior Member
    Join Date: Jun 2004
    Old 01-12-2009 , 13:55   Re: [DOD:S] Fireworks 1.2
    Reply With Quote #10

    Nice job, ill update mine with those spheres you made if you don't mind? =) they look sweet
    __________________
    V0gelz is offline
    Reply


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


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