[OLD! OUTDATED!] 25 Apr 2015! BA 8.17 widgets pack

[OLD! OUTDATED!] 25 Apr 2015! BA 8.17 widgets pack

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

Moderator: Moderators

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

[OLD! OUTDATED!] 25 Apr 2015! BA 8.17 widgets pack

Post by jamerlan »

These widgets will give you +10 TS ;-)

Download:
BAWidgetsPack25Apr2015.zip
BA widgets pack 25 apr 2015
(2.18 MiB) Downloaded 44 times
25 apr:
Updated! MANY improvements mady by [teh]Flow:
  • advanced playerlist: added country flags, show inactive specs, lockcamera icons, auto scales dependant on resolution
  • self-d icons: displayed slightly larger
  • allyresourcebars: now draggable witth middlemouse, auto scales dependant on resolution, keeps a relative position on screen.
  • xrayshader: disabled the disabling at lowfps (cause it didnt work properly yet)
  • console: text slightly bigger again. strips shadows chance feedback
  • shadow quality manager: stripped quality change message
  • healthbars: borders slightly larger
  • SelectionButtons: smaller icons
  • Idle builders: displayed a bit larger
  • eco-stats: fixed guishader visible when team was disabled, snaps all the way to the top instead of 1 pixel room
  • lockcamera: stripped all the rendering parts, is api only
  • allycursors: added api for advplayerlist to read
+ turn off sound when you are spectator and catching up. Sound will be re-enabled when you finish catching up.

10 apr:
This release brings you many improvements compared to prev version mostly developed by [teh]Flow.

Instructions:
1) Backup your spring directory (make a copy)
2) unpack zip archive attached to this post
3) copy "Widgets", "Images", "Fonts" folders to your spring directory (more info here)

If you have ATI video card: some widgets for some ATI cards can bring "green screen" bug. That is why I said "make backup". If you will face this bug - then you will be able to return to stable version.

Tip: If you have a very slow PC then disable all widgets you don't really need or widgets you don't use.

descriptions of widgets included:
Shadow Quality Manager
Improved Enemy Spotter
Self-D icons widget
Resurrection halos widget
map info widget
given units icons widget
Xrayshader widget
Easy mouse targeting widget
Guishader api widget (for redui and others)
Execute default command on right mouse button press
Ally cursors widget, now with names!
modified adv playerlist widget
Ally resource bars - pimped
improved Healthbars widget
Commands FX widget
Targeting units with attack commands on mouse release

Others:
auto_reclaim_heal_assist.lua - work automatically. Rezz bots healing units.
cmd_quick_unload.lua - when unit in transport, press Ctrl + E to unload asap
gui_adv_unit_marker.lua - adds marks for important enemy buildings/units
gui_ba_ally_cursors.lua - shows ally cursors
gui_blastRadius.lua - press mea + x to see blast radius
gui_comblast_range.lua - shows dgun and blast range for commanders
gui_comCounter.lua - shows counter for ally/enemy coms
gui_commanderwarning_gui.lua - warns when com is under attack
gui_enemy_spotter.lua
gui_hilight_selectedunits.lua
gui_idle_builders_new.lua
gui_mobile_anti_defence_range.lua - shows anti defence range
gui_toggleLos.lua
gui_unit_stats.lua
mute_game_spec.lua - when you start game as a spectator, you did not hear noise. Re enable sound with F6
radar_range.lua
spy_range.lua - displays spy decloack and emp ranges
unit_air_allways_fly.lua
unit_anti_comnap.lua
unit_anti_trollmando.lua
unit_auto_group.lua
unit_auto_group_com.lua - commander is automatically on group 3 at game start
unit_cloacked_popups.lua - arm popups are cloacked by default
unit_crawling_bomb_range.lua - displays blow range for crawling bombs and adv geos
unit_dontmove.lua
unit_factory_guard.lua
unit_immobile_buider.lua
unit_jammer_ranges.lua
unit_obedient_constructors.lua
unit_passive_builders.lua - all builders are passive by default (except commander)
unit_reclaim_stopper.lua
unit_showbuild.lua
unit_smart_mines.lua
unit_transporter_2.lua
unit_trollmando.lua - build mines with 'Z' key

