ID:272550
 
ok I've found this question searching the forms but have yet to find the answer

how do i make a multi tile mob(2x2 tile specifically) without having every tile go off in its own direction, thereby splitting my boss into a weird assembly of body parts.

i have looked in the forum for an answer(unsuccessfully) and have looked at the guide reference and the tutorial base...

i would like to know... if I have overlooked anything please just give me the link don't ream me for not looking (because i have although i am tired)

Many thanks
Did you looked for overlays and pixel_x/y offset?
Shadowdarke has a library for this.
Here is the most simple solution to this
usr.overlays+=image("top", pixel_y=32, layer=MOB_LAYER+1)

it will make you have you have an icon on top of your main character icon which is perfect for multi-tile icons.

Just make sure you have that "top" icon_state in the same dmi file as your main icon.

and if you want an icon on the top right and to the right of your main icon, just have
usr.overlays+=image("topright", pixel_y=32, pixel_x=32, layer=MOB_LAYER+1)
usr.overlays+=image("right", pixel_x=32, layer=MOB_LAYER+1)


with that along with the main user icon, it should make the icon a 2x2 icon character ^.^
In response to ElderKain
Of course, it doesn't make them dense. Simple solution, yes, but it's seriously flawed.
In response to Popisfizzy
Popisfizzy wrote:
Of course, it doesn't make them dense. Simple solution, yes, but it's seriously flawed.
That all depends on the situation, but using the meathod I said, If you need to flick the icon image, it makes flicking of it much easier.
In response to ElderKain
It is the simplest solution indeed, but it is also a bad one as it is very unsuitable for things like large mobs.
In response to Thief Jack
where is this library (location and or link would be mych appreciated)
In response to GoofyGoober2009.5
In response to Jon88
Thank you sooo much... this helps out greatly... thank you for giving me the link to it. have a wonderful day and be blessed..