[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Daddio, Cichor  
Forum » Cossacks I » Modding » Skirmish Formations Question (Skirmish Formations in OC Mod)
Skirmish Formations Question
FtoomshDate: Thursday, 18/July/2013, 4:26 AM | Message # 1
Count
Group: Modders
Messages: 124
Awards: 0
Reputation: 0
Status: Offline
OC Mod implements 2 skirmish formations called LIGHT and SKIRM. LIGHT is an open line in 2 ranks and SKIRM is an open trapezoidal shaped line in 3 ranks with men in distinct groups of 3's. Or another way of looking at the SKIRM formation may be to consider it to be six open lines with offsets every alternate line (putting men in a diamond pattern rather than in traditional files).

Both of these formations (LIGHT and SKIRM) use the line formation symbol at position 6 0 on the orders and formations menu. Thus if I try to implement both LIGHT and SKIRM formations for a unit type (skirmisher or grenadier) I only get the second formation coded as the formation button is in essence overwritten.

NRES.DAT does not seem to mention formations LIGHT and SKIRM. Maybe they both default as lines be it LINE, BLINE or ILINE for the purposes of the formation menu.

The full text of NRES.DAT in mods02.gs1 for formation order icons in OC Mod is;

[ORDERICONS]LINE        6 0 STR_LINE    Assume_Rank_Formation
SQUARE        6 1 STR_1        Assume_Column_Formation
KARE        6 2 STR_KARE    Assume_Square_Formation

BLINE        6 0 STR_LINE    Assume_Thin_Rank_Formation
ASQUARE        6 1 STR_1        Assume_Attack_Column_Formation
SKARE        6 2 STR_KARE    Assume_Strategic_Square_Formation

ILINE        6 0 STR_LINE    Assume_Thin_Rank_Formation
ISQUARE        6 1 STR_1        Assume_Attack_Column_Formation
IKARE        6 2 STR_KARE    Assume_Strategic_Square_Formation

PRUS        6 0 ADD29        Assume_Rank_Formation
TRI            6 1 ADD28        Assume_HR_TRI_Formation
SHER        6 2 ADD30        Assume_Square_Formation

PRUS2        6 0 ADD29        Assume_Rank_Formation
TRI2        6 1 ADD28        Assume_HR_TRI_Formation
SHER2        6 2 ADD30        Assume_Square_Formation

[END]The full text for formations in ORD_GROUPS.LST is;

15
LINE    3    0  1  2    6 #LINE24    #LINE36    #LINE72    #LINE144    #LINE288    #LINE432
SQUARE    3    0  1  2    6 #SQUARE24  #SQUARE36  #SQUARE72  #SQUARE144  #SQUARE288  #SQUARE432
KARE    3    0  1  2    6 #KARE24    #KARE36    #KARE72    #KARE144    #KARE288    #KARE432

BLINE    3    3  4  5    6 #BLINE24   #BLINE36   #BLINE72   #BLINE144   #BLINE288   #BLINE432
ASQUARE    3    3  4  5    6 #ASQUARE24 #ASQUARE36 #ASQUARE72 #ASQUARE144 #ASQUARE288 #ASQUARE432
SKARE    3    3  4  5    6 #SKARE24   #SKARE36   #SKARE72   #SKARE144   #SKARE288   #SKARE432

ILINE    3    6  7  8    6 #ILINE24   #ILINE36   #ILINE72   #ILINE144   #ILINE288   #ILINE432
ISQUARE    3    6  7  8     6 #ISQUARE24 #ISQUARE36 #ISQUARE72 #ISQUARE144 #ISQUARE288 #ISQUARE432
IKARE    3    6  7  8    6 #IKARE24   #IKARE36   #IKARE72   #IKARE144   #IKARE288   #IKARE432

PRUS    3    9 10 11    4 #PRUS4  #PRUS3 #PRUS2  #PRUS
TRI        3    9 10 11    4 #TRI4   #TRI3     #TRI2     #TRI
SHER    3    9 10 11    4 #SHER4  #SHER3 #SHER2     #SHER

PRUS2    3   12 13 14    4 #PRUS04 #PRUS03 #PRUS02 #PRUS0
TRI2    3   12 13 14    4 #TRI04  #TRI03  #TRI02  #TRI0
SHER2    3   12 13 14    4 #SHER04 #SHER03 #SHER02 #SHER0

x

The full text for skirmisher groups in ORDERS.LST is;

#LIGHT36 SYM2 22 22 22 22    // OPEN LIGHT TROOPS
* * * * * * * *C* *C* * * * * * * *

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

#LIGHT72 SYM2 22 22 22 22
* * * * * * * * * * * * * * * * *C*   *C* * * * * * * * * * * * * * * * *

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

#LIGHT144 SYM2 22 22 22 22
* * * * * * * * * * * * * * * * * *  * * * * * * * * * * * * * * * * *C*  *C* * * * * * * * * * * * * * * * *  * * * * * * * * * * * * * * * * * *

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

#SKIRM36 SYM2 22 22 22 22    // SKIRMISH
* *   * * C * * C * *   * *
*     *     *     *     *

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

* *   * *   * *
*     *     *
#END

#SKIRM72 SYM2 22 22 22 22
* *   * *   * * C * *   * *   * * C * *   * *   * *
*     *     *     *     *     *     *     *     *

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

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

#SKIRM144 SYM2 22 22 22 22
* *   * *   * *   * *   * *   * *    C     C    * *   * *   * *   * *   * *   * *
*     *     *     *     *     *                 *     *     *     *     *     *

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

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

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

My question is;

How can I "fool" the mod that the SKIRM formations are "squares", so that I can use the line symbol for LIGHT and the Square symbol for SKIRM when selecting more than 36 skirmishers in the presence of an 18th flag bearer (because that's how these formations are formed). This will allow me to implement both formations for skirmishers belonging to one nation rather than the situation now where I can only implement one formation or the other for one unit type.


Message edited by Ftoomsh - Thursday, 18/July/2013, 4:28 AM
 
EbelAngelDate: Thursday, 18/July/2013, 5:24 AM | Message # 2
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
NRES Dat just sets the positions of the icons in the interface and which icon to use.

If you want to 'fool' ( i read "replace" ) the mod 's squares with skirm formations then swop the "#SQUARE36 #SQUARE72 #SQUARE144" in ord.lst with the skirm one's.(#SKIRM36,...).

Not entirely sure if this is what you want to do though. Its early here.


 
FtoomshDate: Thursday, 18/July/2013, 7:26 AM | Message # 3
Count
Group: Modders
Messages: 124
Awards: 0
Reputation: 0
Status: Offline
Quote (EbelAngel)
If you want to 'fool' ( i read "replace" ) the mod 's squares with skirm formations then swop the "#SQUARE36 #SQUARE72 #SQUARE144" in ord.lst with the skirm one's.(#SKIRM36,...).Not entirely sure if this is what you want to do though.

My fault, I wasn't clear enough.

What I want to do is make it so that when skirmishers are selected for formation, the skirmishers now have 2 formation buttons, the line (button position 6 0) for LIGHT and the column (button position 6 1) for SKIRM.

FINAL UPDATE

I have just deleted a whole lot of stuff I wrote here because I just found a simple solution to my problem. Strangely enough I do not have to declare the formations in NRES.DAT nor in ORDERS_GRP.LST

These simple lines in the England.NDS give me the options I want (for England anyway).

Strelec_eng(en) Flagonosec(en) 2
LINE    3 #LIGHT36  #LIGHT72 #LIGHT144        1 Strelec_eng(en)

SQUARE    3 #SKIRM36  #SKIRM72 #SKIRM144        1 Strelec_eng(en)


Message edited by Ftoomsh - Friday, 19/July/2013, 6:41 AM
 
Forum » Cossacks I » Modding » Skirmish Formations Question (Skirmish Formations in OC Mod)
  • Page 1 of 1
  • 1
Search: