# Testing world scene
#
# For development and testing purposes, not much play value.
#

name Test World

# Planet units	dms_x_offset	dms_y_offset	planet_radius_meters
scene_gps	-95.8		-30.2		6371000.0
#scene_gps	0.0		33.63		6371000.0

# Cant (magnetic) angle applied to true north
scene_cant 0.0

# Elevation from sea level in feet.
scene_elevation 0.0

# Light position in meters (alt in feet).
#scene_light_position -100000 100000 2000000
#scene_light_color 1.0 1.0 1.0 1.0

# Load texture images and set named references to them:
#
texture_load water01_tex	textures/water01.tex		1.0
texture_load building01_tex	textures/building01.tex		0.7
texture_load building01_night_tex	textures/building01_night.tex	0.7
#texture_load building02_tex	textures/building02.tex		0.7
texture_load building03_tex	textures/building03.tex		0.7
#texture_load building04_tex	textures/building04.tex		0.7
texture_load wall01_tex		textures/wall01.tex		0.7

# Ground base flags
#                  is_water
scene_ground_flags is_water

# Ground base tile
#                 tilew tileh closerng  color              texture
scene_ground_tile 1000  1000  10000     0.22 0.36 0.53 1.0 water01_tex

# Map representing entire scene
#		width	height	texture_file
#scene_map	100000	100000	textures/los_angeles/scene.tex


# #####################################################################
# Registered locations
#
# Only used in Free Flight starting location selection (missions use
# object names to match beginning location).
#

#                       x       y       z       h   p b  name
register_location	-10.92	-289.42	36.0	30  0 0  CG Cutter
#register_location       -332.93	3320.24 0.0	170 0 0  Runway 17


# #####################################################################
# Begin loading base objects
#
# These objects need to be loaded first since they are drawn without
# depth checking and drawn in order.
#

# Simple heightfield
#create_object 6
##no_depth_test
##model_file objects/test_world/plot01.3d
#model_file objects/test_world/plot02.3d
#translation -200 50 0
#rotate 315 0 0


# #####################################################################
# Begin loading other objects
#
# These objects are drawn with depth checking and after the base
# objects.
#

# Runway 17
#new_runway 10000.0 2720.0 45.0 0 11 100.0 35 17 100.0 200.0 thresholds borders td_markers midway_markers north_gs south_gs
#runway_approach_lighting_north end tracer align ils_glide
#runway_approach_lighting_south end
#no_depth_test
#translation -100 2000 0
#rotate 170 0 0


# Building with helipad
#                 type     range length width height  walls_texture  walls_night_texture  roof_texture
#create_premodeled building 2500  45     30    15      building01_tex building01_night_tex wall01_tex
#translation -5 -245 0

## Default helipad (on top of the above building)
#create_helipad building 25.0 18.0 1.5 TEST y y y y y
##no_depth_test
#object_name helipad_default
#object_map_description Helipad - Starting Point
#range 2200
#translation -10 -245 16.5
#rotate 270 0 0


# US Coast Gaurd 378 foot cutter
create_object 3
model_file vessels/uscg378.3d
translation -56.0 -250.0 0.0
rotate 310 0 0
object_name uscg378_01
# Helipad on vessel
create_helipad vehicle 29.0 18.0 3.2 USCG y y y y y uscg378_01 0.0 -58.5 36.0  0.0 0.0 0.0
object_name helipad_default
object_map_description Helipad - Starting Point
range 2200


# Oilrig
create_object 3
model_file objects/oilrig01.3d
object_name oilrig_01
translation 130.0 -60.0 0.0
# Helipad on oilrig
create_helipad building 19.0 19.0 3.0 PVT y y y y y oilrig_01 -28.0 9.0 76.0  90.0 0.0 0.0
object_name helipad_oilrig
object_map_description Helipad - Oilrig
range 2200

# Yacht
create_object 3
model_file vessels/stanyoupilothouse.3d
object_name yacht_01
translation -200.0 10.0 0.0
rotate 30 0 0

# Fire and smoke
#           radius height
create_fire 18.0   90.0
translation 148.0 -35.0 0.0
#            offset x y z  r_st r_max r_rate hide@max respawn_int nunits color_code
create_smoke 0.0 0.0 28.0  15.0 45.0  -1.0   0        4500        6      2
translation 148.0 -35.0 0.0

# Jetski
create_object 3
model_file vessels/jetski.3d
translation 36 -193 0
rotate 200 0 0


# Human      type_name	flags
#create_human default	need_rescue alert aware lying on_streatcher
create_human default    need_rescue alert aware in_water
translation 48 -190 0
set_human_mesg_enter Thanks for saving me!

# Human      type_name  flags
create_human default    need_rescue alert aware in_water
translation 35 -200 0
set_human_mesg_enter Thanks for saving me!

# This human on oilrig helipad
# Human      type_name                   flags
create_human victim_streatcher_assisted  need_rescue lying on_streatcher
translation 108.8 -51.8 86.0
set_human_mesg_enter Ow, I broke my leg!
human_reference player run_towards

# Human      type_name  flags
create_human default    need_rescue alert aware
translation 109.0 -52.5 86.0
set_human_mesg_enter Thanks for the lift!
human_reference player run_towards
