Author Topic: [RETRACTED] How do I add more soldier images?  (Read 2044 times)

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
[RETRACTED] How do I add more soldier images?
« on: January 05, 2018, 01:58:15 pm »
edit: Nevermind. I see my mistake. I had added the soldiers as MAN_1 instead of MAN_0.



I stumbled upon Neoworm's 8 alternate soldiers and I want to include them, in order to have 8 total males and 8 total females. I've already created the images and added them to extraSprites.rul as soldiers 4-7. But in-game it is still only the first 4 of either sex that are being used. How do I make the game use these added soldier graphics?


Samples of code I have used:
Code: [Select]
armors:
  - type: STR_NONE_UC
    spriteSheet: XCOM_0.PCK
    spriteInv: MAN_0
    spriteFaceGroup: 6
    spriteFaceColor: [96, 96, 96, 96, 160, 160, 163, 163, 96, 96, 96, 96, 160, 160, 163, 163] #M0 F0 M1 F1 M2 F2 M3 F3 M4 F4 M5 F5 M6 F6 M7 F7
    spriteHairGroup: 9
    spriteHairColor: [144, 144, 164, 164, 245, 245, 166, 166, 144, 144, 164, 164, 245, 245, 166, 166] #M0 F0 M1 F1 M2 F2 M3 F3 M4 F4 M5 F5 M6 F6 M7 F7

extraSprites:
  - type: MAN_1F4.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1f4.gif
  - type: MAN_1F5.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1f5.gif
  - type: MAN_1F6.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1f6.gif
  - type: MAN_1F7.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1f7.gif
  - type: MAN_1M4.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1m4.gif
  - type: MAN_1M5.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1m5.gif
  - type: MAN_1M6.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1m6.gif
  - type: MAN_1M7.SPK
    singleImage: true
    files:
      0: Resources/armored_vest/inventory/man_1m7.gif
« Last Edit: January 05, 2018, 02:02:31 pm by The Reaver of Darkness »