LostArtefacts / TR1X

Open source re-implementation of Tomb Raider 1 (1996), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
469 stars 32 forks source link

inject: increase Scion collision radius #1383

Closed lahm86 closed 2 weeks ago

lahm86 commented 2 weeks ago

Resolves #1381.

Checklist

Description

Adds the ability to edit the centre point and collision radius of meshes. I've applied this to the Scion object in the Great Pyramid to allow it to be more easily shot with the shotgun. We only increase the radius for the Scion (from 63 to 256) but it made sense to add the ability to edit the centre point too in case that's ever required. Existing mesh edits will default to 0 here for these new properties.

Custom levels can edit this directly in WadTool, so this is only relevant to OG. I'm also unsure about making this optional, WDYT?