Author Topic: [Solved] Inventory: how to remove backpack grid (and label)?  (Read 4368 times)

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
[Solved] Inventory: how to remove backpack grid (and label)?
« on: February 26, 2017, 04:08:44 pm »
As per topic title, I'd like to remove the backpack grid because the whole slot is occupied by the jetpack.
I managed to nail the jetpack there but I don't understand how to get rid of the grid. The removal is of course needed only for this specific armor, other armors should maintain the conventional backpack.

Thanks
« Last Edit: February 12, 2023, 01:25:06 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9085
    • View Profile
Re: [OXCE+] Inventory: how to remove backpack grid (and label)?
« Reply #1 on: February 26, 2017, 04:22:42 pm »
You can remove the grid by using black background for the jetpack, instead of the transparent one.
(if that would not be desired for some reason, I can implement an option for that too)

As for removing the label, that's not possible right now... but I can implement it if you want, should be easy to do.

EDIT: also, holy cow, you graphics are amazing!!
« Last Edit: February 26, 2017, 04:24:29 pm by Meridian »

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: [OXCE+] Inventory: how to remove backpack grid (and label)?
« Reply #2 on: February 26, 2017, 04:31:51 pm »
aaahhh it was so simple! I feel stupid now.
I'm perfectly fine using that solution.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
« Reply #3 on: February 27, 2017, 09:29:56 am »
There is an even easier way to do this, and it works in basic openxcom:

Code: [Select]
invs:
  - delete: STR_BACK_PACK


I'm not sure how to get it to work only on a specific armor type.
« Last Edit: February 27, 2017, 09:32:09 am by The Reaver of Darkness »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9085
    • View Profile
Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
« Reply #4 on: February 27, 2017, 11:01:32 am »
I'm not sure how to get it to work only on a specific armor type.

You can't, it applies to everything.
(that's what I was volunteering to implement few posts above)

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
« Reply #5 on: February 27, 2017, 06:04:02 pm »
Ah, neat!