ID:145847
 
I have Coded in my characters and for some reason whey arent showing up as visiable icons on the side where u see mob and obj and turfs are

mob
characters
layer=MOB_LAYER+51
Saiyan
icon='saiyan.dmi'
Click()
usr.race = "Saiya-jin"
usr.loc=locate(49,7,4)
usr.icon='saiyan.dmi'
new/obj/Technique/Kamehameha/verb/Kamehameha(usr)
HalfSaiyan
icon='halfsaiyan.dmi'
Click()
usr.race = "halfsaiyajin"
usr.loc=locate(49,7,4)
usr.icon='halfsaiyan.dmi'
new/obj/Technique/Kamehameha/verb/Kamehameha(usr)
new/obj/Technique/FatherSonKameKameha/verb/FatherSonKameKameha(usr)
Namek
icon='namek.dmi'
Click()
usr.race = "Namek"
usr.icon='namek.dmi'
usr.faceicon='dende.png'
usr.faceiconname="Namek"
usr.loc=locate(63,7,4)
new/obj/Technique/HellGernades/verb/HellGernades(usr)


Now i cant see the actual icons since its all grey on the mob and obj and turf here is what i mean

http://www.dragonballoutcast.com/CharacterError.JPG

go there to see what i mean
Anyone?
In response to Govegtos
you have some serious problems. Thats not how you define characters and I suggest you go ahead and read the DM ref and guide before making a fool out of yourself again.
In response to Lou
I am Serious here this is what the other character coding and what they look like

        BioAndroid
icon='BlueDragon.dmi'
Click()
usr.race = "BioAndroid"
usr.icon='BlueDragon.dmi'
usr.faceicon='Bio.png'
usr.faceiconname="Bio"
usr.loc=locate(91,7,4)
new/obj/Technique/Absorb/verb/Absorb(usr)
Cell
icon='Cell1.dmi'
Click()
usr.race = "Cell"
usr.icon='Cell1.dmi'
usr.loc=locate(91,7,4)
new/obj/Technique/Absorb/verb/Absorb(usr)


See they are the same.
In response to Govegtos
This is not a coding problem. It's most likely a problem with the icon. (Icon state not defined, icon state spelled wrong, etc.)
In response to Mega fart cannon
Yes, there is a problem with his code. Relocating the person isn't fast enough so that they can Click() a "character" multiple times with a macro or just by clicking really fast which would generate a lot of the technique objs or if they click 2 different things, a technique that doesn't belong with their race.
In response to Artemio
that's more of a design problem, not a code problem.