Author Topic: Preventing new bases stealing land from bases  (Read 2342 times)

0 Members and 1 Guest are viewing this topic.

Preventing new bases stealing land from bases
« 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?
« Last Edit: July 05, 2013, 06:34:56 PM by sisko »

Online Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49266
  • €412
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Preventing new bases stealing land from bases
« Reply #1 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.

Offline Yitzi

Re: Preventing new bases stealing land from bases
« Reply #2 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.

Re: Preventing new bases stealing land from bases
« Reply #3 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.




Offline Petek

Re: Preventing new bases stealing land from bases
« Reply #4 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.

Offline Yitzi

Re: Preventing new bases stealing land from bases
« Reply #5 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.

Offline Kilkakon

  • Likes cute things but is
  • Mostly Harmless
  • *
  • Posts: 1155
  • €695
  • View Inventory
  • Send /Gift
  • It does something (It's free and yet priceless)  
  • Creator of Lost Eden and C&C: Dawn of Tomorrow
  • Scenario Creator Custom Faction Modder AC2 Hall Of Fame AC2 Wiki contributor Downloads Contributor Author of at least one AAR Planet tales writer author of the Lost Eden mod for Alien Crossfire
    • View Profile
    • My website!
    • Awards
Re: Preventing new bases stealing land from bases
« Reply #6 on: July 03, 2013, 02:46:39 PM »
Or use a nuclear missile!

Offline Kirov

Re: Preventing new bases stealing land from bases
« Reply #7 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! ;)

Offline Nexii

Re: Preventing new bases stealing land from bases
« Reply #8 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.

 

* 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 don't know but I've been told
(I don't know but I been told)
Deirdre's got a Network Node
(Deirdre's got a Network Node)
Likes to press the on-off switch
(Likes to press the on-off switch)
Dig that crazy Gaian witch!
(Dig that crazy Gaian witch!)
~Spartan! Barracks! March! (Yes sir!)

* Select your theme

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

[Show Queries]