Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization III > Civ3-General > Working method to give AI free armies while giving the player none, on random map
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: 7 NEW FILES
15.Sep: TRIAL + NO SLEEP = ONE GAME
13.Sep: PATCH THE PREVIOUSLY UNPATCHABLE

bottom of page
   - CIV3 CONQUESTS $29.99 - CIV3 from $9.99
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 13:32
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Here are the biqs.
1st for first save and 2nd for second save.

Attachment: biqs.zip
This has been downloaded 1 time(s).

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 17-07-2004 13:37
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Increase the size of your Attachments

Interesting analsys, oh I still do not know how to extract the rules set just yet, unless I import it into blank and zip it?

Anyway, now that you bring up unit movement, I realize that my modded units that the AI's use to fill up their armies often have movement of 3 or 4, or all-terrain 1, however sometimes 1 movement gladiators are loaded up.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 17-07-2004 13:39
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Get a bigger avatar today!

Ya, we have and Leaders are worthless so far concerns having the AI make armies.

Well, I do not believe the leader science 'feature' is functional.

Last edited by Antrine on 17-07-2004 at 14:00

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 13:59
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton buy from Amazon

Maybe it depends which unit was loaded first.

If fist loaded unit had movment of 1, all other units with have movement of 2 I guess.
So you can get army with 1warrior and 2 Horsemen.

But, as showed in other zip, if fist loaded unit already has movment of 2, AI will wait for units with movement of 3 to load in same army. That why there are no armies in second save.


P.S.
How to send the rules?
Zip them, and then send them as attachment (like I did in my last attachment). I think that rar would work too.

Last edited by player1 on 17-07-2004 at 14:07

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 14:04
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Enter the AD-FREE zone

This could also explain why in one my old debug game, Incas, the most advanced civ, had no active armies.
It always added one Modern Armor into the armies, and since army gets movment of 4, it waits indefinelty for nonexistant unit with movment of 4.


I guess this buggy things is some legacy code from original/PtW coding of armies.
Probably Soren (Firaxis AI guy) intented that AI doesn't load
slow moving units in army with mobile force.

I guess that code line goes like this:
Don't load a unit with lower movement then army into the army.

Last edited by player1 on 17-07-2004 at 14:09

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 14:06
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Tired of ads?

Which worked OK in PtW, since when you load unit with movment of 1 or 2, you aslo get army with movment of 1 or 2, not 2 or 3.


[wishful thinking]
Now, if only I could get to sorce-code to fix this...
[/wishful thinking]

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 17-07-2004 14:11
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Get a bigger avatar today!

Player1

