OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: kit89 on January 31, 2007, 06:07:14 AM



Title: Common Textures
Post by: kit89 on January 31, 2007, 06:07:14 AM
Well I decided to do some mapping, but came across one slight problem. The common textures looked all the same. :(

Making it a pain to use...

So I decided to create my own textures. To replace the standard ones. Although I came to a problem I couldn't find the .shader file for the common textures. So I created my own. :)

A few of the textures at the moment don't do anything like:

Clip,
Common,
Weapon Clip
Do Not Enter

I also tried creating a Mirror texture but it wasn't working in-game. I assume its something to do with OpenArena...

I created a test.map to test some of the textures/shaders. Trigger works(but I didn't have it trigger anything), slick works perfectly, cushion worked, and so did Caulk.
The rest I haven't tried yet.

I'm releasing it under the GPL.

Enjoy!




Title: Re: Common Textures
Post by: dmn_clown on January 31, 2007, 06:37:26 AM
http://openarena.ws/board/index.php?topic=439.0


Title: Re: Common Textures
Post by: kit89 on January 31, 2007, 06:57:39 AM
Thanks dmn_clown!

Will it be okay if I can modify your shader script? to implement certain abilities my shader script has?


Title: Re: Common Textures
Post by: kit89 on January 31, 2007, 08:21:13 AM
Okay I modified, dmn_clowns common.shader, and added in a few extra things:

Some of the textures are transparent in GtkRadiant, I find it can make it easier to map when certain textures are slightly transparent.
I implemented the mirror part but I still cant get it to work in OpenArena.

When going through dmn_clowns shader I noticed an Invisible shader, so I created a texture for it, and made it slightly transparent. :)

The zipped file contains:

maps > test.map
scripts > common.shader
textures > common > editor_images > qer_mirror.tga
textures > common > botclip.tga
                                 > caulk.tga
                                 > clip.tga
                                 > common.tga
                                 > cushion.tga
                                 > donotenter.tga
                                 > hint.tga
                                 > invisible.tga
                                 > mirror.tga
                                 > nodraw.tga
                                 > nodrop.tga
                                 > origin.tga
                                 > skip.tga
                                 > slick.tga
                                 > trigger.tga
                                 > weapclip.tga

Hope its helpful to someone. :)
Enjoy.

*EDIT* I just did some testing and figured out why the mirror wasn't working. We now got mirrors for OpenArena!
Just updated the download link at the bottom. So you can try it all out. :)

Ow.. and heres a pic of it:

(http://img523.imageshack.us/img523/651/shot0001rq4.th.jpg) (http://img523.imageshack.us/my.php?image=shot0001rq4.jpg)


Title: Re: Common Textures
Post by: ratix on January 31, 2007, 09:42:44 AM
very nice, I was thinking of doing this myself a day here, but now you've done it for me :)


Title: Re: Common Textures
Post by: dmn_clown on January 31, 2007, 02:03:18 PM
You didn't need to do an invisible texture, there is one in the svn ;) and I should have linked you to the latest version of the common shader (I had moved common/portal from the clown shader (Again in the svn) to common where it should have been.  (I just took your common/mirror and added it to the latest version (Giving you credit of course).

Now we have two mirrors!!