EPDGaffney Posted June 20, 2018 Share Posted June 20, 2018 Seems that the camera that slows down time doesn't kick in straight away, making these short player death reload times run at their actual value of .055 or whatever it is and thus reloading the game before the camera has a chance to multiply that .055 value to what you would like it to be. I'll try working on a script that can make it work anyway. Link to comment Share on other sites More sharing options...
EPDGaffney Posted June 20, 2018 Share Posted June 20, 2018 New script idea. Event handler for player death that places an invisible item near the player and have that item run a script that counts the 2.5 seconds and then does the essential death reload function. The reason to do it with an item is that the quest is running too slowly using GetSecondsPassed, whereas an item can use frames. Each frame, increment the count, and after 180 frames, reload the game. Should work I think. Have to run for now, though. Link to comment Share on other sites More sharing options...
Mktavish Posted June 21, 2018 Share Posted June 21, 2018 That's some good thinking ... I knew you had the hacky method in you ;) Link to comment Share on other sites More sharing options...
EPDGaffney Posted June 21, 2018 Share Posted June 21, 2018 (edited) Thanks. No luck yet unfortunately. Have to read through my code and add some print checks. ` Ugh, this game...I swear, nothing works the way it's meant to do. EssentialDeathReload quits the entire game to the main menu for some reason. Hoping I can use another event handler to save the loaded save file as a string and then use Con_LoadGame for when my frame counter reaches 180. Edited June 21, 2018 by EPDGaffney Link to comment Share on other sites More sharing options...
mdnR3ALD34L Posted June 21, 2018 Author Share Posted June 21, 2018 (edited) Real quick question: Do I keep using GetSecondsPassed, or some other function..? I'm still a noob at this lol... Edited June 21, 2018 by mdnR3ALD34L Link to comment Share on other sites More sharing options...
EPDGaffney Posted June 21, 2018 Share Posted June 21, 2018 GetSecondsPassed won't work right during the frozen death screen. It will be slowed down as much as the camera slows it. I'm using a counter script on an item so that it counts frames instead of seconds, and that seems to be working fine. I just can't seem to get it to load the game. Got it to quit the game...cos everything's broken. I'm thinking the best thing to do will be to remove the death cameras completely, stop time via SGTM, count the frames with an invisible item like the one I have, and then make time move really fast so that it reloads the game. Then an event handler that sets time back to normal once the game is loaded. But I'll have to work on it another time. Link to comment Share on other sites More sharing options...
Mktavish Posted June 21, 2018 Share Posted June 21, 2018 Real quick question: Do I keep using GetSecondsPassed, or some other function..? I'm still a noob at this lol... He means hold tight till he crunches the logistics to see what is possible.Your in good hands :cool: Link to comment Share on other sites More sharing options...
Mktavish Posted June 21, 2018 Share Posted June 21, 2018 I would start interjecting ... but it would just slow the end product up.albeit I am watching to see if ??? but so far just let the genius work. Link to comment Share on other sites More sharing options...
mdnR3ALD34L Posted June 21, 2018 Author Share Posted June 21, 2018 GetSecondsPassed won't work right during the frozen death screen. It will be slowed down as much as the camera slows it. I'm using a counter script on an item so that it counts frames instead of seconds, and that seems to be working fine. I just can't seem to get it to load the game. Got it to quit the game...cos everything's broken. I'm thinking the best thing to do will be to remove the death cameras completely, stop time via SGTM, count the frames with an invisible item like the one I have, and then make time move really fast so that it reloads the game. Then an event handler that sets time back to normal once the game is loaded. But I'll have to work on it another time. I'm kinda interested to see what you scripted so far, so can you please show me :D Link to comment Share on other sites More sharing options...
EPDGaffney Posted June 21, 2018 Share Posted June 21, 2018 I don't remember what was what when I saved it, but here's the working file:https://ufile.io/rssob I was trying a bunch of things, so if something looks weird, it may not be what I was using. Link to comment Share on other sites More sharing options...
Recommended Posts