MontyTRC89 / Tomb-Editor

Tomb Editor
57 stars 16 forks source link

TR1 Scion holder's Scion is converted to the wrong Scion object number on build #804

Open walkawayy opened 4 months ago

walkawayy commented 4 months ago

TR1 has multiple Scion objects that seem the same but function differently in game. This causes a crash for custom levels in TR1X at least. Here's the Scion object numbers from TR1 with some comments on their usage:

image

The Scion holder should use Scion object 146, but Tomb Editor converts it to 142 which is a quest pickup item. For reference, the following fix works which might help solve the issue:

  1. Go to C:\Tomb Editor\Catalogs\Engines\TR1 (or wherever you have TE installed) and open Moveables.xml in notepad or equivalent. If you have an older version of TE it's C:\Tomb Editor\Catalogs\TrCatalog.xml
  2. Look for these lines
    <moveable id="145" name="Complete Scion" id2="141" ten="KEY_ITEM1" />
    <moveable id="146" name="Complete Scion" id2="142" ten="KEY_ITEM2" />
  3. Remove the id2 attribute altogether on both:
    <moveable id="145" name="Complete Scion" ten="KEY_ITEM1" />
    <moveable id="146" name="Complete Scion" ten="KEY_ITEM2" />
  4. Restart TombEditor and build the level with complete scion in place.
  5. Use TRCinematicImporter to get the camera in place too otherwise it crashes when Lara tries to grab it (only needed for Atlantis type, Great Pyramid type doesn't trigger the misc animation).

Example attached showing it can work.