Page 1 of 2
antinukes should automatically load 100 in stockpile
Posted: 04 Oct 2009, 19:47
by TradeMark
if you ever build antinukes, you have the required E/M to build them, so its silly that they dont load them by default... sometimes you forget to load them...
sure there is this stockpiler widget, but its not on by default (yet?)
the point is that antinukes doesnt eat so much E/M per second that you cant afford loading them, i personally never encountered such situation.
its different situation in nukes, since they cost 1000 energy and 11 metal per second.. or something, so sometimes you cant afford them.
Re: antinukes should automatically load 100 in stockpile
Posted: 05 Oct 2009, 00:43
by YokoZar
There's no point building a nuke launcher/anti-nuke/juno/carrier unless you're going to queue them, so yes they should start with a queue by default.
Re: antinukes should automatically load 100 in stockpile
Posted: 05 Oct 2009, 01:43
by polarstar_111
I agree with this.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 02:01
by Gone
Yeah. It is pretty annoying setting an amount of stockpile required. Especially when some major action is going on.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 02:26
by polarstar_111
And then there are noobs that either forget to stockpile them or only stockpile like 3.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 03:03
by JohannesH
3 is quite enough 95% of the time though.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 06:12
by hunterw
YokoZar wrote:There's no point building a nuke launcher/anti-nuke/juno/carrier unless you're going to queue them, so yes they should start with a queue by default.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 08:00
by REVENGE
JohannesH wrote:3 is quite enough 95% of the time though.
Bullshit. Even non-speedmetal games will typically see more than 3 nukes launched per launcher built.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 08:04
by YokoZar
REVENGE wrote:JohannesH wrote:3 is quite enough 95% of the time though.
Bullshit. Even non-speedmetal games will typically see more than 3 nukes launched per launcher built.
Yes but generally not on the same spot (since the player will start firing nukes elsewhere)
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 13:32
by TradeMark
lol this argue again about "you only need 3! dont build more... and scream at that day when the 4th nuke would have won the battle"
We should make new engine feature that you can turn on/off the nuke building, and there would be no stockpile limit at all. unless you define that by an unit setting.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 14:11
by Blue_Falcon
LuaUI Widget?
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 14:23
by JohannesH
wtf engine change, what for? Just use the widget...
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 14:43
by TradeMark
JohannesH wrote:wtf engine change, what for? Just use the widget...
can you make on/off button with widget and hide the stockpile number, without using luaUI? so i dont need to click it 1-100 times with mouse when i want to empty it.
it is much more logical if there was just on/off button, since theres no stockpile limit at all.
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 14:44
by manolo_
@TM use the dynamic stockpile widget for the antinukes it could waht u want
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 14:51
by TradeMark
thats what i already use.
still i feel it needs some nicer way of doing the stockpile thing... could have on/off button along the stockpile number, when its at "on" mode it would not care about stockpile limit at all and just build new nukes all the time, and in "off" mode it would look when the stockpile limit is reached and then stop building. default "on" and no nukes in stockpile, this way you could handle the stockpiles easily, if you need only 2 nukes for each silo, you can first set them all at "off" mode, and then add 2 nukes to stockpile.
edit: and when you have "on" mode, it would show only the nukes available, not the stockpile limit. so then it looks nice and simple...
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 18:09
by Blue_Falcon
TradeMark wrote:JohannesH wrote:wtf engine change, what for? Just use the widget...
can you make on/off button with widget and hide the stockpile number, without using luaUI? so i dont need to click it 1-100 times with mouse when i want to empty it.
it is much more logical if there was just on/off button, since theres no stockpile limit at all.
Shift-Click queues 5
Control-Click queues 20
Shift-Control-Click queues 100
Why not luaui though?
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 20:23
by ginekolog
all that is needed is that widget included with BA and enabled by default:
Code: Select all
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: unit_stockpile.lua
-- brief: adds 100 builds to all new units that can stockpile
-- author: Dave Rodgers
--
-- Copyright (C) 2007.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Stockpiler",
desc = "Automatically adds 100 stockpile builds to new units",
author = "trepan",
date = "Jan 8, 2007",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = false -- loaded by default?
}
end
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:UnitCreated(unitID, unitDefID, unitTeam)
local ud = UnitDefs[unitDefID]
if ((ud ~= nil) and (unitTeam == Spring.GetMyTeamID())) then
if (ud.canStockpile) then
-- give stockpilers 100 units to build
Spring.GiveOrderToUnit(unitID, CMD.STOCKPILE, {}, { "ctrl", "shift" })
end
end
end
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Re: antinukes should automatically load 100 in stockpile
Posted: 07 Oct 2009, 21:53
by TradeMark
enabled = false -- loaded by default?
:P
Re: antinukes should automatically load 100 in stockpile
Posted: 08 Oct 2009, 10:28
by Wombat
f11
Re: antinukes should automatically load 100 in stockpile
Posted: 08 Oct 2009, 13:30
by TradeMark
whats that?