Author Topic: Removing units  (Read 181 times)

0 Members and 1 Guest are viewing this topic.

Offline Supernaut

Removing units
« 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.

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: Removing units
« Reply #1 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.


Offline Supernaut

Re: Removing units
« Reply #2 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 :)

 

* 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

Until now the battle had been proceeding smoothly. The enemy was outflanked and had been driven from the reactor housing, but against the reactor itself the matter canons were strangely ineffective. Rounds simply-stopped-in mid air.
~Col. Corazon Santiago 'A Tactical History of Sparta'

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