OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: robin on February 26, 2017, 04:08:44 pm

Title: [Solved] Inventory: how to remove backpack grid (and label)?
Post by: robin 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
Title: Re: [OXCE+] Inventory: how to remove backpack grid (and label)?
Post by: Meridian 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!!
Title: Re: [OXCE+] Inventory: how to remove backpack grid (and label)?
Post by: robin on February 26, 2017, 04:31:51 pm
aaahhh it was so simple! I feel stupid now.
I'm perfectly fine using that solution.
Title: Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
Post by: The Reaver of Darkness 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.
Title: Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
Post by: Meridian 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)
Title: Re: [SOLVED][OXCE+] Inventory: how to remove backpack grid (and label)?
Post by: The Reaver of Darkness on February 27, 2017, 06:04:02 pm
Ah, neat!