Multipurpose widget in Spring/LUA written by me (aka subionic) to teach players scriptwriting in spring. Tested with spring v0.96. Installation: copy to lua/widget directory.
No documentation attached - everything necessary is inside this readable code :)
Multipurpose widget in LUA for Spring 0.96
Moderator: Moderators
Multipurpose widget in LUA for Spring 0.96
- Attachments
-
- auto_repair_reclaim.lua.zip
- (28 KiB) Downloaded 34 times
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Multipurpose widget in LUA for Spring 0.96
lol I accidently didnt disable this widget and forgot about it.
It put all air on roam, and by that... lose all control over it. I was puzzled for a moment. Lost a game due to this.
It put all air on roam, and by that... lose all control over it. I was puzzled for a moment. Lost a game due to this.
Re: Multipurpose widget in LUA for Spring 0.96
It is definitely better to train its use with AI then against real players This script absolutely cannot guarantee win. It only can help a little during battle.
Num-7,8,9 can be used to focus autoatack stream on particular direction. All roaming units are driven by the script. You can selectively disable it by setting hold mode for unit. If you set "repeat" to on then units (particularly builders) also would be excluded from this automation.
Num-. enables fighters base - fighters attack enemy planes (bombers) in triples when they are identified on battlefield.
Num-0 enables com dgun autoattack
Num-4,5,6 (+shift,ctrl) handle area bombing in formation
Num-1,2,3 (+shift,ctrl) handle units movement in legion formation.
There are couple other things like crawling bombs guiding and cloak maintenance that this script can serve.
Num-7,8,9 can be used to focus autoatack stream on particular direction. All roaming units are driven by the script. You can selectively disable it by setting hold mode for unit. If you set "repeat" to on then units (particularly builders) also would be excluded from this automation.
Num-. enables fighters base - fighters attack enemy planes (bombers) in triples when they are identified on battlefield.
Num-0 enables com dgun autoattack
Num-4,5,6 (+shift,ctrl) handle area bombing in formation
Num-1,2,3 (+shift,ctrl) handle units movement in legion formation.
There are couple other things like crawling bombs guiding and cloak maintenance that this script can serve.
Re: Multipurpose widget in LUA for Spring 0.96
You haven't considered splitting this widget into many smaller ones?
Re: Multipurpose widget in LUA for Spring 0.96
New version of the widget - improved units targeting and avoidance. Resolved some compatibility issues related to recent spring version.
- Attachments
-
- auto_repair_reclaim7_2.zip
- Widget code (LUA)
- (32.74 KiB) Downloaded 15 times
Re: Multipurpose widget in LUA for Spring 0.96
Btw. the widget was used mainly on BA
Re: Multipurpose widget in LUA for Spring 0.96
Updated version of widget for v100.0 spring engine and BA.
- Attachments
-
- auto_repair_reclaim7_3.zip
- (34.05 KiB) Downloaded 24 times