Difference between revisions of "Adding new story"
From XStoryPlayer Wiki
Line 9: | Line 9: | ||
<li>Set <code>start_mode = SCENE;</code> because we will be starting directly in storymode again from now on.</li> | <li>Set <code>start_mode = SCENE;</code> because we will be starting directly in storymode again from now on.</li> | ||
<li>Open the <code>/pack_abducted/story.txt</code> file in an text editor. This file contains the information needed to add the new story to the story menu.<br> | <li>Open the <code>/pack_abducted/story.txt</code> file in an text editor. This file contains the information needed to add the new story to the story menu.<br> | ||
− | Basically [[XStoryPlayer]] checks if there is a <code>story.txt</code> file in a <code>./pack/pack_[name][ | + | Basically [[XStoryPlayer]] checks if there is a <code>story.txt</code> file in a <code>./pack/pack_[name][|.bin]</code> file or directory. If so it is added to either the [[fastsex menu]] or [[story menu]]. Because this <code>story.txt</code> file does not have <code>type = FAST</code> in it, it is added to the [[story menu]].</li> |
<li>Take a close look at the files in the <code>/pack_abducted/init/story</code> directory. These files</li> | <li>Take a close look at the files in the <code>/pack_abducted/init/story</code> directory. These files</li> | ||
</ol> | </ol> |
Revision as of 13:32, 9 January 2015
First we will add a new story to XStoryPlayer.
Again during all tutorials do not save!
- Place the
pack_abducted
directory from the 'Tutorial resource pack' in the./pack
directory of XStoryPlayer. - Open XStoryPlayer and go to the story menu. You should see here the "Abducted" story. Start it.
- You should be in a test room, with red boxes. Press F3 to close XStoryPlayer.
- Set
start_mode = SCENE;
because we will be starting directly in storymode again from now on. - Open the
/pack_abducted/story.txt
file in an text editor. This file contains the information needed to add the new story to the story menu.
Basically XStoryPlayer checks if there is astory.txt
file in a./pack/pack_[name][|.bin]
file or directory. If so it is added to either the fastsex menu or story menu. Because thisstory.txt
file does not havetype = FAST
in it, it is added to the story menu. - Take a close look at the files in the
/pack_abducted/init/story
directory. These files