From 780282ea78c633ae74b6c4dbb9c357fbaf387641 Mon Sep 17 00:00:00 2001 From: Shariq Shah Date: Tue, 21 Apr 2020 17:27:12 +1000 Subject: [PATCH] Added second playable level --- assets/entities/turret_neg_135.symtres | 134 ++++ assets/entities/turret_neg_45.symtres | 134 ++++ assets/entities/turret_neg_90.symtres | 134 ++++ assets/entities/turret_pos_135.symtres | 134 ++++ assets/entities/turret_pos_45.symtres | 134 ++++ assets/entities/turret_pos_90.symtres | 134 ++++ assets/scenes/scene_2.symtres | 972 ++++++++++++++++++++++--- build/genie.lua | 24 +- src/common/version.h | 2 +- src/game/enemy.c | 1 + 10 files changed, 1697 insertions(+), 106 deletions(-) create mode 100644 assets/entities/turret_neg_135.symtres create mode 100644 assets/entities/turret_neg_45.symtres create mode 100644 assets/entities/turret_neg_90.symtres create mode 100644 assets/entities/turret_pos_135.symtres create mode 100644 assets/entities/turret_pos_45.symtres create mode 100644 assets/entities/turret_pos_90.symtres diff --git a/assets/entities/turret_neg_135.symtres b/assets/entities/turret_neg_135.symtres new file mode 100644 index 0000000..65b900b --- /dev/null +++ b/assets/entities/turret_neg_135.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 25.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 -0.923 0.000 0.384 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + default_yaw : -135.0000 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 104.000 12.000 -66.000 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : true + attack_cooldown : 0.0500 + name : Turret + archetype : turret_neg_135 + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 0.000 0.000 0.000 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 0.243 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/entities/turret_neg_45.symtres b/assets/entities/turret_neg_45.symtres new file mode 100644 index 0000000..b0ba6be --- /dev/null +++ b/assets/entities/turret_neg_45.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 25.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 -0.381 0.000 0.924 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + default_yaw : -45.0000 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 104.000 12.000 -28.000 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : false + attack_cooldown : 0.0500 + name : Turret + archetype : turret_neg_45 + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : -0.020 -0.020 -0.020 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 0.243 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/entities/turret_neg_90.symtres b/assets/entities/turret_neg_90.symtres new file mode 100644 index 0000000..3d1bdba --- /dev/null +++ b/assets/entities/turret_neg_90.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 15.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 0.001 0.000 1.001 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 8.000 3.000 -45.000 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : true + attack_cooldown : 0.0500 + name : Turret + archetype : turret + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 + default_yaw : -90.000 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 0.000 0.000 0.000 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 1.123 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/entities/turret_pos_135.symtres b/assets/entities/turret_pos_135.symtres new file mode 100644 index 0000000..72d4cf0 --- /dev/null +++ b/assets/entities/turret_pos_135.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 25.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 -0.923 0.000 -0.385 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + default_yaw : 135.0000 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 39.000 12.000 76.500 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : true + attack_cooldown : 0.0500 + name : Turret + archetype : turret_neg_135 + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 0.000 0.000 0.000 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 -1.367 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/entities/turret_pos_45.symtres b/assets/entities/turret_pos_45.symtres new file mode 100644 index 0000000..7295054 --- /dev/null +++ b/assets/entities/turret_pos_45.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 15.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 -0.361 0.000 0.933 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + default_yaw : 45.0000 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 105.000 11.000 -28.000 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : true + attack_cooldown : 0.0500 + name : Turret + archetype : turret_pos_135 + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 0.000 0.000 0.000 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 -0.503 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/entities/turret_pos_90.symtres b/assets/entities/turret_pos_90.symtres new file mode 100644 index 0000000..f8ff1f9 --- /dev/null +++ b/assets/entities/turret_pos_90.symtres @@ -0,0 +1,134 @@ +Entity +{ + type : 8 + scale : 1.000 1.000 1.000 + pulsate_height : 1.5000 + vision_range : 19.0000 + pulsate_speed_scale : 0.1000 + rotation : 0.000 0.708 0.000 0.706 + health : 116 + alert_cooldown : 1.0000 + color_alert : 1.000 1.000 0.000 1.000 + muzzle_light_intensity_min : 1 + default_yaw : 90.0000 + turn_speed_when_targetting : 50.0000 + max_yaw : 60.0000 + position : 136.000 12.000 -48.000 + flags : 1 + enemy_type : 0 + muzzle_light_intensity_max : 5 + turn_speed_default : 50.0000 + turn_direction_positive : true + attack_cooldown : 0.0500 + name : Turret + archetype : turret_pos_90 + bounding_box_min : -1.000 -0.500 -1.000 + muzzle_light_intensity_decay : 30 + color_default : 0.000 1.000 1.000 1.000 + hit_chance : 4 + color_attack : 1.000 0.000 0.000 1.000 + bounding_box_max : 1.000 1.000 1.000 + damage : 10 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 50.0000 + falloff : 1.5000 + light_type : 0 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 0.0000 + color : 0.900 0.400 0.000 + radius : 25.0000 + position : 0.000 0.000 -1.000 + flags : 9 + outer_angle : 80.0000 + name : Enemy_Muzzle_Light + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 0.000 0.000 0.000 + material : 0 + rotation : 0.707 0.000 0.000 0.707 + diffuse_color : 0.900 0.400 0.000 1.000 + geometry : muzzle_flash.symbres + specular : 1.0000 + diffuse_texture : white.tga + diffuse : 6.0000 + position : 0.000 -0.500 -1.000 + flags : 9 + specular_strength : 50.0000 + name : Enemy_Muzzle_Light_Mesh + uv_scale : 1.000 1.000 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 1.0000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : false + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/bullet_1.wav + sound_type : 1 + sound_max_distance : 30.0000 + name : Turret_Weapon_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 7 + scale : 1.000 1.000 1.000 + volume : 0.5000 + rolloff_factor : 0.9500 + rotation : 0.000 0.000 0.000 1.000 + loop : true + sound_min_distance : 0.0000 + position : 0.000 0.000 0.000 + flags : 9 + source_filename : sounds/turret_hum.wav + sound_type : 1 + sound_max_distance : 40.0000 + name : Turret_Ambient_Sound + bounding_box_min : -0.500 -0.500 -0.500 + sound_attenuation_type : 2 + paused : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 6 + scale : 1.000 1.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 0.000 1.000 1.000 1.000 + geometry : suzanne.symbres + specular : 0.4000 + diffuse_texture : default.tga + diffuse : 1.0000 + position : 0.000 -0.735 0.000 + flags : 9 + specular_strength : 62.0000 + name : Turret_Mesh + uv_scale : 0.300 0.200 +} + diff --git a/assets/scenes/scene_2.symtres b/assets/scenes/scene_2.symtres index 56bd30d..827deed 100644 --- a/assets/scenes/scene_2.symtres +++ b/assets/scenes/scene_2.symtres @@ -1,15 +1,15 @@ Scene_Config { - debug_draw_color : 0.800 0.400 0.100 1.000 + debug_draw_color : 0.800 0.400 0.098 1.000 background_music_filename : sounds/scene_background_music_default.ogg fog_type : 1 - fog_density : 0.1000 - fog_color : 0.310 0.412 0.529 + fog_density : 0.0850 + fog_color : 0.161 0.220 0.282 debug_draw_physics : false - fog_start_distance : 10.0000 - fog_max_distance : 450.0000 - cleanup_func : scene_1_cleanup - init_func : scene_1_init + fog_start_distance : 0.0000 + fog_max_distance : 60.0000 + cleanup_func : scene_game_end_cleanup + init_func : scene_game_end_init background_music_volume : 0.0100 debug_draw_enabled : false debug_draw_mode : 0 @@ -21,9 +21,9 @@ Player { type : 2 scale : 1.000 1.000 1.000 - rotation : 0.000 -0.706 0.000 -0.708 + rotation : 0.000 0.701 0.000 0.713 player_key_mask : 0 - position : 57.000 1.625 8.000 + position : 21.961 1.625 7.695 flags : 1 player_health : 100 name : Player @@ -93,6 +93,150 @@ Entity bounding_box_max : 0.500 0.500 0.500 } +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 1.5000 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 0.463 0.796 0.318 + radius : 20.0000 + position : 60.000 13.000 -49.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 1.5000 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 0.463 0.796 0.318 + radius : 20.0000 + position : 85.000 13.000 -49.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 1.5000 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 0.804 0.333 0.333 + radius : 20.0000 + position : 22.000 7.000 -22.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 1.5000 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 0.467 0.667 0.886 + radius : 20.0000 + position : 20.000 16.000 61.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 1.5000 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 0.467 0.667 0.886 + radius : 20.0000 + position : 20.000 7.000 36.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + +Entity +{ + type : 5 + scale : 1.000 1.000 1.000 + inner_angle : 20.0000 + falloff : 0.9500 + light_type : 2 + depth_bias : 0.0005 + rotation : 0.000 0.000 0.000 1.000 + cast_shadow : false + intensity : 1.0000 + color : 1.000 1.000 1.000 + radius : 14.0000 + position : -18.000 9.000 9.000 + flags : 1 + outer_angle : 30.0000 + name : Test_Light + archetype : spot + bounding_box_min : -0.500 -0.500 -0.500 + pcf_enabled : false + valid : true + bounding_box_max : 0.500 0.500 0.500 +} + Entity { type : 5 @@ -106,7 +250,7 @@ Entity intensity : 1.0000 color : 1.000 1.000 1.000 radius : 14.0000 - position : -9.000 6.000 -42.000 + position : -38.000 9.000 9.000 flags : 1 outer_angle : 30.0000 name : Test_Light @@ -120,7 +264,7 @@ Entity Entity { type : 6 - scale : 32.000 1.000 32.000 + scale : 47.000 1.000 47.000 material : 0 rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 @@ -128,7 +272,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 2.000 0.000 -10.000 + position : 42.000 0.000 -10.000 flags : 1 specular_strength : 62.0000 name : Floor_Tile @@ -177,19 +321,19 @@ Entity Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 4.000 18.000 1.000 material : 0 - rotation : 0.000 0.000 0.000 1.000 + rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 - geometry : wall_tile.symbres + geometry : floor_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 0.000 6.000 -6.000 + position : -10.000 0.000 8.000 flags : 1 specular_strength : 62.0000 - name : Wall_Tile - archetype : wall_tile + name : Floor_Tile + archetype : floor_tile uv_scale : 0.300 0.200 } @@ -280,7 +424,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 31.000 6.000 -6.000 + position : 32.000 6.000 -6.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -291,7 +435,7 @@ Entity Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 5.000 3.000 1.000 material : 0 rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 @@ -299,7 +443,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 31.000 6.000 -34.500 + position : 36.000 6.000 -34.500 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -318,7 +462,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 6.000 6.000 18.000 + position : 6.000 6.000 21.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -329,7 +473,7 @@ Entity Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 2.000 3.000 1.000 material : 0 rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 @@ -337,7 +481,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 6.000 6.000 0.000 + position : 6.000 6.000 -2.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -386,15 +530,15 @@ Entity Entity { type : 6 - scale : 11.500 3.000 1.000 + scale : 5.820 4.820 0.820 material : 0 - rotation : 0.000 0.000 0.000 1.000 + rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -35.000 6.000 -34.000 + position : 27.000 8.000 36.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -405,15 +549,15 @@ Entity Entity { type : 6 - scale : 6.000 3.000 1.000 + scale : 3.000 3.000 1.000 material : 0 - rotation : 0.000 -0.707 0.000 0.707 + rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 34.000 6.000 35.000 + position : 29.000 6.000 24.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -424,7 +568,7 @@ Entity Entity { type : 6 - scale : 10.000 3.000 1.000 + scale : 3.000 3.000 1.000 material : 0 rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 @@ -432,7 +576,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -32.000 6.000 -6.000 + position : 12.000 6.000 24.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -443,26 +587,26 @@ Entity Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 4.000 1.000 5.000 material : 0 rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 - geometry : wall_tile.symbres + geometry : floor_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 29.000 6.000 24.000 + position : 20.000 3.500 44.500 flags : 1 specular_strength : 62.0000 - name : Wall_Tile - archetype : wall_tile + name : Floor_Tile + archetype : floor_tile uv_scale : 0.300 0.200 } Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 10.000 3.000 1.000 material : 0 rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 @@ -470,7 +614,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 12.000 6.000 24.000 + position : 24.000 6.000 -65.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -483,13 +627,13 @@ Entity type : 6 scale : 8.000 3.000 1.000 material : 0 - rotation : 0.000 0.000 0.000 1.000 + rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 18.000 6.000 47.000 + position : 6.000 6.000 -49.500 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -500,7 +644,7 @@ Entity Entity { type : 6 - scale : 16.000 3.000 1.000 + scale : 5.820 4.820 0.820 material : 0 rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 @@ -508,7 +652,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -23.000 6.000 16.000 + position : 13.000 8.000 36.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -519,15 +663,15 @@ Entity Entity { type : 6 - scale : 3.000 3.000 1.000 + scale : 7.000 3.000 1.000 material : 0 - rotation : 0.000 -0.707 0.000 0.707 + rotation : 0.000 0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -23.000 6.000 -28.000 + position : 26.500 6.000 -20.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -538,7 +682,7 @@ Entity Entity { type : 6 - scale : 7.500 3.000 1.000 + scale : 3.000 3.000 1.000 material : 0 rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 @@ -546,7 +690,7 @@ Entity specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -51.500 6.000 -19.500 + position : 44.000 6.000 -38.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -557,15 +701,15 @@ Entity Entity { type : 6 - scale : 8.000 3.000 1.000 + scale : 4.000 3.000 1.000 material : 0 - rotation : 0.000 0.000 0.000 1.000 + rotation : 0.000 -0.707 0.000 0.707 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 22.000 6.000 -56.000 + position : 44.000 6.000 -58.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -576,15 +720,15 @@ Entity Entity { type : 6 - scale : 6.000 3.000 1.000 + scale : 7.000 3.000 1.000 material : 0 - rotation : 0.000 -0.707 0.000 0.707 + rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 6.000 6.000 -44.500 + position : 58.000 6.000 -55.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -595,15 +739,15 @@ Entity Entity { type : 6 - scale : 5.000 3.000 1.000 + scale : 7.000 3.000 1.000 material : 0 - rotation : 0.000 -0.707 0.000 0.707 + rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : -23.000 6.000 -43.000 + position : 58.000 6.000 -40.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -614,19 +758,19 @@ Entity Entity { type : 6 - scale : 6.000 3.000 1.000 + scale : 4.000 18.000 1.000 material : 0 - rotation : 0.000 -0.707 0.000 0.707 + rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 - geometry : wall_tile.symbres + geometry : floor_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 6.000 6.000 36.000 + position : 20.000 0.000 37.000 flags : 1 specular_strength : 62.0000 - name : Wall_Tile - archetype : wall_tile + name : Floor_Tile + archetype : floor_tile uv_scale : 0.300 0.200 } @@ -635,13 +779,13 @@ Entity type : 6 scale : 7.000 3.000 1.000 material : 0 - rotation : 0.000 0.707 0.000 0.707 + rotation : 0.000 0.000 0.000 1.000 diffuse_color : 1.000 1.000 1.000 1.000 geometry : wall_tile.symbres specular : 0.4000 diffuse_texture : white.tga diffuse : 1.0000 - position : 25.500 6.000 -20.000 + position : 86.000 14.000 -55.000 flags : 1 specular_strength : 62.0000 name : Wall_Tile @@ -651,42 +795,684 @@ Entity Entity { - type : 9 - scale : 23.100 8.300 15.400 + type : 6 + scale : 7.820 1.000 4.820 + material : 0 rotation : 0.000 0.000 0.000 1.000 - trigger_mask : 1 - position : -38.500 6.000 -61.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 86.600 8.500 -47.000 flags : 1 - trigger_type : 0 - name : Scene_End_Trigger - archetype : trigger - bounding_box_min : -0.500 -0.500 -0.500 - bounding_box_max : 0.500 0.500 0.500 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 } -Scene_Entity_Entry +Entity { - scale : 1.000 1.000 1.000 - rotation : 0.000 -1.000 0.000 -0.000 - position : 20.500 1.000 24.000 - filename : door_red_green - name : Door + type : 6 + scale : 7.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 86.000 14.000 -40.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 } -Scene_Entity_Entry +Entity { - scale : 1.000 1.000 1.000 - rotation : 0.000 0.707 0.000 0.707 - position : 34.000 1.000 8.000 - filename : door - name : Door + type : 6 + scale : 10.000 1.000 13.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 119.000 8.500 -47.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 } -Scene_Entity_Entry +Entity { - scale : 1.000 1.000 1.000 + type : 6 + scale : 13.000 3.000 1.000 + material : 0 rotation : 0.000 0.707 0.000 0.707 - position : -46.000 1.000 17.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 138.000 14.000 -47.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 10.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 119.000 14.000 -72.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 10.000 3.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 44.000 13.000 90.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 37.000 13.000 71.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.000 3.000 1.000 + material : 0 + rotation : 0.000 0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 100.000 14.000 -65.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.820 2.820 0.820 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 27.000 13.000 59.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.820 2.820 0.820 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 13.000 13.000 59.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 11.000 1.000 13.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 20.000 8.500 88.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 13.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 20.000 13.000 108.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 10.000 3.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -5.000 13.000 88.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 3.000 13.000 70.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 10.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 119.000 14.000 -22.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 5.000 3.000 1.000 + material : 0 + rotation : 0.000 0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 100.000 14.000 -30.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 18.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 60.000 0.500 -48.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 1.000 4.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 65.500 4.000 -48.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 1.820 17.820 4.820 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 75.000 5.000 -47.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 18.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 20.000 5.000 49.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 1.000 6.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : 20.000 8.500 58.500 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 7.000 3.000 1.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -7.500 6.000 2.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 6.880 2.880 0.880 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -7.500 6.000 15.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 1.000 4.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -15.500 3.500 8.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 9.000 1.000 9.000 + material : 0 + rotation : 0.000 0.000 0.000 1.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : floor_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -38.500 3.500 8.000 + flags : 1 + specular_strength : 62.0000 + name : Floor_Tile + archetype : floor_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 3.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -21.500 9.000 19.500 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 4.000 3.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -21.500 9.000 -1.500 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 9.000 3.000 1.000 + material : 0 + rotation : 0.000 -0.707 0.000 0.707 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -56.000 9.000 8.000 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 9.000 3.000 1.000 + material : 0 + rotation : 0.000 -1.000 0.000 0.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -39.500 9.000 24.500 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Entity +{ + type : 6 + scale : 9.000 3.000 1.000 + material : 0 + rotation : 0.000 -1.000 0.000 0.000 + diffuse_color : 1.000 1.000 1.000 1.000 + geometry : wall_tile.symbres + specular : 0.4000 + diffuse_texture : white.tga + diffuse : 1.0000 + position : -39.500 9.000 -7.500 + flags : 1 + specular_strength : 62.0000 + name : Wall_Tile + archetype : wall_tile + uv_scale : 0.300 0.200 +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.706 0.000 0.708 + position : 8.000 3.000 -51.000 + filename : turret_neg_90 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 0.708 0.000 0.706 + position : 136.000 12.000 -48.000 + filename : turret_pos_90 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.923 0.000 0.384 + position : 104.000 12.000 -66.000 + filename : turret_neg_135 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.381 0.000 0.924 + position : 104.000 12.000 -28.000 + filename : turret_neg_45 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.923 0.000 0.384 + position : 2.500 12.000 76.500 + filename : turret_neg_135 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 0.384 0.000 0.923 + position : 36.000 11.000 101.000 + filename : turret_pos_45 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.381 0.000 0.924 + position : 3.000 12.000 101.000 + filename : turret_neg_45 + name : Turret +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.923 0.000 -0.385 + position : 36.000 12.000 76.500 + filename : turret_pos_135 + name : Turret +} + +Entity +{ + type : 9 + scale : 30.600 8.300 22.900 + rotation : 0.000 0.000 0.000 1.000 + trigger_mask : 1 + position : -38.500 10.000 9.000 + flags : 1 + trigger_type : 0 + name : Game_End_Trigger + archetype : trigger + bounding_box_min : -0.500 -0.500 -0.500 + bounding_box_max : 0.500 0.500 0.500 +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -1.000 0.000 -0.000 + position : 20.500 1.000 24.000 + filename : door_red_green + name : Door +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 0.707 0.000 0.707 + position : 34.000 1.000 8.000 + filename : door + name : Door +} + +Scene_Entity_Entry +{ + scale : 1.000 1.000 1.000 + rotation : 0.000 -0.707 0.000 0.707 + position : 44.000 1.000 -47.000 filename : door_red name : Door } @@ -695,7 +1481,7 @@ Scene_Entity_Entry { scale : 1.000 1.000 1.000 rotation : 0.000 0.707 0.000 0.707 - position : 6.000 1.000 9.000 + position : -21.500 4.000 8.500 filename : door_rgb name : Door } @@ -704,7 +1490,7 @@ Scene_Entity_Entry { scale : 1.000 1.000 1.000 rotation : 0.000 0.000 0.000 1.000 - position : 21.000 3.000 34.000 + position : 19.000 13.000 89.500 filename : pickup_key_blue name : Pickup_Key_Blue } @@ -713,7 +1499,7 @@ Scene_Entity_Entry { scale : 1.000 1.000 1.000 rotation : 0.000 0.000 0.000 1.000 - position : -8.000 3.000 39.000 + position : 120.000 11.000 -48.000 filename : pickup_key_green name : Pickup_Key_Green } @@ -722,7 +1508,7 @@ Scene_Entity_Entry { scale : 1.000 1.000 1.000 rotation : 0.000 0.000 0.000 1.000 - position : 21.000 3.000 -45.000 + position : 21.000 3.000 -51.000 filename : pickup_key_red name : Pickup_Key_Red } diff --git a/build/genie.lua b/build/genie.lua index f73975d..c3036e2 100644 --- a/build/genie.lua +++ b/build/genie.lua @@ -8,7 +8,7 @@ solution "Symmetry" postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "release"} buildoptions {"-Wall", "-std=c99"} - configuration {"windows", "vs2019"} + configuration {"windows", "vs2019"} defines {"_CRT_SECURE_NO_WARNINGS"} flags {"NoIncrementalLink", "NoEditAndContinue"} local windowsPlatform = string.gsub(os.getenv("WindowsSDKVersion") or "10.0.16299.0", "\\", "") @@ -17,7 +17,7 @@ solution "Symmetry" action.vstudio.windowsTargetPlatformVersion = windowsPlatform action.vstudio.windowsTargetPlatformMinVersion = windowsPlatform end - + configuration "Debug" if (_ACTION ~= nil and _ACTION ~= "postbuild_copy" and _ACTION ~= "build_addon") then os.mkdir(_ACTION .. "/debug") @@ -33,14 +33,14 @@ solution "Symmetry" end defines { "NDEBUG", "ExtraWarnings" } flags { "OptimizeSpeed"} - + newaction { trigger = "postbuild_copy", description = "Action to copy relevant dlls to executable directory after build", execute = function () -- local copy_dest_dir = "" -- local symlink_dest_dir = "" - + -- if(_ARGS[1] == "vs2019") then -- copy_dest_dir = "vs2019" -- symlink_dest_dir = "..\\..\\..\\assets" @@ -60,7 +60,7 @@ solution "Symmetry" description = "Generate version.h from git revision number", execute = function() local major_version = 0 - local minor_version = 3 + local minor_version = 4 local revision_number = os.outputof("git rev-list --count HEAD") local branch = os.outputof("git rev-parse --abbrev-ref HEAD") @@ -136,18 +136,18 @@ solution "Symmetry" configuration {"windows", "vs2019"} includedirs {"../include/windows/sdl2/", "../include/common/soloud/", "../include/windows/"} libdirs {"../lib/windows/sdl2/", "../lib/windows/soloud/"} - + configuration {"not macosx", "Debug"} links {"soloud_x64_d"} - + configuration "Debug" defines {"GL_DEBUG_CONTEXT", "GL_BREAK_ON_ERROR"} - + configuration {"not macosx", "Release"} links {"soloud_x64"} - + configuration {"windows", "Release", "vs2019"} - postbuildcommands + postbuildcommands { "copy ..\\..\\lib\\windows\\sdl2\\SDL2.dll release\\ /Y", "copy ..\\..\\lib\\windows\\soloud\\soloud_x64.dll release\\ /Y", @@ -160,9 +160,9 @@ solution "Symmetry" "mklink /D release\\assets ..\\..\\..\\assets" } links {"SDL2"} - + configuration {"windows", "Debug", "vs2019"} - postbuildcommands + postbuildcommands { "copy ..\\..\\lib\\windows\\sdl2\\SDL2.dll debug\\ /Y", "copy ..\\..\\lib\\windows\\soloud\\soloud_x64_d.dll debug\\ /Y", diff --git a/src/common/version.h b/src/common/version.h index 6f98ec0..005cea9 100755 --- a/src/common/version.h +++ b/src/common/version.h @@ -4,7 +4,7 @@ /* Auto generated version file. DO NOT MODIFY */ #define SYMMETRY_VERSION_MAJOR 0 #define SYMMETRY_VERSION_MINOR 3 -#define SYMMETRY_VERSION_REVISION 375 +#define SYMMETRY_VERSION_REVISION 376 #define SYMMETRY_VERSION_BRANCH "dev" #endif \ No newline at end of file diff --git a/src/game/enemy.c b/src/game/enemy.c index bac0380..bb5c0ff 100644 --- a/src/game/enemy.c +++ b/src/game/enemy.c @@ -226,6 +226,7 @@ void enemy_write(struct Enemy* enemy, struct Hashmap* entity_data) { hashmap_float_set(entity_data, "turn_speed_default", enemy->Turret.turn_speed_default); hashmap_float_set(entity_data, "turn_speed_when_targetting", enemy->Turret.turn_speed_default); + hashmap_float_set(entity_data, "default_yaw", enemy->Turret.default_yaw); hashmap_float_set(entity_data, "max_yaw", enemy->Turret.max_yaw); hashmap_float_set(entity_data, "pulsate_speed_scale", enemy->Turret.pulsate_speed_scale); hashmap_float_set(entity_data, "pulsate_height", enemy->Turret.pulsate_height);