How to: Set lights on a timer *Solved*
This is one of the biggest problems i've been having so far. I've
tinkered with the flow graph pretty much, all day, and i have no idea
where to start.
Is there a way to set it so that lights (such as street lights) come on
at a certain time of day?
And also one other small problem, How could i have it so that the lamps
actually glow just to show where the source is coming from)
(this is a photoshop edit, just to give you an example of what I mean.
EDIT: Image link fixed.
first, did you use the archetype entity streetlights? I think they glow
during the night...
or you can do it like this
you need to use a Time:Timeofdaytrigger
Now it gets a bit complicated...
You need to change a parameter on the submaterial of the lightbulb/glow
you can do that with Entity:MaterialParam
Now you have to figure out which material id and what parameter to set
I can't help you with that...
open up harbour.cry, and look at the watchtowers near the coast, they
have searchlights with a similar flowgraph, that use material param
when the lights are turned on/off...
Thank you very much Radiantor Happy That helped alot, now all i do is
have to find that material for the light bulb
Thx again! ^_^
EDIT: Just as a note to anyone whos unsure of how to get the
"TimeofDayTrigger" node, here's what you do:
1.When in the flow graph window, go to View<Components<... Make sure
the "Work in Progress" selection is checked.
2.right-click on an empty part of the graph (assuming you are creating
3.go to Add Node<Time... now the "TimeofDayTrigger" node should be here