Page 1 of 4
Smart Area Reclaim
Posted: 15 Aug 2008, 06:20
by aegis
Smart Area Reclaim:
When you area
reclaim, it normally just grabs everything, no matter if you actually need energy or
metal.
With this widget, when you area
reclaim centered on a specific type of feature (energy or
metal) it will
only reclaim features of the type specified, starting with the ones closest to the unit.
In short: you won't
reclaim metal when you need energy, and won't
reclaim energy when you need
metal.
You do this by basing an area
reclaim around a feature with the type of resource you want to
reclaim from.
This widget handles the rest.
v1.0
Basic functionality.
todo:
- optimized reclaim sorting (don't zigzag)
- resource prioritizing (if you're E stalling but have max M, go for E, and vice versa...)
- for these, probably need to update after every reclaim
- visual thingy?
- hotkey to disable or enable
- maybe a custom queue to look nicer
note: the center feature is decided by the base of the feature, even though you can
reclaim from the top of a feature when your camera is at an angle
so use SelectionCircle or something and put your cursor inside the feature's base
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 11:35
by BaNa
Thank you, it is these types of player-helping things that make spring win.
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 13:18
by Crayfish
Wow, great idea. Does this look at your resource state and intelligently adjust to meet needs, or just keep going with the resource-type you started it on?
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 16:44
by TradeMark
THANKS TO ME IT WAS MY IDEA!!!!! lol.
but yeah, its good.
this should be hardcoded in spring engine!
i still seek for that shortkey thing, SHIFT+ something = only metal and CTRL + something = only energy, etc.
because, sometimes i may want to reclaim EVERYTHING, to just clean the way for buildings and stufff.
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 18:16
by manolo_
TradeMark wrote:THANKS TO ME IT WAS MY IDEA!!!!! lol.
but yeah, its good.
this should be hardcoded in spring engine!
i still seek for that shortkey thing, SHIFT+ something = only metal and CTRL + something = only energy, etc.
because, sometimes i may want to reclaim EVERYTHING, to just clean the way for buildings and stufff.
├â┬Âhm no :D
you: Post subject: Area
reclaim:
only metal or energy? PostPosted: 13 Aug 2008, 11:45
me: Post subject: Request: just
reclaim metal lua PostPosted:
01 Jul 2008, 00:11

Re: Smart Area Reclaim
Posted: 15 Aug 2008, 18:28
by TradeMark
WHAT, no, i gave this idea like year ago, but nobody responded or smthing
anyways, i was just being trollish/sarcastic, just nevermind me. i dont care who the fuck made the idea at the first place.
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 19:39
by UAF
TradeMark wrote:anyways, i was just being trollish/sarcastic, just nevermind me. i dont care who the fuck made the idea at the first place.
As lonsg as it was you, right?

Re: Smart Area Reclaim
Posted: 15 Aug 2008, 19:49
by aegis
trademark: it still reclaims everything if you don't center the area reclaim on a tree or rock
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 21:03
by Gota
Awsome.
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 21:44
by TradeMark
aegis wrote:trademark: it still reclaims everything if you don't center the area reclaim on a tree or rock
wait, what distinguish tree from rock? yeah the
metal or energy
so you mean, when i press area
reclaim, without pressing it on a object, it reclaims everything?
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 21:45
by Hoi
if you do it on a corpse, it will reclaim all corpses, if you do it on a tree, it will reclaim all trees, ect
Re: Smart Area Reclaim
Posted: 15 Aug 2008, 21:55
by very_bad_soldier
Sounds great! Nice1!
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 06:01
by TradeMark
UAF wrote:TradeMark wrote:anyways, i was just being trollish/sarcastic, just nevermind me. i dont care who the fuck made the idea at the first place.
As lonsg as it was you, right?

i do not fucking care okay
Hoi wrote:if you do it on a corpse, it will reclaim all corpses, if you do it on a tree, it will reclaim all trees, ect
yeah thats my point, what if i want to
reclaim EVERY FUCKING THING no matter what? (forgive my bad language, i dont mean bad).
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 07:43
by Gnomre
That's already been answered, jackass
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 15:27
by TradeMark
yeah but then i cant just click on a feature. nevermind.
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 15:30
by Hoi
:/ click reclaim hover mouse over corpse hold shift hold left mouse and drag, simple
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 15:48
by Otherside
trademark stop trying to claim its your brainwave. Everyone has wanted or talked about something like this for ages it just took someone with some LUA knowledge to do it. You did nothing so stop trying to take credit.
good work aegis
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 15:56
by TradeMark
it was just a joke...
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 17:10
by Otherside
TradeMark wrote:it was just a joke...
just cause your maps are a joke not everything you say or do is taken as a joke.
aegis whens the next version out so it can be implemented in CA
Re: Smart Area Reclaim
Posted: 16 Aug 2008, 18:56
by aegis
what meta keys should I use for enable/disable/force a certain resource?