REQ: Wiget Auto D-gun? - Page 2

REQ: Wiget Auto D-gun?

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

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: REQ: Wiget Auto D-gun?

Post by AF »

krogothe did, but it was still subject to the same flaws. He didn't release it because it would give a huge unfair advantage to whomever had it.
1.Then program the widget to not use the D-Gun when your energy is low.
Indeed, though I expect users will complain in some noobish way that their commander refused to dgun or that ti spammed dgun shots until there was no energy left without ever hitting the target.
2.Then program the widget to not fire when friendly units is in the D-Gun range and not to fire when friendly buildings is near by.
Take the commander and send a flash into his dgun range but just enough for the order to actually be issued then move the flash towards the base, and the commander will follow, sit the flash next to something insanely expensive/explosive and wait.

Or capture an enemy unit in an air transport and make the transport guard a second transport which is then used to comnap.
3. Then program the widget to only fire when the enemy unit is holding still.(The buildings shouldn't be a problem.
No player is that stupid to leave a single unit in an enemy commanders dgun range sitting idle. In this case your not meant to dgun, your meant to reclaim the enemy unit and rip the p*ss out of the enemy for being a total n00b

And not all buildings are safe to dgun, nuke mine decloaks next to commander and gets dgunned, commander dies? There's the obvious one of don't dgun enemy commander or your commander dies, what if there's a flea infront of that commander? Should we dgun that? DGun shots arent instantaneous either, and units can move! What if the shot grazed another unit which we don't want dgunned because of said explosiveness?
if that doesn't work out then program the widget to Auto D-gun when manually targeting a building or a enemy unit.
See above, sometimes its not in your interests to dgun a unit.

I do not say all this randomly, I say it from experience. I have implemented commander AIs for NTai and seen the implementations for RAI and KAI, its not as simple as it seems and has unforeseen consequences.

One example of better behavior is sometimes ti costs more to dgun than it does to reclaim or capture. I found if a peewee came into a commanders build area in XTA it was both cheaper safer and quicker to reclaim the peewee and get the resources than it was to fire a dgun shot, which if inside your base early game as was common would deal the AI a crippling blow.

Now most XTA players I played against were good with micro and would run rings around an auto-dgunning AI, since without predictive targeting they were basically missing every shot. Humans themselves have issues in some mods with dgunning targets even with predictive aim.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: REQ: Wiget Auto D-gun?

Post by Tribulexrenamed »

Or with lag.


I need to make my own plane dgunner. I made something for transport dgunning...
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: REQ: Wiget Auto D-gun?

Post by Pendrokar »

AF wrote:He didn't release it because it would give a huge unfair advantage to whomever had it.
So you mean that using some Lua widgets is cheating? :?
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: REQ: Wiget Auto D-gun?

Post by Noruas »

AF, thats a moral issue, release the damn thing already!
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: REQ: Wiget Auto D-gun?

Post by Acidd_UK »

In the limit, OP asks for a team AI.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: REQ: Wiget Auto D-gun?

Post by AF »

Indeed ti would be cheating because DGun kills any unit, and the groupAI gave you a guaranteed hit. Krogothes groupAI demo showed a commander dgunning a lvl 2 hawk fighter at max speed.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: REQ: Wiget Auto D-gun?

Post by Pendrokar »

AF wrote:Indeed ti would be cheating because DGun kills any unit, and the groupAI gave you a guaranteed hit. Krogothes groupAI demo showed a commander dgunning a lvl 2 hawk fighter at max speed.
I wanna see it!!! :shock:

Well not Guranteed hit. Unless the AI know the enemy units path!
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: REQ: Wiget Auto D-gun?

Post by Noruas »

I actually want the dgun hitting hawks only because i want to make epic video, for spring...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: REQ: Wiget Auto D-gun?

Post by AF »

Well the demo wont work with this current build of spring anyway so you best get to work!
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: REQ: Wiget Auto D-gun?

Post by Pendrokar »

AF wrote:Well the demo wont work with this current build of spring anyway so you best get to work!
Would it matter if I choose to make it with LUA or GroupAI? :?:
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: REQ: Wiget Auto D-gun?

Post by AF »

Best make it in lua
BaNa
Posts: 1562
Joined: 09 Sep 2007, 21:05

Re: REQ: Wiget Auto D-gun?

Post by BaNa »

Noruas wrote:I actually want the dgun hitting hawks only because i want to make epic video, for spring...
yeah me too totally. I wouldnt use it for anything else, why would I...
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: REQ: Wiget Auto D-gun?

Post by Google_Frog »

It's only cheating if you say reducing micro is cheating. A fast enough player can d-gun hawks so why not make a widget to do it?
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: REQ: Wiget Auto D-gun?

Post by Tribulexrenamed »

Google_Frog wrote:It's only cheating if you say reducing micro is cheating. A fast enough player can d-gun hawks so why not make a widget to do it?
Because then Me and Babs are no long t3h 1337 hawk dgunners of doum.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: REQ: Wiget Auto D-gun?

Post by Acidd_UK »

Google_Frog wrote:It's only cheating if you say reducing micro is cheating. A fast enough player can d-gun hawks so why not make a widget to do it?
Because if you are dgunning a hawk manually, you are not microing your army somewhere else. With a widget you can be. On the other hand, I think anyone that would want to automate dgunning is a noob anyway, it would be way too easily exploited to kill you.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: REQ: Wiget Auto D-gun?

Post by Tribulexrenamed »

Acidd_UK wrote:
Google_Frog wrote:It's only cheating if you say reducing micro is cheating. A fast enough player can d-gun hawks so why not make a widget to do it?
Because if you are dgunning a hawk manually, you are not microing your army somewhere else. With a widget you can be. On the other hand, I think anyone that would want to automate dgunning is a noob anyway, it would be way too easily exploited to kill you.
Not if you code it right, or if you are not an idiot.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: REQ: Wiget Auto D-gun?

Post by KDR_11k »

Acidd_UK wrote:Because if you are dgunning a hawk manually, you are not microing your army somewhere else.
You can pause the game in order to click at the damn thing.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: REQ: Wiget Auto D-gun?

Post by Acidd_UK »

Tribulex wrote:
Acidd_UK wrote:..... On the other hand, I think anyone that would want to automate dgunning is a noob anyway, it would be way too easily exploited to kill you.
Not if you code it right, or if you are not an idiot.
Ok, I'll bite. Please explain to me how to code it 'right', so that another player couldn't exploit it to kill your com more easily than under manual control.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: REQ: Wiget Auto D-gun?

Post by REVENGE »

The most useful would give you a "dgun attack" option, that can be toggled on or off and would obey all fire state rules.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: REQ: Wiget Auto D-gun?

Post by Super Mario »

REVENGE wrote:The most useful would give you a "dgun attack" option, that can be toggled on or off and would obey all fire state rules.
This is somewhat like mine only better, I approve this.
Post Reply

Return to “Lua Scripts”