[FS] Martok's Fireworks -
Martok - 30.12.2007
Martok's Fireworks
Inspired by
http://forum.sa-mp.com/index.php?topic=35903.0
Download: http://www.martoks-place.de/files/samp/fireworks.zip
Based on Boylett's funny xFireworks Include, I created a filterscript which lets admins create firework batteries which can then be fired.
You need to be either RCON admin or authenticaded admin-scrpit-admin (see below) to access the commands!
Command help is available via /fwhelp.
Oh, and if you want to save... two things: first, it overwrites existing files... second: saving after a firework has been fired is useless 'cause the batteries are removed after they are empty. So you might save an empty map...
Admin script integration: I built the script to cooperate with mabakos admin script we use at the GermanFunserver. In OnPlayerCommandText, you will find the check for either RCON admin or Ingame-Admin. Our script allows to get a player's level via a CallRemoteFunction-Call. If you have another method, you can simply put it in this line. If not, ignore it, it will do no harm if there is no such function in your script.
Compiling yourself: If you want to compile this for yourself, you need the sscanf code which can be found on the wiki (NOTE: I had to fix a bug in there, so you might need to update your version if you already have one.).
Also, for some special effects, I modified xFireworks.inc so there are random white and red rockets.
The versions I compiled with are included in the zip archive.
Files: The script can save the current setup to a file located in the
scriptfiles folder. 2 are shipped with the script: vinewood.firework creates a nice firework on the vinewood sign, firewall creates a wall of fireworks near the entrance of LS airfield. Don't you try to fly through with a helicopter
Have fun, we do have it

Suggestions are welcome, of course.
FAQ:
All of these have been answered in this thread, but as nobody seems to even try to search...
The download doesn't work
It does, just not now. The server doesn't have 100% uptime... none ever has.
Compile error on line 200
If you have this error:
Код:
error 001: expected token: ";", but found "else"
Put a ";" on the end of the line 200. That's because I have used a newer version of the compiler than normally packaged.
Where should the files go?
Read the manual again...
Why does nothing happen when I type commands?
Define nothing: if it says "unknown command" and you are sure the script is loaded, then you are not logged in as RCON admin.
If there is really nothing happening at all, some other script is buggy.
Alternatively, somthing went wrong loading the script, try reloading.
Known problems
As BLACKMAMBA_007 pointed out: it's incompatible with the Bus_interior FS.
Still doesnt work...
Okay, if you are sure it is not a problem with your server and you have searched here if it may have been discussed before.. feel free to ask. This thread is full of ppl asking the exact same questions...
History:
2007-12-30: initial release
2009-11-23: added FAQ
NEW: demo video!
Watch it here!
Re: [FS] Martok's Fireworks -
Recycler - 30.12.2007
Sounds interesting
MfG
Recycler
Re: [FS] Martok's Fireworks -
pspleo - 30.12.2007
Looks nice, im gonna try this
Re: [FS] Martok's Fireworks -
Alejandro - 30.12.2007
will be trying.
Re: [FS] Martok's Fireworks -
SinisterCrime- - 30.12.2007
Need a Mirror?
Re: [FS] Martok's Fireworks -
Martok - 30.12.2007
Quote:
Originally Posted by [SDM
Torque- ]Need a Mirror?
|
Currently not, thank you
I forgot to say one thing: I you have additional colorful glowing objects which I could use as rockets, please post their ids. Sadly, most 2dfx stuff is not attached to objects...
EDIT: Oh, and maybe some sweeping sounds for the rockets
@Recycler:
Quote:
Sounds interesting
MfG <--
|
Schцn Sprache mittendrin gewechselt^^
Re: [FS] Martok's Fireworks -
Gehaktbal - 30.12.2007
Ah Really nice!!
Here are 2 movies about it, so people know what this really is:
http://fusion9.nl/movies/firewall.avi
http://fusion9.nl/movies/vinewood.avi
and ps: I forgot to enable the sound XD
Cya later!
Re: [FS] Martok's Fireworks -
snipe69 - 30.12.2007
Quote:
Originally Posted by Gehaktbal
|
i saw videos looks really awesome,im going to try
Re: [FS] Martok's Fireworks -
Martok - 30.12.2007
MPlayer plays without problems :P
Hm, I think I will upload a small video... filmed by myself, I dont have the codecs either
Re: [FS] Martok's Fireworks -
beckzy - 30.12.2007
Quote:
Originally Posted by Martok
I forgot to say one thing: I you have additional colorful glowing objects which I could use as rockets, please post their ids.
|
You could use the hydra flare, model = 354.