(Russian version) Эта же новость, но по русски http://springrts.ru/widgetsPacks
Last edited by jamerlan on 25 Jul 2015, 22:17, edited 5 times in total.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by FLOZi »

Oh lord no...

Userland widgets are trepans greatest mistake
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Jools »

Better than to release a new mod version each time there is a small typo in a game widget.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

zip archive name still contains "jan" when it should be "apr" - don't bother about that. Its just a typo in the file name
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Floris »

Very nice to refer people to a good widgetpack like this one!

I see you included the first widget I wrote: reclaim_stopper. I was too complex and not acurate.
BrainDamage has rewritten it some years ago. Better include his one :-)

Description:
Auto stops the reclaim of a building at ...% (hold 'u' key when giving the reclaim command)



If you find the time, it would be nice if there are some descriptions so people know how to use some of these widgets. (copy of the widget description could do in most cases)
Attachments
unit_reclaim_stopper.lua
(6.03 KiB) Downloaded 7 times
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Floris »

Edited the comcounter widget to support the guishader api effect aswell.
Attachments
gui_comCounter.lua
(18.68 KiB) Downloaded 6 times
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Floris »

Another addition: show orders widget (by Niobium)
Hold shift+space to see all orders/queue from all units on the map.

I thought it was an engine function, but its a widget after all.

Couldnt find it anywhere online, so here it is.
Attachments
gui_show_orders.lua
(4.72 KiB) Downloaded 10 times
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

Thank you [teh]Flow! :-) Updated (and renamed) archive!
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

Yes, widgets need better descriptions/tutorials/videos or smth. I will think about that.
OutRun
Posts: 8
Joined: 12 Apr 2015, 00:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by OutRun »

Hey , nice widget .
1-BUT i have no sound .
i pull out zip in spring directories as said (erased the match one's) , so what i did wrong ?
2- i have 2 board of players/spec , seems the older and the new one.

thx
OutRun
Posts: 8
Joined: 12 Apr 2015, 00:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by OutRun »

Here i did .
Unzip in spring file did nothing .
so
Unzip in /Luai file did make widgets works but no sound .
so i delete images file-----> players board is white backround and still no sound so i delete front file and nothing else seems change .
New try
only delete widget file ----> no widget but have sound

Hmmmmmm guess i have to delete each widget 1 by 1 T_T
OutRun
Posts: 8
Joined: 12 Apr 2015, 00:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by OutRun »

Pfiouuuuuuuu

Got it , widget mute game spec LOL
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Forboding Angel »

And here, exhibit A of why userland widgets are a terrible idea.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

OutRun wrote:1-BUT i have no sound .
Its a mute_game_spec.lua widget. It mutes sounds if you are spec. You can enable suound again using F6.
jamerlan wrote: mute_game_spec.lua - when you start game as a spectator, you did not hear noise. Re enable sound with F6
I made that widget because when you joining as a spectator in the middle of the game you:
1. Hear annoying BEEP at start of the battle
2. Hear noise (too much sounds) during fast forward

So when you are finished loading - just enable sound with F6.

I use this widget and I live it :-)

Sorry for this :-)
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Jools »

It would be a nice idea to automatically mute sounds if ping > ɛ, where ɛ > 5 seconds maybe. Ideally in the engine because maybe it would also reduce lag. I agree that that noise in a replay or when joining is annoying, and I also agree that things done in lua can be confusing if you don't know what's done.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by Floris »

Edited the idle builders widget:

viewtopic.php?f=23&t=33380
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by 8611 »

jamerlan wrote:So when you are finished loading - just enable sound with F6.
Use GameProgress(serverFrameNum) to automatically re-enable sound once catchup is completed.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

8611 wrote:Use GameProgress(serverFrameNum) to automatically re-enable sound once catchup is completed.
Thank you! and jetbird and [teh]Flow and others!

New widget is here: https://github.com/SpringWidgets/mute-g ... s/tag/v1.2
it enables sound when spectator is finished resuming

will be included in next "pack" :-D
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 10 Apr 2015! [teh]decay BA 8.15 widgets pack

Post by jamerlan »

from one of the forum threads:
Image
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: NEW! 25 Apr 2015! [teh]decay BA 8.15 widgets pack UPDATED

Post by jamerlan »

Updated widgets pack
Locked

Return to “Lua Scripts”