Improved commander name tags

Improved commander name tags

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

Moderator: Moderators

Post Reply
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Improved commander name tags

Post by Floris »

  • Visually better and has higher resolution font compared to the old widget.
  • Dark names have a white outline, with a black shadow underneath.
  • Names are still visible from large heights. (style is a bit like pregame placement)
  • You can instantly see where last coms are located.
  • As spectator this gives you clues where shit is about to go down!
Image
Attachments
commander_nametags.zip
22 may 2015
(156.97 KiB) Downloaded 16 times
comnames.jpg
(67.5 KiB) Not downloaded yet
Last edited by Floris on 13 May 2015, 14:03, edited 16 times in total.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: improved commander name tags widget

Post by jamerlan »

[f=0039062] Loading: LuaUI/Widgets/unit_comm_nametags.lua
[f=0039062] [Font] Error: Failed creating font: Couldn't find font 'Fonts/FreeSansBold.otf'.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: improved commander name tags widget

Post by Floris »

Included the font in the package.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: improved commander name tags widget

Post by Floris »

updated
- optional shadow with: /nametags_shadow (default on, but widget remembers yoru setting)



- removed
Last edited by Floris on 13 May 2015, 14:25, edited 1 time in total.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: improved commander name tags widget

Post by Floris »

  • Dark names have a white outline, with a black shadow.
  • Increased performance x 50 (before I created the font-text each frame, now uses it in a gl list)
  • Removed the /nametags_shadow option
Post Reply

Return to “Lua Scripts”