ID:160847
Jul 17 2008, 6:28 am
|
|
Ok so this might be a dumb question adn sorry if it is, but im running a little slow today and cant think or find the answer (been doing too much coding lately). Is there an easier way to add multi tile turf to maps then just doing in in pieces and adding one by one. I know about the big icons but unfortunately all my icons are in pieces already. Thanks
|
There is indeed a simpler, built in feature for this. If you set an atom's icon to a supported image file (eg .PNG, .GIF, .BMP... (latter is unrecommended of course)) instead of a DMI file, then it will internally convert it into a DMI with multiple states if it is larger than 32x32 (it also does this with the icon() proc, BTW). Not only this means you don't have to split it yourself, but when laying that object through the map editor, it will behave accordingly to the big object, and it will lay all separate parts automatically.
So, you only really need to do some special handling (like what SuperAntx said for example) if the objects involved are not created through the map editor (or if they are capable of movement). The plus is that visually, you see the whole object while on the map editor, and What You See Is What You Get. |
With that you should only have to place one object in the map maker. All the others would be created at runtime.