Page 1 of 1

load savegame / ogg vorbis

Posted: Wed Nov 05, 2008 2:50 pm
by DiViNiTY
When i kill the Robots in rfdemov1, save the Game and then load it the Robots will be there again.
How can i avoid this?

And Ogg Vorbis file crashes Reality Factory. Mp3 works.

Re: load savegame / ogg vorbis

Posted: Fri Feb 13, 2009 8:28 pm
by DiViNiTY
I realy want to use Reality Factory, but when the load/savegame system doesn't
work even in the included rfdemov1 i have to use another game engine. :( (but RF would be the best and easiest)
Is there no way to save/load the game correct?

Re: load savegame / ogg vorbis

Posted: Fri Feb 13, 2009 8:38 pm
by Juutis
AFAIK, the save game system only saves the player's position and rotation as well as the player attributes. So basically whatever info you want to preserve when saving/loading you're gonna have to save it as player attributes. This includes stuff like enemy positions, rotations, states (idle, alert, attacking the player) etc. I've done this in my Nirhis demo game. For more info check the Nirhis thread.

Re: load savegame / ogg vorbis

Posted: Fri Feb 13, 2009 9:43 pm
by paradoxnj
I realy want to use Reality Factory, but when the load/savegame system doesn't
work even in the included rfdemov1 i have to use another game engine. (but RF would be the best and easiest)
Is there no way to save/load the game correct?
You are using an open source product. You can always grab the source and fix it yourself.

Re: load savegame / ogg vorbis

Posted: Sat Feb 21, 2009 10:37 am
by QuestOfDreams
Where did you use the ogg music file that caused a crash? In the menu? Soundtracktoggle entity?
You must use attributes to store states that don't get saved by default.

Re: load savegame / ogg vorbis

Posted: Mon Feb 23, 2009 6:24 pm
by DiViNiTY
I made a PlayerStart1 and played the .ogg file via szStreamingAudio.