Changing weapon colors

Changing weapon colors

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

Moderator: Moderators

Post Reply
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

Changing weapon colors

Post by code_man »

I wish to have a lasers rgbcolor paramater changed of individual units per player so each player has lasers with their own colors.
And i dont know how to do this.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Changing weapon colors

Post by jK »

not possible, except you switch weapons or render the laser yourself
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

Re: Changing weapon colors

Post by code_man »

Oh, well no biggie, but i guess its on for the engine wishlist then.
Rendering myself seems like quite and overkill, maybe a requesting callout would be suitable.
Post Reply

Return to “Lua Scripts”