# Advanced Strategic Command

documentation

## MakeObject

For a documentation of the different fields that define an object type take a look at the tutorial on creating Battle Isle graphics.

This is a description on how to create your own pictures of objects. When creating your own graphics the file `tools\hexpics\hexfield.pcx` should be used as the basis and the object has to be painted in the hexagon there. The color #255 is transparent so fill the remaining hexagon with this color when finished.

### Nets of objects

Some objects like roads or pipelines connect automatically to each other to form a net instead of staying as independent graphics. Such an object must have 64 different graphics. If it is symetrically the number can be reduced by flipping the picture to 24 different images. A good example are the roads in Battle Isle that can be extracted by `BI2PCX.EXE`.

But the object must contain all 64 images. The position of each is determined by the sides that connect to another object. Each side has a number:

These number are than added. This picture for example

has to be used on position 1 + 4 + 16 = 21 . Note that the first picture is #0 and the last #63 .

I implemented a system that works even if not all pictures are available and built the "fields"-object with it. But as you can see in the mapeditor such objects are quite problematic so I removed this functionality from `MAKEOBL` again.