ID:271126
 
How do I do that?

Be aware that I can't use any libs/demos.
mob/player
icon = 'legs.dmi'
usr.overlays += /obj/head


obj/head
icon = 'head.dmi'
pixel_y = 32 //one square above the legs


The one above is for two tiled mobs.
mob/player
icon = 'legs.dmi'
usr.overlays += /obj/torso
usr.overlays += /obj/head

obj/torso
icon = 'body.dmi'
pixel_y = 32 //one square above the legs

obj/head
icon = 'head.dmi'
pixel_y = 64 //two square above the legs


This one is for three tiled mobs, Hope I helped.

- Miran94
In response to Miran94
Miran94 wrote:
> mob/player
> icon = 'legs.dmi'
> usr.overlays += /obj/head
>
>
> obj/head
> icon = 'head.dmi'
> pixel_y = 32 //one square above the legs
>
>

The one above is for two tiled mobs.
> mob/player
> icon = 'legs.dmi'
> usr.overlays += /obj/torso
> usr.overlays += /obj/head
>
> obj/torso
> icon = 'body.dmi'
> pixel_y = 32 //one square above the legs
>
> obj/head
> icon = 'head.dmi'
> pixel_y = 64 //two square above the legs
>
>

This one is for three tiled mobs, Hope I helped.

- Miran94

Wow, that code is all wrong. Never give advice again, Miran.
In response to Disturbed Ninja
It works you can use
new /obj/head
as an overlay it but it works just need to make the defult mob player
In response to Miran94
No, its totally broken. You cant just add an overlay of something.

WRONG:

mob/player
icon = 'legs.dmi'
usr.overlays += /obj/torso
usr.overlays += /obj/head



Right:

mob/player
icon = 'legs.dmi'
New()
..()
src.overlays += /obj/torso
src.overlays += /obj/head


Please go read the DM Guide again.
In response to Disturbed Ninja
That and pixel_y / pixel_x can't go past the range of -32 to +32 (read the DM Ref if you don't believe me)

- GhostAnime
In response to GhostAnime
Totally didn't see that either. So, Miran... please read the DM Guide before giving advice. Your in no place at all to give it with horrible unworking code.
In response to Disturbed Ninja
I despise the DM guide but it does work there is a library on it somewere
Dark Bahamut wrote:
Be aware that I can't use any libs/demos.

And why the heck can't you use any libraries/demos? Sure, demos are not to be included in a game, but libraries are generally safe enough for plug 'n play. Just as long as you understand what the library does to be able to foresee problems with it.

http://members.byond.com/Jtgibson/forum?id=126

it's not a library, nor is it a demo. it's a snippet. make a new DM file and paste it in there. You can now use robjs, which allow you to easily make multi-tiled objects. just be sure to edit the areas list every time you move the object.
In response to Android Data
Android Data wrote:
Dark Bahamut wrote:
Be aware that I can't use any libs/demos.

And why the heck can't you use any libraries/demos? Sure, demos are not to be included in a game, but libraries are generally safe enough for plug 'n play. Just as long as you understand what the library does to be able to foresee problems with it.

http://members.byond.com/Jtgibson/forum?id=126

it's not a library, nor is it a demo. it's a snippet. make a new DM file and paste it in there. You can now use robjs, which allow you to easily make multi-tiled objects. just be sure to edit the areas list every time you move the object.

AD, remember that my BYOND program doesn't work?

Yeah...
In response to Miran94
Miran94 wrote:
I despise the DM guide but it does work there is a library on it somewere

Please, you sir are an imbesil. IT DOES NOT EVEN COMPILE. THUS IT DOES NOT WORK.
In response to GhostAnime
It can actually go from -127 to 127. You also forgot to put ..() in the New() which would prevent any other 'creation' actions from happening to that mob.
In response to Nadrew
Whoops, fix'd.
In response to Disturbed Ninja
He was only trying to help, and why do you have so many user names?
In response to Goten84
Goten84 wrote:
He was only trying to help, and why do you have so many user names?

Me? God for damn I have two keys.
In response to Goten84
Helping with non-working code isn't helping.