Terrain Color command for LUA?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
jangoisbaddest
Lieutenant General
Lieutenant General
Posts: 661
Joined: Mon Feb 27, 2006 12:10 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: All Along The Watchtower

Terrain Color command for LUA?

Post 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.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Terrain Color command for LUA?

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Re: Terrain Color command for LUA?

Post 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.
Post Reply