TombEngine/Documentation/Changes.txt

500 lines
26 KiB
Text
Raw Normal View History

2023-06-15 21:05:42 +01:00
Version 1.1.0
2023-06-04 12:18:15 +02:00
==============
* Fix enemies shooting Lara through static meshes and moveables.
* Fix skeletons and mummies not affected by explosive weapons.
* Fix crash on loading if static meshes with IDs above maximum are present.
* Fix random crashes when playing audio tracks with names longer than 15 symbols.
2023-06-04 12:18:15 +02:00
* Fix sprint value going below zero.
2023-06-04 16:17:24 +02:00
* Fix fog bulb density formula.
* Fix electricity effect crashing 64-bit version of the engine.
2023-06-04 21:14:45 +02:00
* Fix clockwork beetle activation crashing the game.
2023-06-05 20:29:02 +02:00
* Fix corrupted vehicle positions after savegame reload.
* Fix default ambience overlapping current one when loading a savegame.
2023-06-13 15:46:58 +02:00
* Fix doppelganger being limited to be in a single room.
2023-06-16 01:39:11 +02:00
* Add multiple doppelgangers by using the same OCB for the origin nullmesh and doppelganger.
* Implement separate audio track channel for playing voiceovers with subtitles.
* Don't stop ambience when Lara dies.
2023-06-15 02:45:55 +02:00
* Pause all sounds when entering inventory or pause menu.
* Improve deflection against slopes.
* Move and rotate Lara together with dynamic bridge objects.
* Move and rotate activated pickups together with dynamic bridge objects.
2023-06-15 09:17:55 +01:00
* Add TR1 skateboard kid.
2023-06-15 21:05:42 +01:00
* Add TR1 Kold.
2023-06-04 12:18:15 +02:00
Lua API changes:
* Add soundtrack functions:
- Misc::GetAudioTrackLoudness() for getting current loudness of a given track type.
- Misc::IsAudioTrackPlaying() for checking if a given track type is playing.
- Misc::GetCurrentSubtitle() for getting current subtitle string for the voice track.
2023-04-15 10:16:06 +01:00
Version 1.0.9
=============
2023-04-30 11:03:13 +02:00
* Fix cold bar triggered in non-water rooms.
* Fix spiky wall speed value and change it via OCB number or Lua (Moveable::SetItemFlags[0]).
* Fix bats emitter crashing the game if little beetle object does not exist in wad.
* Fix gunflash rendering and position for entities.
* Fix snowmobile driver crashing the game.
* Fix knifethrower not throwing knife.
* Fix classic rollingball rolling in place into some closed doors.
2023-05-25 12:24:05 +01:00
* Fix zipline not working properly.
* Fix missing heavytrigger checks for node events activated from classic triggers.
2023-06-01 20:23:40 +02:00
* Fix death flag burning enemies underwater.
2023-06-03 10:16:32 +02:00
* Fix pickups and object collision not working properly in flipped rooms without portals.
* Fix footprints not being cleared after level change.
2023-04-30 11:03:13 +02:00
* Fix thumbstick camera option sometimes producing jerky camera movements during object interaction.
2023-05-28 23:35:19 +01:00
* Fix soundtrack position not restoring if same track is already playing.
2023-05-01 08:17:18 +02:00
* Fix inventory input interference when entering inventory via puzzle.
* Fix gamepad still vibrating if Lara was poisoned prior to death.
2023-05-23 21:13:31 +02:00
* Fix flare brightness.
2023-05-23 21:36:19 +02:00
* Fix grenade firing angle.
2023-06-02 09:04:13 +02:00
* Fix rendering for static meshes with custom blending modes and alpha transparency.
* Fix inconsistent multiline string spacing on different display modes.
* Remove search object 4 hardcoded meshswap activated with a flipmap.
2023-04-30 11:03:13 +02:00
* Add TR1 cowboy.
* Add TR3 wall mounted blade.
* Add TR3 claw mutant.
2023-05-26 08:18:39 +02:00
* Add TR5 lasers:
2023-05-18 16:57:15 +01:00
- Choose colour for the lasers via tint menu.
2023-05-18 22:17:41 +01:00
- Laser OCB means width of the laser in sectors.
2023-05-18 16:57:15 +01:00
- Negative OCB laser will trigger heavy trigger.
2023-05-19 03:10:29 +02:00
- Positive OCB kills Lara.
2023-05-26 08:18:39 +02:00
* Add removable puzzles from puzzle holes and puzzle dones:
2023-04-30 11:03:13 +02:00
- Employed by setting the trigger type as "Switch" for either puzzle hole or puzzle done.
2023-04-19 18:44:51 +01:00
- Can be mixed with puzzle done and puzzle holes of the same or different type.
2023-05-26 08:18:39 +02:00
* Add reusable keys for key holes:
2023-04-26 11:58:42 +01:00
- Employed by setting the trigger type as "Switch" for key hole.
2023-05-26 08:18:39 +02:00
* Allow key hole animation to be played via OCB number:
2023-04-30 11:03:13 +02:00
- Default OCB 0 will play Lara use key animation.
2023-04-28 17:03:33 +01:00
- Any positive OCB number will play the animation according to the OCB number.
2023-05-31 09:15:51 +01:00
* Reimplement fog bulbs.
2023-04-30 11:03:13 +02:00
* Add missing gunflash for some entities, also include dynamic light and smoke to all gunflashes.
* Add ability to pick up a single inactive flare as an inventory item.
2023-04-30 11:03:13 +02:00
* Add log reports if title level or other levels don't exist.
* Add better error handling for missing font, sprites or shaders.
* Add "Reset to defaults" entry to controls menu and automatically bind XBOX gamepad profile if connected.
* Add 64-bit executable and place both 32-bit and 64-bit versions into /Bin subdirectory.
2023-04-15 10:16:06 +01:00
2023-04-23 14:48:04 +01:00
Lua API changes:
2023-05-19 03:10:29 +02:00
* Add Vec2 class.
2023-06-03 10:33:29 +02:00
* Add function String::SetTranslated().
* Add function Misc::IsStringDisplaying().
* Add the following for use in AddCallback and RemoveCallback:
- PRESTART, POSTSTART
- PREEND, POSTEND
- PRESAVE, POSTSAVE
- PRELOAD, POSTLOAD
2023-04-23 14:48:04 +01:00
2023-02-28 17:47:10 +00:00
Version 1.0.8
=============
2023-03-04 03:19:03 +11:00
* Fix bubbles phasing through ceilings.
2023-03-08 15:25:17 +00:00
* Fix object camera not clearing at level end.
2023-04-06 20:57:51 +10:00
* Fix double breath sound effect when coming up for air.
* Fix flickering hair.
2023-03-27 16:58:43 +11:00
* Fix harpoon gun triggering water and dry sounds when shooting and reholstering.
2023-03-25 15:29:04 +00:00
* Fix Z-fighting in inventory rendering.
2023-03-30 15:17:24 +01:00
* Fix transparent objects not displaying correctly in the Inventory.
2023-03-27 16:58:43 +11:00
* Fix dozy cheat always giving uzi weapons even if not present in WAD.
* Fix player getting launched when landing close to an edge.
2023-04-06 20:57:51 +10:00
* Fix player going through trapdoor/bridge while climbing up a climbable wall.
2023-03-21 22:31:27 +02:00
* Fix TR3 Sophia's charge ring drawing below floor.
2023-04-06 20:57:51 +10:00
* Fix TR5 imp collision handling and animations:
- OCB 1: Climbs up to player when triggered.
- OCB 2: Starts rolling on the floor when triggered.
- OCB 3: Will throw stones at player.
- Imp is also scared of of the player if holding a lit torch.
2023-03-25 15:13:27 +00:00
- Please note you must use the patched version found here: https://github.com/TombEngine/Resources/blob/main/Wad2%20Objects/tr5_Imp.wad2
* Fix and improve wraith tails.
* Add dedicated WRAITH_TRAP object with enhanced effects.
2023-03-29 12:45:21 +11:00
- OCB 0: Effect disabled.
- OCB 1: Effect enabled.
2023-03-03 16:08:28 +00:00
* Add TR1 slamming doors.
2023-03-27 16:58:43 +11:00
* Add TR3 mutant wasp (AI_MODIFY object won't allow it to land, the wasp will always fly).
2023-03-25 15:12:02 +00:00
* Add TR3 Corpse
2023-04-05 11:21:11 +01:00
- OCB 0: used for coprses targeted by the compsognathus dinosaur.
2023-03-27 16:58:43 +11:00
- OCB 1: used for corpses hung in the air to be used as piranha bait. Will fall when shot.
2023-03-25 15:12:02 +00:00
- Please note you must use the patched version found here: https://github.com/TombEngine/Resources/blob/main/Wad2%20Objects/tr3_Compsognathus_Cadavar.wad2
2023-03-27 16:58:43 +11:00
* Add cold exposure bar (employed by setting the "cold" flag in water rooms in Tomb Editor).
2023-03-19 09:26:36 +00:00
* Add water wakes for vehicles.
2023-04-05 15:06:16 +01:00
* Restored light effect nullmeshes (color, electrical, pulse, and strobe):
2023-04-06 20:57:51 +10:00
- Select the light color as object tint in the OCB menu in Tomb Editor.
2023-03-30 15:17:24 +01:00
- ELECTRICAL_LIGHT:
2023-04-06 20:57:51 +10:00
- Can have multiple meshes. Add mesh number to OCB to be renderd with the light.
- OCB + (mesh number): Light behaves like a neon light.
- OCB (mesh number): Light flickers.
2023-03-25 15:12:02 +00:00
* Restored inventory compass.
2023-04-06 20:57:51 +10:00
* Allow dynamic segment count for hair object.
2023-03-24 12:21:14 +00:00
2023-03-24 08:46:41 +00:00
Lua API changes:
2023-04-06 20:57:51 +10:00
* Add function Misc::IsSoundPlaying()
* Add function DisplayString::SetFlags()
2023-03-24 08:46:41 +00:00
Version 1.0.7
=============
* Fix spark particles not being cleared on level reload.
* Fix visible but inactive enemies (e.g. Shiva or Xian guardians) taking damage.
* Fix blockable LOT type enemies (e.g. T-Rex and Shiva) not being able to step up 1 click or drop 2 clicks.
2023-02-25 21:34:44 +02:00
* Fix valve switch unable to untrigger objects.
* Fix valve and wall hole switches (OCB 5 and 6) not working as a timed switches.
2023-02-26 08:59:11 +02:00
* Fix incorrect Lara alignment on monkeyswing autojump.
2023-02-25 21:34:44 +02:00
* Fix silent crash if hair object or skin joints are missing.
* Fix holster meshes not displaying for Lara's shadow.
* Use Lara object's own meshes if Lara skin object does not exist in level file.
* Fix TR3 Shiva not taking explosive damage (should still block it with the sword).
* Fix TR3 Puna boss not blocking projectiles (grenade, rocket, harpoon, bolt) with the shield.
* Fix TR3 Puna boss and TR5 Roman statue taking fire when shot by explosive ammo.
* Fix TR2 sword and spear guardian:
- Not doing transition from alive to stone and stone to alive.
- Taking damage in stone mode.
- Wrong joint index for rotating the head and torso.
- Spear guardian not using left and right spear attack when walking (had wrong state ID set as target).
- Killing move for spear used wrong value.
2023-02-25 21:34:44 +02:00
* Fix TR3 big gun spawning rocket with 0 life which caused an immediate explosion.
* Fix TR3 Tony and add boss effect for him.
* Add TR3 civvy.
* Add TR3 electric cleaner.
* Add TR3 Sophia Leigh with following OCBs:
- 0 Normal mode. Sophia behaves like a regular enemy.
- 1 Tower mode. Behaviour matched from Tomb Raider III.
- 2 Tower mode with volumes. Same as tower mode, but Sophia's ascent can be controlled using volumes in Tomb Editor.
* Add airlock switch object. Achieved by putting valve switch trigger and door trigger on the same sector (TR5 submarine door setup).
* Add OCB 7 for switches to be used with SetItemFlags Lua commands for customizing on/off animations and reachable distance.
2023-02-25 23:11:49 +02:00
* Add instant headshot to guards.
* Polish the distance position between Lara and switch objects.
2023-02-25 21:34:44 +02:00
* Adjust rocket ammo pickup from 10 to 1.
* Improve behaviour of tiger and lion enemies.
* Implement more realistic water bubble effects.
* Implement a new stacked pickup display inspired by OpenLara.
2023-02-18 21:52:23 +00:00
* Prevent Lara from drawing weapons during parallel bar swinging.
2023-02-25 21:35:18 +02:00
* Further renderer performance optimizations and bugfixes.
2023-02-25 22:13:14 +02:00
Lua API changes:
* Fix Camera:SetPosition not updating camera position when it is played simultaneously.
* Add Moveable:GetAirborne and Moveable:SetAirborne.
* Add Moveable:GetLocationAI and Moveable:SetLocationAI.
Version 1.0.6
=============
2023-01-11 01:07:00 +02:00
* Fix major pathfinding bug which could have caused lots of issues with enemy behaviour.
2023-01-14 03:32:22 +02:00
* Fix potential random crashes due to incorrect rendering behaviour.
* Fix savegame crash for disabled enemies with partially set activation mask.
2023-01-13 01:43:42 +02:00
* Fix certain enemies not damaging Lara if binoculars or lasersight mode is active.
2023-01-11 01:07:00 +02:00
* Fix invisible Lara after starting a new game from title flyby with hidden Lara.
* Fix backholster weapons not updating their sound position together with player.
Lua new functions adngel (#934) * Function: Update Floor Collision Adds a new function to allow update the Floor collision of some objects (bridges, trapdoors, platforms, etc). * Function: Play Camera Allows to set activate a camera while this function is called. Right now, it requires the position and room of the target. (WIP) * Update * Removed the duplicated comment for UpdateFloorCollision. * Added new function GetIndex to the class Moveable. * Added new function GetIndex to the class CameraObject. * Added a new variable to the object LevelCameraInfo (Index). * Edited the function PlayCamera * Function: GetCameraType * Update descriptions Updated descriptions for. * GetItemFlags(index) * SetItemFlags (value, index) * Bug fix on FixedCameras. Bug description: When a fixed camera was being triggered, and, if the target go behind and obstacle, then the screen turned black. Reason: In those conditions, the move camera check the origin vector received, however, that vector was incomplete because it had the room 0, so although Move camera corrected the room later, it was already using some wrong calculus at room 0 that caused the black camera (this got an offset that places it out of the real room). The reason why the vector was getting room 0, was because the operator function = of the GameVector class, was forgetting to copy the Room Number. After this fix, the bug is not observed anymore. * Removal of Function UpdateFloorCollision * Erasing of forgotten line It was included for the UpdateBridgeFunction, but as that function is not here anymore, this include is not necessary. * GetIndex functions hidden from public lua API They still remain as they are being used by other classes, but they can't be called by lua script anymore. * First attempht of new Enum for lua Need to test first. * Removal of GetIndex() in CameraObject The GetIndex from the moveable class, is used in CameraObject class. But this one from CameraObject, although I created it was still unused. So I'm unmaking it. The Index var in the LevelCameraInfo.cpp is still there and is required for PlayCamera() function to work. * Update GetCameraType() @usage example. * Branch Update - Extracted CameraType enumerator to its own header. - Fixed formatting of CameraObject.cpp line 70 * Added comments for the doc - Added comments to the enumerator for the doc. - Removed datar from the function description, guiding to the enumerator CameraType info. * Update Changes.txt Added the content of this branch to the changes.txt * Error correction in CameraTypes enumerator header. * Updated usage example. Updated for a shorter example. * Update Changes.txt Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2023-01-12 23:10:47 +01:00
* Fix black screen bug when there was an obstacle between the fixed camera and the target.
2023-01-13 02:28:03 +02:00
* Fix underwater caustics not appearing without visiting options menu beforehand.
2023-01-22 11:06:16 +02:00
* Fix TR1 ape climbing.
* Fix TR1 rat which crashed the game when it was killed.
2023-01-22 11:06:16 +02:00
* Fix TR2 small spider climbing and pathfinding.
* Fix TR3 Shiva and TR4 baddy 2 not blocking bullets.
* Fix TR4 harpy's sting attack which was neither hurting nor poisoning Lara.
2023-01-22 11:06:16 +02:00
* Fix TR4 SAS teleporting over the blocks he walks by.
* Fix TR4 seth blades that were doing a double activation when used an OCB different than 0.
* Fix TR4 skeleton spawn when used with OCB 3.
* Fix TR4 sphinx solving his bugged behaviour that happened if it received a lot of damage.
* Fix TR5 Roman statue and its meshswap.
2023-01-28 17:50:48 +02:00
* Fix TR5 twogun laser guard.
* Fix enemy projectile effect colours.
* Fix enemy shadow position.
* Fix sound positions not updated during flybys.
2023-01-28 03:07:45 +02:00
* Fix grenade launcher super ammo emitting too many fragments.
* Fix grenade and rocket launcher lighting.
* Fix ceiling trapdoor and floor trapdoor that Lara couldn't open manually.
2023-01-28 21:03:42 +02:00
* Make enemies drop pickups at first available bounding box corner point, not centerpoint.
2023-01-13 19:17:42 +02:00
* Restore original volumetric explosion effects.
2023-01-22 11:06:16 +02:00
* Add TR3 lizard and Puna.
* Add TR3 boss effects in ID_BOSS_SHIELD and ID_BOSS_SHOCKWAVE_EXPLOSION slots.
* Add an option to activate Lua or node events from legacy triggers.
2023-01-22 11:06:16 +02:00
* Add more warnings in logs to enemies which animation or required slot is missing.
2023-01-02 19:31:01 +00:00
* Antitriggering an enemy will now cause it to vanish and pause.
* Re-triggering an enemy will cause it to reappear and unpause.
* Lua Moveable functions Enable and Disable now correctly trigger and antitrigger the moveable.
* Improve level loading speed a lot.
2023-01-11 02:02:15 +02:00
2023-02-25 22:13:14 +02:00
Lua API changes:
2023-01-02 19:31:01 +00:00
* Moveable:SetVisible has been added. MakeInvisible is now an alias for SetVisible(false).
2023-01-06 20:26:18 +00:00
* Moveable:MeshIsVisible is now GetMeshVisible.
* Moveable:SetMeshVisible has been added to replace ShowMesh/HideMesh.
2023-01-06 20:45:39 +00:00
* Moveable:MeshIsSwapped is now GetMeshSwapped
* Camera:SetPosition now updates the position if it's called while it's being played.
2023-01-25 18:54:53 +00:00
* Primitive Classes (Color, Rotation, Vec3) can now be saved via Levelvars and Gamevars variables.
* OnSave function now gets called just before data is saved, rather than just after.
Lua new functions adngel (#934) * Function: Update Floor Collision Adds a new function to allow update the Floor collision of some objects (bridges, trapdoors, platforms, etc). * Function: Play Camera Allows to set activate a camera while this function is called. Right now, it requires the position and room of the target. (WIP) * Update * Removed the duplicated comment for UpdateFloorCollision. * Added new function GetIndex to the class Moveable. * Added new function GetIndex to the class CameraObject. * Added a new variable to the object LevelCameraInfo (Index). * Edited the function PlayCamera * Function: GetCameraType * Update descriptions Updated descriptions for. * GetItemFlags(index) * SetItemFlags (value, index) * Bug fix on FixedCameras. Bug description: When a fixed camera was being triggered, and, if the target go behind and obstacle, then the screen turned black. Reason: In those conditions, the move camera check the origin vector received, however, that vector was incomplete because it had the room 0, so although Move camera corrected the room later, it was already using some wrong calculus at room 0 that caused the black camera (this got an offset that places it out of the real room). The reason why the vector was getting room 0, was because the operator function = of the GameVector class, was forgetting to copy the Room Number. After this fix, the bug is not observed anymore. * Removal of Function UpdateFloorCollision * Erasing of forgotten line It was included for the UpdateBridgeFunction, but as that function is not here anymore, this include is not necessary. * GetIndex functions hidden from public lua API They still remain as they are being used by other classes, but they can't be called by lua script anymore. * First attempht of new Enum for lua Need to test first. * Removal of GetIndex() in CameraObject The GetIndex from the moveable class, is used in CameraObject class. But this one from CameraObject, although I created it was still unused. So I'm unmaking it. The Index var in the LevelCameraInfo.cpp is still there and is required for PlayCamera() function to work. * Update GetCameraType() @usage example. * Branch Update - Extracted CameraType enumerator to its own header. - Fixed formatting of CameraObject.cpp line 70 * Added comments for the doc - Added comments to the enumerator for the doc. - Removed datar from the function description, guiding to the enumerator CameraType info. * Update Changes.txt Added the content of this branch to the changes.txt * Error correction in CameraTypes enumerator header. * Updated usage example. Updated for a shorter example. * Update Changes.txt Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2023-01-12 23:10:47 +01:00
* Add new function CameraObject::PlayCamera()
* Add new function Misc::GetCameraType()
* Add new functions Moveable:GetAirborne() and Moveable:SetAirborne(bool input)
Version 1.0.5
=============
* Fix combined items not existing in inventory upon game reload.
* Fix classic rollingball not behaving properly in rooms beyond the distance of 32 blocks.
* Fix rollingball not killing Lara under certain movement angles.
* Fix savegame crashes when rooms with static meshes are flipped.
2022-12-17 17:03:47 +02:00
* Fix discrepancies between statistics and save / load game time units.
* Fix draw key incorrectly working in binoculars / lasersight mode.
2022-12-28 12:18:34 +02:00
* Fix incorrect picking up from plinths concealed by raising blocks.
2022-12-29 00:31:31 +02:00
* Fix reversed grenade rotation.
2022-12-28 12:18:34 +02:00
* Fix flame emitter 3 not burning player.
* Fix TR2 yeti, TR3 civvy and MP with stick vault bugs.
* Fix TR2 worker with flamethrower and TR3 flamethrower baddy attack ranges and aiming issues.
2022-12-28 12:23:17 +02:00
* Fix TR3 tribeman with axe not attacking Lara.
* Fix TR3 tribeman with dart not shooting at Lara's direction.
* Fix TR3 crow and TR4 harpy death animations not performing correctly.
* Fix TR4 crocodile attack range and joint rotation speed.
2022-12-28 12:18:34 +02:00
* Fix TR4 Von Croy not using animation for 2 and 3 step down vaults.
* Fix TR4 baddies not using animation for 3 step down vaults.
2022-12-29 23:01:52 +02:00
* Fix TR5 laserhead guardian.
2022-12-25 16:38:00 +02:00
* Fix crash, water death and meshswap issues for TR5 cyborg.
2022-12-28 12:18:34 +02:00
* Fix pathfinding problems for first initialized enemy of every slot.
* Fix pathfinding of flying and water creatures (partial).
* Fix rare crash when smash item is inside a wall and add warning log for the scenario.
* Fix bone rotations of some entities.
2022-12-28 00:31:13 +02:00
* Fix Lara's animation for cog switch release.
2022-12-25 16:38:00 +02:00
* Added new OCB to cog switch object:
- Use OCB 0 to have the traditional behaviour.
- Use any other OCB to can use the Cog Switch without need of any door linked.
* Allow to freely rotate dart emitter in all directions.
* Customize dart emitter damage with OCB. Negative number will additionally poison Lara.
* Draw real mesh for darts.
Zone type, pathfinding and some entity fix (#925) * Started fixing zoneType - Fixed ZoneType::Null being not usefull. - Removed VonCroy zoneType. - Fixed water and fly being inverted. * Added more fixes. - Fixed crocodile AI and Joint Angle, Also fixed attack distance. - Fixed CIVVY not having the right zone. - Fixed MP_WITH_STICK and CIVVY vault. - Added some check for slot that required other slot. - Fixed a rare crash if a smash item when in wall, also log it if something like that is found to warn the user. - Fixed FLAMETHROWER_BADDY (TR3) attack range. - Small rat (TR2) is now initialised with InitialiseCreature(). - Improved Big rat (TR1) water surface check. - Fixed some entity bone rotation flags. * Fixed WORKER_FLAMETHROWER - Improved this code. - Fixed attack range and walk aim loop when walking. * Remove ClearItem() - Replaced it by it's original owner which is InitialiseCreature() * Added fix/add to the changelog * Fixed yeti vault bug too. * Removed fly lot for big_rat - Already set when triggered * Enable von_croy to go down 2 and 3 block - Enable the animation for going down from 2 click and 3. - Fixed pathfinding a bit. * Fix BADDY down vault (3 block) * Add misc code fix * Update box.cpp * Remove unused variable in box * Reformat constants and enum element names; undo compressed reformatting; restore project tool settings * Grammar * Removed bat default swim speed - Was in the wrong zone. * Remove vcpkg label * Removed not used variable for crocodile - Avoid using same function twise (TestEnvironment). * Fix constants * Fix TR2 flamethrower state enum * Fixed Platform Tool and MP_STICK 4 click vault. * Updated objects init and guard - Fixed double initialise of ID_SUBMARINE (ID_SUB_ATTACK) - Fixed tr3 flamethrower state 3 being idle instead of run. - Removed some variable being not used. - Completed guard state and animation. - Reworked guard vault code to ressemble other entities. - Fixed guard sleeping anim being able to turn where it should not be ! - Added guard ocb enum. - Fixed guard animation being change another time in this initialise function. - Added lara roomNumber for guard LOS() target. - Removed animIndex from guard control, it's already set when the object is loaded. - Added the function CheckIfCreatureCanJumpOrRoll() in box.h/cpp * Updated box.cpp * Updated all entity and bone setup - Fixed tr4 wild boar and dog rotation joint. - Added SetupHitEffect() to set the hitEffect variable automatically, using intelligent, health, undead and also the new variable isSolid. - Updated all entity zonetype and bone setup. - Fixed guard alert range. * Removed isSolid variable - As an alternative, using void SetupHitEffect(bool isSolid = false, bool isAlive = false) instead. - Now SetAnimation use: void SetAnimation(ItemInfo* item, int animIndex, int frameToStart = 0, int customTargetState = -1). * Change return type of certain functions to bool; refine new functions; formatting * Revert stuff, formatting * Revert SetAnimation() * Some fix * Fixed loading zones for TEN - Previous level loader not loaded the last zone which was fly, and voncroy zone was not deleted from the file format which broke the fly zone too. - Now the level loader and the level format will take into account the ZoneType enum MaxZone count instead of a define (which was fixed to 6). - Now the zone will be loaded based on number of boxes, instead of numBoxes * sizeof(int) which multiply it. * Merge branch 'master' into ZoneTypeAndEntity_Fix * Some minor change * Some misc code added - Added InitialiseCreature for some entities which don't have obj->initialise used * Define defaults; organise * Readded NO_BOX check * Fixed guard AI (for jumping) - Now the guard (and swat) will want to jump to reach lara instead of doing nothing (hunting) * Correct animation number for Guard 2 Step Down * Fix probabilities * Fix SameZone typo, formatting * Fixed last comment in PR Co-authored-by: Sezz <sezzary@outlook.com> Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com> Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2022-12-28 12:10:33 +01:00
* Added warning log when one slot requires another slot which is missing.
2022-12-17 04:00:14 +02:00
Lua API changes:
* Add new Room class and several methods for it.
2022-11-19 10:24:46 +00:00
Version 1.0.4
=============
2022-11-30 15:54:11 +02:00
* Add generic assignable effects for moveables - fire, sparks, smoke and laser / electric ignite.
2022-11-25 12:42:11 +02:00
* Add ability to burn enemies with FLAME_EMITTER_1 and death blocks.
2022-12-12 02:35:23 +02:00
* Add wireframe mode and other visual debug information (switch by F10/F11 debug page scroll hotkeys).
* Activate Lara-bound volume triggers with mounted vehicles.
2022-12-11 21:42:19 +02:00
* Allow multiple individual activators for the same volume at the same time.
2022-11-30 01:07:01 +02:00
* Remove TRC remnant which added HK to inventory if pistols weren't available.
2022-12-04 19:13:17 +02:00
* Change default shatter sound to TR4_SMASH_ROCK (tomb4 default).
* Reduce idle pose time from 30 to 20 seconds.
* Automatically align pickups to floor surface.
2022-12-11 21:53:39 +02:00
* Minecart enhancements:
- Add landing / jump sound.
- Add falldamage.
- Explode in water below 2 click surface.
- Fix jump.
2022-12-11 13:42:26 +00:00
* Templar Knight enhancements:
2022-12-11 21:53:39 +02:00
- Restored spark effects.
- Can destroy statics in shatter slots.
- Fix crash when attacking.
2022-12-16 15:10:08 +02:00
* SAS enhancements:
- Fix grenade shooting.
- Fix AI_MODIFY and AI_GUARD behaviour.
2022-12-16 17:08:59 +02:00
* Fix choppy camera movement in several cases.
2022-12-16 10:30:18 +00:00
* Fix Lara's vertical position when shimmying around steep slope corners.
2022-11-23 16:29:38 +02:00
* Fix legacy pickup triggers not working in certain cases.
2022-11-29 15:39:03 +02:00
* Fix crawl pickup not actually doing any pickups.
* Fix demigod and harpy shooting in incorrect directions.
* Fix particle effects for seth and harpy magic attacks.
2022-11-27 11:30:11 +02:00
* Fix lasersight always displaying with HK, revolver and crossbow.
* Fix rapid ammo spending in HK lasersight mode.
* Fix incorrect string IDs for item combine, HK and revolver with lasersight.
2022-11-20 04:48:06 +02:00
* Fix puzzle holes not swapping to puzzle done objects.
* Fix several collision and sound source issues in flipped rooms.
2022-11-23 16:29:38 +02:00
* Fix several pushable sound and object collision bugs.
* Fix original bug with incorrect climb up behaviour on ladders under sloped ceilings.
* Fix original bug with reassigned control keys still triggering default events.
* Fix TR1 centaur bubble targeting.
2022-12-16 17:08:59 +02:00
* Fix TR5 autogun rotation.
* Fix occasional wrong rollingball collision in narrow pits.
2022-12-02 12:46:51 +02:00
* Fix classic rollingball and big rollingball not behaving properly.
* Fix caustics not turning off in display settings.
* Fix windowed mode not using real resolution when DPI scaling is active.
2022-11-28 12:18:23 +02:00
* Fix control lock not working in flyby sequences.
* Fix empty inventory when using build and play feature in TE.
2022-12-08 00:09:10 +02:00
* Fix non-pickupable thrown flares.
* Fix throwing flare without drawing any weapons if there are no weapons present.
* Fix several incorrect FOV reset issues.
* Fix current soundtrack fading into silence if incoming one doesn't exist.
2022-12-11 03:49:02 +02:00
* Fix crash if there is an attempt to display a string with missing characters.
2022-11-19 10:24:46 +00:00
2022-11-23 16:48:16 +01:00
Lua API changes:
2022-12-14 02:36:57 +02:00
* Add new Volume class and several methods for it.
2022-11-30 15:54:11 +02:00
* Add new Moveable functions: GetEffect, SetEffect and SetCustomEffect (for colored fire).
* Add new Lara functions: GetTarget, GetVehicle and TorchIsLit.
* Remove Lara functions: SetOnFire and GetOnFire (replaced with GetEffect and SetEffect).
2022-12-07 18:26:43 +02:00
* Add Gameflow.lua options:
- Flow.EnableMassPickup for mass pickup functionality.
- Flow.EnableLaraInTitle for displaying Lara in title flyby.
- Flow.EnableLevelSelect for title flyby level selection.
- level.secrets for level-specific secret count.
2022-12-08 00:09:10 +02:00
2022-12-06 15:49:11 +02:00
* Fix level.ambientTrack property not working for title flyby.
2022-12-02 12:47:53 +02:00
* Fix action key script functions not fully working in some cases.
* Fix mounted vehicles ignoring Disable, Shatter and Explode script commands.
2022-12-06 15:49:11 +02:00
* Fix SetPosition command not updating room number correctly.
2022-12-14 02:36:57 +02:00
* Fix Rotation class using integers under the hood which prevented using fractional rotation values.
2022-12-16 15:10:08 +02:00
* Fix distance tests failing on a very high distances.
2022-11-23 16:48:16 +01:00
2022-09-30 14:28:06 +10:00
Version 1.0.3
=============
2022-10-25 11:54:54 +02:00
* Add ledge jumps (Lara object must be updated with new animations to make it work).
2022-11-13 00:53:14 +02:00
* Allow any object slot to be used as a meshswap.
* Add OCB 1 for rollingball to make it silent.
* Customize waterfall mist colour and OCB (XXYY, where XX is width, and YY is size).
* Implement HK shooting modes from TR5.
2022-11-01 00:30:20 +02:00
* Implement sprite instancing to speed up rendering.
* Enable dynamic lights for swarm enemies (beetles, rats and bats).
* Re-enable underwater caustics.
* Increase amount of maximum secrets per level from 8 to 32.
2022-11-02 12:45:46 +02:00
* Improve game and inventory input handling.
2022-11-07 23:01:57 +02:00
* Adjust sprint jump timing.
2022-11-15 23:45:16 +02:00
* Backport DAMOCLES_SWORD from TR1.
* Fix going into inventory and load/save dialogs during fade-ins and fade-outs.
2022-11-13 02:03:08 +02:00
* Fix savegames not preserving save number and game timer.
2022-09-30 14:28:06 +10:00
* Fix dodgy weapon lock angle constraints.
* Fix wrong shotgun ammo pickup amount.
* Fix shotgun using 6 units of ammo with each shot.
2022-10-05 17:36:23 +11:00
* Fix rocket explosions near statics.
* Fix explosive crossbow bolts not damaging player.
* Fix poisoned crossbow bolts not damaging enemies.
* Fix TR3 monkey level crash.
2022-11-02 03:52:04 +02:00
* Fix occasional ejections when landing on a slope.
* Fix occasional ejections when climbing up on a ledge under a slope.
* Fix pushables not being pushable on top of bridges and other pushables.
* Fix pushables having incorrect collision when bounding box is bigger than 1 sector.
2022-10-30 01:06:20 +02:00
* Fix grabbing narrow ledges below ceilings.
2022-10-10 11:57:46 +11:00
* Fix slow centaur projectile velocity.
2022-10-25 21:21:30 +01:00
* Fix search animations - allow chest and shelf animations to play properly.
* Fix sarcophagus and its item pickup.
* Fix underwater door and double doors continuing to be interactable after opening.
2022-11-06 08:13:04 +02:00
* Fix underwater door being interactable when underwater switch is on the same square.
* Fix ability to turn when aligning to an object while standing.
* Fix left arm lock while picking up an item with a flare in hand.
2022-11-02 01:23:47 +02:00
* Fix potential crashes when exiting game.
* Fix secret soundtrack (which filename number should be the last) not playing.
2022-11-02 01:25:50 +02:00
* Fix distance fog not applying properly to additive and subtractive surfaces.
2022-11-13 00:53:14 +02:00
* Fix swarm enemies and projectiles occasionally drawn using incorrect meshes.
* Fix single-hand weapons not having a sound on draw and undraw.
2022-11-03 22:38:27 +02:00
* Fix waterfall mist - it can now be disabled with antitrigger.
2022-11-06 08:13:04 +02:00
* Fix underwater lever pull animation playing after interacting with underwater ceiling switch.
* Fix SAS_DRAG_BLOKE object interaction.
* Fix KILLER_STATUE not triggering.
2022-09-30 14:28:06 +10:00
2022-11-11 19:48:51 +00:00
Lua API changes:
* A new class has been added, LaraObject, for Lara-specific functions. The built-in "Lara" variable now uses this class.
* Add functions for Lara object:
- GetPoison / SetPoison
- GetAir / SetAir
- GetOnFire / SetOnFire
- GetSprintEnergy / SetSprintEnergy
- GetWet / SetWet
- GetWeaponType / SetWeaponType
- UndrawWeapon
- GetAmmoCount
- GetHandStatus
- ThrowAwayTorch
* Add FlipMap and PlayFlyBy script commands and node functions.
* Add GetMoveablesBySlot and GetStaticsBySlot script commands to select groups of items.
* Add FlyCheat option to gameflow script for disabling dozy mode.
* Add SetTotalSecretCount option to gameflow script to set overall amount of secrets.
2022-11-11 19:52:21 +00:00
* Raised the maximum value on Moveable.SetHP to 32767 (its internal numeric maximum).
2022-11-11 19:48:51 +00:00
2022-08-25 00:07:48 +01:00
Version 1.0.2
=============
2022-09-30 14:28:06 +10:00
* Fix removing Pistols with TakeItem and SetItemCount.
* Allow saving and loading of Vec3s in LevelVars and GameVars.
* Support volume triggers made with node editor.
2022-08-17 21:49:17 +10:00
* Adjust max turn rate of idle state.
2022-08-26 21:43:43 +10:00
* Align Lara on slopes when crouching, crawling, and dying.
* Better slope alignment for large, flat enemies (i.e. big scorpion and crocodile).
* Lock turn rate when automatically aligning Lara to objects.
2022-09-03 01:12:46 +01:00
* Don't play Lara alignment animations if the interacted object is too close.
* Allow vertical pole mounts only when facing one directly.
* Allow vertical pole mounts while turning, walking, or running.
* Update monkey swing 180 turn animation.
* Update backward monkey swing animations.
2022-09-15 01:43:34 +03:00
* Added standing 180 turn. Activated with WALK+ROLL on dry ground, automatic when in wade-height water or swamp.
* Added crouch turn and crawl turn animations.
* Added new switch OCBs:
- 0 for wall switch
- 1 for small wall switch
- 2 for small button
- 3 for big button
- 4 for giant button (sequence switch)
- 5 for valve turn
2022-09-15 02:40:15 +03:00
- 6 for hole switch
2022-09-15 01:43:34 +03:00
- any other OCBs play corresponding switch on anim or OCB+1 switch off anim.
* Fix incorrect pole mounting.
2022-08-30 17:02:05 +03:00
* Fix zeroed forward velocity upon landing.
* Fix incorrect behaviour when falling on statics from the top after monkeyswing.
2022-09-15 17:21:10 +03:00
* Fix missing animcommand calls on first animation frame.
2022-08-30 17:02:05 +03:00
* Fix 1-frame turn rate delays.
2022-09-03 01:12:46 +01:00
* Fix occasional leave event calls when moving closer to volumes.
2022-08-30 20:12:23 +03:00
* Fix incorrect viewport size in windowed mode.
* Fix late landing animation dispatch in rare cases.
2022-09-16 20:30:37 +03:00
* Fix incorrect velocity calculations for death animations.
2022-09-12 17:06:42 +03:00
* Fix horseman's axe attack using his left foot as the damaging joint.
* Fix stargate blades needlessly pushing the player around while hardly doing any damage.
2022-09-15 01:34:06 +03:00
* Fix weapon hotkeys and add missing crossbow hotkey.
2022-08-26 13:40:53 +03:00
2022-09-06 21:23:09 +01:00
Lua API changes:
2022-09-16 14:55:22 +01:00
* Util.ShortenTENCalls no longer needs to be called; it is now automatic for both level scripts and Gameflow.lua.
* Flow.InvID has been removed; any function taking a pickup (e.g. GiveItem) now takes an Objects.ObjID instead.
2022-09-30 14:28:06 +10:00
* Add Enable, Disable, GetActive, Get/SetSolid functions for static meshes.
* Add FadeOutComplete, StopAudioTrack and StopAudioTracks functions.
2022-09-13 21:18:43 +03:00
* Account for objects in HasLineOfSight tests.
2022-09-30 14:28:06 +10:00
* Move Timer.lua, EventSequence.lua and Util.lua to a subfolder named "Engine".
2022-09-06 21:23:09 +01:00
* LevelFuncs can now contain tables as well as functions. These tables can contain functions and other tables, and so forth.
2022-09-12 11:53:54 +03:00
* Moveable functions SetOnHit, SetOnKilled, SetOnCollidedWithObject and SetOnCollidedWithRoom no longer take strings, and instead take function objects themselves.
2022-09-30 14:28:06 +10:00
* Don't require EventSequence and Timer to call Timer.UpdateAll in OnControlPhase.
* Add TEN.Logic.AddCallback and TEN.Logic.RemoveCallback.
* Rework GiveItem, TakeItem, and SetItemCount (e.g. SetItemCount with a value of -1 can give infinite ammo/consumables).
2022-08-25 00:07:48 +01:00
2022-08-07 01:56:09 +03:00
Version 1.0.1
=============
* Added antialiasing support.
* Added static mesh scaling support.
* Added free rotation for teeth spikes instead of using OCB codes.
* Fix some issues with shimmying between diagonal ledges and walls.
* Fix rope transparency.
* Fix objects disappearing under certain angles at the edges of the screen.
* Fix incorrect polerope and jumpswitch grabbing.
* Fix camera behaviour with pushable blocks.
* Fix minecart unduck on inclines.
* Fix quadbike dismount with jump key and allow to shoot big gun with action key.
* Fix static meshes having wrong colors on savegame reload.
* Fix rollingball incorrectly killing Lara in water and in jump.
* Fix resurfacing on underwater death.
* Fix water to ladder animation not activating in all cases.
* Fix ripples not appearing on water connections higher than room bottom.
* Fix several problems with ropes (stumbling, rope length, etc).
* Fix several problems with teeth spikes.
* Fix falling through twoblock platform on room number change.
* Fix falling block breaking too early if placed on a vertical portal.
* Fix crashes when loading image files are missing.
* Disable trigger check for puzzle holes.
* Clear locusts and other swarm enemies on level reload.
* Enhance cobra AI and fix targeting.
* Fully decompile HAMMER object from TR4.
* Prevent title music audio from starting in a random place.
* Update harpoon speed on room change.
* Enable second sky layer rendering.
* Preserve inventory and flare on level jumps.
* Timer.Create now lets you choose the units to display remaining time.
* Fatal script errors now boot you to the title (it will crash if the title itself has these errors).
* SetFarView has been removed, and Flow.Level.farView is now uncapped.
* DisplayString text will now be cleared when a level is exited or reloaded.
* EventSequence.lua has been added and documented.
2022-08-07 01:56:09 +03:00
Version 1.0
===========
2022-08-09 23:13:34 +01:00
First beta release.