Signs in game
Moderator: Graf Zahl
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
Signs in game
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.
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.
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
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
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
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
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.
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.
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
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...
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...
Last edited by Jive on Sun Nov 23, 2008 21:07, edited 1 time in total.
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
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:
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:
- Attachments
-
- Lightings_Sign.zip
- Here is it, with the hope that it will help you
- (9.81 KiB) Downloaded 147 times
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
Last edited by ExtremeMachine on Mon Nov 24, 2008 14:48, edited 1 time in total.
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
I have updated my site with a short explanation:
http://gzdoom.doomwadstation.com/tricks.html#resized
http://gzdoom.doomwadstation.com/tricks.html#resized
-
- Posts: 58
- Joined: Sun Aug 26, 2007 18:16
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact: