load savegame / ogg vorbis

Post any Bug Reports here
Post Reply
DiViNiTY
Posts: 10
Joined: Mon Oct 02, 2006 6:12 pm
Contact:

load savegame / ogg vorbis

Post by DiViNiTY » Wed Nov 05, 2008 2:50 pm

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.

DiViNiTY
Posts: 10
Joined: Mon Oct 02, 2006 6:12 pm
Contact:

Re: load savegame / ogg vorbis

Post by DiViNiTY » Fri Feb 13, 2009 8:28 pm

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?

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: load savegame / ogg vorbis

Post by Juutis » Fri Feb 13, 2009 8:38 pm

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.
Pain is only psychological.

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: load savegame / ogg vorbis

Post by paradoxnj » Fri Feb 13, 2009 9:43 pm

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.
Many Bothans died to bring you this signature....

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: load savegame / ogg vorbis

Post by QuestOfDreams » Sat Feb 21, 2009 10:37 am

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.

DiViNiTY
Posts: 10
Joined: Mon Oct 02, 2006 6:12 pm
Contact:

Re: load savegame / ogg vorbis

Post by DiViNiTY » Mon Feb 23, 2009 6:24 pm

I made a PlayerStart1 and played the .ogg file via szStreamingAudio.

Post Reply