I will ask you these questions three

Lady Wandbender

Chieftain
Joined
May 4, 2008
Messages
51
Location
atlanta ga
First; is there a way of marking something AI only vrs human player only. I am finding more and more that the game is either a winner or loser by turn 100, (starting position etc) and late game just sucks in tediousness (this is with civ4 in general, not inherent to Heaven) I know what I do when I'm in real trouble to buy time to get out of it, and I'm hoping to give the AI the same basic abilities in events when the score gets too lopsided

Next: Is there a way of setting up "land aircraft carriers", what I mean is more units need to return to "base"(the carrier) every X turns or persih? The Air system is in place so it can't be impossible. The basis for this is to create Supply wagons/stations from which an army has to operate from (non recon units), and then I suppose if this is possible can the same thing be set up using cultural borders? (meaning X squares away from it)

Final: (and shadup ya lawyers who noticed I already asked 3) how often do lairs/dens spawn thier little puppies? I haven't sat yet and just watched one so I didn't know..and if you set "workshops" to spawn something, (a workshop the player built) would it spawn the AI player unit, or as a barb unit, or can that be set up within python either way?

so now you have heard my questions ..erm, five, go and bring me a shrubbery.
 
I'm not quite sure I understand what you are asking.


I don't think that the normal air system would help much, but Grey Fox's Fuel ModComp probably could. It is also possible to give a unit a pyPerTurn function (actually, unless you make SDK changes you'll have to make this a function of a promotion instead of unit) which gives the unit a limited duration when out of your cultural borders, and removes this limit when you move back (well, a turn after you move back). Of course, I suspect this could really slow the game down.


I'm not sure how often lairs spawn. I think it is based on a random number generator, map size, # of barb units, etc. Lairs always spawn their units under barbarian control. They keep spawning more units unless the unit has a world (or maybe also national) unit limit.
 
First; is there a way of marking something AI only vrs human player only. I am finding more and more that the game is either a winner or loser by turn 100, (starting position etc) and late game just sucks in tediousness (this is with civ4 in general, not inherent to Heaven) I know what I do when I'm in real trouble to buy time to get out of it, and I'm hoping to give the AI the same basic abilities in events when the score gets too lopsided
Should be possible, similar to the 'Ambassador asks for leader switch' event but for AI only. I'm not much of a modder though so I don't know.

Next: Is there a way of setting up "land aircraft carriers", what I mean is more units need to return to "base"(the carrier) every X turns or persih? The Air system is in place so it can't be impossible. The basis for this is to create Supply wagons/stations from which an army has to operate from (non recon units), and then I suppose if this is possible can the same thing be set up using cultural borders? (meaning X squares away from it)
I think you could set something up similar to the way summons work, but with a function (python?) that checks for whether it's in the same space as a resupply unit, or in cultural borders, and sets it to some value if it is. Alternatively, you could have it handled via a promotion that's granted by the resupply unit, that wears off in X turns, and kills the unit when it does. Might be more realistic to have the unit take damage rather than immediately dying though.

Final: (and shadup ya lawyers who noticed I already asked 3) how often do lairs/dens spawn thier little puppies? I haven't sat yet and just watched one so I didn't know..and if you set "workshops" to spawn something, (a workshop the player built) would it spawn the AI player unit, or as a barb unit, or can that be set up within python either way?
I believe the owner of the spawned unit is specific to the improvement. I think it should be capable of being linked to the owner of the tile/cultural borders, but once again I'm not a modder. As for spawn rate... not entirely sure, but at one point I had a nice frozen wasteland on a peninsula with a pair of bear dens, and I was capturing one every 5-10 turns or so. Granted, some could have come from the fog-of-war spawn, but still, I had lots of dancing bears :D

so now you have heard my questions ..erm, five, go and bring me a shrubbery.
:xtree:
 
Chance of a lair to spawn a unit is based on the Handicap Settings of Lair Spawn chance & Speed Settings of Train Percent (Formula in Spoiler below), and only checked if the Barbarians are not at their limit for total units. And the Spawned unit will always belong to the Barbarians as it is written now. Changing it should be laughably simple, as long as you are already comfortable with compiling the SDK for yourself.

Spoiler :
Code:
                            int iChance = GC.getHandicapInfo(GC.getGameINLINE().getHandicapType()).getLairSpawnRate();
                            iChance *= 10000;
                            iChance /= GC.getGameSpeedInfo(GC.getGameINLINE().getGameSpeedType()).getTrainPercent();
                            if (GC.getGameINLINE().getSorenRandNum(10000, "Spawn Unit") < iChance)
 
1) Sorry, I don't know what you are asking.

2) Actually, IRL (although I know that this is a fantasy game), before the era of the gun, the concept of supply lines didn't really exist. Armies would just forage off enemy lands, so IMO, I think the system you are proposing is a bit unnecessary, and would make the game much more tedious.

3) Sorry, I don't know.
 
Next: Is there a way of setting up "land aircraft carriers", what I mean is more units need to return to "base"(the carrier) every X turns or persih? The Air system is in place so it can't be impossible. The basis for this is to create Supply wagons/stations from which an army has to operate from (non recon units), and then I suppose if this is possible can the same thing be set up using cultural borders? (meaning X squares away from it).
Have you looked at the mod files for the Charlemagne scenario that comes with BtS? They implemented the Supply Wagon, although it was the only way to heal your units in enemy territory and not the way you describe.

Warning about "land aircraft carriers"; the Civ AI cannot deal with them. In the Final Frontier mod, "space" is actually land, and so any units that carry missles or fighters are land aircraft carriers. The AI cannot use them properly and so they are easy prey. One would have to do some serious fine tuning to get the concept to work right.

so now you have heard my questions ..erm, five, go and bring me a shrubbery.
African or European? :mischief:
 
Has to be European. African swallows are not migratory, you know.
 
Back
Top Bottom