BlastRadius / GhostSite / UnitMarker
Moderator: Moderators
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
BlastRadius / GhostSite / UnitMarker
These are the widgets split up from DefenseRange:
Blast Radius
-Shows the blast radius of currently selected units (Select units, then hold SPACE+X)
-Shows blast radius of a building while placing it (hole SPACE while placing). Blast radii for multiple buildings (building blocks) are not supported currently
Ghost Site
-Adds ghosted buildings for buildings under construction (in green)
-Adds ghosted features (like DragonTeeth/FortificationWall)
Unit Marker
Marks special buildings or units of interest on sight.
You can put a unit list into the widget for each mod, so adding your own units or mods is easy. By default, BA's and CA's Nukes and AntiNukes get marked.
When multiple players in one game use this, the marker is only placed once.
You can download them in SpringDownloader or use the web-interface:
http://spring.vsync.de/luaManager/
Blast Radius
-Shows the blast radius of currently selected units (Select units, then hold SPACE+X)
-Shows blast radius of a building while placing it (hole SPACE while placing). Blast radii for multiple buildings (building blocks) are not supported currently
Ghost Site
-Adds ghosted buildings for buildings under construction (in green)
-Adds ghosted features (like DragonTeeth/FortificationWall)
Unit Marker
Marks special buildings or units of interest on sight.
You can put a unit list into the widget for each mod, so adding your own units or mods is easy. By default, BA's and CA's Nukes and AntiNukes get marked.
When multiple players in one game use this, the marker is only placed once.
You can download them in SpringDownloader or use the web-interface:
http://spring.vsync.de/luaManager/
Re: BlastRadius / GhostSite / UnitMarker
GhostSite and UnitMarker - For Dicks.
I'm just being harsh, good work very_bad.
I'm just being harsh, good work very_bad.
Re: BlastRadius / GhostSite / UnitMarker
Nice. Back in August, I pirated your defensive range widget and made my own unit marking widget. Might dump this and make a custom version again. 
And neddie is right btw, admins pretty much wanted to kick me when I had scouts marked XD.

And neddie is right btw, admins pretty much wanted to kick me when I had scouts marked XD.
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: BlastRadius / GhostSite / UnitMarker
Gonna add this to these for the next BA:
This way if someone has an older Defense Range in their /luaui/ folder the functionality wont be reproduced.
Code: Select all
function widget:GameStart()
for i, widget in ipairs(widgetHandler.widgets) do
if (widget:GetInfo().name == 'Defense Range') then
local version = tonumber(string.match(widget:GetInfo().desc,'%d+%.%d+'))
if version and (version < tonumber("6")) then
widgetHandler:RemoveWidget(widget)
end
end
end
end
Re: BlastRadius / GhostSite / UnitMarker
Could the unit marker be modified to tag decoy Coms?
Re: BlastRadius / GhostSite / UnitMarker
Commander nametags already does that 

Re: BlastRadius / GhostSite / UnitMarker
On enemy units? Are you misreading the question or has a bug cropped up in the unitdef hiding that I missed.
Re: BlastRadius / GhostSite / UnitMarker
No, fucker got my hopes up too.lurker wrote:On enemy units? Are you misreading the question or has a bug cropped up in the unitdef hiding that I missed.

Re: BlastRadius / GhostSite / UnitMarker
help me again, why isnt it working with xta?
- Attachments
-
- unit_marker.lua
- (7.04 KiB) Downloaded 16 times
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: BlastRadius / GhostSite / UnitMarker
Cause this line clears the whole table and you have it in the code after filling the table:
This line is only needed once before filling the table.
Code: Select all
local unitList = {}
Re: BlastRadius / GhostSite / UnitMarker
thx,
include xta for the next time, so i dont have to ask :D
include xta for the next time, so i dont have to ask :D
Re: BlastRadius / GhostSite / UnitMarker
could the unit marker stop to spam more than one mark per object (if several players have the same units within the widget)?
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: BlastRadius / GhostSite / UnitMarker
could you take the time and test it with me?
Re: BlastRadius / GhostSite / UnitMarker
surevery_bad_soldier wrote:could you take the time and test it with me?