WorldInstances.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <World>
  2. <!-- A list of static actors to load. Static actors have no game view attached. This is for stuff like
  3. level geometry.-->
  4. <StaticActors>
  5. <Actor resource="actors/grid.xml">
  6. <GridRenderComponent>
  7. <Color r="0.4" g="0.4" b="0.4" a="1.0"/>
  8. <Division>100</Division>
  9. </GridRenderComponent>
  10. </Actor>
  11. <Actor resource="actors/grid.xml">
  12. <TransformComponent>
  13. <Position x="-10" y="0" z="-10"/>
  14. <YawPitchRoll x="0" y="0" z="-15"/>
  15. </TransformComponent>
  16. <GridRenderComponent>
  17. <Color r="0.2" g="0.8" b="0.2" a="1.0"/>
  18. <Division>10</Division>
  19. </GridRenderComponent>
  20. <!-- <PhysicsComponent>
  21. <RigidBodyTransform>
  22. <Scale x="5" y="0.01" z="5" />
  23. </RigidBodyTransform>
  24. </PhysicsComponent> -->
  25. </Actor>
  26. <Actor resource="actors/light.xml" />
  27. <!--
  28. <Actor resource="actors/player_spawner.xml" />
  29. <Actor resource="actors/ai_spawner_0.xml" />
  30. <Actor resource="actors/ai_spawner_1.xml" />
  31. <Actor resource="actors/ai_spawner_2.xml" />
  32. <Actor resource="actors/ai_spawner_3.xml" />
  33. -->
  34. <Actor resource="actors/afternoon_sky.xml" />
  35. <Actor resource="actors/music.xml" />
  36. </StaticActors>
  37. <!-- The preLoad script is executed as the first operation when the level is loading. The postLoad script
  38. if executed as the last step in the level loading process. -->
  39. <Script preLoad="scripts/LevelInit.lua" postLoad="scripts/LevelPostInit.lua"/>
  40. </World>