Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alpha Centauri > AC-General/Help/Strategy > Unit Hurry Cost Revisited!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: ZAKHAROV TURNS ELEVEN
15.Sep: `POSSIBILITY` IS ALL FOR NOW
15.Sep: THE SINGULARITY CONNECTION

bottom of page
  - ALPHA CENTAURI PC $9.99 - Centauri Dawn $6.50 - Dragon Sun $6.99 - Twilight of the Mind $6.99 - Power of the Mindworms $8.95 - ALPHA CENTAURI MAC $19.99
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:36
  Old Post 18-05-2004 22:57 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Support Apolyton buy from Amazon

As has been stated before, optimally rushing units is not as simple as counting. For a perfect hurry cost, you must divide two numbers and calculate at least a few decimal places, then multiply that by another number. You can estimate the cost to within a few ECs fairly quickly, but the exact cost requires a little thinking.

Example: you have a former in construction that has 9 mineral accumulated towards a total cost of 20 minerals. This base is producing 3 minerals per turn. The minimal hurry cost would be:

28 ec to rush all the way
/ 11 minerals remaining
* 8 minerals desired
= (28 / 11) * 8, round up
= 2.545... * 8, round up
= 20.36..., round up
= 21

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 18-05-2004 23:24
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Increase the size of your Attachments

Ok, in that example I would have rushed for 22 ecs which equal to appr. 8.6 minerals. Will that 0.6 mineral become 1 mineral and be carried over to the next turn?

Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:36
  Old Post 19-05-2004 04:14 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Nope, if you overpay, but not enough to buy one more mineral than you intended, the excess is lost. Minerals purchased are rounded down.

Santiago_Claus is offline Santiago_Claus
Warlord

Mar 2004
time: 05:36
  Old Post 19-05-2004 06:04
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Browse Apolyton AD-FREE

Heh, I never would've guessed Unit Hurry Cost would've generated so much discussion, although I should've guessed from the reams of posts generated last time.

At least no one this time around is confusing "polynomial" with "exponential".

Printed chart: this classic solution is both simple and accurate, but requires external hardware (paper) and has a limited number of entries.

However, limited entries isn't so big a deal: a 2x2-column cheat sheet could easily show ec buy values up to 100 units, and beyond a certain point buying becomes more expensive than shell-upgrading, anyway.

The "external hardware" is pretty lightweight, too. Certainly I've played countless games that required extensive notes, Star Control II coming immediately to mind, so a single piece of paper isn't the end of the world.

Enigma_Nova is offline Enigma_Nova
King

Nov 2003
time: 14:36
  Old Post 19-05-2004 07:15
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Support Apolyton, buy Call to Power 2

F4 - production
Total minerals - Minerals accumulated = minerals left
Base
minerals left - production + 10 = optimal # of minerals
Hurry
Rush Cost / Minerals Left = Cost per mineral
Cost per mineral * optimal # of minerals = ECs to rush
(Round up the cost in the last step if it is not an integer)

Not too bloody difficult.

Vev is offline Vev
King
I am so out of touch
Nov 2000
time: 15:36
  Old Post 19-05-2004 08:07
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Increase the size of your Attachments

It is better to err on the safe side and increase cost/mineral if just estimating.

Right now I don't have access to SMAX but I was thinking of a scenario where you have a 80 mineral unit (why that expensive, dunno) and already have 12 minerals in the box and you output 67 minerals so you need to buy 11 more minerals to complete it optimally. Problem is I don't know the hurry cost.

Anyway hopefully someone can provide me the hurry cost for that.

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 19-05-2004 08:39
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Put an end to popups!

For a 80 mineral unit with 12 min completed and base production 67 min, that is 79 min completed next turn without rushing. Since you are still in the 2nd row the rush cost is going to be relatively high and not worth it. I would simply find a crawler to rehome or convert a specialist to worker or something similar to produce 1 or 2 more mineral, so that the base could finish production the next turn without rushing.

Did I pass your test?

Jamski is offline Jamski
Deity
lol ED&D is officially full PvP LOL
May 2002
time: 05:36
  Old Post 19-05-2004 12:30
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton

