Map Color

Map Color

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

Moderator: Moderators

Post Reply
User avatar
Zpock
Posts: 1218
Joined: 16 Sep 2004, 23:20

Map Color

Post by Zpock »

Is it possible to get the color of the map at a position? Like GetMapColor(x,z)? This would be useful for map-related effects.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Map Color

Post by jK »

if someone commits my lua patch there would be the following:
*added gl.Texture($shading) & gl.Texture($grass)
Post Reply

Return to “Lua Scripts”