Need to override smd setting "unitAmbientcolor"

Need to override smd setting "unitAmbientcolor"

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Need to override smd setting "unitAmbientcolor"

Post by Forboding Angel »

Would someone be willing to write me a little scrap of lua to override the unitambientcolor tag in map smd's?

Hopefully it would be little anyway.

I've found that most maps use a very low value for ambient unit color, and this causes evo units to be very dark due to their color scheme. After some testing, it seems that 0.5, 0.5, 0.5 does the trick really nicely, no matter what the color or backdrop of the map is.

Topic related: http://springrts.com/phpbb/viewtopic.php?f=21&t=22482
Post Reply

Return to “Lua Scripts”