Alpha Centauri 2

Sid Meier's Alpha Centauri & Alien Crossfire => Modding => Topic started by: TrailblazingScot on June 30, 2013, 11:25:17 PM

Title: Preventing new bases stealing land from bases
Post by: TrailblazingScot on June 30, 2013, 11:25:17 PM
Hi there,

One of the things I hate most is when the AI plonks down a new base and it steals tiles that are currently being used by one of my bases. It makes no sense whatsoever that a this can happen - in my opinion.

Is there anything that can be done?
Title: Re: Preventing new bases stealing land from bases
Post by: Buster's Uncle on June 30, 2013, 11:52:24 PM
I imagine it might be possible with .exe coding - but would be a massive change to gameplay even if there was room to insert a check into the code, which I doubt.  Yitzi will be along with an expert opinion soon enough.

Welcome to AC2, BTW.
Title: Re: Preventing new bases stealing land from bases
Post by: Yitzi on July 01, 2013, 12:07:18 AM
Anything that can be done can, in theory, be done with .exe coding, but it'd be a hassle.

However, I am fairly certain that you can't use land in someone else's territory, so whose territory is the stolen square in after they build their base?  It's probably that the base causes a territory shift (which can happen), so you can't work it anyway, so then they grab it.
Title: Re: Preventing new bases stealing land from bases
Post by: TrailblazingScot on July 01, 2013, 01:00:04 AM
That's the issue. A new base has been constructed by the AI so close to one of my bases that the border results in my base tiles being taken. I have no issues with new bases moving the border, except when it results in the tiles immediately around a base (the ones that can be worked) being taken.



Title: Re: Preventing new bases stealing land from bases
Post by: Petek on July 01, 2013, 01:30:25 AM
You might try modifying the following line in Alpha(x).txt:

8,       ; Territory: max distance from base

Change the "8" to a higher value. That will extend your bases' borders and might prevent the AI from settling so close to you. I haven't actually tried this, however.
Title: Re: Preventing new bases stealing land from bases
Post by: Yitzi on July 01, 2013, 03:01:45 AM
The AI will still be able to gradually creep toward his bases; as long as a square is closer to their bases than his, it's their territory, so they can build bases there and work it and he can't.  If they're getting overlapping radii with his bases, chances are they're already doing that.  Increasing the territory distance will slow it down, but the only way to stop it is to take over the offending bases.
Title: Re: Preventing new bases stealing land from bases
Post by: Kilkakon on July 03, 2013, 02:46:39 PM
Or use a nuclear missile!
Title: Re: Preventing new bases stealing land from bases
Post by: Kirov on July 03, 2013, 08:59:16 PM
Or use a nuclear missile!

 ;lol ;b; Settling border frictions via planet busting warheads - now that's a sound strategy if I ever saw one. That'll teach them! ;)
Title: Re: Preventing new bases stealing land from bases
Post by: Nexii on July 07, 2013, 05:27:52 PM
Wouldn't there already be a check for minimum base distance?  You can't put a base right next to another base for example.  The current minimum distance is 2.  To prevent land stealing through base construction, the minimum base distance would have to be 4.  But I suppose that depends how it's coded, and it could get complex if the rule for own bases was different from enemy factions.
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_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: 31 - 840KB. (show)
Queries used: 14.

[Show Queries]