ID:147956
 
obj
hud
bg
New()
var/k
var/l
for(k=0, k<=16, k++)
for(l = 0, l<= 16, l++)
var/obj/O=new/obj/hud/back
O.icon_state="[k],[l]"
O.screen_loc="[k],[l]"
O.layer=MOB_LAYER+10


obj
hud
back
icon='hud.dmi'

I can't see why this isn't working
you forgot to add it to the client's screen.

<font color=red> urgg, darn spacing, put the C.screen += O, with the iconstate and screenloc</font>
obj
hud
bg
New(client/C)
var/k
var/l
for(k=0, k<=16, k++)
for(l = 0, l<= 16, l++)
var/obj/O=new/obj/hud/back
O.icon_state="[k],[l]"
O.screen_loc="[k],[l]"
O.layer=MOB_LAYER+10
C.screen += O

client/New()
..()
new /obj/hud/bg (src)

that will do the trick.