if (Rand(10000) <= 1)
Bombard();
lol
Such sophistication...
if (unit.type = UNIT_ARMY)
{
unit.load("spearman");
unit.load("rifleman");
unit.load("tank");
}
if (Rand(10000) <= 1)
Bombard();
Steph said:if (Rand(10000) <= 1)
Bombard();
lol
Such sophistication...
if (unit.type = UNIT_ARMY)
{
unit.load("spearman");
unit.load("rifleman");
unit.load("tank");
}
Instead, they decided on this for the Conquests Expansion:
if (unit.type.speed = UNIT_ARMY.speed)
{
Load_unit_into_army = NO;
}
else
Load_unit_into_army = YES;
Tom
So the AI NEVER actually uses artillery units to bombard except for in defensive bombardment right?
Made a mod once to test out different ways to get the AI to use artillery and what I ended up with was giving the arty's a range of 4. With a range of 4 the AI will use them properly to a certain extent, though not as well as we would.Some would think that is way overpowered, but I myself was not using them. I just let the AI use them.
Can you discribe how often (estimated) tha AI is using them !?!
Please enlighten us!![]()
A pitty it doesn't motivate them to take them out of the cities.
I was messing around with it a little further and made the settler and worker to be auto-produced, and with that the AI will take artys out of their cities.
It will be just little mini stacks of 2 to 4 artys(sometimes up to 6) with each arty having 1 defender. I did not test this very long, but did notice it after the settler/workers were changed.
I know this was mentioned a while ago, but...You could also have certain cities be able to build a building which auto-produces immobile sea units (which can be done in any city, coastal or non-coastal) and give them bombard. They will bombard the crud out of anything that comes within range (give them whatever graphic you wish). These can act as many things, castle archer towers, dug in artillery, etc... since the unit is a sea unit, land units won't need to fight each one, they can't be captured, but are simply destroyed when the city is taken (same as a ship)... so it may not make it overly powerful, but keep your bombard going in a city that is being besieged. And the AI always makes 100% use out of bombard capabilities of ships, whereas land artillery may/or may not bombard units within range.
Tom