Various unimplemented stuff
Posted: Tue Oct 30, 2007 10:33 am
Ok, I don't know of which value it is, but I put some thought into
some "missing" features of DSB :
*Truly missing :
1- endgame pad
2- setting the randomseed ... (that would be useful to me at least)
*Somewhat cool but unecessary :
3- game stats
4- make new adventure
5- game log I/O feature
6- replay
1- I would just add a special function dsb_end_game() that would close the game.
Any custom ending could be done by hand anyway now, it just requires this function,
and maybe a default endgame_pad trigger object, that simply ends the game
(or display the blue endgame screen as seen in other clones, without the "restart" option )
2- setting the random seed : it would allow for some debugging.
I suggest dsb_randseed([seed]) and a nil value would set it back to whatever default value it has right now.
(I know it's more or less always the same, because I've experimented with it
)
3- I know it is probably already possible using the dsb_export(string) to implement a recording of game stats (like monsters killed)...
4- For this, I think a game flag (like for GAME_CSB_REINCARNATION) called GAME_NEW_ADVENTURE would allow two things if specified :
(maybe) A special "SAVE PARTY" button, that saves only the main party stats (the ones entered in dsb_add_champion() ) in a special party.dsb file
A special "MAKE NEW ADVENTURE" screen that allow to load any party.dsb file into the dungeon, or maybe only the party stats from a given normal savegame.
This feature seems really complicated to do though, in front of what it really adds to the game.
5- I would really like to be able to record some log of the game into a text file, (e.g with the basic lua I/O library).
Of course, some people will want to do devious things like modifying the .lua files
but this can't alter the game since they are precompiled anyway.
6- Well, this goes along with both previous ideas : it looks very complicated.
- Recording all the sequence of system functions calls seems like it will generate a HUGE replay file.
- Recording the log of the random generator and player input is a rather weird solution, too...
some "missing" features of DSB :
*Truly missing :
1- endgame pad
2- setting the randomseed ... (that would be useful to me at least)
*Somewhat cool but unecessary :
3- game stats
4- make new adventure
5- game log I/O feature
6- replay
1- I would just add a special function dsb_end_game() that would close the game.
Any custom ending could be done by hand anyway now, it just requires this function,
and maybe a default endgame_pad trigger object, that simply ends the game
(or display the blue endgame screen as seen in other clones, without the "restart" option )
2- setting the random seed : it would allow for some debugging.
I suggest dsb_randseed([seed]) and a nil value would set it back to whatever default value it has right now.
(I know it's more or less always the same, because I've experimented with it

3- I know it is probably already possible using the dsb_export(string) to implement a recording of game stats (like monsters killed)...
4- For this, I think a game flag (like for GAME_CSB_REINCARNATION) called GAME_NEW_ADVENTURE would allow two things if specified :


This feature seems really complicated to do though, in front of what it really adds to the game.
5- I would really like to be able to record some log of the game into a text file, (e.g with the basic lua I/O library).
Of course, some people will want to do devious things like modifying the .lua files

but this can't alter the game since they are precompiled anyway.
6- Well, this goes along with both previous ideas : it looks very complicated.
- Recording all the sequence of system functions calls seems like it will generate a HUGE replay file.
- Recording the log of the random generator and player input is a rather weird solution, too...