Unit Speed and Terrain...
Here the code:
switch (etatM.objt)
{
case LEMARAIS: modul= 0.5f; break;
case LESARBRES: modul= 0.9f; break;
case TOURNESOL: modul= 0.6f; break;
case LESPLANTS: if (P_SAISON < 0x20) modul= 0.8f;
else modul= 1.0f; break; //Printemps | été
default: modul= 1.0f;
}
In Natural language: Nominal speed= V
Marsh : V * 0.5
Forest: V * 0.9
Vineyard: V*0.6
Plant: V*0.8 (only spring-summer)
Speed is modified by the meteorology...
For rain and snow, the speed varies with the number of accesses of each zone (100 * 100 meters)
Formation of infantry unit and cavalry type are also used for calculation.. and fatigue...
That said, sometimes during the attack of units (ie Cav vs Cav), these factors aren't used...
Do you get this problem with the 03x ?
If yes, I am very interested by the file .sav about these battles.
Please, could you send me to
technique@histwargames.comI am working on the final release of 03x... and I would like to furnish a fine version.
After that, I am going to work on the version 04... to have a fine behaviour for all scales (1/1, 1/2, 1/6)
For that, I have to rewrite a big part of engine managing the 3D models...
The new procedures will be very different and I think several problems of bad displays will be fixed...
That said, all calculation in the internal engine seem right... but 3D must be very fine also...
JMM