View topic - Modified unit_stockpile.lua



All times are UTC + 1 hour


Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: 06 Nov 2008, 10:24 
Balanced Annihilation Maintainer
User avatar

Joined: 10 Dec 2006, 18:46
Just throwing this out here

http://pw3n.net/widgets/unit_stockpile.lua

This widget not only stockpiles nukes but prepares them for instant fire by starting their firing script then stopping it.

The only issue is that it doesn't work on the core tactical nuke, even though you can do this manually... if anyone has any ideas on this please let me know.


Top
 Offline Profile  
 
PostPosted: 06 Nov 2008, 11:16 

Joined: 30 Jan 2007, 15:23
TheFatController wrote:
...
This widget not only stockpiles nukes but prepares them for instant fire by starting their firing script then stopping it.

...


Nice trick :)


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 01:47 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Spring.GiveOrderToUnit(unitID, CMD.ATTACK, {Spring.GetUnitPosition(unitID)}, {})

:lol:

Because I'm such a good friend I will point out that if LuaUI crashes you will nuke yourself. Once for every silo.


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 09:30 
Balanced Annihilation Maintainer
User avatar

Joined: 10 Dec 2006, 18:46
Couldn't think of a better place to aim them! :-P


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 10:49 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
map center?


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 11:45 
Balanced Annihilation Maintainer
User avatar

Joined: 10 Dec 2006, 18:46
I'd rather nuke myself if lua crashed than my ally or front line (also middle of the map could theoretically be out of range from some nukes), tho the window for it happening is very small anyway and I almost never get luaui crashes myself :p

I'm more concerned about why it doesnt work at all for the cortron.


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 16:11 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
Couldnt you aim outside the map or really high up?


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 16:24 
Redacted
User avatar

Joined: 08 Jan 2007, 06:13
Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
Aim high!? You can't aim high in spring!

I need to go change that into a mod option / make it optional per weapon. It's nothing more than a hack. Fix the rockos, don't force aiming restrictions.


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 22:35 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
I mean give the attack order an absurdly high height.


Top
 Offline Profile  
 
PostPosted: 07 Nov 2008, 22:44 
Redacted
User avatar

Joined: 08 Jan 2007, 06:13
Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
That's what I mean. You cannot give an attack order more than 8 elmos off the ground. Not without a helper gadget at any rate.


Top
 Offline Profile  
 
PostPosted: 08 Nov 2008, 18:20 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
It's still a nuke. Even if you could aim it up, it would fly through that spot and land on the ground.


Top
 Offline Profile  
 
PostPosted: 09 Nov 2008, 15:46 
User avatar

Joined: 22 Apr 2008, 18:06
Location: Miami, FL, US
Aim it at the opposite position on the map.
So if you are in the middle it aims at itself, or if you are at the NE corner it aims at SW corner. Dunno, this widget just makes me nervous...


Top
 Offline Profile  
 
PostPosted: 09 Nov 2008, 16:35 
Balanced Annihilation Maintainer
User avatar

Joined: 10 Dec 2006, 18:46
What if you were doing this trick without a widget and your cat kicked your keyboard lead out before you could hit 's'


Top
 Offline Profile  
 
PostPosted: 09 Nov 2008, 17:12 
Redacted
User avatar

Joined: 08 Jan 2007, 06:13
Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
TheFatController wrote:
What if you were doing this trick without a widget
It would be aimed at the enemy base.


Top
 Offline Profile  
 
PostPosted: 10 Nov 2008, 06:15 
User avatar

Joined: 22 Apr 2008, 18:06
Location: Miami, FL, US
TheFatController wrote:
What if you were doing this trick without a widget and your cat kicked your keyboard lead out before you could hit 's'


It would be aimed at my cat.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.