Advertisement
Aussiemon

TestLevel.lua

Jan 19th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1.  
  2. local params = {
  3. level_name = "trail" -- "trail" "test_sara" "sewers_short" "ai_benchmark" "ai_benchmark_cycle" "tutorial"
  4. }
  5.  
  6. LevelSettings.trail = {
  7. level_name = "levels/trail/world",
  8. environment_state = "exterior",
  9. music_won_state = "won_boat",
  10. player_aux_bus_name = "environment_reverb_outside",
  11. display_name = "level_tutorial",
  12. mini_patrol = false,
  13. level_image = "level_image_any",
  14. loading_bg_image = "loading_screen_tutorial_level",
  15. loading_ui_package_name = "resource_packages/loading_screens/loading_bg_tutorial",
  16. conflict_settings = "tutorial",
  17. ambient_sound_event = "silent_default_world_sound",
  18. game_mode = "tutorial",
  19. default_surface_material = "forest_grass",
  20. knocked_down_setting = "knocked_down",
  21. package_name = "resource_packages/levels/trail",
  22. source_aux_bus_name = "environment_reverb_outside_source",
  23. pickup_settings = {
  24. {
  25. ammo = 0,
  26. grenades = 0,
  27. healing = 0,
  28. potions = 0
  29. }
  30. },
  31. map_screen_wwise_events = {
  32. "",
  33. ""
  34. },
  35. loading_screen_wwise_events = {
  36. "",
  37. ""
  38. },
  39. locations = {},
  40. level_particle_effects = {},
  41. level_screen_effects = {
  42. "fx/screenspace_raindrops"
  43. },
  44. map_settings = {
  45. sorting = 0,
  46. icon = "level_location_long_icon_02",
  47. area = "ubersreik"
  48. }
  49. }
  50.  
  51. LevelSettings.test_sara = {
  52. level_name = "levels/test_sara/world",
  53. environment_state = "exterior",
  54. music_won_state = "won_boat",
  55. player_aux_bus_name = "environment_reverb_outside",
  56. display_name = "level_tutorial",
  57. mini_patrol = false,
  58. level_image = "level_image_any",
  59. loading_bg_image = "loading_screen_tutorial_level",
  60. loading_ui_package_name = "resource_packages/loading_screens/loading_bg_tutorial",
  61. conflict_settings = "tutorial",
  62. ambient_sound_event = "silent_default_world_sound",
  63. game_mode = "tutorial",
  64. default_surface_material = "forest_grass",
  65. knocked_down_setting = "knocked_down",
  66. package_name = "resource_packages/levels/test_sara",
  67. source_aux_bus_name = "environment_reverb_outside_source",
  68. pickup_settings = {
  69. {
  70. ammo = 0,
  71. grenades = 0,
  72. healing = 0,
  73. potions = 0
  74. }
  75. },
  76. map_screen_wwise_events = {
  77. "",
  78. ""
  79. },
  80. loading_screen_wwise_events = {
  81. "",
  82. ""
  83. },
  84. locations = {},
  85. level_particle_effects = {},
  86. level_screen_effects = {
  87. "fx/screenspace_raindrops"
  88. },
  89. map_settings = {
  90. sorting = 0,
  91. icon = "level_location_long_icon_02",
  92. area = "ubersreik"
  93. }
  94. }
  95.  
  96. LevelSettings.sewers_short.level_name = "levels/sewers_short/world"
  97. LevelSettings.sewers_short.package_name = "resource_packages/levels/sewers_short"
  98.  
  99. NetworkLookup.level_keys = create_lookup({"next_level"}, LevelSettings)
  100.  
  101. safe_pcall(function()
  102. flow_callback_start_level(params)
  103. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement