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

Silent_Water 01-13-2009 03:39

Re: [DOD:S] Fireworks 1.2
 
Quote:

Originally Posted by V0gelz (Post 742926)
Nice job, ill update mine with those spheres you made if you don't mind? =) they look sweet

Yes, please use it as you like - I've tried a lot settings to make them look sweet :) And thank you for your ideas - as I mentioned I've used some code and ideas from you without asking. Sorry :oops:

Kahless 01-14-2009 02:50

Re: [DOD:S] Fireworks 1.2
 
Apparently these fireworks are fatal? BTW is there anyway to say program in shapes to explode?

Silent_Water 01-14-2009 04:02

Re: [DOD:S] Fireworks 1.2
 
Quote:

Originally Posted by Kahless (Post 743826)
Apparently these fireworks are fatal? BTW is there anyway to say program in shapes to explode?

Sorry I quite don't understand - what is fatal? And what should the program do? Please explain :)

If you want, that there is a check if the fireworks collides with objects (buildings, trees, whatever...), this can't be done.

Kahless 01-14-2009 04:31

Re: [DOD:S] Fireworks 1.2
 
Fatal as in it can kill players. Fatal = Death I was just letting you know this problem is mostly on Avalanch as teh fireworks explode int eh sniper window. My other question was are the firework explosions random or can you program in a pattern.

Silent_Water 01-15-2009 04:55

Re: [DOD:S] Fireworks 1.2
 
Quote:

Originally Posted by Kahless (Post 743850)
Fatal as in it can kill players. Fatal = Death I was just letting you know this problem is mostly on Avalanch as teh fireworks explode int eh sniper window. My other question was are the firework explosions random or can you program in a pattern.

Ooops - I didn't know that. But maybe I can fix this by a simple option. Well, fireworks in RL can also be lethal if you get too close :)

At the moment it is completely randomized. I could make a pattern variable where you can decide what to do in what order.

Astron 01-15-2009 08:07

Re: [DOD:S] Fireworks 1.2
 
Impessive plugin, maybee maide thise plugin fo TF2. :)

V0gelz 01-15-2009 18:53

Re: [DOD:S] Fireworks 1.2
 
Quote:

Originally Posted by Silent_Water (Post 743238)
Yes, please use it as you like - I've tried a lot settings to make them look sweet :) And thank you for your ideas - as I mentioned I've used some code and ideas from you without asking. Sorry :oops:

Yea it's no problem for now but ask in the future. And ye i'm gonna play with this more. Maybe add more effects.

B!ggles 01-16-2009 16:18

Re: [DOD:S] Fireworks 1.2
 
Nice work on this plugin, adds variety and interest. Lots of positive comments so far.

scumbucket 02-04-2009 20:45

Re: [DOD:S] Fireworks 1.2
 
[SM] Native "FindEntityByClassname" reported: "FindEntityByClassname" not supported by this mod

18:35:34 L 02/04/2009 - 20:35:35: [SM] Debug mode is not enabled for "dod_fireworks.smx"

18:35:34 L 02/04/2009 - 20:35:35: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 11 on

Any ideas on why I am getting these errors and it is not working?

Thanks!

Kahless 02-04-2009 20:52

Re: [DOD:S] Fireworks 1.2
 
Turning on debug mode might give us the answers.

scumbucket 02-04-2009 23:14

Re: [DOD:S] Fireworks 1.2
 
How do I do that?

I have no experience writing scripts, I seen this on another server and thought that I would add it to mine, as something different as I was impressed with it.

Thanks,

Kahless 02-04-2009 23:17

Re: [DOD:S] Fireworks 1.2
 
Quote:

Originally Posted by scumbucket (Post 755917)
[SM] Native "FindEntityByClassname" reported: "FindEntityByClassname" not supported by this mod

18:35:34 L 02/04/2009 - 20:35:35: [SM] Debug mode is not enabled for "dod_fireworks.smx"

18:35:34 L 02/04/2009 - 20:35:35: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 11 on

Any ideas on why I am getting these errors and it is not working?

Thanks!


scumbucket 02-05-2009 00:02

Re: [DOD:S] Fireworks 1.2
 
:oops:Duh, I figured it out, I failed to update SM as I was not as up to date as I should have been.

Asleep at the wheel:shock:

Faust_mateo 03-07-2009 22:59

Re: [DOD:S] Fireworks 1.2
 
TY devs , will give it a try!

Faust_mateo 03-07-2009 23:07

Re: [DOD:S] Fireworks 1.2
 
Ty devs, will try it out!

Brutalizer 06-21-2009 20:48

Re: [DOD:S] Fireworks 1.2
 
Got some probleme with this...

The firerworks explode on the ground, i want them to explode in the sky,,,


What can i do to make that work properly ?

dod source..


Thank you,,,

VanLi_bRuSly* 06-05-2011 07:52

Re: [DOD:S] Fireworks 1.2
 
counter-strike Is there?

alencore 10-04-2013 01:14

Re: [DOD:S] Fireworks 1.2
 
so cool tnx!

Blitzbirnep 01-15-2014 16:14

Re: [DOD:S] Fireworks 1.2
 
Need help :(
I installed metamod and sourcemod succsessfully, copied the .smx file in my sourcemod/plugins file.
After starting the game and typing sm_fireworks_start (consol does know the command!) nothing happnes
there are coming some strange errors
"

L 01/15/2014 - 22:13:43: [SM] Native "FindEntityByClassname" reported: "FindEntityByClassname" not supported by this mod
L 01/15/2014 - 22:13:43: [SM] Displaying call stack trace for plugin "dod_fireworks.smx":
L 01/15/2014 - 22:13:43: [SM] [0] Line 77, /home/groups/alliedmodders/forums/files/4/1/6/8/1/35721.attach::find_positions()
L 01/15/2014 - 22:13:43: [SM] [1] Line 148, /home/groups/alliedmodders/forums/files/4/1/6/8/1/35721.attach::fireworks_start()
"

playboycyberclub 01-10-2023 02:20

Re: [DOD:S] Fireworks 1.2
 
2 Attachment(s)
DOD:S Fireworks Fix for SourceMod v1.11 or v1.12


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

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