Hello! So I'm currently working on a mod that replaces the "You have suffered Final Death" popup with an animated texture more akin to the animated death popup from Fromsoft games. I've gotten it working and appearing where it's supposed to be, except the animation loops at the end when I want it to simply stop (one thing I feel the need to note is that the first and last frames of my animation are fully transparent). I'm a very new to this so please bare with me. Here is what my VMT looks like in its current form:
Proxies { AnimatedTexture { animatedTextureVar "$basetexture" animatedTextureFrameNumVar "$frame" animatedTextureFrameRate 120 } } } I've tried using material_modify_control and ToggleTexture to no avail but I think that's mostly due to my formatting or because I'm simply implementing them wrong. Some other weirdness to note is that I have animatedTextureFrameRate set to 120 but its clearly playing in game at 60. I know this because setting it to 60 makes it play in slow motion. Additionally here is a Gif demonstrating how this VMT displays the texture in game: imgur.com/a/AsyGIB0
Hello! So I'm currently working on a mod that replaces the "You have suffered Final Death" popup with an animated texture more akin to the animated death popup from Fromsoft games. I've gotten it working and appearing where it's supposed to be, except the animation loops at the end when I want it to simply stop (one thing I feel the need to note is that the first and last frames of my animation are fully transparent). I'm a very new to this so please bare with me. Here is what my VMT looks like in its current form:
Proxies { AnimatedTexture { animatedTextureVar "$basetexture" animatedTextureFrameNumVar "$frame" animatedTextureFrameRate 120 } } } I've tried using material_modify_control and ToggleTexture to no avail but I think that's mostly due to my formatting or because I'm simply implementing them wrong. Some other weirdness to note is that I have animatedTextureFrameRate set to 120 but its clearly playing in game at 60. I know this because setting it to 60 makes it play in slow motion. Additionally here is a Gif demonstrating how this VMT displays the texture in game: imgur.com/a/AsyGIB0
Any help is greatly appreciated, thanks!
It could be that it wasn't fully implemented in VTM:B Engine as the above seems to be from TF2 nad Hammer?
Dang, I actually saw this a while ago. Tried what they suggested too and it didn't work. Something else I thought about was modifying the Death.txt file that controls when the texture appears which looks like this:
I figured if there was a MinShowTime there might be a MaxShowTime, but had no luck when I wrote it in myself. I have little to no experience so I'm not sure where to look for alternatives.
Dang, I actually saw this a while ago. Tried what they suggested too and it didn't work. Something else I thought about was modifying the Death.txt file that controls when the texture appears which looks like this:
I figured if there was a MinShowTime there might be a MaxShowTime, but had no luck when I wrote it in myself. I have little to no experience so I'm not sure where to look for alternatives.
I wouldn't give up even though it seems fruitless. Sometime the best learning curves come from a failure.
How long does it lasts the death cutscene before the game automatically exists to the main menĂ¹? As a dirty alternative you can duplicate the last frame so the player won't see the restarting of the loop....
How long does it lasts the death cutscene before the game automatically exists to the main menĂ¹? As a dirty alternative you can duplicate the last frame so the player won't see the restarting of the loop....
So I just tested that out on a copy of Bloodlines with the latest Unofficial Patch! The death cutscene seems to go on infinitely unless the player interacts with either mouse or keyboard. I wonder if the .txt file could be modified to make the cutscene end and boot the player to the main screen after a certain amount of time though!
Social Media