AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DOD:S] Fireworks 1.2 (https://forums.alliedmods.net/showthread.php?t=83341)

Silent_Water 01-08-2009 04:20

[DOD:S] Fireworks 1.2
 
1 Attachment(s)
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)

BenSib 01-09-2009 03:51

Re: [DOD:S] Fireworks 1.1
 
:up: !!

monkie 01-09-2009 08:35

Re: [DOD:S] Fireworks 1.1
 
Thank you so much, 1.1 fix sounds good.

sniperkills 01-09-2009 08:37

Re: [DOD:S] Fireworks 1.1
 
lol now thats kool works great on my server canu make a cfg for this

Silent_Water 01-09-2009 09:25

Re: [DOD:S] Fireworks 1.1
 
Quote:

Originally Posted by sniperkills (Post 740928)
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/ :)

FeuerSturm 01-11-2009 04:59

Re: [DOD:S] Fireworks 1.2
 
tested, working & approved!

nice job, Silent_Water! :up:

Kahless 01-11-2009 06:17

Re: [DOD:S] Fireworks 1.2
 
A picture would be cool

Silent_Water 01-11-2009 06:53

Re: [DOD:S] Fireworks 1.2
 
2 Attachment(s)
Quote:

Originally Posted by Kahless (Post 742030)
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 :)

Kahless 01-12-2009 04:36

Re: [DOD:S] Fireworks 1.2
 
Works Awesome installed on all three servers

V0gelz 01-12-2009 12:55

Re: [DOD:S] Fireworks 1.2
 
Nice job, ill update mine with those spheres you made if you don't mind? =) they look sweet


All times are GMT -4. The time now is 08:08.

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