Skip to content

TR1-3 Fixes and Improvements#388

Merged
DanzaG merged 26 commits intoLostArtefacts:masterfrom
lahm86:master
Oct 21, 2022
Merged

TR1-3 Fixes and Improvements#388
DanzaG merged 26 commits intoLostArtefacts:masterfrom
lahm86:master

Conversation

@lahm86
Copy link
Copy Markdown
Collaborator

@lahm86 lahm86 commented Oct 4, 2022

#374 TR1 Testing

This marks a milestone in TR1 testing, hence the following issues can be closed. Any further changes here can be raised as new tickets.

Closes #374; closes #373; closes #361; closes #358; closes #357; closes #355; closes #354; closes #352; closes #351; closes #349.

The following remain open for future tasks:

  • Secret randomization (additional hard and glitched locations);
  • Environment and string randomization remain to be fully implemented;
  • Improved/more efficient approach to texture randomization to be investigated further.

#350 Tomb1Main

Tomb1Main 2.11 is now released, so this will be the minimum version that the randomizer can support.
Some amendments to the T1M settings within the randomizer:

  • Fixed the decimal UI control to respect culture settings.
  • Added the new T1M setting EnablePitchedSounds into the settings window - see Tomb1Main#625.
  • Some T1M bool settings have been inverted, so variable names and text have been updated in light of this (e.g. DisableFMV is now EnableFMV).

#360 TR1 Environment Randomization

If Atlantis is mirrored, the Bacon Lara room is altered by removing all camera triggers (because Bacon Lara isn't there). This had the side effect of removing any secret triggers if the room contained any. Now the specific camera tiles are targeted rather than the entire room.

#353 TR1 Secret Randomization

  • Allows for 3D models to be used even if randomizing secrets (provided "use recommended settings" is disabled). The issue was with the scion as it becomes embedded in the ground, so a workaround is put in place to raise this mesh (so the item's Y position remains consistent). The sprite will also now appear sitting on the ground.
  • New option added to allow choosing different secret model types per level rather than the pre-defined chosen ones.
  • Amended a location in Lost Valley to allow the secret to be picked up before or after the flipmap.
  • The secret randomizer was incorrectly using the seed assigned to the enemy randomizer, so this has now been rectified.
  • Glitched secrets have been added and this option is now available in the UI. Additional glitchless and hard secrets also added. Each of these has been tested manually, both in mirrored and non-mirrored state.

#354 TR1 Item Sprite Randomization

Integrated @Towandaa's sprite randomization into TR1ItemRandomizer. It works in exactly the same way, but puzzles/keys are scanned to check what is being used as a secret model before passing to the generic handler.

#358 TR1 Outfit Randomization

If the braid is present, Lara's backpack will be made slightly shallower so that the two don't collide too much, so generally improving the appearance.

#354 TR1 Item Randomization

Fixes an issue in one-item mode where unarmed level weapons could be hidden.

#355 TR1 Enemy Randomization

A new option is now available to prevent Larson from ending the level in Tomb of Qualopec. An alternative level-ending will be added. If Larson is chosen in the enemy pool, the model from Sanctuary will be used.

#389 TR1-3 Randomize All Options

New option added to the UI to randomize all options within each active randomizer type.
Closes #389.

#243 TR3 Item Randomization

  • The same one-item mode issue where unarmed level weapons were being hidden was also present in TR3, so this has now been fixed.
  • TR3 item randomization no longer handles changing secret reward types - this has its own class now, similar to TR1, and means it can be done whether or not item randomization is on.
  • Removed the hardcoded settings for type and position randomization, as UI options implemented under TR1.
    Closes TR3 - Item Randomizer #243.

#390 TR2 T-Rex Classification

The T-Rex is now classed as medium difficulty when deciding how much additional ammo to give on unarmed levels.
Closes #390.

Fixes a problem in Atlantis when working around the bacon Lara room in mirrored mode, which could result in secret triggers being lost. Instead of clearing the room of old triggers, we define the locations manually now to be safe.
Fixes an issue if the demo delay is set with a fractional value - legacy issue in TRGE as it was trying to cast to uint as per TR2.
Fixes the decimal spinner to properly support cultures.
Allows for 3D models to be used even if randomizing secrets (provided "use recommended settings" is disabled). The issue was with the scion as it becomes embedded in the ground, so a workaround is put in place to raise the mesh (so the item's Y position remains consistent). The sprite will also now appear sitting on the ground.
Allows choosing different secret model types per level rather than the pre-defined chosen ones.
Amends a location in Valley to allow the secret to be picked up before or after the flipmap.
Implemented Towandaa's sprite randomization for TR1.
Added new T1M setting EnabledPitchedSound.
Improvements to braid appearance by making the backpack shallower when it's present.
Amended a location in Atlantis so that it remains consistent if the level is mirrored.
Fixes an issue when allocating gym outfits if the number of playable levels is less than the number of permitted gym levels.
Additional guard for gym outfit check.
- Adds a button to the UI to randomize all options with each active randomizer type.
- Moved the Randomize All Seeds logic to same class that handles the above.
Fixes an issue in one-item mode where unarmed level weapons could be hidden.
@lahm86 lahm86 changed the title TR1 Fixes and Improvements TR1&3 Fixes and Improvements Oct 9, 2022
lahm86 added 7 commits October 9, 2022 20:20
- Fixes an issue in one-item mode where unarmed level weapons could be hidden.
- Moves secret reward randomization to separate class (in line with TR1) so that this can be handled separately from item rando (allows leaving rewards where they are if secrets aren't being randomized).
- Removed hardcoded item settings.
A few additional glitchless secret locations (all tested).
Make randomized water colour option enabled by default.
Utility method added for detecting locations/sectors that contain secrets.
Prevents Lara's starting position being moved to a tile that contains a secret.
- Amendments to support configuration changes made in T1M 2.11.
- Removed enforcing removal of enhanced saves.
T-Rex is now classified as medium difficulty.
@lahm86 lahm86 changed the title TR1&3 Fixes and Improvements TR1-3 Fixes and Improvements Oct 19, 2022
- Secret randomizer was incorrectly using enemy seed.
- Added logic to shuffle the locations list prior to selecting locations to improve variety.
- Addition of further glitchless secret locations, as well as some glitched and some hard.
- Glitched option is now enabled in the UI.
Additional glitched secrets.
@lahm86 lahm86 marked this pull request as ready for review October 20, 2022 19:04
Adds logic to handle Larson in ToQ so that players can choose whether or not he ends the level.
@DanzaG DanzaG merged commit 9a341c6 into LostArtefacts:master Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants