Notice: If the game stops working after an update, it might be a savegame incompatibility. Remove your savegame folder and try again before posting about it.
Registration has an extra hurdle now: There have been advertisement bots, so I added a security keyword to registration. Deal with it.
  0 users browsing Director's Trailer. | 1 bot  
Main » Director's Trailer » Writing questions
Pages: 1
Posted on 09-26-12, 02:14 pm (revision 1)

 

Posts: 4/7
Since: 09-23-12

Last post: 4219 days
Last view: 4160 days
Been reading the wiki and going over the XMLs in the code and have some questions...

1) Is it possible to create scenes, dump them in the game directory and try them out? Or does it need to get compiled?

2) The target attribute of the filter elements seems to be "top" and "bottom"... Like so:

<filter target="bottom" type="relation" value="none" />
<filter target="top" type="value_gteq" name="charisma" value="50" />


So basically this conversation would kick in if "relation" was at least "none"? And charisma at most 50?

Thanks for helping illuminate the clueless!

(Kawa edit: wrapped filters in a code block so they show up. Preview is your friend.)
Posted on 09-26-12, 02:34 pm (revision 1)
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 45/344
Since: 06-08-12

Last post: 1690 days
Last view: 1230 days
Filters need more explanation on the wiki.

The first example, "relation", checks the bottom's shipping grid for an entry about the top. For example, <tt>value="acquaintance"</tt> would match if the top (usually the player) is an acquaintance of the bottom. "None" is a special case in that it matches a missing shipping entry. Relationships have no "at least".

The second filter you specified matches if the player (see above) has a Charisma stat of at least 50. Greater Than or Equal, >=.

Therefore, when combined, the scene would be available if the player is a total stranger to the character they speak to, and has a charisma of at least 50.


Ah, I was so wrapped up in correcting the filter examples that I forgot the other part: in the latest builds, those with MIX files, you can extend scene files externally. External files go in a \data folder, in the same directory as the game executable. XML Extensions trigger when the file path is \data\something_scenesDlg.xml or \data\something\scenesDlg.xml (assuming the file to extend is scenesDlg.xml). A file with \data\scenesDlg.xml as its path would replace the one in the MIX file so watch out.

For fun, get a PNG file that is 80 by 50 pixels in size and save it as \data\title.png. Only XML files can be extended, but replacements are possible for anything in a MIX file.

I don't just program Noxico...
Posted on 09-26-12, 04:44 pm

 

Posts: 5/7
Since: 09-23-12

Last post: 4219 days
Last view: 4160 days
So basically "top" is the person who started the interaction, which will usually be the player. "bottom" is the person who "got" the interaction... Right?
Posted on 09-26-12, 04:57 pm
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 46/344
Since: 06-08-12

Last post: 1690 days
Last view: 1230 days
That is correct. For sex scenes, the player gets to top unless it's rape by defeat. For dialogues, the player is (for now) always the top.

Incidentally, if the player is the bottom (reciever? catcher? uke?) the game will pick an action at random, unless a certain flag is set by a scene script. This technically goes for both sex and dialogue, but since the player always tops in dialogue...

I don't just program Noxico...
Posted on 09-26-12, 05:18 pm

 

Posts: 6/7
Since: 09-23-12

Last post: 4219 days
Last view: 4160 days
Ah, I think it all makes sense now. Now let me give this a try. Thanks!
Pages: 1
Main » Director's Trailer » Writing questions