erdelf / AlienRaces

Rimworld mod alien race framework
MIT License
103 stars 69 forks source link

Feature Request: Ability to adjust body offset... #49

Open Ecu opened 3 years ago

Ecu commented 3 years ago

I have seen a growing amount of races being created that include legs, as part of the body. However, this tends to push the graphic lower than the tile the character is actually at. It would be nice to be able to set a body offset which affects apparel, held stack, weapon, and of course body graphic. This could additionally be useful when creating all sorts of unique custom races (centaur, for example). With this offset, vanilla itself could be fixed as it still displays low on a tile, rather than having the bottom of the sprite being towards the middle of the tile.

Edit: I think it would be useful to have at least two XML offsets. One would be for the body sprites themselves, and another which handles held items, apparel, weapons, etc. Since we already have offsets for head and add-ons, this should give us full control over where our sprites are rendering in relation to the tile.