Author Topic: [Solved] add Global equip templates  (Read 1179 times)

Offline aziza

  • Colonel
  • ****
  • Posts: 136
    • View Profile
[Solved] add Global equip templates
« on: May 03, 2024, 09:12:03 pm »
after starting a new game you need to re-create equipment profiles
why not create global profiles for all games?

Offline psavola

  • Commander
  • *****
  • Posts: 827
    • View Profile
Re: [Suggestion] add Global equip templates
« Reply #1 on: May 03, 2024, 09:33:14 pm »
after starting a new game you need to re-create equipment profiles
why not create global profiles for all games?

Where these would be saved? Options.cfg? Some "pseudosave" that actually applies to every game? Doubtful.

Offline Alex_D

  • Colonel
  • ****
  • Posts: 498
    • View Profile
Re: [Suggestion] add Global equip templates
« Reply #2 on: May 03, 2024, 09:42:36 pm »
If you mean to save across saves the info under "globalEquipmentLayout" and so, well I'm not sure if it's actually convenient or more of a hassle.

Depends of the Mod, items can vary a lot between campaigns. Same with the strings that made up most of the code in that portion of the save.

I'd argue it's better to manually copy the portion of the save with the equipment templates to keep along with some screenshots. In fact, the screenshots alone may be more useful for a guide to set up a new game save template than the code itself.

Having said that, I do modify my global equipment portion of my saves, mostly because, for example, I upgrade from one type of ammo to another, and I don't want to open and save every related template (up to 50, IIRC). Notepad++ makes things easier.

A wish for me regarding templates would be to have more than 10 craft equipment templates.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [Solved] add Global equip templates
« Reply #3 on: August 19, 2024, 02:20:24 pm »
after starting a new game you need to re-create equipment profiles
why not create global profiles for all games?

Implemented here: https://openxcom.org/forum/index.php?topic=11995.msg165756#msg165756