Jump to content

Question about freezing time..


mdnR3ALD34L

Recommended Posts

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

  • Replies 48
  • Created
  • Last Reply

Top Posters In This Topic

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

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 by EPDGaffney
Link to comment
Share on other sites

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...