For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Stretching texture over the whole hud?

The section related to UnrealScript and modding. This board is for coders to discuss and exchange experiences or ask questions.
Post Reply
User avatar
Krull0r
Global Moderator
Posts: 543
Joined: Sun Jul 01, 2007 4:07 pm

Stretching texture over the whole hud?

Post by Krull0r »

Hi there :)

Is it possible to stretch a texture with the size of 256x256 Over the whole screen using a hud?
I looked in the spectator hud and tried to change it to my uses and find a way to figure out how to set it up.

I had a working version using "clip" with this but it was only compatible with my screen resolution.
But I need it to be flexible for other screen resolutions.

Greets Krull0r
Image
User avatar
yrex .
OldUnreal Member
Posts: 275
Joined: Wed May 06, 2015 6:46 am
Contact:

Re: Stretching texture over the whole hud?

Post by yrex . »

Code: Select all

Canvas.SetPos(0, 0);
Canvas.DrawTile(tex, Canvas.ClipX, Canvas.ClipY, 0, 0, tex.USize, tex.VSize);
My work | contact: ampoyrex at wp dot pl
User avatar
Krull0r
Global Moderator
Posts: 543
Joined: Sun Jul 01, 2007 4:07 pm

Re: Stretching texture over the whole hud?

Post by Krull0r »

Thanks alot yrex!

This works exactly as I wanted! :)
Image
Post Reply

Return to “UScript Board”