Lesson 8: Creating your first building

AI Paths


You might have noticed that the AI isnt very good at navigating buldings or advanced objects, it gets stuck sometimes or just avoid it totally. To get AI to move around inside buldings properly, you gotta make some "rails" or "path" for the AI to follow. Without them, computercontrolled soldiers wont enter your bulding properly.

Also, you might have noticed from the mission editor that some buldings have a number of "positions" that you can place soldiers in. We are gonna have some of that too.

Ok, pretty weird stuff but thats the way its done. The AI should be able to navigate our structure ok now. Im not sure if there is a limit in the number of "pos" and "in" points, so you should be able to add more or less points easily for your own buldings.

If you got a buidling with a ramp or staircase connecting two floors, you got to make AI network for both floors if you want the AI to go upstairs. Its just about creating a second network for the upper floor in a similar fasion, then connecting them with a sloped face where the staircase or ramp is. This way the AI can use the stairs too. But we wont go into this in this simple tutorial. 

Now lets get move on. Not much left now...

Back__Home__Next