Author Topic: [ARMOR] Damaged X-Com Armors are recoverable  (Read 13461 times)

Offline clownagent

  • Colonel
  • ****
  • Posts: 380
    • View Profile
[ARMOR] Damaged X-Com Armors are recoverable
« on: May 17, 2014, 06:41:15 pm »
Attached is a small ruleset which makes the armor of dead X-Com soldiers recoverable. They appear as "damaged Armor" in the stores and can be sold or repaired in the workshop.

Offline LouisdeFuines

  • Commander
  • *****
  • Posts: 586
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #1 on: May 17, 2014, 08:30:01 pm »
Great thing!

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #2 on: May 18, 2014, 12:09:32 am »
Is this Falko's code? He made something like this recently.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #3 on: May 18, 2014, 12:17:27 am »
no has some obvious similarities because it does the same https://openxcom.org/forum/index.php?topic=2055.msg20940#msg20940
differences:
broken-armor cant be used
the repair is very inexpensive
its translated better into (but only in) english (i have an "usable but not great" automatic translation for all languages)
« Last Edit: May 18, 2014, 12:21:45 am by Falko »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #4 on: May 19, 2014, 12:53:28 am »
I made a version including my Jump Armor. It should work, though I haven't tested it properly, because no time.

EDIT: And only today I noticed that I haven't attached the ruleset. :P

Now it contains Polish translation too.

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #5 on: May 19, 2014, 04:40:59 am »
Dudes you are just awesome.
I will use it, sure
Thanks for the job

Offline Bones

  • Sergeant
  • **
  • Posts: 15
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #6 on: May 19, 2014, 10:33:59 pm »
Made a czech translation

Code: [Select]
  - type: cs-CZ
    strings:
      STR_CORPSE_ARMOR: Požkozená osobní zbroj
      STR_REPAIR_PERSONAL_ARMOR: Opravit osobní zbroj
      STR_CORPSE_JUMP_ARMOR: Poškozená skákací zbroj
      STR_REPAIR_JUMP_ARMOR: Opravit skákací zbroj
      STR_CORPSE_SUIT: Poškozený energetický skafandr
      STR_REPAIR_POWER_SUIT: Opravit energetický skafandr
      STR_CORPSE_FLYING_SUIT: Poškozený létající skafandr
      STR_REPAIR_FLYING_SUIT: Opravit létající skafandr

Just a note: STR_CORPSE_JUMP_ARMOR name was not even defined in any of the languages, since its pretty straightforward I did add the czech string for it, but other languages still dont have it.

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #7 on: May 19, 2014, 11:17:01 pm »
It works very well !

French Translation (UTF8 needed)

Code: [Select]
  - type: fr
    strings:
      STR_CORPSE_ARMOR: Armure Personnelle endommagée
      STR_REPAIR_PERSONAL_ARMOR: Réparation Armure Personnelle
      STR_CORPSE_JUMP_ARMOR: Armure de Lévitation endommagée
      STR_REPAIR_JUMP_ARMOR: Réparation Armure de Lévitation
      STR_CORPSE_SUIT: Armure Énergétique endommagée
      STR_REPAIR_POWER_SUIT: Réparation Armure Énergétique
      STR_CORPSE_FLYING_SUIT: Armure Anti-G endommagée
      STR_REPAIR_FLYING_SUIT: Réparation Armure Anti-G

Same remark about STR_CORPSE_JUMP_ARMOR...

Implemented...
« Last Edit: May 20, 2014, 01:50:47 am by Aldorn »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #8 on: May 19, 2014, 11:37:22 pm »
Yeah, yeah, I missed it... :P

Code: [Select]
  - type: pl-PL
    strings:
      STR_CORPSE_JUMP_ARMOR: Uszkodzony pancerz desantowy

Offline ibanix

  • Captain
  • ***
  • Posts: 75
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #9 on: July 05, 2014, 10:11:16 am »
Attempting to transfer a damaged armor causes great weirdness:


Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #10 on: July 05, 2014, 12:51:07 pm »
my guess would be the missing sizein the rulset

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #11 on: July 05, 2014, 01:29:47 pm »
my guess would be the missing sizein the rulset

Interesting. Adding size to corpses, they should have them anyway.

Offline ibanix

  • Captain
  • ***
  • Posts: 75
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #12 on: July 07, 2014, 12:59:59 am »
Yeah, size fixed it.

Add 'size: 0.8' to each of the ARMOR_CORPSE entries.

Updated file attached.

Offline essohbe

  • Sergeant
  • **
  • Posts: 34
    • View Profile
Re: [ARMOR] Damaged X-Com Armors are recoverable
« Reply #13 on: July 31, 2014, 05:30:07 pm »
Does this mod conflict with the Assault Drone mod where you use armor of dead soldiers to build a drone?