[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Daddio, EbelAngel  
Problem changing cavalry formation size
aiidiiDate: Thursday, 04/January/2018, 4:41 PM | Message # 1
Count
Group: Checked
Messages: 133
Awards: 3
Reputation: 0
Status: Offline
Hello all

I'm having a problem increasing cavalry formation size from vanilla 45 to modded 54 cavalrymen.

1. Here is my modded NRES.dat file - section [ORDERICONS]:

LINE    9 0 3 Assume_Rank_Formation
SQUARE  9 1 4 Assume_Column_Formation
KARE    9 2 23 Assume_Square_Formation
LINIJA  9 0 3 Assume_Rank_Formation
KOLONA  9 1 4 Assume_Column_Formation
KVADRAT 9 2 23 Assume_Square_Formation
MOVE    9 3 0 Assume_Square_Formation
SHER    9 0 0 FORM_HORCE_SQUARE
TRI     9 1 0 FORM_HORCE_LINE
PRUS    9 2 0 FORM_HORCE_KARE
SHER2   9 0 21 FORM_HORCE_SQUARE
TRI2    9 1 22 FORM_HORCE_LINE
PRUS2   9 2 20 FORM_HORCE_KARE
CANNON  9 0 0 FORM_CANNON

2. Here is my modded HintsCos2 file (cavalry formation hints in modded order):

FORM_HORCE_SQUARE {FS}{C FF502515}Put Formation in {C FF60A05A}Column{FT}{C FF502515} -
tight formation for movement of forces over great distances. If you send
troops great distances, they will move to the road and re-form to
march. Troops on the march do not experience {C FF60A05A}fatigue{C
FF502515}.
FORM_HORCE_LINE {FS}{C FF502515}Put Formation in {C FF60A05A}Line{FT}{C FF502515} - formation, that provides additional {C
FF60A05A}defense{C FF502515}, very useful for frontal attack.
FORM_HORCE_KARE {FS}{C FF502515}Put Formation in {C FF60A05A}Wedge{FT}{C FF502515} -
formation, that provides additional {C FF60A05A}attack{C FF502515}, very
useful for surprise attacks.

3. Here is my modded ord_groups.lst file:

13
LINE    4  0 1 2 3 1 #LINE120COS
SQUARE  4  0 1 2 3 1 #SQUARE120
KARE    4  0 1 2 3 1 #KARE120COS
LINIJA  4  0 1 2 3 1 #LINE160COS
KOLONA  4  0 1 2 3 1 #SQUARE160
KVADRAT 4  0 1 2 3 1 #KARE160COS
MOVE    4  0 1 2 3 1 #MOV120 #MOV120
SHER    3  4 5 6  1 #MOVR2COS54
TRI     3  4 5 6  1 #TRI1COS54
PRUS    3  4 5 6  1 #PRUS54COS
PRUS2   3  7 8 9  1 #PRUS45COS
SHER2   3  7 8 9  1 #MOVR2COS45
TRI2    3  7 8 9  1 #TRI1COS45
/LINEEGP   4  10 11 12 13 3 #LINE120COS #LINE120COSLUC #LINE30COSEGR
/SQUAREEGP 4  10 11 12 13 3 #SQUARE120 #SQUARE120 #LINE30COSEGR
/KAREEGP   4  10 11 12 13 3 #KARE120COS #LINE120COSLUC2 #LINE30COSEGR
/MOVEEGP   4  10 11 12 13 3 #MOV120 #MOV120 #MOV120
/LINE2   1  9      3 #LINE15COSEGR #LINE36COSEGR #LINE120COSEGR
/TRI    3  3 4 5  3 #TRI3 #TRI2 #TRI               
/TRI2   3  6 7 8  3 #TRI03 #TRI02 #TRI0       

4. Here are my modded 54 men cavalry formations from the orders.lst file:

#PRUS54COS SYM2 5 5 0 0 0 0 100
* * * * * * * *                             * * * * * * * *
                                                          
                                                          
                                                          
      * * * * * * *         C C         * * * * * * *
                                                          
                                                          
                                                                                      
              * * * * * * * * * * * * * * * *           
                                                           
                                                           
                                                          
                          * * * * * * * *                   
#END

#TRI1COS54 SYM2 0 0 5 5 0 0 100
                        C C

* * * * * * * * * * * * * * * * * *

* * * * * * * * * * * * * * * * * *

* * * * * * * * * * * * * * * * * *
#END

#MOVR2COS54 SYM2 2 2 2 2 0 0 100
          C C
          
          
          
* * * * * * * * *

* * * * * * * * *

* * * * * * * * *

* * * * * * * * *

* * * * * * * * *

* * * * * * * * *
#END

5. Here is an example [OFFICERS]section from modded Russia.nds file:

[OFFICERS]UnitOf(RU) UnitBar(RU) UnitFlg(RU)   3
SQUARE 1 #SQUARE120   2 UnitFuz(RU) UnitGre(RU)
LINE   1 #LINE120COS  2 UnitFuz(RU) UnitGre(RU)
KARE   1 #KARE120COS  2 UnitFuz(RU) UnitGre(RU)
UnitPop(RU) UnitOf(RU) UnitFlg(RU)   3
KOLONA   1 #SQUARE160  1 UnitPar(RU)
LINIJA   1 #LINE160COS 1 UnitPar(RU)
KVADRAT  1 #KARE160COS 1 UnitPar(RU)
UnitKFlg(RU) NONE   3
SHER   1 #MOVR2COS54  7 UnitKDrg(RU) UnitKKir(RU) UnitKEgr(RU) UnitKGus(RU) UnitKUln(RU) UnitKMam(RU) UnitKDKoz(RU)
TRI    1 #TRI1COS54   7 UnitKDrg(RU) UnitKKir(RU) UnitKEgr(RU) UnitKGus(RU) UnitKUln(RU) UnitKMam(RU) UnitKDKoz(RU)
PRUS   1 #PRUS54COS   7 UnitKDrg(RU) UnitKKir(RU) UnitKEgr(RU) UnitKGus(RU) UnitKUln(RU) UnitKMam(RU) UnitKDKoz(RU)
UnitEgr(RU) NONE UnitOf(RU) 1
LINE   1 #LINE30COSEGR 1 UnitEgr(RU)
UnitSap(RU) NONE 1
LINE   1 #LINE15COSEGR 1 UnitSap(RU)
TempMent(RU) NONE 1
LINE   1 #LINE30MENTCOS 1 TempMent(RU)

Problem: With this setup I can place a formation down in the editor in proper 54
men column formation. But when changing formation to either line or
wedge the cavalry formation starts using infantry formations. For
example: If I click to form line formation it expands the cavalry to 40
man first line and 20 men second line and the info on strenght in the
formation window says 60/120. Also the empty spaces between individual
horsemen also revert to those of the infantry.

What am I doing wrong here???


I drink, therefore I am.
 
michaelcolumbiDate: Friday, 26/January/2018, 1:03 AM | Message # 2
Knight
Group: Checked
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
You are doing nothing wrong, I guess.

The game is buggy concerning formations.

For example:
1. i tried to make formations with 144 or 168 french guard grenadeers. Result: Soldiers are not facing in all 4 directions if in karee. Just doesn't work correctly.
2. I tried to bring the black sea cossacks with 100 units into the formation for moving onto roads. Result: No chance! Thus, I changed the 100 black sea cossacks to have 45 soldiers now as all other cavallery units. This works at least.

And, forget about lines starting with a "/". With this at the beginning of the line they are only comments.

And, are you really sure that you want to use popes instead of drummers with unitpar? This has the disadvantage that you weaken the moral of the troops.

Cu,

cooltea.
 
aiidiiDate: Friday, 26/January/2018, 9:51 AM | Message # 3
Count
Group: Checked
Messages: 133
Awards: 3
Reputation: 0
Status: Offline
Quote michaelcolumbi ()
And, are you really sure that you want to use popes instead of drummers with unitpar? This has the disadvantage that you weaken the moral of the troops.

Because they replace the drummers in the OFFICERS section they also take their "job" of giving morale to the troops. I've tested it ingame and they do boost it.

But they don't attach the moment you create formation even if they are right next to the barracks. You have to press reinforce formation for them to attach properly.

The reason I replaced drummers with Pop is because these are Russian Home Guards. They were peasants not professional soldiers and to me at least it seems more logical. And I also increased their formation size to 160 men.


I drink, therefore I am.

Message edited by aiidii - Friday, 26/January/2018, 9:52 AM
 
michaelcolumbiDate: Sunday, 28/January/2018, 0:36 AM | Message # 4
Knight
Group: Checked
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
Ok, I did not know that popes boost moral. Nice to know.

Yeah, I have seen that ruspar now has 160 men.
Do they behave right if in karee? In other words: Do they face in each of the four different directions?
Because, as I wrote, my french guard grenadeers were not able to do this with 168 men.

Here is a part of my orders.lst (added some spaces in the middle to make it look right):

#KARE168COS SYM4 5 0 20 0 0 0 100
@@@@@@@@@@@@@@
@************@
@************@
@************@
@****        ****@
@***  *    *  ***@
@***    CC    ***@
@***    CC    ***@
@***  *    *  ***@
@****        ****@
@************@
@************@
@************@
@@@@@@@@@@@@@@
#END

Here is the original without spaces:

#KARE168COS SYM4 5 0 20 0 0 0 100
@@@@@@@@@@@@@@
@************@
@************@
@************@
@****    ****@
@*** *  * ***@
@***  CC  ***@
@***  CC  ***@
@*** *  * ***@
@****    ****@
@************@
@************@
@************@
@@@@@@@@@@@@@@
#END

cu,

ct.
 
aiidiiDate: Sunday, 28/January/2018, 12:24 PM | Message # 5
Count
Group: Checked
Messages: 133
Awards: 3
Reputation: 0
Status: Offline
These are my Russian home Guard formations from the orders.lst file:

#LINE160COS SYM2 9 2 40 3 1 2 3200
                     C             C             C

****************************************

****************************************

****************************************

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

----------------------------------------------------------------------------------------

#SQUARE160 SYM2  4 2 6 3 1 2 1600
           C   C   C

          *******
*****************
*****************
*****************
*****************
*****************
*****************
*****************
*****************
*****************

-----------------------------------------------------------------------------------------

#KARE160COS SYM4 5 0 20 0 0 0 100
@@@@@@@@@@@@@@@@
@**************@
@**************@
@***                ***@
@**                    **@
@**                    **@
@**        C  C      **@
@**                    **@
@**                    **@
@**        C  C      **@
@**                    **@
@**                    **@
@***                ***@
@**************@
@**************@
@@@@@@@@@@@@@@@@

They face all four directions properly though sometimes the third line does not point the spears outward instead they have it resting on their shoulders. But they do use them if the first two lines are killed.


I drink, therefore I am.

Message edited by aiidii - Sunday, 28/January/2018, 12:25 PM
 
michaelcolumbiDate: Sunday, 28/January/2018, 12:41 PM | Message # 6
Knight
Group: Checked
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
Third line of ruspar having their spears on their shoulders is normal in karee formation.

I guess the difference between your and my formation is that you have a karee formation 3 lines deep while mine is 4 lines deep. Maybe this may cause the misbehaviour of my grenadeer formation. I will change this and check again.

Btw: Same was with my formation of 144 french guard grenadeers. Also 4 lines deep (and the same misbehaviour):

#KARE144COS SYM4 5 0 20 0 0 0 100
@@@@@@@@@@@@@
@***********@
@***********@
@***********@
@***     ***@
@*** C C ***@
@***     ***@
@*** C C ***@
@***     ***@
@***********@
@***********@
@***********@
@@@@@@@@@@@@@
#END

cu,

ct.


Message edited by michaelcolumbi - Sunday, 28/January/2018, 12:42 PM
 
aiidiiDate: Sunday, 28/January/2018, 1:35 PM | Message # 7
Count
Group: Checked
Messages: 133
Awards: 3
Reputation: 0
Status: Offline
About my original problem in this topic regarding changing cavalry formation size:

I've managed to increase the formation to 50 cavalrymen but no more than that. Tried it with 60, 54 and even just 51 and it didn't work. I have a theory about that.

In the nations ai.xml files the number of cavalrymen the ai produces is set to 50 for any type. This might be why formations with more cavalrymen won't work but I can't be sure since I'm having problems with changing those files.

I've added French General to all French cavalry formations. Russians also have a general in the game files but he is not moving. There must be no animation sequence for him in the files I guess.

These are my 50 men cavalry formations:

#PRUS50COS SYM2 5 5 0 0 0 0 100
* * * * *                   C C                   * * * * *

  * * * * * * * *                     * * * * * * * *

             * * * * * * * * * * * * * * * *

                         * * * * * * * *

#TRI1COS50 SYM2 0 0 5 5 0 0 100
                      C C

* * * * * * * * * * * * * * * * *

 * * * * * * * * * * * * * * * *

* * * * * * * * * * * * * * * * *

#MOVR2COS50 SYM2 2 2 2 2 0 0 100
            C C

* * * * * * * * * *

* * * * * * * * * *

* * * * * * * * * *

* * * * * * * * * *

* * * * * * * * * *


I drink, therefore I am.

Message edited by aiidii - Sunday, 28/January/2018, 1:37 PM
 
michaelcolumbiDate: Sunday, 28/January/2018, 2:02 PM | Message # 8
Knight
Group: Checked
Messages: 16
Awards: 0
Reputation: 0
Status: Offline
No. I do not believe that the "50" in the AI-files have any effect on the usability of cavalry formation with more than 50 men.

The AI-files just control what their name says: the artificial intelligence.

There must be some other file which affects the misbehaviour of cavalry with more than 50 men. Maybe some other configuration file or even an error hardcoded in the exe file of the game. (As I wrote before: I stripped down the russian black sea cossacks to 45 men, because with 100 men they just didn't want to move on roads correctly and their formation change was buggy, too)

And, concerning the russian general: Have you tried to use a general of an other nation with the russian cavalry formation (e.g. a french general because you know that this works with french cavalry)? Then you could check if it really is a missing animation or some other error.

cu,

ct.


Message edited by michaelcolumbi - Sunday, 28/January/2018, 2:08 PM
 
aiidiiDate: Sunday, 28/January/2018, 2:32 PM | Message # 9
Count
Group: Checked
Messages: 133
Awards: 3
Reputation: 0
Status: Offline
Quote michaelcolumbi ()
And, concerning the russian general: Have you tried to use a general of an other nation with the russian cavalry formation (e.g. a french general because you know that this works with french cavalry)? Then you could check if it really is a missing animation or some other error.

If I add UnitKGen(FR) to Russian cavalry it works for them but then French cavalry won't form up. I can't even plop a French cavalry formation in the editor, only individual cavalrymen. The same unit with the same nation designation (FR for example) can not be used by more than one nation at a time.


I drink, therefore I am.
 
  • Page 1 of 1
  • 1
Search: