• We created a new subforum for the Civ7 reviews, please check them here!

INI files: "defend"

Takhisis

¡Patria y vida!
Joined
Jul 11, 2005
Messages
59,137
Location
exploring
What on earth does it do? Has anyone tested it in-game?
 
Just one of those things Firaxis didn't finish...or something to that effect.
 
The only entries that are actually used in game are:

DEFAULT
RUN
ATTACK1 through ATTACK3
DEATH
FORTIFY
FIDGET
VICTORY
BUILD
ROAD
MINE
IRRIGATE
FORTRESS
CAPTURE
JUNGLE
FOREST
PLANT

Most are pretty self-explanatory, however there are a few tricky ones.....

IRRIGATE is used by worker units when irrigating or cleaning up pollution

BUILD is used by settler units when founding cities OR air transports and/or paratrooper units to assign their paradrop animation

FORTRESS is used by WOrker units when building a fortress, colony radar tower, airfield, and outpost.

JUNGLE is used when clearing swamps or jungles

Hope that helps a bit.
 
And :

VICTORY is used for when unit gets promoted, enters in an undefended barbarian camp or when an air unit excecutes a bombing run (the dropping bombs are declared in the VICTORY animation slot).
 
Hmmm... that helps explain some things... Thanks folks!
 
[a shaking welp of a newbie steps up to the podium and quaveringly speaks into the microphone...]

BMP!!! tweeeeeeeeee!

*see my post below
Um, I've seen Defend in the ini file do something. Try it for yourself. I'm using different unit grafix for the defend slot and units use it once they've gotten down to 1 hit point. So I use it for a unit's "last stand" kind of animation.

Hence my search for a bayonet-using infantry. Found TCW's unit, it's the Chinese Infantry. :cool:
 
Plotinus said:
There are quite a lot of entries in the Ini file that aren't used.
There are also unused animations : I have found the Slave Worker has one for depollution, it is called "EnslavedWorker_ClearDamagePollution.flc". I don't know if there's a way to use it. Also it uses the "Build" anim for "Mine", and nothing for the "Build" action...
EDIT: build is for building a new city, ok me stoopid :hammer2:
 
Hmmm.... DEFEND is the "Last Stand" animation... Interesting.... I might have a use for that in the FF mod at the very least..... sort of as a "Limit Break" kind of thing... Probably will only use it for King units or those based on main charachters, but it still might be useful.
 
If it´s a phalanx, you could make them fight with spears, and then, if they´re about to die, they break ranks and use their heavy shortswords when it gets to hand-to-hand.
 
Thanks for that input FinnMcCool
 
:rolleyes:
:confused:

Well I did some testing. Turns out, I put "x_german Anti-tank attack_a.flc" in the defend slot, for the German Infantry, but this animation happens before it reaches 1 hit point. It doesn't happen in the first round, as far as I have tested it, so it isn't any kind of 0-range bombardment function.

It might be a subroutine in the combat round, where the ini refers to the animation used if it's lost at least once. If a unit has been hit down to 2 hps, maybe the AI uses defend then.

That's about as deep as I can understand this prog so far...

Carry on...:cool:
 
Enslaved Work has 2 more "Bonus Animations", an attack, where he hits with his shovel, and a plant; I suppose and alternate irrigation?

BTW: the worker has the "Plant" function too.
 
I may have to look into this. If I can get my Poser to work, then I think I'm going to have some fun with a couple of units at this point! (It IS pretty much an extra "attack" animation, yes?)
 
Top Bottom