
cant exit factory
Moderator: Moderators
cant exit factory
well, kbot cant exit from the factory.it got stuck on the building platform(im making a new mod, so, maybe there is something that i forgot to add or edit).can anyone help me?? 

- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
example:
The yard map is 6 X 6
o represents closed during construction
c represents open during construction
it is represented as cooooc in 6 collumns
so look at it like this, with the bottom 4 being the front:
cooooc
cooooc
cccccc
cccccc
cccccc
cccccc
I hope this helps.
Code: Select all
[UNITINFO]
{
*snipped out unimportant stuff*
FootprintX=6;
FootprintZ=6;
*snipped out unimportant stuff*
YardMap=cooooc cooooc cccccc cccccc cccccc cccccc;
*snipped out unimportant stuff*
}
o represents closed during construction
c represents open during construction
it is represented as cooooc in 6 collumns
so look at it like this, with the bottom 4 being the front:
cooooc
cooooc
cccccc
cccccc
cccccc
cccccc
I hope this helps.
Last edited by smoth on 29 Jun 2007, 06:54, edited 1 time in total.
ok, the unit can come out from the factory.however, i know there is something a miss about my yardmap because if i make a waypoint to the north,the unit will 'walk' in the factory without trying to get out.so, i hope anyone can help me by pointing out my mistake
x=11 z=10
yardmap=ooocccccooo ooocccccooo ooocccccooo ccccccccccc ccccccccccc ccccccccccc ooocccccooo ooocccccooo ooocccccooo ooocccccooo ;
my factory has only south as an exit.north,east,west is blocked by factory wall.is there any mistake?
x=11 z=10
yardmap=ooocccccooo ooocccccooo ooocccccooo ccccccccccc ccccccccccc ccccccccccc ooocccccooo ooocccccooo ooocccccooo ooocccccooo ;
my factory has only south as an exit.north,east,west is blocked by factory wall.is there any mistake?
According to your yardmap, it is not. The polygons of your models do not matter. What matters are the o and c in your yarmap. Currently your yardmap is:ghobot21 wrote:my factory has only south as an exit.north,east,west is blocked by factory wall.is there any mistake?
So 3x3 or lower units can go out all direction, and 5x5 or lower units can exit both south and north.###........###
###........###
###........###
......................
......................
......................
###........###
###........###
###........###
###........###
I suggest using something such as:
yardmap=ooooooooooo ooooooooooo ooooooooooo ooocccccooo ooocccccooo ooocccccooo ooocccccooo ooocccccooo ooocccccooo ooocccccooo;
Which would give you a:
shaped yardmap when open.###########
###########
###########
###...........###
###...........###
###...........###
###...........###
###...........###
###...........###