aliens

Author Topic: Can I make other armors as the default one of soldiers?  (Read 3147 times)

Offline TaxxiDriver

  • Captain
  • ***
  • Posts: 97
    • View Profile
Can I make other armors as the default one of soldiers?
« on: November 22, 2014, 03:31:36 am »
So there were two places where the 'NONE_UC' string was used (one in the 'soldiers' section, the other in the 'armors' section). So I changed both of them with the string of another modded armor, but still the default armor seems to be that ordinary pajama. Am I doing something wrong, or is it impossible to change it for simple ruleset?

Thanks :)

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: Can I make other armors as the default one of soldiers?
« Reply #1 on: November 22, 2014, 04:32:38 pm »
Looks to me like you did too much :P

If you change the entry in soldiers, you change which armor is used. If you change the name under armors, you change what that armor is called.

So essentlally, what you did is tell your soldiers "we won't use pyjamas anymore, we'll use awesome-armor" (much cheering ensued  ;D), then you also went and relabelled all the pyjamas "awesome-armor" so your soldiers are still picking the same armor as before. (much dying ensued :()

I've attached a ruleset I use to redefine what the starting armor looks like for me. You can use it as a guideline on how to mod it for yourself.

Offline TaxxiDriver

  • Captain
  • ***
  • Posts: 97
    • View Profile
Re: Can I make other armors as the default one of soldiers?
« Reply #2 on: November 23, 2014, 04:34:35 am »
Thanks a lot ;D That solves my problem perfectly.