I'd change to a 70 or 60 mineral unit and then upgrade it for 10 or 20 ecs.

-Jam

MariOne is offline MariOne
King
Erewhon in Neverland
May 1999
time: 06:36
  Old Post 19-05-2004 17:42
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Inflate your Upload Space

quote:
Originally posted by Minute Mirage
Is there a problem with just using Nethog's table? I have it printed beside me when I play and it takes me only a few seconds to look up the cost of rush building.


...it's actually MariOne's table (see original threads)...
THANKS!

MariOne is offline MariOne
King
Erewhon in Neverland
May 1999
time: 06:36
  Old Post 19-05-2004 17:49
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by anarchie
C = M^2 / 20 + 2M
U = C / M

U = M/20 + 2


it would all look that simple... except that the formula is NOT

C = M^2 / 20 + 2M

but actually

C = INT(M^2 / 20 + 2M)


and
INT(M^2 / 20 + 2M) / M
is NOT
= M/20 + 2
nor INT(M/20 +2)...

just for the sake of precision, if it's that you seek

if you content of approximation, others above have shown easier rule-of-thumb methods (depending on how many ecs you consider acceptable to waste)

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 19-05-2004 19:37
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by Jamski
I'd change to a 70 or 60 mineral unit and then upgrade it for 10 or 20 ecs.

-Jam


I bet it'll be at least 30 ecs for you to upgrade your unit dear Jamski. And you'll take one more turn to do that unless you do mass upgrade from workshop which is prohibited in some circumstances.

Jamski is offline Jamski
Deity
lol ED&D is officially full PvP LOL
May 2002
time: 05:36
  Old Post 19-05-2004 19:42
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Then its cheaper to let the unit build. Its rarely economical to rush expensive units.

-Jam

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 19-05-2004 19:47
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by MariOne
just for the sake of precision, if it's that you seek


If somebody really have some time to kill, perhaps he could calculate for us what kind of differences between the real precise formula and my approximate formula that we are looking at, at different circumstances.

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 19-05-2004 19:48
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Tired of ads?

quote:
Originally posted by Jamski
Then its cheaper to let the unit build. Its rarely economical to rush expensive units.

-Jam


But you really should find that one mineral somewhere because you would be wasting about 56 minerals if you let it to be built in two turns.

Minute Mirage is offline Minute Mirage
Prince
Helsinki
Aug 2003
time: 07:36
  Old Post 19-05-2004 19:57
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by MariOne


...it's actually MariOne's table (see original threads)...
THANKS!


Yes, I know that you deserve the credit. However, the table I'm using is called "Nethog's SMAC(X) Rush Reference Chart" so it would be a bit confusing to call it MariOne's table, don't you think?

Livid_Imp is offline Livid_Imp
Settler

May 2004
time: 05:36
  Old Post 19-05-2004 21:17
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Got spare money?

quote:
Originally posted by Santiago_Clause
.....I've played countless games that required extensive notes, Star Control II coming immediately to mind.....



Ahh, I loved that game. I moved back in Jan, and I kept finding little scraps of paper with the coordinates to rainbow planets

Last edited by Livid_Imp on 19-05-2004 at 21:30

Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:36
  Old Post 19-05-2004 21:20 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Full PM-box? Change here!

If a unit costs 80 minerals, upgrading to it costs at least 80 energy. Buying a single mineral when 12 out of 80 have been produced costs

M = 68
Total hurry = M*M/20 + 2M = 367
Total/M = 5.397...
So pay 6 energy and buy a single mineral, or pay 60 to buy 11, if the 10 minerals on the next turn are worth 54 energy.

If you want 11 minerals, however, the cheaper way is to switch to a facility (losing a mineral), buy 25 minerals for 50 energy, and switch back to a unit, losing 13 minerals.

Simple, with a 4-function calculator. Possible without, but slower.

Snowflake is offline Snowflake
Princess
falling, once again
Apr 2003
time: 23:36
  Old Post 19-05-2004 22:00
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Remove this text

Thanks CT, very illustrative.

