You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, TAG

Hop to:    
Welcome! You are not logged in. Please Login or Register.2 replies
Age of Mythology Heaven » Forums » Scenario Design » Dynamic Lighting
Bottom
Topic Subject:Dynamic Lighting
GoldenShadow
Mortal
posted 16 November 2002 06:32 PM EDT (US)         
I set up my Scenario so my Hero unit can trigger the Lighting to change depending on where he moves on the map.

For example, When he walks north to the snowy region, it uses a GhostLake Lighting and when he goes to the City, it becomes Dusk.

You need 2 triggers for every point on the map where you want a lighting change.

*Set_Winter_Lighting- active
condition- distance to point: set a target unit and a point on the map. set a ditance like 100 and '<' less than
effect- Set Lighting

*ResetWLighting- active loop
condition- distance to point: set the same target point and unit, but make the distance a tad longer, like 110 and use '>' greater than
effect- counter: set the start time to 1 and the trigger to Set_Winter_Lighting. This makes that trigger available to trigger again.


You can duplicate this as much as you want. but make sure the distance to point values don't overlap with surrounding lighting changes or it could cause problems.

AuthorReplies:
GoldenShadow
Mortal
posted 18 November 2002 07:41 PM EDT (US)     1 / 2       
top
Spitfire
HG Alumnus
(id: spitfire_23)
posted 18 November 2002 08:57 PM EDT (US)     2 / 2       
Obvious, but still helpfull.

_________________.##@@$$$@@##._____________
______________,##@$::%$$%%::$@##.__________
____________#@$:%%000000000%%:$@#_________
___________#@$:%00'___________'00%:$@#_______
__________#@$:%0'_______________'0%:$@#______
_________#@$:%0__________________0%:$@#_____
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames