Author Topic: Help Needed with New Options  (Read 1640 times)

0 Members and 1 Guest are viewing this topic.

Offline gwillybj

Help Needed with New Options
« on: October 07, 2014, 12:53:20 AM »
Some of the new options might need clarification for those of us not always grasping the meaning in the definitions.

My question is about the upgrading cost options:
Quote
10,      ; Upgrade cost per row of new unit (plus per square of rows if not prototyped) {-32768 to 32767}
0,       ; Upgrade discount per row of old unit {-32768 to 32767}
0,       ; Upgrade cost per 1/16 square of new unit rows {-32768 to 32767}
0,       ; Upgrade discount per 1/16 square of old unit rows {-32768 to 32767}
10,      ; Upgrade cost per weapon difference {-32768 to 32767}
10,      ; Upgrade cost per armor difference {-32768 to 32767}
My understanding is that these are the stock values.
Leaving them as they are, I sometimes get an astronomical amount to upgrade to an unprototyped design. I'll never forget nearly falling out of my chair laughing when the game told me I needed nearly 500,000 EC to upgrade a unit. Not all of the units I had of the type, just one of them!
An example of what I'm wondering about:
The "1/16 square" lines. If I use the "cost per 1/16 square of new unit rows" line, should I change the first line to zero? or a number between 1-10?
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49263
  • €406
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Help Needed with New Options
« Reply #1 on: October 07, 2014, 01:07:12 AM »
Is this YitziPatch stuff or what?

Offline gwillybj

Re: Help Needed with New Options
« Reply #2 on: October 07, 2014, 01:13:04 AM »
Is this YitziPatch stuff or what?
Yes. I wasn't entirely sure if it should go here or in the bug/patch discussion section, since it's not a bug needing patching, just a Q about the new options.
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Yitzi

Re: Help Needed with New Options
« Reply #3 on: October 07, 2014, 04:00:29 AM »
Some of the new options might need clarification for those of us not always grasping the meaning in the definitions.

My question is about the upgrading cost options:
Quote
10,      ; Upgrade cost per row of new unit (plus per square of rows if not prototyped) {-32768 to 32767}
0,       ; Upgrade discount per row of old unit {-32768 to 32767}
0,       ; Upgrade cost per 1/16 square of new unit rows {-32768 to 32767}
0,       ; Upgrade discount per 1/16 square of old unit rows {-32768 to 32767}
10,      ; Upgrade cost per weapon difference {-32768 to 32767}
10,      ; Upgrade cost per armor difference {-32768 to 32767}
My understanding is that these are the stock values.
Leaving them as they are, I sometimes get an astronomical amount to upgrade to an unprototyped design. I'll never forget nearly falling out of my chair laughing when the game told me I needed nearly 500,000 EC to upgrade a unit. Not all of the units I had of the type, just one of them!

That sounds like it might be a bug (though I can't think what could possibly result in something in that area); if you can provide the next savegame where it happens, I would appreciate it.  Leaving them as they are should give the same costs as if you didn't use my patch...

Quote
An example of what I'm wondering about:
The "1/16 square" lines. If I use the "cost per 1/16 square of new unit rows" line, should I change the first line to zero? or a number between 1-10?

Depends what sort of upgrade cost formula you want.  The formula for the cost of an unprototyped unit* is:
line1XnewCost-
line2XoldCost+
line3X(newCost^2)/16-
line4X(oldCost^2)/16+
line5X(newWeapon-oldWeapon)+
line6X(newArmor-oldArmor).  So when upgrading to cheap units the first line will tend to be more important, whereas when upgrading to more expensive units the third line will be a bigger contributor.  (All costs are in rows of minerals.)

*For a prototyped unit, you add line1X(newCost^2), and use the unprototyped cost, which is why it gets so expensive.

Offline gwillybj

Re: Help Needed with New Options
« Reply #4 on: October 08, 2014, 12:36:24 AM »
I'm fairly certain those wild numbers show up when I'm trying to upgrade over 2 or 3 levels of weapon and/or armor without prototyping, so I'm not surprised by them any more.
Thanks for the light shed on the options. When I get back into the game I'll play with them.
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Yitzi

Re: Help Needed with New Options
« Reply #5 on: October 08, 2014, 03:25:10 AM »
I'm fairly certain those wild numbers show up when I'm trying to upgrade over 2 or 3 levels of weapon and/or armor without prototyping, so I'm not surprised by them any more.

Even that shouldn't get that high, I think...over a thousand, maybe, but not half a million...

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

In the years since our arrival, we have foolishly disrupted so many of Planet's ecosystems that entire species may vanish without our ever having understood, or even known them. We must halt this plunder, and halt it immediately, for our own survival as a species depends on our ability to strike a balance on this world.
~Commissioner Pravin Lal 'Mind Worm, Mind Worm'

* Select your theme

*
Templates: 5: index (Alpha Centauri), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (Alpha Centauri), TopicRating/.english (Alpha Centauri), PortaMx/PortaMx.english (Alpha Centauri), OharaYTEmbed.english (Alpha Centauri).
Style sheets: 0: .
Files included: 47 - 1280KB. (show)
Queries used: 42.

[Show Queries]