SA-MP Forums Archive
[FilterScript] Snow FS (For Incognito's streamer + ZCMD) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Snow FS (For Incognito's streamer + ZCMD) (/showthread.php?tid=296904)



Snow FS (For Incognito's streamer + ZCMD) - Kwarde - 13.11.2011

Hello.
I've made this in the first place for someone who needed help, but I also decided to just release it.
It's very simple but it looks nice. Here's a screen:

Images lost

I didn't include credits because it's very easy. Use /snow ingame to toggle it on or off. That's all. There are two edittable defines, but it is as good enough atm.

Features
* /snow command to toggle it on and off
* Commands for RCON admins: /allsnowon and /allsnowoff
* Random rX & rY positions so it will look more realistic (you mostly won't see the lines in a several look-at positions if you get what I mean)
* The snow will be from 0 to 20 from the player pos (X and Y) so that now all the snow will be exact on one location: PosX + random(20) and PosY + random(2)
* The Z position of the snow at player object is -5 so it won't stop above the ground

Download
* Source (.pwn) only (pastebin): http://pastebin.com/Dw7f4PCB
* Source (.pwn) and executable file (.amx): Link down - Site shut down

-- NEW: Custom.img! --
On the screen, you can see everything is covered in snow. You can download this mod here:
* Custom.img only (gta3.img changes for multiplayer only): Link down - Site shut down
* Full mod (including changed handling (less easier-more realistic), all cars white (nice effect) and the gta3.img). This one does change your singleplayer. custom.img won't (as most people might know already): Link down - Site shut down [202 MB]

Last Update: 26/11/2012 07:04 (GMT+1, Time in The Netherlands)

NOTE: Some people have complained about lagg: DECRASE MAX_SNOW_OBJECTS!

WARNING: Do not use more then 30 snow objects per player: This will occur FPS laggs (atleast for me) and it could even crash the player (I tested it with 50 and the client immediate crashed)


- Kevin


Re : Snow FS (For Incognito's streamer + ZCMD) - Tom_Adams - 13.11.2011

GG, i Want creat a script wich snow, but a object fake snow was remove from samp...


Re: Snow FS (For Incognito's streamer + ZCMD) - Kwarde - 13.11.2011

It has been placed back already I guess: I am using the fakesnow object (18864).


Re: Snow FS (For Incognito's streamer + ZCMD) - AppleX - 13.11.2011

Nice work


Re: Snow FS (For Incognito's streamer + ZCMD) - Michael@Belgium - 13.11.2011

omg ... xD Yes thanks lol, it works now


Re: Snow FS (For Incognito's streamer + ZCMD) - CSSI - 13.11.2011

Looks Nice.


Re: Snow FS (For Incognito's streamer + ZCMD) - nielsbon1 - 13.11.2011

Nice work, some people are waiting for this a long time!


Re: Snow FS (For Incognito's streamer + ZCMD) - justsomeguy - 13.11.2011

Ow this reminds me of the time when 0.3c was still under devolepment during christmass time!
Great job!


Re: Snow FS (For Incognito's streamer + ZCMD) - Kwarde - 13.11.2011

Thanks.
However it's not so great: It was as easy as hell :P


Re: Snow FS (For Incognito's streamer + ZCMD) - Astralis - 13.11.2011

nice man. Will use it.


Re: Snow FS (For Incognito's streamer + ZCMD) - justsomeguy - 13.11.2011

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Thanks.
However it's not so great: It was as easy as hell :P
To be very honest, I only lookt at the idea, not at the script but stil good job.


Re: Snow FS (For Incognito's streamer + ZCMD) - Kwarde - 13.11.2011

Well this "idea" has been made a several times before. But some of them aren't working (Michael_Belgium said to me) so I decided to make this one.


Re : Snow FS (For Incognito's streamer + ZCMD) - Tom_Adams - 16.11.2011

Good idйa but there ins one error on your script:
Quote:

C:\Users\Thomas\Desktop\Cette Vie De Mapping\Cette Vie De Mapping 0.3d\filterscripts\neige.pwn(12) : fatal error 111: user error: Change MAX_SLOTS to the max players of your server! (At line 6)


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Sorry, i speek english so bad, i am french.


Re: Re : Snow FS (For Incognito's streamer + ZCMD) - SlashPT - 16.11.2011

Quote:
Originally Posted by Tom_Adams
Посмотреть сообщение
Good idйa but there ins one error on your script:


Sorry, i speek english so bad, i am french.
Le erreur dit que tu dois changer la variable MAX_SLOTS dans le script por le maxi de joeurs de ton serveur par example 50...

I've said him what he have actually to do...


Re : Re: Re : Snow FS (For Incognito's streamer + ZCMD) - Tom_Adams - 16.11.2011

Quote:
Originally Posted by SlashPT
Посмотреть сообщение
Le erreur dit que tu dois changer la variable MAX_SLOTS dans le script por le maxi de joeurs de ton serveur par example 50...

I've said him what he have actually to do...
Merci beaucoup.


Re: Snow FS (For Incognito's streamer + ZCMD) - Kwarde - 16.11.2011

@Tom_Adams: Good luck with the script
@SlashPT: Merci for telling him :P


Re: Snow FS (For Incognito's streamer + ZCMD) - Astralis - 16.11.2011

good idea and work.


Re: Snow FS (For Incognito's streamer + ZCMD) - Naruto_Emilio - 17.11.2011

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Thanks.
However it's not so great: It was as easy as hell :P
hell is not easy ... Nice Fs...


Re: Snow FS (For Incognito's streamer + ZCMD) - juraska - 12.12.2011

Thanks for christmas miracle !


Re: Snow FS (For Incognito's streamer + ZCMD) - x96664 - 26.11.2012

Looks nice