I've been trying to mess with the HUD and was trying to replace the HudElements1.pcx with my own.
So I subclassed ChallengeHud and made a new GameType that used my new HUD.
In my new HUD I imported a texture using this code.
I'm pretty sure it works because it's copied from the original ChallengeHud but edited to suit my folders and name.
I was planning on overwriting the DrawWeapons function, and I tried to replace my texture with the old one. But it's having none of it. It keeps saying it can't find the texture.![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
These are the ones I've tried.
And tried putting the .pcx at the end and even tried imoprting it manually through Unrealed but still no luck.![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
What's wrong?![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
So I subclassed ChallengeHud and made a new GameType that used my new HUD.
In my new HUD I imported a texture using this code.
Code:
#exec TEXTURE IMPORT NAME=hudelements FILE=textures\hudelements.PCX GROUP="HUD" MIPS=OFF FLAGS=2
I'm pretty sure it works because it's copied from the original ChallengeHud but edited to suit my folders and name.
I was planning on overwriting the DrawWeapons function, and I tried to replace my texture with the old one. But it's having none of it. It keeps saying it can't find the texture.
These are the ones I've tried.
Code:
Canvas.DrawTile(Texture'ciced.hudelements'
Canvas.DrawTile(Texture'ciced.HUD.hudelements'
Canvas.DrawTile(Texture'textures.hudelements'
Canvas.DrawTile(Texture'textures.hudelements'
And tried putting the .pcx at the end and even tried imoprting it manually through Unrealed but still no luck.
What's wrong?