I see the Leader stats with a movement of 3, but the Army has a movement of 1, (I presume that is it's movement when empty). Once units get placed in the Army doesn't it take on the speed of the slowest unit?

All Military academy does is increase the Army capacity to 4 and allow you to build them without Leaders, if I'm not mistaken.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 17-07-2004 14:14
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton buy from Amazon

Well, if you are right player 1 and I see no reason why you are not, then my particular modding of new units simply made me 'lucky' for I like long-range units on larger maps. So I have from the get-go many such units about.

http://apolyton.net/upload/view.php...Build_FORTY.rar

OH, here it is in all it's glory! Let me know what you think, since it represents some eight months of work!

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 14:16
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

When first unit is loaded into the army it takes movment of slowerst unit in army +1.

So army loaded with warrior gets movment of 2.

Since "legacy" code doesn't allow adding another unit into the army (since army has movement of 2, wityh warrior 1), it won't add another unit into the army unitl Horsmen.

After adding Horsemen, it could still load more horsemen, since army will still have movment of 2 (due to warrior in army), so at at the end you get army with 1 warrior and 2 Horsemen.

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 17-07-2004 14:17
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Ahh...

Army movement is another of those cases where the editor is not the only governing rule(s). Some built in inaccessible hardcoding is also being applied.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 14:20
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by Antrine
Well, if you are right player 1 and I see no reason why you are not, then my particular modding of new units simply made me 'lucky' for I like long-range units on larger maps. So I have from the get-go many such units about.


Well personnaly, I hope I'm wrong, since my interpretation of the rules makes armies with single Cavarly or Modern Armour non-loadable.

But I have not made too many testes, so if anybody finds some deviation from my hypothesis, feel free to post.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 17-07-2004 14:24
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Well, I have 'saved games' that sport dozens of loaded AI armies, and now that you mention all this, there is this particular odity that now strikes me as significate. Namely this, that all these armies are of 'mixed' units. I swear, I thought it was odd, but not figuring why the AI's never seemed to load the same two or three units in the same army!!

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 17-07-2004 14:29
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Support Apolyton buy from Amazon

Well thanks for the evening guys!! It is very late in Washington State, so I will sign off for now. Nice job player 1!

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 17-07-2004 14:38
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Support Apolyton buy from Amazon

I'm wondering if there is maybe some way to fool the AI concerning Armies by defining several different Armies in the editor, distinguished by Movement allowance.

For example,
Let's say the first empty army created is your standard vanilla empty army with a movement allowance of 1

Now, let's say we define Army2, Army3, and Army4, distinguished only by the movement allowance. Now the AI comes along and loads a unit into the vanilla army, making it, say an Army2.

Now, this army has a movement factor of 2 of course, but since we know it took a 1 movement factor unit, to create it, we set up a free upgrade path for it to switch back to an Army1, which we defined as having a movement allowance of 1.

I'm not sure if this wouldn't chain react, but it might be worth a shot.

Edit:

The downside is that an Army4 (movement of 4) would never exist, but that's a small price to pay to get the AI to load and use Armies.

Last edited by Gray_Lensman on 17-07-2004 at 14:53

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 15:02
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Antrine
Well, I have 'saved games' that sport dozens of loaded AI armies, and now that you mention all this, there is this particular odity that now strikes me as significate. Namely this, that all these armies are of 'mixed' units. I swear, I thought it was odd, but not figuring why the AI's never seemed to load the same two or three units in the same army!!


Exactly.
In fact you'll never find an army which has movement of 4, because there will never be an army filled with only units with movment of 3.

Theseus is offline Theseus

Emperor
The warmonger formerly known as rpodos. Gathering Storm! Apolyton Spirit!!
Apr 2002
time: 00:36
  Old Post 17-07-2004 21:44
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Hmmm... I could swear I faced a 3x or 4xMA Army in AU 503... as I continue to finish my DARs, I'll try to find such.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 21:55
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Inflate your Upload Space

Maybe it was 1Tank/3MA army?
If started with Tank, it could be filled with MA.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 17-07-2004 22:11
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Support Apolyton buy from Amazon

Or 1Inanftry/4MA army.
At first look, since best unit in army is MA, it could look as 4MA.


P.S.
I tried making 4MA armies manualy in debugger, but it's impossibile. 1MA army will never get filled up.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 18-07-2004 01:26
Edit/Delete Message Reply w/Quote
#49 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

So far, I cannot find a single instance where ANY two units are loaded into the same AI army! Additionally of those loaded, they always, have a different 'movement' factor.

So more adjustments. Spearman are now with movement of two, this to hamper the AI even thinking about loading them first. Second, got to bring all the swordsman to table much earlier. And third, in the pre-start, I am stacking an all-terrain movement 1 offensive unit, so they get first billing as candidate for loading into the AI armies. Most the horse units are already at movement 3, and I have one offensive 4 movement unit (a spider). Probably will look into adding another mid-game.

This sucks! But I am too far into this Mod now, so it does not matter for me and game play is just terrific. However, if you are anywhere near vanilla, it is a long convoluted journey to army land !

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 18-07-2004 09:28
Edit/Delete Message Reply w/Quote
#50 Report this post to a moderator
Tired of ads?

Antrine,

Since you are trying this Army mod thing, do or die, HeHe, did you see my comment above? I've been brainstorming it all day, even at work, and I'm thinking it just might work, but I'm not that tight with the editor just yet.

I'm just thinking if somehow the upgrade rules could be used to force the movement allowance down 1, then it would load the same movement allowance unit(s) into the Army as the first unit that was loaded in.

We seem to have ascertained that the AI does not want to load a slower unit than the existing Army's movement allowance. This behavior suggest that if a 1 MA unit, is first loaded in, the Army then has 2 MA, which it then waits for a 2 MA unit, and once it has a 2 MA unit in it, the Army then has 3 MA, which it then waits for a 3 MA unit, and so on. This is in fact what it seems you are observing, which at least makes understandable sense with the current AI actions.

This behavior leads me to believe that the first unit of course will be the determining MA unit of the Army, and if we can somehow force it back 1 MA, it will continue to fill with that particular MA.

The question is how to go about using the upgrade rules to effect this. If it doesn't want to upgrade, the question becomes why. Would it upgrade if the upgrade was slightly more expensive, even though the MA was reduced? These are questions that somebody with more experience with the editor might be able to answer.

Anyhow, these are, hopefully, some possible, work around ideas, that I think might help.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 18-07-2004 10:20
Edit/Delete Message Reply w/Quote
#51 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Hey, great ideas. My general feeling is any action we take that then in turn requires something of the AI such as; 'utilizing an upgrade option' is difficult at best. I have noted this all along the way, for so far 'we' (because several of here have worked at this, swapping ideas as we here now) have over came several hurdles to have the game 'working' as well as it does.

Additionally the armies are funny creatures, having unique characterics, once created, they cannot be 'altered', just disbanded or pushed to death so far as I know. Have you tried upgrading one? I see the option, however have not tried it, or heard of anyone else mention it. That of course is not conclusive.

Now keeping to our purpose, namely AI armies quickly filled and ready for use or war (that's the trigger) would maybe not be something upgrade would help. For it is another action with requirement, though that could be streamlined as you say by making cheap and easy.

Cheap and easy is the issue, perhaps 'upgrade' could clean up the stragglers deeper in the game? (depending how it works, if at all).

Now thinking about it, how about a zero movement offensive unit? Made special to fill armies only at point of origin via a common improvement such as the granary or a cloned improvement that is near free and buildable at the capitol. This puppy could spit them every turn, and maybe fill every army the palace produces.

What do you think?

Well one minor detail, if miscalculated the capitol would be most hard to take.

A zero movement offensive unit would back down the 1, 2, 3, 4 one to 0, 1, 2, and 3 when they expand.

Last edited by Antrine on 18-07-2004 at 10:27

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 18-07-2004 10:30
Edit/Delete Message Reply w/Quote
#52 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

I see the same problem with a 0 MA unit. Let's say you do create a 0 MA offensive unit. The AI might not load it into a vanilla Army with a MA of 1, however if you had some Armies with MA of 0 to start with, the AI may load a 0 MA offensive unit into it, but then the army becomes a 1 MA Army, and probably will not accept another 0 MA unit. That's why I am trying to think of a way to force the Army MA back down as a solution, if at all possible.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 18-07-2004 10:47
Edit/Delete Message Reply w/Quote
#53 Report this post to a moderator
Support Apolyton, buy Civilization 2

Yes, but in what length of turn sequence? If all the units are there straight away with the armies, then the whole thing occurs in one turn. Such as what I do now. At start-up I give each AI over 60 units maybe now as many as 70. All are present at turn one to build 5 or more armies. If not turn one certainly by turn 10 to 15. And since the trigger for use is war, then I know my neighbors are loaded and dangerous and I treat them careful respect straight away. For if I attack then I will see these 5 to 8 armies coming my way. This works now.

I have tweaked things a little since last night will test again soon. Will you test the army upgrade? I will for I have five different types of armies and setting up a upgrade path is a natural thing to do. I hope it works!!

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 18-07-2004 10:57
Edit/Delete Message Reply w/Quote
#54 Report this post to a moderator
Support Apolyton

Hmmm. Doing it the way you are doing it, have you at any point seen the AI with an Army of more than one unit that contains the same MA?

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 18-07-2004 11:11
Edit/Delete Message Reply w/Quote
#55 Report this post to a moderator
Support Apolyton or Terrorists Win

No, and all the armies are filled now every time by all AI's. However, so far I never have seen any two units of any kind loaded therein.

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 18-07-2004 11:20
Edit/Delete Message Reply w/Quote
#56 Report this post to a moderator
Inflate your Upload Space

So it definitely points to us somehow getting the Army's MA reduced by 1 after whatever unit is loaded, and hopefully the Army MA is adjusted just at that point so that if we actually do contrive to (upgrade) it back 1 movement point, it won't immediately try to push it up 1 movement point again.

Right now, I am trying my Hidden Nationality subs abilities, but waiting for the AI to do something in the debug mode is frustrating. Otherwise, I would attempt this upgrade suggestion myself.

Antrine is offline Antrine
Prince

May 2003
time: 05:36
  Old Post 18-07-2004 12:08
Edit/Delete Message Reply w/Quote
#57 Report this post to a moderator
Get a bigger avatar today!

Well_Lensman, since I reporting so soon, quess what? There is no way to set a 0 movement unit!?! Next, there is immobile, however this is an override and 1 movement at least is still there. Also, I already had on army set to upgrade, however had not play-tested it yet. So I set another, early on.

Gray_Lensman is offline Gray_Lensman
Chieftain

Jul 2004
time: 05:36
  Old Post 18-07-2004 12:19
Edit/Delete Message Reply w/Quote
#58 Report this post to a moderator
Browse Apolyton AD-FREE

Well, let's hope the upgrade idea pays off. Although it won't surprise me if there is some sort of similar code roadblock.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 18-07-2004 12:51
Edit/Delete Message Reply w/Quote
#59 Report this post to a moderator
Tired of ads?

quote:
Originally posted by Gray_Lensman
We seem to have ascertained that the AI does not want to load a slower unit than the existing Army's movement allowance. This behavior suggest that if a 1 MA unit, is first loaded in, the Army then has 2 MA, which it then waits for a 2 MA unit, and once it has a 2 MA unit in it, the Army then has 3 MA, which it then waits for a 3 MA unit, and so on. This is in fact what it seems you are observing, which at least makes understandable sense with the current AI actions.


Actually after it loads 1MA unit is can load as many as possibile 2MA units, since because of 1MA unit army will still have 2MA regardless of faster 2MA units in it.
(the slowest unit in amy +1 is the army MA)

So you can have 1archer (1MA), 2 Horsemen (2MA) army.
Since such army still has MA of 2 (slowest movment +1).

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:36
  Old Post 18-07-2004 12:55
Edit/Delete Message Reply w/Quote
#60 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

The best way for scanario purpose (not pure mod), it to generate some slow offense unit (1MA) in same turn as army.
That way you'll guarantee (maybe not 100%) that army gets filled with such unit and becomes 2MA army.
After that it can happily load 2MA and 3MA units into it, since it will foreven stay as 2MA army.

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0579 seconds (91.33% PHP - 8.67% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net