Hello.
Im failing at a simple task, putting an image to a hud.
I just get this
Yes. Ive precached the shader with PreCacheShader("portal_hud");
and then
self.portal_hud = NewClientHudElem(self);
self.portal_hud setShader("portal_hud",256,256);
I need help :<
Hud Image not working
Moderator: Core Staff
Re: Hud Image not working
...
Sorry I am retarded.
Sorry I am retarded.
Last edited by Moustache on May 8th, 2011, 5:39 pm, edited 1 time in total.
Re: Hud Image not working
it works with setshader("black");
so thats not the problem.
It just doesnt know where the image file is i guess. And im wondering if i need to do anything extra for custom textures.
so thats not the problem.
It just doesnt know where the image file is i guess. And im wondering if i need to do anything extra for custom textures.
Re: Hud Image not working
Is the iwi of the texture in your map's .iwd?
If not then you will need to put the iwi file in a folder called images in the iwd.
If not then you will need to put the iwi file in a folder called images in the iwd.
Re: Hud Image not working
ok. r4doxzz told me the answer.
if anyone needs the answer:
update the csv file with material,yourmaterial
if anyone needs the answer:
update the csv file with material,yourmaterial
Who is online
Users browsing this forum: No registered users and 1 guest