Author Topic: Predefined prototype unit  (Read 1028 times)

0 Members and 1 Guest are viewing this topic.

Predefined prototype unit
« on: December 19, 2018, 09:52:29 PM »
Fellow players,
Is it possible to list predefined unit in alphax.txt and make it prototype? So that faction should build a prototype of this unit for higher cost when it becomes available.

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: Predefined prototype unit
« Reply #1 on: December 19, 2018, 10:55:36 PM »
Nope.  Predefined units complete the prototype of all aspects of the unit whenever they are given.  This is why in the original game, if you get Planetary Networks before you get Doctrine: Mobility, you can open a Probe Team in the design workshop, keep the Speeder chassis, and change everything else to whatever you're allowed to.  At a minimum, you can design a Scout Rover this way.

My workaround / standard practice in my mod, is to only give a predefined unit 1 tech after the corresponding design elements were introduced.  This is often not ideal because the time difference between Tiers of my tech tree can be huge.  Like say, between Tier 4 when you get Doctrine: Initiative, and Tier 5 when you get Doctrine: Air Power.  I've got a few Cruiser units available only with the latter, like the Cruiser Probe Team that has a radar on it.

It is also worth considering not giving a predefined unit at all, to avoid this problem.  My general consideration is whether the AI would build a given unit anyways, or not.  Predefined units can be a way of getting the AI to play better, if the unit is actually valuable as the AI uses it in practice.  With a stock .exe, this takes a fair amount of playtesting iteration to find out, typically running AIs in play against each other.  The AI, in practice, may not build a given predefined unit at all, regardless of how good an idea you thought it was.  Or it may build it, but use it quite stupidly.

Generally the predefined units I've got in my mod, have received testing and have proven value to the AI.  However, sometimes I realize that a predefined unit has adverse effects later on in the game, and I get rid of them one mod release later, after I realize that.  For instance, I thought Scout Marines looked like a good idea for early game conflict, since in my mod nobody had any real weapons at the beginning.  I thought, wouldn't it be cool if the AI starts attacking all these helpless Scout garrisons, with other Scouts, straight off of ships!  Well first off, the AI liked to build the things but didn't really do that amphibious assault in practice.  And second, it believed it was a worthwhile offensive unit later in the game, because of the "AI role" settings I had given it.  It wasn't, it was just a waste of the AI's production points.  So I scrapped it.

Plasma, 3-Pulse, and 3-Res armor are all related in that a prototype completion for 1, is a completion for them all.  Similarly with Neutronium, 8-Pulse, and 8-Res armor.  Similarly, Chaos and R-Laser weapons seem to be linked, at least when they have the same cost.  I haven't checked on whether it's still true when the costs are changed.  Tachyon and R-Bolt weapons are linked.

I have offered prototype units with 3-Pulse, 3-Res, one tech later than Plasma units, because I can presume that Plasma has already been prototyped by then.  This may not be true if the tech was acquired through trade, but I don't personally care about that corner case.

One thing to remember, is you only have to worry about prototypes for chasses, weapons, and armor.  You don't have to worry about prototypes for abilities.  For example, there's no such thing as waiting to figure out how Trance works, it's instantly available when you research it.  That's why I have so many Scout Whatever units.  Nothing to prototype, they just encase a new ability in the cheapest way possible.

Offline Geo

Re: Predefined prototype unit
« Reply #2 on: February 15, 2019, 10:41:17 AM »
Aký veľký je tento veľký zdroj údajov? Koľko údajov môžem získať, pretože mám podozrenie, že tento veľký obsah databázu odstránil?

Je obrovská!

 

* 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

I sit in my cubicle, here on the motherworld. When I die, they will put me in a box and dispose of it in the cold ground. And in all the million ages to come, I will never breathe, or laugh, or twitch again. So won't you run and play with me here among the teeming mass of humanity? The universe has spared us this moment.
~Anonymous, Datalinks

* 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]