Sick of acccidentally scrapping things in CA?

Sick of acccidentally scrapping things in CA?

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

Moderator: Moderators

Post Reply
Jack
Posts: 32
Joined: 15 Jul 2006, 00:35

Sick of acccidentally scrapping things in CA?

Post by Jack »

This is a Scrap warning widget. It tells you if any scrap operations are in progress (with a big message in the centre of the screen) and gives you an opportunity to cancel them instantly. This makes it very hard to accidentally scrap anything, such as your commander, your factory, or all of your units. The widget does not stop you scrapping things deliberately.

Download - http://www.jwhitham.org.uk/ri/gui_scrap_warning.lua
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Sick of acccidentally scrapping things in CA?

Post by Acidd_UK »

Image
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Sick of acccidentally scrapping things in CA?

Post by Tobi »

Lol is it such a bit problem, people accidentally turning entire armies into scrap?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Sick of acccidentally scrapping things in CA?

Post by jK »

nah just the comm
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Sick of acccidentally scrapping things in CA?

Post by Acidd_UK »

Not just the com, pretty much any constructor.... Whoever thought putting scrap right next to (hold fire, hold pos, move, etc, etc) was a good idea ....
El Capitano
Posts: 156
Joined: 13 Oct 2006, 10:48

Re: Sick of acccidentally scrapping things in CA?

Post by El Capitano »

Not to mention that it's directly above the solar generator icon when the comm is selected on the default UI, and guess what one of the first things people build is...
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: Sick of acccidentally scrapping things in CA?

Post by Hoi »

El Capitano wrote:Not to mention that it's directly above the solar generator icon when the comm is selected on the default UI, and guess what one of the first things people build is...
A windgen 8)
Jack
Posts: 32
Joined: 15 Jul 2006, 00:35

Re: Sick of acccidentally scrapping things in CA?

Post by Jack »

The widget is now updated for 0.77b2.
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Sick of acccidentally scrapping things in CA?

Post by Gota »

Heh i rememeber commenting about this to the CA team a while back...I was told i was an idiot cause i couldnt pay enough attention and scrapped my comander....good to see somehting is done to at least semi fix this problem.
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: Sick of acccidentally scrapping things in CA?

Post by Otherside »

never happened to me.... guess i look at what im doing :p
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Sick of acccidentally scrapping things in CA?

Post by Licho »

Jack, good work..
CA is fully open project, you can modify CA scrapping directly and then post a ticket with patch or just contact any dev for commit rights!
User avatar
overkill
Posts: 500
Joined: 02 Sep 2006, 01:15

Re: Sick of acccidentally scrapping things in CA?

Post by overkill »

This was a pretty large problem, for me it was next to the mex, and if the game started to lag any amount, sometimes i would hit scrap instead.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Sick of acccidentally scrapping things in CA?

Post by Tribulexrenamed »

Same here as overkill. Luckily i have yet to scrap my com, but i have been awefully close.
Jack
Posts: 32
Joined: 15 Jul 2006, 00:35

Re: Sick of acccidentally scrapping things in CA?

Post by Jack »

Licho wrote:Jack, good work..
CA is fully open project, you can modify CA scrapping directly and then post a ticket with patch or just contact any dev for commit rights!
Thanks Licho. I would do this, but I'm unsure whether the widget "fits" CA nicely. It works for me, but it's not pretty.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Sick of acccidentally scrapping things in CA?

Post by det »

You don't need to make it a widget at all. You can directly modify the CA scrap interface directly, if it is an improvement, and it will benefit all players without an extra download :-)
Post Reply

Return to “Lua Scripts”