Metal Features

Metal Features

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

Moderator: Moderators

Post Reply
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Metal Features

Post by trepan »

Highlights features with metal in the metal-map viewmode:

http://trepan.bzflag.bz/spring/gui_metal_features.lua

P.S. I'll probably add markers to the minimap as well

P.P.S. This uses the Spring.GetAllFeatures() call, which
can be slow. The slowdown will only occur when viewing
in metal-map mode. I may code an alternate method later.

Image:
http://trepan.bzflag.bz/spring/metal_features.jpg
User avatar
url_00
Posts: 163
Joined: 15 Apr 2007, 22:44

Post by url_00 »

This looks useful!
Post Reply

Return to “Lua Scripts”