Hello everybody! I am fairly new to the forums, and I normally try to figure out most problems I run into on my own. However, i am actually trying to emulate part of something I have seen in at least one game.
The game in question is Cootie Patootie by AestheticGamer. It's a strange horror game he made for Ludum Dare 35. It's really good, so go check it out (Actually check out all his work!). 🙂
Essentially what I want to accomplish is after completion of my game, when you attempt to continue or start a new game, it takes you to a specific map. Effectively making the game unable to be played again. (well, if you delete the persistent save files it fixes it of course) 😀
I know this can be accomplished with JKL_PersistentData and iavra_single_save_file plug-ins (as the effect he accomplished in his game used these as well).
I'm stumped on where my logic is going wrong though.
At the end of the game I turn on a persistent switch (let's call it NEW GAME), and then use the plugin command persistent save to save the state of this switch (do i have to do this? I'm not sure...)
The very first event of the game is in autorun, and I put in a conditional as the very first line "IF NEW GAME is on, transport player to EPILOGUE(map)".
Maybe my thought process is too simplistic, but it doesn't work. Small variations of attempting this have resulted in some...very unusual results (such as using persistent load plug in command). The closest I have achieved on accomplishing my goal has been getting the map to load for about half a second before going back to the regular opening of the game.
Any help would be greatly appreciated. I'm not sure if I am explaining this rather eloquently, but after 2 hours of messing with I figured it wouldn't hurt to ask.
Thanks! 🙂
The game in question is Cootie Patootie by AestheticGamer. It's a strange horror game he made for Ludum Dare 35. It's really good, so go check it out (Actually check out all his work!). 🙂
Essentially what I want to accomplish is after completion of my game, when you attempt to continue or start a new game, it takes you to a specific map. Effectively making the game unable to be played again. (well, if you delete the persistent save files it fixes it of course) 😀
I know this can be accomplished with JKL_PersistentData and iavra_single_save_file plug-ins (as the effect he accomplished in his game used these as well).
I'm stumped on where my logic is going wrong though.
At the end of the game I turn on a persistent switch (let's call it NEW GAME), and then use the plugin command persistent save to save the state of this switch (do i have to do this? I'm not sure...)
The very first event of the game is in autorun, and I put in a conditional as the very first line "IF NEW GAME is on, transport player to EPILOGUE(map)".
Maybe my thought process is too simplistic, but it doesn't work. Small variations of attempting this have resulted in some...very unusual results (such as using persistent load plug in command). The closest I have achieved on accomplishing my goal has been getting the map to load for about half a second before going back to the regular opening of the game.
Any help would be greatly appreciated. I'm not sure if I am explaining this rather eloquently, but after 2 hours of messing with I figured it wouldn't hurt to ask.
Thanks! 🙂