multi layer textures

Make suggestions for improving one of the best games on the net!
Post Reply
User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

multi layer textures

Post by hutty »

i am not sure if this has been said yet, but I have run into a place where it would be nice to apply 2 materials to an object at the same time.

for example
I have a wall
the material on the wall has transparent patches
I want a moving texture of fluid or something in the patches
it would be nice to first place the moving texture, then put the wall texture on top of it

this is currently possible by using 2 objects, but it would be nice to simply use 2 materials
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Re: multi layer textures

Post by Spazzy McGee »

An interesting point. I am unsure of how easy that is to achieve though.

Similarly, I would like to see the ability to 'tier' textures, so that if one texture doesn't load (e.g. it is blocked), it displays another.
"Life is what happens to you while you're busy making other plans." - John Lennon
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Re: multi layer textures

Post by trepan »

Available in 2.99.x via lua client-side scripts.
User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: multi layer textures

Post by hutty »

I'm not quit sure what lua can do or how it works?

Is is easy to write scripts?
Is is simple like java script? or complex like c++?
Is their any documentation?
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: multi layer textures

Post by Bambino »

Google is handy....http://www.lua.org/
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Re: multi layer textures

Post by Spazzy McGee »

trepan wrote:Available in 2.99.x via lua client-side scripts.
But never possible with server-side scripts, scripts embedded in map files?
"Life is what happens to you while you're busy making other plans." - John Lennon
Post Reply