Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2001, 06:13 PM
cell424 cell424 is offline
Registered User
Join Date: Mar 2001
Location: USA/PA
Posts: 184
cell424 is on a distinguished road
Send a message via AIM to cell424
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?
__________________
Trunks
Reply With Quote
  #2  
Old 12-12-2001, 07:44 PM
Kumada Kumada is offline
Ded
Kumada's Avatar
Join Date: Nov 2001
Location: Usa
Posts: 1,088
Kumada is on a distinguished road
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
}
__________________
Aim: Mmm Kumada

Reply With Quote
  #3  
Old 12-13-2001, 03:31 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
...what would be even better is like a random chance it will snow @ night or rain...
Reply With Quote
  #4  
Old 12-13-2001, 04:52 AM
cell424 cell424 is offline
Registered User
Join Date: Mar 2001
Location: USA/PA
Posts: 184
cell424 is on a distinguished road
Send a message via AIM to cell424
:)

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.
__________________
Trunks
Reply With Quote
  #5  
Old 12-13-2001, 04:59 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Cause of the automapping I wouldn't use backpals for a daynight...
it's shown on the map too and that really sux...
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 12-13-2001, 05:03 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 ...
Reply With Quote
  #7  
Old 12-13-2001, 05:15 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Quote:
Originally posted by nyghtGT

'seteffect' is always good ...
um I just saw setbackpal somewhere on top
but if he wants to make P2P seteffect will do it
__________________
No Webhost at the moment
Reply With Quote
  #8  
Old 12-13-2001, 05:59 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 ...
Reply With Quote
  #9  
Old 12-13-2001, 08:10 AM
cell424 cell424 is offline
Registered User
Join Date: Mar 2001
Location: USA/PA
Posts: 184
cell424 is on a distinguished road
Send a message via AIM to cell424
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.
__________________
Trunks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:35 AM.


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