I just added a whole new section. The hud messages and VO are not done on it yet but the battle itself is pretty intense. 4 Waves of enemies one after the other without any break.
http://www.xfire.com/video/109d57/
At the end the rocket AI's shot at me and hit a couple of grenades which chain reacted and killed them. Normally they are fucking hard to kill.
Code:
(script startup "lunch_time"
(sleep_until (volume_test_objects "x_lunch_room_trigger" (list_get (players) 0 ) ) )
(game_save)
(sleep 10)
(ai_place x_lunch_room/crewmen)
(sleep 150)
(device_set_power cafeteria_door_1 1)
(ai_place x_lunch_room/lunch_room_left)
(ai_magically_see_players x_lunch_room/lunch_room_left)
(sleep 90)
(device_set_position cafeteria_door_1 0)
(sleep 30)
(device_set_position_immediate cafeteria_door_1 0)
(device_set_power cafeteria_door_1 0)
(sleep_until ( = (ai_living_count x_lunch_room/lunch_room_left) 0 ) )
(device_set_power cafeteria_door_3 1)
(device_set_power cafeteria_door_2 1)
(ai_place x_lunch_room/lunch_room_right)
(ai_magically_see_players x_lunch_room/lunch_room_right)
(sleep 90)
(device_set_position cafeteria_door_3 0)
(device_set_position cafeteria_door_2 0)
(sleep 30)
(device_set_position_immediate cafeteria_door_3 0)
(device_set_position_immediate cafeteria_door_2 0)
(device_set_power cafeteria_door_3 0)
(device_set_power cafeteria_door_2 0)
(sleep_until ( = (ai_living_count x_lunch_room/lunch_room_right) 0 ) )
(device_set_power cafeteria_door_1 1)
(ai_place x_lunch_room/lunch_room_left_2)
(ai_magically_see_players x_lunch_room/lunch_room_left_2)
(sleep 90)
(device_set_position cafeteria_door_1 0)
(sleep 30)
(device_set_position_immediate cafeteria_door_1 0)
(device_set_power cafeteria_door_1 0)
(sleep_until ( = (ai_living_count x_lunch_room/lunch_room_left_2) 0 ) )
(device_set_power cafeteria_door_3 1)
(device_set_power cafeteria_door_2 1)
(ai_place x_lunch_room/lunch_room_rockets)
(ai_magically_see_players x_lunch_room/lunch_room_rockets)
(sleep 90)
(device_set_position cafeteria_door_3 0)
(device_set_position cafeteria_door_2 0)
(sleep 30)
(device_set_position_immediate cafeteria_door_3 0)
(device_set_position_immediate cafeteria_door_2 0)
(device_set_power cafeteria_door_3 0)
(device_set_power cafeteria_door_2 0)
(sleep_until ( = (ai_living_count x_lunch_room/lunch_room_rockets) 0 ) )
(activate_team_nav_point_flag default player door_breaker_flag 0)
(object_create door_breaker)
(sleep_until ( < (unit_get_health door_breaker) 0.1 ) )
(deactivate_team_nav_point_flag player door_breaker_flag)
(object_destroy cafeteria_door_2)
(object_destroy door_breaker)
(effect_new "effects\explosions\medium explosion" door_breaker_flag)
(sleep 15)
(game_save_totally_unsafe)
(sleep 15)
(ai_place x_hall_d)
(ai_magically_see_players x_hall_d)
(sleep_until (volume_test_objects "a10b to a10c" (list_get (players) 0 ) ) )
(sleep 25)
(game_save_totally_unsafe)
(sleep 25)
)
Finalized script for that encounter.
Bookmarks