ID:169873
Apr 19 2005, 6:46 pm
|
|
I know that mobs are "drawn" on top of everything else, but I was wondering if it was possible to make objects appear ontop of mobs. I ask because I am making a game that has a wide variety of armor/weapons and I plan on making them visable when they are equiped. If I made a new icon for each helmet,weapon,breastplate,cloak,etc set I would end up having to make hundreds of icons. Instead I want to just make the equiped item appear ontop of the mob. Is this possible or maybe there an easier way to do this?
|
Apr 19 2005, 6:50 pm
|
|
ok... so what your askin is. is it possible to put all the armor and weapons and stuff like that into 1 icon file. and then add any of those icons inside that file as an overlay?
|
In response to Odine
|
|
sorry going to bed. but if what i think your askin is what your asking. yes it can be done and not its not that hard
|
In response to Odine
|
|
I'm not sure. I just started using byond 3 days ago. Sorry for the stupid question, but there will probably be more in the future. I checked up on the overlay stuff. It seems like that is what I was looking for. Thanks Odine.
|
Another thing you might want to know, though it does not apply directly to your armor problem, is that you can change what gets stacked on top of what else using the layer variable.
There are predefined bit flags for many things, including layer. You can look them and their values up in the layer entry in the help file. |
In response to I3don
|
|
Actually, areas are drawn on top of everything else. Not including images.
But, yeah. You're looking for overlays. |
In response to Jp
|
|
I thought areas were drawn first. That is the ATOM way...
Areas Turfs Objects Mobs |
In response to I3don
|
|
Actually, now that I look at the reference bit for layers, you're right.
Oopsies. |