IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> Day/night loop, ...is melting my brain
Dudeinabox
post Nov 26 2007, 12:02 AM
Post #1


Disc Thrower
Group Icon

Group: Members
Posts: 92
Joined: 22-October 07
Member No.: 1,021



I created a day/night loop for one of my maps, now either i'm too impatient to wait for it to happen, or i've done something wrong and need help (I did wait for about an hour and didn't seem to change.)

Anyway here's the set up:

Original Ambience value: 0.634 etc, Locals: get dark (Clear) and Get light (set)

Triggers:
Name - Daybreak, set to reapeating
Events - 1: Elapsed time - 1500, 2: Local set - Get light
Actions - 1: Set ambient step - 1004634557, 2: Set ambient rate - 1063785690, 3: Set ambient light - 90, 4: local clear - Get light, 5: local set - get dark

Name - Nightfall, set to repeating
Events - 1: Elapsed time - 1750, 2: local set - get dark
Actions - 1: Set ambient step - 1004634557, 2: Set ambient rate - 1063785690, 3: set ambient light 63, 4: local clear - get dark, 5: local set - get light

Does anything seem wrong there? I did just plug random numbers into the step and rates so i'm guessing that's where the problem will be but all forms of help is much appreciated.

cheers,
-DIAB
Go to the top of the page
 
: | +Quote Post
Ixith
post Nov 26 2007, 12:08 AM
Post #2


Cyborg Reaper
Group Icon

Group: Members
Posts: 1,173
Joined: 21-October 06
From: Ohio
Member No.: 27
Alliance: Nod
Favorite game: Tiberian Sun



lol where is the trigger that has the action that sets the to start it to go to day or night first? I think thats where your problem lies. You need a trigger to start those off that looks something like

Name: Start loop
Event: Elapsed time 800
Action: Set local(get dark) *or whatever you have your locals called for it.

if you have that then I don't know what could be wrong. A suggestion of course would be to take a look at another map which has one that works. wink1.gif


--------------------
Go to the top of the page
 
: | +Quote Post
Aro
post Nov 26 2007, 02:01 AM
Post #3


Cyborg Commando
Group Icon

Group: Members
Posts: 1,695
Joined: 22-November 06
From: Birmingham, UK
Member No.: 314
Alliance: Nod
Favorite game: Tiberian Sun



Or you could do it an easier way.

First, delete everything you've already done on the Day Night Loop Trigger. Go to Tool Scripts in Final sun, run the Day Night Loop script, then go to Triggers and fix it all up to the way you want it to go, the timing, the brightness / darkness etc. Also, don't forget to change the main map lighting to your liking aswell.

If you look at all the actions, it'll appear saying things like "Please_select_SoandSo", just choose the right preference that the dropbox is asking you to add... So in the example i gave you, you'd have to find "SoandSo". It all works well, in my opinion, it saves going through the effort of having to do it all from scratch.

Edit: This always works well for me anyway, it's just a pain in the ass to have to change the lighting agian, if you'd changed it before you made the, Tool Script.

This post has been edited by Aro: Nov 28 2007, 06:10 AM


--------------------
Aro - Leader of Twisted Insurrection and Evolution.

Tiberian Sun: UMP
Tiberian Sun: Modding Tools
Tiberian Sun: Mapping Tools

"Aro is OP." - TiberianFuture
"Aro for Dictator!" - Droke
"Aro for President!" - CL4ymOr3
"You're Aro, you always win." - daTS
"He's referred to as The Aro because he really is that f*cking awesome!" - Fenring
"Only members of the A.R.O. Society are allowed to use :WAT and related terms (TAW:, :BIGV, etc.)." - Crimsonum
"To Aro, founder and leader of TI, the best public relations and mod manager, great friend, modder and mapper." - Lin Kuei Ominae
Go to the top of the page
 
: | +Quote Post
Dudeinabox
post Nov 26 2007, 08:37 AM
Post #4


Disc Thrower
Group Icon

Group: Members
Posts: 92
Joined: 22-October 07
Member No.: 1,021



I'd rather do it myself, I find the tool script mess about my maps and cause LOTS of internal errors, on the other hand, thank ixith =)

-DIAB
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 15th November 2026 - 08:16 AM


XGhozt.com