# Created by Mike D. Smith

# This is the name for the stage data files.
# It consists of a height map and a color map.
# Some stages have the data merged together, but the new convention is to just
# specify a file like "STAGE_DATA data/stage000.png" and then have files in the
# data directory that have "stage000_color.png" and "stage000_height.png"
# The caster engine automaticaly looks for the _color and _height files.
STAGE_DATA data/the_flood.png

# The music to be played during the stage.

# The terrain types correspond to the colors in the "stage000_color.png" image.
# The order that the colors are found in the image (left to right, top to
# bottom), correspond to the order of the terrain types below.  First color
# found is the first terrain type, the second color is the second terrain type,
# etc.

# the sink and raise modifiers determine how much the ground is affected when
# you blow holes in it (sink) or raise it up with the gravity attack.
#TERRAIN_TYPE texture_name sink_modifier rasing_modifier
TERRAIN_TYPE_SCALE data/lakebottom00.png 1.0 1.0 4.0
TERRAIN_TYPE_SCALE data/grayrock00.png 1.0 1.0 2.0
TERRAIN_TYPE_SCALE data/grass00.png 1.0 1.0 1.0
TERRAIN_TYPE_FOG data/white.png 1.0 1.0

TERRAIN_DAMAGE_COLOR 0.5 0.5 1.0
# SkyBox Similar to the stage data, you enter the base name for the sky box that
# you want to use.  The caster engine reads in the appropriate files based on
# this name.
SKY_BOX data/skybox/bluesky.png
PAN_BOX data/skybox/default_pan.png

INTRO_SCRIPT data/the_flood_intro.script
# Water stuff
# valid water types: WATER ICE ICE_WITH_WATER ACID LAVA
WATER_TYPE WATER
WATER_COLOR 0.5 0.6 1.0 0.7

# This is the level at which the water reflects.
WATER_REFLECTION_LEVEL 12.0

# the level for ice if you have ICE or WATER_WITH_ICE for the WATER_TYPE
#ICE_WATER_LEVEL 10.0

WATER_TEX data/acid_water01.png
# put a 0 for not glowing and a 1 for glowing.
WATER_GLOWS 0
WATER_IS_REFLECTIVE 1
WATER_SPEED1 0.02
WATER_SPEED2 -0.02
WATER_USE_AS_ALPHA 1

# Format R, G, B, PCT of the terrain height to start darkening
# WATER_DEPTH_COLOR 1.0 0.0 0.0 0.5

OBJECTIVE GET_ALL_RADAR_PICKUPS

# These are all Point lights in the scene the format is:
# LIGHT COLOR_R_G_B_FALLOFF AMBIENT_R_G_B_UNUSED POSITION_X_Y_Z
LIGHT 1.0 1.0 1.0 1.0    0.2 0.2 0.2 1.0     100000.0 100000.0 0.0
LIGHT 0.4 0.4 1.0 1.0    0.2 0.2 0.3 1.0     -100000.0 100000.0 0.0
#LIGHT 1.0 1.0 1.0 1.0    0.0 0.0 0.0 1.0     -500 500000.0 -200

FOG_COLOR 0.5 0.6 1.0 1.0
#FOG_DIST 4000.0

#MIST 0.1 0.1 0.1 1.0

#RAIN 0.8 0.8 0.8 0.8

# These are the scale values for the map.
XZSCALE 50.0
YSCALE 10.0

# Default is -0.2 * 60 = -12.0
GRAVITY -12.0

PICKUP ENERGY_BALL 1 0.51 0.44
PICKUP ENERGY_BALL 1 0.52 0.45
PICKUP ENERGY_BALL 1 0.50 0.45
PROP data/tree03.prop 0.51 0.45

TRIGGER SCRIPT data/the_flood_raise_water.script 0 0.52 0.0 0.45 0.15 -1.0

# Put an award here for when they complete the level
#AWARD ATTACK CHARGE_AND_BLAST 5.0

#These are the dialogs that show up when you start and finish a level.
#The TALK_HEAD_TEX specifies the image to be used for the text block
#

#TALK_HEAD_TEX_ADV data/transparent_black.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT At an outpost in the South East of the Middon region...

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT Ahna, did you send me the profile on your new Caster?

#TALK_HEAD_TEX_ADV data/anna_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT Yes Clarence, it should be on your desk.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT Oh here it is...  What the...  Wait a minute!  Ahna, is this the right profile?  <NAME>, is that his name?

#TALK_HEAD_TEX_ADV data/anna_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT Yes, that's it.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT Unbelieveable!  What is the Caster Clan trying to pull on us?  Ahna, send <NAME> over here immediately!

#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT You wanted to see me?

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT So what's the deal <NAME>?  I specifically requested a level three Caster to help deal with our Flanx infestation. However, your profile says you are a level one class C.

#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT Actually, I advanced to a B classification just before coming over here.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT ... 

#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT ...  Well, I think I'm the only one that is available right now.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT Hmmm.  That, or your clan is holding back from us--keeping all the good help at home to deal with your own Flanx issues.

#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT No, that's not true! We are honoring the Engain Caster treaty.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT  I fail to see how sending a level one Caster to Middon on a suicide assignment "honors" the treaty.  I don't have time to send you back for a decent replacement or I would.  As it stands, you will be running every mission we give you irrespective of your ability level...  Understood?

#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT ... Yes.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT Report to Ahna.  She will give you your next assignment.

#TALK_HEAD_TEX_ADV data/clarence_normal.png FACING_RIGHT POSITION_LEFT
#CUT_SCENE_TEXT  Oh, and one more thing.  When you find yourself lying on the ground while Flanx blast holes in you, don't go blaming Engain.  This was your own clan's doing.


#TALK_HEAD_TEX_ADV data/ethan_normal.png FACING_LEFT POSITION_RIGHT
#CUT_SCENE_TEXT ...







TALK_HEAD_TEX data/anna_normal.png
INTRO_TEXT <NAME>, You must collect all key energy deposits in this area.  They are marked on your radar.

TALK_HEAD_TEX data/anna_happy.png
OUTRO_TEXT Good work <NAME>!






PICKUP ENERGY_BALL 1 0.66 0.72
PICKUP ENERGY_BALL 1 0.59 0.75
PICKUP ENERGY_BALL 1 0.59 0.72

ACTOR data/scale_fish.char 0.63 0.73
ACTOR data/scale_fish.char 0.63 0.73
ACTOR data/scale_fish.char 0.63 0.73
ACTOR data/scale_fish.char 0.63 0.73

PROP data/gravity_orb.prop 0.68 0.73
TRIGGER SCRIPT data/award_gravity.script 1 0.68 0.0 0.73 0.01 -1.0
PROP data/tree03.prop 0.68 0.74




# Percentages of the stage that define the play area (xmin, xmax, zmin, zmax)
PLAY_AREA 0.01 0.99 0.01 0.99

# The starting location for the player.  Position coordinates (like everything
# else) are between 0 and 1.
PLAYER_START_POSITION 0.20 0.20
#PLAYER_START_POSITION 0.50 0.45
PLAYER_EXIT_POINT 0.73 0.79

