Page 1 of 1
Boundaries and Hubs...
Posted: Sat Dec 23, 2006 6:00 pm
by Elmo
How would i make it.. so my map will say... "leaving battlefield if im going to far? And about the hubs or barriers... I place them, but how do i ban infantry from going through that region?
RE: Boundaries and Hubs...
Posted: Sat Dec 23, 2006 6:02 pm
by MasterSkywalker
Lol.. You'll need hubs to place connections. These hubs don't keep you from entering a region, they actually tell you to do! I need to put connections between them to make sure the AI follow the "correct" paths
Soul -- Merry Christmas!!
Posted: Sat Dec 23, 2006 6:08 pm
by Elmo
SOOoooo... i have to place connections....
Posted: Sat Dec 23, 2006 6:28 pm
by Food_Eater
In order to create the "Leaving Battlefeild" thingy, you gotta go to "Boundary" in zeroeditor, and then "New Boundary," then resize the circle's width and depth with the panels, and then adjust the circle/oval so it envelops the area you want to be playable - if you leave that area it will say "Leaving Battlefeild" and all that stuff. You can use several boundaries If you have a very complex playable area, so as long as the player is in at least one of the Boundary Circles, the player is within the battlefeild. I recommend naming the boundaries "mapbounds_1" , "mapbounds_2" , etc.
Then you create a file titled ABC.bnd (ABC being your 3 letter map id) and make sure that something like this is inside of it:
Boundary()
{
Path("mapbounds_1");
Path("mapbounds_2");
Path("mapbounds_3");
Path("mapbounds_4");
Path("mapbounds_9");
Path("mapbounds_5");
Path("mapbounds_6");
Path("mapbounds_7");
Path("mapbounds_8");
}
Make sure to have as many lines for each boundary you have.
I think that file is automatically created when you make the boundaries, but I can't remember so its good to check.
And I think that's it.
EDIT: Oh yes, If you go back and tweak the boundaries later on, all the boundaries will stop working. So if you need to adjust them, you gotta delete them all and start over. (This is based on my experience so I could be wrong)
Posted: Sat Dec 23, 2006 6:51 pm
by Elmo
thx Food_Eater!