STILL Work in progress.
Big Warnings:
-
Some names have changed, check there: TR2MainDocs for more infos, this version will certainely break your TR2Main.json !!!
Also the format is more stricts, all commands need to be in lowercase or they wont work ! -
Using the TombEditor below break other game version, only use it for TR2Main !
-
Savegame format as changed, old savegame prior version v1.9.0.2 will be dead !
-
Level format changed (Again), recompile all levels (even title).
Infos:
- If you want the correct source code use this one: cf79fae
- Since the TR2Main.json have some addition, check TR2MainDocs before sending a issue.
- Check TR2Main_assets.zip for additionals assets like new xml for TombEditor or new objects like the candle flame emitter.
- Check TombEditor_TR2Main.zip, starting this version this TombEditor (Which is version 1.7.3) is required !
- Quicksand room type is not functional yet (Still WIP) !
New Fix.
- Fixed loading picture.
- Fixed inventory light direction so now it come from above which fix the passport lighting.
TR2Main Features.
- Improved EEL behaviour and attack angle, he return to initial rotation after attacking.
- Improved lighting so items and lara is accurately going to shadow (still need improvement).
TombEditor Changes.
Current version: v1.7.3
- Fixed xml so it have missing and new objects names.
- Removed redundant variables in room structure.
Minor Changes.
- Upgraded Lift (Elevator) to work in NORTH, SOUTH, WEST and EAST direction instead of only NORTH.
- Simplified OnTrapDoor(), since a trapdoor is only 1 block in size, only checking the trapdoor position is enough !
- Improved FallingBlock so even if lara is above it (like jumping above), it wont fall until lara is on it.
Internal Changes.
-
Decompiled:
XianDamage(), DrawXianLord(), InitialiseXianLord().
-
Decompiled:
PropellerControl(), FallingBlock(), FallingBlockFloor(), FallingBlockCeiling().
-
Decompiled:
InitialiseGameFlags().
-
Decompiled:
InitialiseLOTarray(), DisableBaddieAI(), EnableBaddieAI(), ClearLOT().
-
Decompiled:
ClearBodyBag().
-
Decompiled:
GetChange(), TranslateItem(), RefreshCamera(), TriggerActive(), RemoveRoomFlipItems(), AddRoomFlipItems().
-
Decompiled:
ShiftItem(), UpdateLaraRoom(), EffectSpaz(), CreatureCollision(), ObjectCollision(), DoorCollision(), TrapCollision(), ItemPushLara(), TestBoundsCollide(), TestLaraPosition(), AlignLaraPosition(), MoveLaraPosition(), Move3DPosTo3DPos().
-
Decompiled:
GetDoor().
-
Decompiled:
DrawPhaseCinematic(), DrawPhaseGame(), DrawLara(), InitInterpolate(), phd_PopMatrix_I(), phd_PushMatrix_I(), phd_RotY_I(), phd_RotX_I(), phd_RotZ_I(), phd_TranslateRel_I(), phd_TranslateRel_ID(), phd_RotYXZ_I(), phd_RotYXZsuperpack_I(), InterpolateMatrix(), InterpolateArmMatrix(), GetFrames(), GetBestFrame().
-
Decompiled:
TrapDoorControl(), TrapDoorFloor(), TrapDoorCeiling(), OnTrapDoor().
-
Decompiled:
SpikeCollision().
-
Decompiled:
CheckForHoldingState(), InitialiseNewWeapon(), LaraTargetInfo(), find_target_point(), AimWeapon(), WeaponObject().
-
Decompiled:
draw_pistols(), undraw_pistols(), ready_pistols(), draw_pistol_meshes(), undraw_pistol_mesh_left(), undraw_pistol_mesh_right().
-
Decompiled:
lara_as_walk(), lara_as_run(), lara_as_stop(), lara_as_forwardjump(), lara_as_fastback(), lara_as_fastback(), lara_as_turn_r(), lara_as_turn_l(), lara_as_death(), lara_as_fastfall(), lara_as_hang(), lara_as_reach(), lara_as_splat(), lara_as_compress(), lara_as_back(), lara_as_null(), lara_as_fastturn(), lara_as_stepright(), lara_as_stepleft(), lara_as_slide(), lara_as_backjump(), lara_as_rightjump(), lara_as_leftjump(), lara_as_upjump(), lara_as_fallback(), lara_as_hangleft(), lara_as_hangright(), lara_as_slideback(), lara_as_pushblock(), lara_as_ppready(), lara_as_pickup(), lara_as_pickupflare(), lara_as_switchon(), lara_as_usekey(), lara_as_special(), lara_as_swandive(), lara_as_fastdive(), lara_as_waterout(), lara_as_wade(), lara_as_deathslide().
-
Decompiled:
LaraFallen(), lara_default_col(), lara_col_kick(), GetLaraCollisionInfo(), LaraSlideSlope().
-
Decompiled some creatures:
- Dog and Tiger.
- Mouse.
- Jellyfish, Baracudda, Shark.
- XianSpear and XianSword.
- Worker3 (Guy with a stick (Able to climb)).
- Eel and BigEel.
Another Warnings:
- Added warning about RJF, when the game is finished with all secrets, select any level is enabled through registry, you can disable it via RemoveRJF.reg in the
extra_options -> SelectAnyLevelFix
, you can found it in theTR2Main_assets.zip
archive. - Assets like the candle flame emitter or weather sprites can be found in TR2Main_assets.zip file.