Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Time and Weather (https://forums.graalonline.com/forums/showthread.php?t=18790)

cell424 12-12-2001 06:13 PM

Time and Weather
 
I have a time script that works fine, but I want it to record the hours so it could I could make it rain at certain hours, does anyone have any idea on how to do this?

Kumada 12-12-2001 07:44 PM

Re: Time and Weather
 
Quote:

Originally posted by cell424
I have a time script that works fine, but I want it to record the hours so it could I could make it rain at certain hours, does anyone have any idea on how to do this?
if (this.time==1){
setbackpal pics1.png;
}

then just use it like this
if (this.time==100){
setbackpal dusk1.png;
}

if (this.time==500){
setbackpal dusk2.png;
}


if (this.time==900){
setbackpal pics1.png
}

royce 12-13-2001 03:31 AM

...what would be even better is like a random chance it will snow @ night or rain...

cell424 12-13-2001 04:52 AM

:)
 
I made a rain, snow, and cloud system. I would have to make a new day/night system cause the one I have is really really laggy. And the day/night script would make some of the houses not function right.

TDO2000 12-13-2001 04:59 AM

Cause of the automapping I wouldn't use backpals for a daynight...
it's shown on the map too and that really sux...

nyghtGT 12-13-2001 05:03 AM

Quote:

Originally posted by TDO2000
Cause of the automapping I wouldn't use backpals for a daynight...
it's shown on the map too and that really sux...

'seteffect' is always good ...:D

TDO2000 12-13-2001 05:15 AM

Quote:

Originally posted by nyghtGT

'seteffect' is always good ...:D

um I just saw setbackpal somewhere on top ;)
but if he wants to make P2P seteffect will do it ;)

nyghtGT 12-13-2001 05:59 AM

Quote:

Originally posted by TDO2000


um I just saw setbackpal somewhere on top ;)
but if he wants to make P2P seteffect will do it ;)

i am not sure what he said it was ...

cell424 12-13-2001 08:10 AM

Manatra2001 is Free, and I dont need a Day/Night system. I have the weather systems I made, and the time. I am adjusting the time system now to make this work fine.


All times are GMT +2. The time now is 06:37 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.