Page 1 of 2

cant exit factory

Posted: 26 Jun 2007, 18:59
by ghobot21
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?? :cry:

Posted: 26 Jun 2007, 19:42
by KDR_11k
Try more information.

Posted: 27 Jun 2007, 00:16
by Boirunner
Did you define a reasonable yardmap?

Posted: 27 Jun 2007, 02:37
by ghobot21
how can i know if im using a reasonable yardmap?is there a fomula?

Posted: 27 Jun 2007, 02:39
by Pressure Line
look at the ones for the OTA factories for examples.

Posted: 27 Jun 2007, 02:39
by Peet
Post what you have for a yardmap, and the footprint size.

Posted: 27 Jun 2007, 04:59
by ghobot21
i change the yardmap.the unit can get out from the factory now.
ok, new question.each time i select a new unit or click to build a unit in the factory, the game will lag for 1 second.is it because of the mod or spring?(i have 4 races in my mod)

Posted: 27 Jun 2007, 17:26
by Noruas
Are you using .sd7 or .sdz, if you do not do a .sd7 format correctly, it will take forever to load and forever from making a new unit.

Posted: 27 Jun 2007, 17:35
by Tim Blokdijk
Best is to use .sdd for mod development.

Posted: 28 Jun 2007, 07:52
by ghobot21
im using sd7.how can i get .sdd?

Posted: 28 Jun 2007, 08:26
by zwzsg
You leave all your content unpacked in a directory called your_mod.sdd

But that won't solve any yardmap issue.

Posted: 29 Jun 2007, 06:16
by ghobot21
is there any tutorial on yardmap?i cant find any on wiki

Posted: 29 Jun 2007, 06:22
by Peet

Posted: 29 Jun 2007, 06:26
by smoth
example:

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*
}
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.

Posted: 29 Jun 2007, 06:52
by Peet
c represents closed during construction
o represents open during construction
You've mixed up o and c...
o is continually occupied, c is open during construction and closed otherwise.

Posted: 29 Jun 2007, 06:53
by smoth
sorry I am half awake..

Yeah I was wondering why I had only two rows open.. I was like wtf, was I retarded or something, how does this work.. it looks all backwards...

lol, I guess that is what I get for not making a new factory for some time :P

Posted: 29 Jun 2007, 09:17
by ghobot21
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?

Posted: 29 Jun 2007, 15:59
by zwzsg
ghobot21 wrote: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:
###........###
###........###
###........###
......................
......................
......................
###........###
###........###
###........###
###........###
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.

Posted: 30 Jun 2007, 03:28
by ghobot21
now, i understand.you make this whole 'yardmap-king' become easier when you show that picture of yardmap.thanks. :wink:

Posted: 30 Jun 2007, 03:33
by Snipawolf
Yes, I line mine up in notepad if I get confused, lol...

It helps a lot