Terrain Color command for LUA?
Moderator: Moderators
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
Terrain Color command for LUA?
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
. Thanks in advance.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Terrain Color command for LUA?
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.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. Thanks in advance.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: Re: Terrain Color command for LUA?
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.
