Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Alien Generator sprite issues

Open ubertpendragon opened this issue 3 years ago • 1 comments

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [ ] My issue happened while using mods.

What happened?

Alien generators aren't use any more, but:

  1. Decorativesprite sourcerect and offset are incorrect image

Properly aligned sourcerect="0,486,176,176", for some reason I'm getting waaaay different offset results for Itemcontainer itempos="6,-30" on the mod I've been working with. image

  1. Removing the power cell does not make the decorative sprite go away. I couldn't find a way to remove the sprite via XML, it seems to be using a "charge" property on containing the alien cell. You can make the sprite appear but not disappear.

  2. Power cell will always be below decorative sprite (it inherits main sprite depth)

ubertpendragon avatar Oct 01 '22 20:10 ubertpendragon

Fixed in https://github.com/Regalis11/Barotrauma-development/commit/7ec6f0f3e3cee31cede8dd7cf0bd2b6fee8ffecf

Regalis11 avatar Oct 03 '22 07:10 Regalis11

The decorative sprite isn't displayed at all now, tested in release branch image

Rokvach avatar Oct 13 '22 08:10 Rokvach

Nvm the decorative sprite was changed into light so the appearance is slightly different now. Working correctly, closing.

Rokvach avatar Oct 13 '22 08:10 Rokvach