Some words about the layers in the editor:
- you already used it -this layer places stuff like buildings and roads on a map. We won't use this at all on the existing maps.
- those are things like fans, MGs, garbage cans, etc - we only use a few as only a handful of these will not require a new set of lightmaps to be rendered. More on that when we get there
- only needed if you are building your own map. More on that when we do that tutorial
- here's where you find cars and trucks - definitely needed!
- only needed for map building. Ignore
- very important to pick the sky this map was build with. How do we know what to pick? I looked it up in the XML we unbundled earlier - it is actually in the world.xml file we are using. Still a good idea to make sure the value we need is selected in the editor. Changing this will create unwanted results with shadows, etc. We have mission08 skies here:
<rotation yaw="0" pitch="0" roll="75.00177"/>
Related to the sky is the "light box" which we choose on export of the map data from the editor. We'll get to that much later, but it is linked to what you pick here.
- here's the layer for ambient sounds and detailed localized sounds. Don't mess with it if you are re-using a map that was well made
- important layer - here we set up spawn and zulu bases and check if our map area is properly set (can only set that in the xml but here we check if we did our math properly)
- ignore - not needed for OGR
- here we set up spawn zones - very important
- most important for us - this is where we place and determine what the AI does
- Panhards, Tanks, Helis - you find them here
- Here we create/check if the AI has "anchors" to allow them to move in our world. The AI graph is a network of nodes that are needed for AI to spawn and move around. More on that when I create the one for this map.
I'll leave it at this for now - tomorrow afternoon I'll dig into the AI graph and show you a mission script that we can import and use for most maps, as long as we use some proper naming conventions for AI groups and vehicles, etc.