new BA widget - Spy emp and decloack range v4

new BA widget - Spy emp and decloack range v4

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

Moderator: Moderators

Post Reply
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

new BA widget - Spy emp and decloack range v4

Post by jamerlan »

Updated
v3: Added gremlins to that widget lol
v4: (thx Floris!) Added fade on camera distance changed to thicker and more transparant line style + options + onlyDrawRangeWhenSelected
--

1. Draws blue circle around spy bot to show EMP radius
2. Draws orange circle around spy bot (and gremlin) to show de-cloak range
3. Set spy bot on "cloaked" state when unit is built

Link to widget
Project page on github

Image
spy_range.lua
(8.18 KiB) Downloaded 5 times
Last edited by jamerlan on 15 Feb 2015, 17:36, edited 6 times in total.
User avatar
MiNiMi
Posts: 39
Joined: 05 Oct 2010, 18:38

Re: new BA widget - Spy emp and decloack range

Post by MiNiMi »

good one! thumbs up!



Edit:
Works here!
Last edited by MiNiMi on 28 Dec 2013, 03:13, edited 1 time in total.
muckl
Posts: 151
Joined: 30 Aug 2010, 07:18

Re: new BA widget - Spy emp and decloack range

Post by muckl »

thanks!
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: new BA widget - Spy emp and decloack range

Post by jamerlan »

Is this widget works for you? I need to know.

I attached widget to forum post. I guess it will be more user friendly way to download it.

P.S. Thanks for using it and for feedback
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: new BA widget - Spy emp and decloack range v1

Post by klapmongool »

Sounds great. Even though I would personally not set invis right away from lab the advantages outweigh the disadvantages on this one. Thanks!

I'll let you know if it doesn't work as it should.

PS. Since you are actively writing widgets could you maybe write a small one that sets all crawling bombs to hold fire after being made?
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: new BA widget - Spy emp and decloack range v1

Post by jamerlan »

klapmongool wrote:PS. Since you are actively writing widgets could you maybe write a small one that sets all crawling bombs to hold fire after being made?
Done! http://springrts.com/phpbb/viewtopic.php?f=23&t=31348
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: new BA widget - Spy emp and decloack range v2

Post by jamerlan »

Updated to v2: Don't draw circles when GUI is hidden (you can hide on F5)
muckl
Posts: 151
Joined: 30 Aug 2010, 07:18

Re: new BA widget - Spy emp and decloack range v2

Post by muckl »

it draws circles on ground if the spy is in a trans too
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: new BA widget - Spy emp and decloack range v2

Post by jamerlan »

muckl wrote:it draws circles on ground if the spy is in a trans too
this is funny. I see that ally transporting commanders/crawling_bombs/spies because of that
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: new BA widget - Spy emp and decloack range v2

Post by qray »

Thanks a lot! Can't imagine how I could play without it :-)
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: new BA widget - Spy emp and decloack range v3

Post by jamerlan »

updated to v3 to include gremlin tanks
Post Reply

Return to “Lua Scripts”