Alpha Centauri 2

Sid Meier's Alpha Centauri & Alien Crossfire => Modding => Topic started by: Supernaut on September 04, 2023, 12:47:22 PM

Title: Removing units
Post by: Supernaut on September 04, 2023, 12:47:22 PM
Not sure if this is technically moding but hopefully you can help. Is there a way to permanently delete a unit from the game? Specifically I want to get rid of missiles, as I find the Ai only uses them to be annoying rather than effective.
Title: Re: Removing units
Post by: bvanevery on September 04, 2023, 02:54:37 PM
Yes, this is a kind of modding.  Yes, the stock binary's use of the missiles is highly annoying.  Yes, you can remove them and it's pretty trivial to do in alphax.txt.  Go to the #WEAPONS section and for the line that says Conventional Payload, set its required tech to Disable.  That oughtta do it.

But there is another way: increase their cost.  Then the AI won't use them as much, and they won't be nearly as annoying.  This is the approach I took in my modding.

I also modded the missile chassis itself, for all the different kinds of missiles.  I increased their range and made them so they'd stay aloft for 4 turns.  With such, they can hit anything on even (what I call) a Giant planet.  They are ICBMs.

If you want to see the changes I made, check out my SMACX AI Growth mod.  But for what you want to do, either Disable or increase the cost of the Conventional Payload.

Title: Re: Removing units
Post by: Supernaut on September 18, 2023, 11:39:20 AM
Great stuff - thanks. That's made things much better. And now I know about this file I will be exploring it further :)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 31 - 840KB. (show)
Queries used: 14.

[Show Queries]