Author Topic: Predesigned unit cost in workshop and base  (Read 858 times)

0 Members and 1 Guest are viewing this topic.

Predesigned unit cost in workshop and base
« on: December 21, 2018, 11:47:11 PM »
Fellow players.
I have noticed strange thing and hope anyone could shed a light on it.

I've predesigned a unit and set its cost. Now when I am in the game and this predesigned unit becomes available I see it in workshop and base build selection list. It costs whatever I set it up for in base build selection list all right. However, in workshop it shows autocalcuated cost even though it appeared there by itself just because prerequisites have been met. Is it should be like that of is this some problem with my configuration?

Offline bvanevery

  • Emperor of the Tanks
  • Thinker
  • *
  • Posts: 6370
  • €659
  • View Inventory
  • Send /Gift
  • Allows access to AC2's quiz & chess sections for 144 hours from time of use.  You can't do without Leadship  Must. have. caffeine. -Ahhhhh; good.  Premium environmentally-responsible coffee, grown with love and care by Gaian experts.  
  • Planning for the next 20 years of SMACX.
  • AC2 Hall Of Fame AC Text modder Author of at least one AAR
    • View Profile
    • Awards
Re: Predesigned unit cost in workshop and base
« Reply #1 on: December 22, 2018, 06:33:10 AM »
I am not sure, but tonight I did notice that among the various denominations of armored Supply Crawlers I built, one has lower cost than the default Supply Crawler unit, even though it has more armor.   My designed unit will often indicate 2 turns to build, while the default unit will take 3 turns.  Yet, the default Crawler seems to display a lower number for its cost.  Perhaps it is the same bug.  Perhaps the actual cost is reflected in the number of turns it takes to build, but an autocalculated cost is being displayed in the Workshop screen.

I notice in your alphax.txt you have a Supply Trawler sea unit.  I haven't seen the AI build such a sea unit in my game, but I haven't been paying attention either.  You've hardwired the cost of that as 6, rather than using autocalculate.  I'm betting that has no effect on a human player designing their own units.  I don't know whether the AI will obey it or design a different unit that costs something else.

I just looked at the Security Nexus for all the factions, since I have infiltration everywhere.  The Pirates and the Drones are the 2 factions most likely to have built a Supply Trawler.  Neither currently have one.  That could be for any number of reasons, but the most likely reason is, they don't believe it's worth building.  Have you tried AI vs. AI games and actually observed this unit getting built by the AI?  If they don't do it, it's not worth bothering to include as a predefined unit.

Re: Predesigned unit cost in workshop and base
« Reply #2 on: December 22, 2018, 02:18:49 PM »
I notice in your alphax.txt you have a Supply Trawler sea unit.  I haven't seen the AI build such a sea unit in my game, but I haven't been paying attention either.  You've hardwired the cost of that as 6, rather than using autocalculate.  I'm betting that has no effect on a human player designing their own units.  I don't know whether the AI will obey it or design a different unit that costs something else.

This is for human mostly. Autocalculated cost is 8 so I downed it to 6 to match with land one. Sea unit is not more beneficial to land one anyway.
And to answer you second question - it does have effect on everybody. The preset cost is what you actually pay when building it. Workshop shows autocalculated value maybe because it was designed that way to not take preset cost into account. However it does take predefined unit into account. Predefined units cannot be retired - they can be only obsoleted. When you build new unit matching predefined one - you cannot save it into different slot - it will snap into matching predefined one.

Overall it is not a game disruption, just an inconvenience when you cannot see exact predefined unit cost in workshop.

Offline bvanevery

  • Emperor of the Tanks
  • Thinker
  • *
  • Posts: 6370
  • €659
  • View Inventory
  • Send /Gift
  • Allows access to AC2's quiz & chess sections for 144 hours from time of use.  You can't do without Leadship  Must. have. caffeine. -Ahhhhh; good.  Premium environmentally-responsible coffee, grown with love and care by Gaian experts.  
  • Planning for the next 20 years of SMACX.
  • AC2 Hall Of Fame AC Text modder Author of at least one AAR
    • View Profile
    • Awards
Re: Predesigned unit cost in workshop and base
« Reply #3 on: December 22, 2018, 06:59:26 PM »
When you build new unit matching predefined one - you cannot save it into different slot - it will snap into matching predefined one.

So I put Deep Radar or not Deep Radar on it, depending on what you did, and I don't have to use your version anymore.  It is pointless to try to tie the player's hands this way, unless you're going to predefine every variation you can think of.

 

* 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

Please don't go. The Drones need you. They look up to you.

* Select your theme

*
Templates: 5: index (default), 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 (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 36.

[Show Queries]