ID:143224
 
Code:
mob
hud
icon='NHB TEST.dmi'
layer=99
name=""
b1
icon_state=""
New(client/C)
screen_loc = "0,14"
C.screen+=src
client/New()
..()
new/mob/hud/b1(src)


Problem description:
I have a 480x480 .dmi but ingame it shows as 32x32, and I am using 4.0, mind you or it wouldnt even be a .dmi that large.
(I've already tried Scale() but it didnt seem to work)
I'm still having trouble.
In response to Madjarjarbinks
It seems when dealing with the screen list, you need to split up all the parts of the HUD into different icon states(make the states the screen location).
In response to Kakashi24142
You might want to rethink that..
This is my old code, REALLY long, I dont want to paste it here, so you get a free link! Yay you!
http://files.byondhome.com/Madjarjarbinks/Olden%20Code.txt
In response to Madjarjarbinks
That does nothing of what I said.... I said to make the actual icon state in the icon file the screen location which means it easier. Now all you have to do is loop through the icon_states('HUD.dmi') (HUD.dmi can be replaced with the name of the icon file.) and then place the icon on the screen based on the icon state(use an img or icon object or just and obj and set its icon and icon_state based on the info you have). I use the same method for my HUD which is pretty big.