D-Gun unstall widget

D-Gun unstall widget

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

Moderator: Moderators

Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

D-Gun unstall widget

Post by Masure »

Disables energy drains while you try to dgun and stalling E

When you try to D-Gun under attack, nothings harder than switching off your makers, stopping builds, ... its probably too late :)

This widget :

- checks if you re dgunning
- disables metal makers, sets builders and factories to wait
- enables back the disabled energy draining units after 10s without D-Gun request (in case you need many dguns in a row)


Image

v1.00 : 1st release

edit : fixed link
Last edited by Masure on 01 Aug 2008, 13:14, edited 3 times in total.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

This is my first try with spring widgets so it's probably not bulletproof. Need feedback and help to improve.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Post by very_bad_soldier »

Awesome! I will surely test it soon.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: D-Gun unstall widget

Post by lurker »

Masure wrote:sets builders and factories to wait
You can do whatnow? :shock:
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: D-Gun unstall widget

Post by Masure »

lurker wrote:
Masure wrote:sets builders and factories to wait
You can do whatnow? :shock:
Don't understand what you mean :?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: D-Gun unstall widget

Post by lurker »

Masure wrote:
lurker wrote:
Masure wrote:sets builders and factories to wait
You can do whatnow? :shock:
Don't understand what you mean :?
If you tell a builder to Wait, does it pause on the unit it it building? If so: :shock:
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: D-Gun unstall widget

Post by imbaczek »

lurker wrote:If you tell a builder to Wait, does it pause on the unit it it building? If so: :shock:
isn't that expected behaviour? i routinely pause nanos while stalling or when teching up.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Hmm dunno how I feel about this widget, but I'll try it out anyways. :P Does it stop things from building even if you have a lot of e though?
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: D-Gun unstall widget

Post by lurker »

imbaczek wrote:
lurker wrote:If you tell a builder to Wait, does it pause on the unit it it building? If so: :shock:
isn't that expected behaviour? i routinely pause nanos while stalling or when teching up.
I just never though of it. I had thought of Wait as a command to put a break in an order stream. This revelation is awesome 8)
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Warlord Zsinj wrote:Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
yeah, if you have a dgun :roll:
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Warlord Zsinj wrote:Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
I doubt it. A ten second shutdown of all operations in your base sounds like it could have dire consequences for you.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Snipawolf wrote:
Warlord Zsinj wrote:Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
yeah, if you have a dgun :roll:
ROFL! Epic Win
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

LordMatt wrote:Hmm dunno how I feel about this widget, but I'll try it out anyways. :P Does it stop things from building even if you have a lot of e though?
Yeah there is no smart E excess control.

I think D-Gun unstall is an emergency behaviour, no matter if you waste E for 10s.

That would be great to control E smarter but, harder to dev.
Last edited by Masure on 18 Oct 2007, 13:12, edited 1 time in total.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Warlord Zsinj wrote:Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
Maybe if you ever played the game you'd realise it really doesn't? You have a way now to stop people using Lua widgets you don't want, stop whining.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

KDR_11k wrote:
Warlord Zsinj wrote:Dare I comment that this is another widget that has the potential to seriously impact the skill level imparted in a game?
I doubt it. A ten second shutdown of all operations in your base sounds like it could have dire consequences for you.
The 10s hysteresis parameter can be set to 0 if you don't want it.

Using it, you assume that you often have to multiply dgun after the first one. Set to 0, hysteresis parameter doesn't keep energy drainers to wait once dgun is done.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Post by Masure »

Moreover, this widget is beta since I didn't use it with Metalmaker widget enable. They surely mess up each other. I'll release a new version that disable metalmaker widget if possible.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Eh, it was just a comment.

And tombom; attempt to deal with the point I am raising, rather then just dismissing a point as 'whining'.

If I supposedly don't play the game, then it, hypothetically ( :P ), doesn't affect me whatsoever, therefore I'd have no reason to whine.

My mod doesn't even have a dgun, so I'm not concerned about this widget impacting my gameplay at all. Besides which, I'm fully aware I can limit the widgets in my mod, as that was implemented partly at my behest.

I was simply commenting as an ex-competitive TA player; in OTA gameplay atleast, such an ability would, in my mind, 'dumb down' the game. Being aware of your energy economy, being able to hit the enemy's energy economy before hitting the commander, considered use of the d-gun, these were all important elements of OTA gameplay.

Now, I concede that this is unlikely to impact gameplay significantly, as people have commented. It wouldn't be a disastrous dumbing down - but I was primarily commenting on the ability for lua to impact the game in such a way.

That being said, I direct no particular offense or criticism on Masure, and hope he sticks around and keeps making lua widgets. Apologies if I've derailed your thread here.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Sorry for being rude. I just think it's not really worth having this discussion again.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

No worries, didn't mean to rile you up.
Post Reply

Return to “Lua Scripts”