Difference between revisions of "Story.txt"
From XStoryPlayer Wiki
(Created page with "The story.txt file contains the information needed to add the pack to either the story menu or fastsex menu. Here is an example with extra information: <syntaxhighli...") |
|||
Line 2: | Line 2: | ||
Here is an example with extra information: | Here is an example with extra information: | ||
+ | |||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> |
Latest revision as of 13:55, 9 January 2015
The story.txt file contains the information needed to add the pack to either the story menu or fastsex menu.
Here is an example with extra information:
// The story structure Story abducted { app_version = (3,0); // The version of XStoryPlayer that this story is for. It will not be shown in other versions. version = (0,1); // The version of this story. It will not use save files of other versions of this story. type = FAST; // If this story is part of fastsex menu. Leave out if it is a normal story. sort_id = 99999; // Sort id for (story/fastsex) menu locked = false; // If story cannot be selected (if for example not yet released) show_full = true; // If story is only shown in full or also in demo version of XStoryPlayer can_save = true; // If you can save in this story // The story episode struct // A story can contain multiple episodes, to be chosen after selecting the story in the (story/fastsex) menu episode abducted { // The name of this episode in (story/fastsex) menu name = "Abucted"; // The description of this episode in (story/fastsex) menu desc = "In this short story you have been abducted by aliens.\n"; desc = "You have to escape before they start dissecting you."; // The image of this episode in (story/fastsex) menu image = "story_images/story.jpg"; // The names of this episode on episode page new_name = "Abducted"; new_name2 = "Abducted by aliens"; // The image of this episode on episode page new_image = "story_images/image.png"; // The description of this episode on episode page new_desc = "In this short story you have been abducted by aliens.\n"; new_desc = "You have to escape before they start dissecting you."; // The file that contains the code starting point of this story. code = "init/story/init.dat"; // The save file prefix save = "save/save_abducted.dat"; // The number of savepoints in this story save_count = 2; // If this episode can be selected locked = false; } }