Author Topic: Cellmap Value  (Read 2604 times)

The Holy Moly

  • Guest
Cellmap Value
« on: 8 November 2005, 04:21:45 »
Hi,

What does Cellmap value do and how can it be used?
« Last Edit: 1 January 1970, 00:00:00 by The Holy Moly »

sackofcatfood

  • Guest
(No subject)
« Reply #1 on: 8 November 2005, 08:50:50 »
I'm only hypothesizing, but I think it's how many cellspaces a unit takes up on a map (which can of course be different from the number of cellspaces it appears to take up).
« Last Edit: 1 January 1970, 00:00:00 by sackofcatfood »

tucho

  • Ornithopter
  • *****
  • Posts: 369
    • View Profile
    • .::www.artbytucho.com::.
(No subject)
« Reply #2 on: 9 November 2005, 11:00:18 »
You must create the cellmap with 0 and 1; 0 is a cell walkable (for example the doors), and 1 is a cell no walkable (for example the walls)

example: cellmap of a 3 cells building with 4 doors:

101
000
101

example: cellmap of a 4 cells building with 3 doors

1101
0001
1100
1111
« Last Edit: 1 January 1970, 00:00:00 by tucho »

The Holy Moly

  • Guest
(No subject)
« Reply #3 on: 9 November 2005, 12:51:27 »
Excellent, thank you tucho.
« Last Edit: 1 January 1970, 00:00:00 by The Holy Moly »

 

anything