Hai,
Quote (JM)
attmask - what does this mean? seems to be connected to cankill for grenadiers
Code
ATTMASK // E.G. ATTMASK 2 2 BUILDING WOOD // [MATHERIALTYPE] that can be attacked.
It does not relate to CANKILL, but it relates to the MATHERIAL, just like CANKILL relates to the MATHERIAL.
What makes ATTMASK different is that it sets the ATTACKMASK to WEAPONINDEX number 2, which without looking is very likely set to the grenadiers GRENADE ( IADROMOR?)
So the example would mean that with weapon 2 this unit can attack 2 matherialtypes: buildings and anything that has wood defined as matherial type.
Quote (JM)
cankill = this is obvious, but what does "stena" signify? (e.g. Turkish officer can kill body = obviously soldiers, but also "stena")
You will find quite a few Russian/Ukrainian names in the MD files off which I dont not always know the english translation, but one thing is for sure, any unit that has CANKILL 1 STENA , can kill any unit/building that has MATHERIAL 1 STENA defined.
Quote (JM)
zpoints x y the two numbers are the same. What does it signify?
The source tells me it refers to SourceHeight and Destination Height ( Z refers to height)
Quote (JM)
force x what does the number mean?
As I understand in Cossacks I, FORCE int is used for AI purposes to determine/evaluate the unit- enemy strenght ( priority to attack - retreat,...)
Quote (JM)
Buildstages x is this the build time, or does it mean something else?
Yes, this is the build time in Game Ticks/frames . For buildings how long peasants will work on it, for units how long the production stages will take.
Quote (JM)
det_radius - what is the significance? Is this the distance it can see? And how does this differ from VISION and SEARCH_ENEMY_RADIUS ?
Code
DET_RADIUS int int int // E.G. DET_RADIUS 1 0 7000 // weapon index ; min radius ; max radius // Cooperates with [ATTACK_RADIUS]
// Minimum radius at which the unit will go into "melee"
As often in the MD files, you will see unnecessary lines. Eg DET RADIUS on a unit that only has a rifle, while it real intention would be for a grenadier for example who actually can go into melee after firing when the unit comes close.
VISION would be how far the unit clears fog of war on a map.
SEARCH ENEMY RADIUS is the radius at which point a unit becomes aware off the enemy and would pursue the unit if set in attack mode.
Quote (JM)
add_attack_radius - what does this mean, and why does the value seem to be 32 for everything?
I'm not sure about this one. All i know its usually used on archers, cannons and ships. The 32 could be a constant, or not. Hard to tell without proper testing.
Quote (JM)
Is there a guide somewhere?
No, there are some strings explained on the main page, but thats like 2 years old. Though i have most MD strings explained on my computer I havent put them online yet. I can be really lazy...
Just ask if you are unsure about certain strings.