Page 1 of 1

Terrain Color command for LUA?

Posted: Mon Jun 25, 2007 4:25 pm
by jangoisbaddest
I was just thinking - if color affects the terrain for all gamemodes, is there a way to change it in the LUA with a command? That's the only way I can think of possibly having the terrain darker for one gamemode and not another. Hopefully Zerted is watching this thread :P . Thanks in advance.

Re: Terrain Color command for LUA?

Posted: Mon Jun 25, 2007 4:34 pm
by Maveritchell
jangoisbaddest wrote:I was just thinking - if color affects the terrain for all gamemodes, is there a way to change it in the LUA with a command? That's the only way I can think of possibly having the terrain darker for one gamemode and not another. Hopefully Zerted is watching this thread :P . Thanks in advance.
I suppose terrain textures, no matter the layer, work over all gamemodes then, too? If not, you could just darken the base textures for one layer.

RE: Re: Terrain Color command for LUA?

Posted: Tue Jun 26, 2007 2:41 pm
by [RDH]Zerted
If color is a game object or entity then it can be done with SetProperty(), but I don't think that is the case. I've never looked into colors or lighting.