Vev is offline Vev
King
I am so out of touch
Nov 2000
time: 15:36
  Old Post 20-05-2004 03:58
Edit/Delete Message Reply w/Quote
#49 Report this post to a moderator
Suffering from ads?

Thanks for having fun with my example. It was a bit uncommon but it highlights why unit costs annoys the heck out of me.

H0bbes is offline H0bbes
Emperor
of Paradise
Feb 2001
time: 15:36
  Old Post 20-05-2004 07:15
Edit/Delete Message Reply w/Quote
#50 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Maths is far from my strong point so perhaps someone can tell me if I have wastage or not. I do the following (as an example):

Cost to hurry a unit: 107EC's. Turns left to complete: 5.
107/5= 21.4. 107-21= 86. Pay 86EC's and the unit is finished next turn. I can generally do this in my head which is why I like it. It works, but am I losing a lot?

Hobbes

Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:36
  Old Post 20-05-2004 08:36 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#51 Report this post to a moderator
Support Apolyton

Assume you have 21 minerals remaining.
Then the hurry cost is 64.
First, say you are producing 7 minerals/turn. Then you will finish in 3 turns.
64 / 3 = 21.33
64 - 21 = 43, which is in fact the correct price to pay

Now, say you are producing 10 minerals/turn. You will still finish in 3 turns, and you will still pay 43 and buy 14 minerals. However, the optimal rush would have only bought 11 at a price of (64 / 21) * 11 = 33.52 -> 34

So what you are doing guarantees that you will complete the unit next turn, but is not optimally efficient. The most inefficiency occurs when, given that production will complete in N turns, increasing production by 1 would decrease the number of turns left.

Santiago_Claus is offline Santiago_Claus
Warlord

Mar 2004
time: 05:36
  Old Post 20-05-2004 10:32
Edit/Delete Message Reply w/Quote
#52 Report this post to a moderator
Browse Apolyton AD-FREE

Hobbes, your formula works great at 4 or more turns, at 3 it usually works, but at 2 turns you'll wind up overpaying. At least it's fail-safe: you'll never underpay using your formula.

HongHu, your C - 2P formula starts getting sloppy as base production passes 20 or purchase qty 10. The spreadsheet shows the first "waste", of 2 ec, buying 7 minerals at a base with 24 production. ("Waste" I've defined as any ec's spent beyond what will buy a surplus of 10.)

Enigma_Nova, your formula is exact but requires 3 inputs (minerals remaining, hurry cost, and base production). Another downside is the pocket calculator, which you'll need if you'd rather not divide such lovely specimens as 110 / 31 in your head. One cannot argue with an exact answer, though.

Vev, your answer is 60. Unit cost is 5.4, incidentally, so to buy just 1 unit you'd pay 6.

The spreadsheet I used to test HongHu's formula is a matrix, of mineral quantities purchased on the x axis ranging from 1-39 and base production on y ranging from 10-100. Each intersection has 2 values, the min and max optimum purchase values. This forms the "reference sheet".

Against it are compared the corresponding cells of the "test sheet". If the test value falls within the reference values at a given production & purchase qty, the formula "works" for that situation.

Here's the funny part: I wanted to use "real" numbers, unprejudiced by knowledge of how the formulas worked, and wound up with a matrix where the cost is affected by the base production! As you move up the x axis to higher purchase quantities along a fixed y-axis value for base production, the only degree of freedom left is minerals remaining, which increases as you move up the chart. To get useful numbers it looks like I had to compare apples to oranges!

We're not really comparing apples to oranges, though, because we don't really care what we're building, or even how much it lacks being done, we care how much it costs to buy an extra 3 minerals to finish building it. (If it really bothers you, you can always move diagonally! :P Pbbbt!)

Net Warrior is offline Net Warrior
King
Long Island, New York
Sep 2003
time: 00:36
  Old Post 26-05-2004 05:33
Edit/Delete Message Reply w/Quote
#53 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Enigma_Nova, thanks for the great formula! Now why didn't I think of that?

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0564 seconds (90.24% PHP - 9.76% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net