Page 1 of 1
Signs in game
Posted: Sun Nov 23, 2008 17:06
by ExtremeMachine
Hey
I'm currently trying to load some signs textures into my wad. It's not going very well cause i fail with the scales.
Example:
This sign is 65X18 pixels, it's almost the smallest i can do in ps, paint without the letters gets noisy/too unclear. Also if i use that sign it gets HUGE in game, as the 65pixels is like a half wall or something.
There must be some way to do this, appreciate help alot.
Posted: Sun Nov 23, 2008 18:10
by Enjay
Well, first of all I would trim off some of the excess and make the graphic 64x16. Dimensions of powers of 2 are far more reliable in Doom.
Then, check out how to scale textures. There are a few ways to do this - eg you can scale them using the TEXTURE1 definitions
http://www.zdoom.org/wiki/Texture
Posted: Sun Nov 23, 2008 20:09
by ExtremeMachine
Ok, i still dont rlly understand how i "write it". How the text i should put etc, i understand that u can use Texture1, texture2 as scaling the texture inside XWE. But i have no idea how i set it up?
If possible could anyone just make an example code or wad? It would help me alot, i understand if it's maybe too much to ask for.
Posted: Sun Nov 23, 2008 20:15
by Jive
You must put it in the patches lump, and not in the texture one. You have also to create a texture using it, sized 64x64 : 64 for the width, but also 64 for the height, like this:
Then, when putting it on a wall, put some y offset to make it appearing.
That's it.
Here is the link to download it (bmp file):
http://gzdoom.doomwadstation.com/forum/patch-How_to.bmp
I hope to don't have written no matter what...

Posted: Sun Nov 23, 2008 20:19
by ExtremeMachine
ok then i get how to do it, but still the sign will get very big ?, as 64X64 is big in-game?
Posted: Sun Nov 23, 2008 21:09
by Jive
I updated my message with a screenshot
Posted: Sun Nov 23, 2008 21:13
by Enjay
It doesn't need to be 64x64. The dimensions I posted already are fine. Hang on, I'll whip up an example...
[edit] Here you go. All that is in the WAD is a simple map, a copy of your graphic and a new pnames and texture1 lump.[/edit]
Posted: Sun Nov 23, 2008 21:15
by ExtremeMachine
Is there by anychanse i can make them half as big as it is on ur screen?
Posted: Sun Nov 23, 2008 21:16
by ExtremeMachine
Thanks Enjay, and jive!

, your the best!
Now when we talk about sized... I got some problems with hud sizes. When it's like 130X80 (verylow quality) It take up whole screen, i want to make the hud higher resulotion but still not want it all over my screen.
Posted: Sun Nov 23, 2008 22:27
by Jive
I learned something new, thanks to Enjay:
if you edit his wad with XWE, texture1, you'll see 2 fields for the patch, named "X Scale" and "Y Scale"
He put your patch 4 times, each time rescaled.
Woha...
Yes yes yes, I know, I'm a nerd !!
:p
And here is the result:

Posted: Mon Nov 24, 2008 13:50
by ExtremeMachine
Posted: Mon Nov 24, 2008 13:50
by ExtremeMachine
ExtremeMachine wrote:Thanks Enjay, and jive!

, your the best!
Now when we talk about sized... I got some problems with hud sizes. When it's like 130X80 (verylow quality) It take up whole screen, i want to make the hud higher resulotion but still not want it all over my screen.

Posted: Mon Nov 24, 2008 16:44
by Jive
Posted: Tue Nov 25, 2008 16:13
by ExtremeMachine
you gotta pay me for using my layer!! Thats copyrighted! ffs

Posted: Wed Nov 26, 2008 0:18
by Jive
muhahahahaha
