www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor

Reply
 
Thread Tools
Old 02-09-19, 13:40   #19241
dinne
Archaeologist
 
dinne's Avatar
 
Join Date: Aug 2016
Location: Italia
Posts: 1,093
Default

Quote:
Originally Posted by Krystian View Post
You can enable the Diagnostic log (a TRNG feature), which is an on-screen debug feature with lots of infos available for inspection.
To enable it, you should add a Diagnostic= ENABLED line in the Options section of the script in NG Center. You can also specify precisely what kind of debug info you want to see on screen, this is done with the DiagnosticType script. For your purpose you want to see information focused around Lara, which includes the current performed animation. For this you should have DiagnosticType= DGX_LARA, IGNORE and you will see this information on screen when you play your level.
If you're interested you can read about other options for the Diagnostic feature by checking the relevant entries in the reference.
Thank a lot! I didn't know this. So I figure out that in front of it, she still performs the 103 animation (idle). I guess I have to force the animation with a flipeffect then...
dinne is offline   Reply With Quote
Old 02-09-19, 14:01   #19242
ChocolateFan
Historian
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 325
Default

Try to open tools\TOMB4_LOG.exe right before you use the switch, and close the logger after. Then post the log here. You should see something like this:

Code:
      0:             WM_ACTIVATE
      0:             WM_ACTIVE
     16:           Game Thread Resumed
     31:   Anim=103 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=60 Flags=$0 
   1735:   Anim=40 (Next=40) StateId=16 (Next=16) HSpeed=0 VSpeed=0 Room=60 Flags=$0 
   1766:   Anim=40 (Next=40) StateId=16 (Next=16) HSpeed=10 VSpeed=0 Room=60 Flags=$0 
   2203:   Anim=413 (Next=11) StateId=16 (Next=16) HSpeed=10 VSpeed=0 Room=60 Flags=$0 
   2235:   Anim=413 (Next=11) StateId=16 (Next=2) HSpeed=0 VSpeed=0 Room=60 Flags=$0 
   3797:   Anim=11 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=60 Flags=$0 
   3860:   Anim=103 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=60 Flags=$0
ChocolateFan is offline   Reply With Quote
Old 02-09-19, 14:24   #19243
dinne
Archaeologist
 
dinne's Avatar
 
Join Date: Aug 2016
Location: Italia
Posts: 1,093
Default

Quote:
Originally Posted by ChocolateFan View Post
...
Thanks, this is the log from when she is in front of the switch and with the 2 script entires mentioned before...

Code:
      0:   Anim=103 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=111 Flags=$0 
  12495:   Anim=1 (Next=1) StateId=0 (Next=0) HSpeed=0 VSpeed=0 Room=111 Flags=$0 
  12527:   Anim=1 (Next=1) StateId=0 (Next=0) HSpeed=15 VSpeed=0 Room=111 Flags=$0 
  12558:   Anim=63 (Next=11) StateId=41 (Next=0) HSpeed=15 VSpeed=0 Room=111 Flags=$0 
  12589:   Anim=11 (Next=103) StateId=2 (Next=0) HSpeed=0 VSpeed=0 Room=111 Flags=$0 
  12620:   Anim=11 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=111 Flags=$0 
  12651:   Anim=103 (Next=103) StateId=2 (Next=2) HSpeed=0 VSpeed=0 Room=111 Flags=$0
Ok, thanks, I get the info that she plays Anim 63 (it was empty in my case, but I imported the right one for 63 and it's the pulling of the normal classic lever).
I think this number is different for each (hardcoded?) switch, then... I suppose that if I change slot, I'll spot the right one for this switch.

Edit: I understood I had to change it in the Switch Manager with OCB0, ok, so I get that I can't have both the lever switches. But it's not a problem. But I tried to put this setting in Wad Merger Switch Manager ("Small lever switch") and the game crashes if I press Action...
I'll just put the "wrong" animation in Anim63. So thanks a lot.

Last edited by dinne; 02-09-19 at 14:43.
dinne is offline   Reply With Quote
Old 02-09-19, 14:45   #19244
ChocolateFan
Historian
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 325
Default

Perhaps some of the values of the imported animation got corrupted? These are the correct ones:

ChocolateFan is offline   Reply With Quote
Old 02-09-19, 14:53   #19245
dinne
Archaeologist
 
dinne's Avatar
 
Join Date: Aug 2016
Location: Italia
Posts: 1,093
Default

Quote:
Originally Posted by ChocolateFan View Post
Perhaps some of the values of the imported animation got corrupted? These are the correct ones:

I could check but it's a similar problem I had already in other occasions. It happens also that, if I use the Switch Manager, if I go in the Animation Editor and I click on the animation in question, it crashes it too, giving "runtime error 9". So I just avoid using this tool, I just replace animations manually... Because otherwise I have to replace Lara again with a backupped wad file.
dinne is offline   Reply With Quote
Old 02-09-19, 15:20   #19246
ChocolateFan
Historian
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 325
Default

Indeed it is true that WadMerger should be avoided at all costs! But I use Windows XP and WADTool does not have support for it, so I have no choice. If you are building your level in Tomb Editor you could try it.
ChocolateFan is offline   Reply With Quote
Old 02-09-19, 16:00   #19247
TheLostSecret
Explorer
 
Join Date: Mar 2018
Location: ERROR: Nowhere to be found
Posts: 620
Question Tra sfx?

Hi everyone!

Sorry, I'm desperately looking for Tomb Raider Anniversary SFX files, and I can't seem to find one. Previously, I was suggested to use either TRU or TRL samples, but there are yet some of the sound files which are only used in TRA, like the sound of the operating gates, mechanisms and etc.

So, does anyone have access to this resource or can anyone guide me with this?

Thanks a lot in advance!
__________________
Self-destruction process: Complete.
TheLostSecret is offline   Reply With Quote
Old 02-09-19, 19:39   #19248
Joey79100
Professor
 
Joey79100's Avatar
 
Join Date: Mar 2012
Location: France
Posts: 3,070
Default

Do you know TRLTool? Despite its name, it opens those bigfiles for both TRL and TRA and can extract resources from them. It doesn't include small sound effects like Lara's grunts, her footsteps, pistols, or small switches for instance, etc (if I remember correctly, it's been ages since I used this), but it has the bigger sounds, like mechanisms with echo, big gates, etc. And musics, cutscene audio, voiceovers, ambaince tracks, etc. It can export everything as multichannel .WAV files (same number of channels as the original).
I don't know the official place to download it, but I know a French website that has it: direct download link.
It's pretty simple to use, there's a filter for the resources you want (MUL are the audio files), an integrated player that will automatically play everything you click if it's opened, and when you want to extract something, you just drag and drop it wherever you want (by default it automatically converts MUL files to WAV).
You might find what you're looking for with this.
Joey79100 is offline   Reply With Quote
Old 02-09-19, 20:12   #19249
TheLostSecret
Explorer
 
Join Date: Mar 2018
Location: ERROR: Nowhere to be found
Posts: 620
Thumbs up

^ Thank you so much for your detailed explanation!
__________________
Self-destruction process: Complete.
TheLostSecret is offline   Reply With Quote
Old 02-09-19, 20:17   #19250
Tomb Raidering
Professor
 
Tomb Raidering's Avatar
 
Join Date: Aug 2019
Location: In your eyes
Posts: 3,095
Default

Quote:
Originally Posted by TheLostSecret View Post
^ Thank you so much for your detailed explanation!
I knew you would find what you’re looking for in this section.
__________________
TR needs to be about cities, discos and military bases again.
Tomb Raidering is online now   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 17:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.