Sunday, March 31, 2013

Guide - Events(This Girl)

Now here is a question for you?  What do you do if you want to make a specific variable for a specific girl.  Say MugiONE meets a fox on the street.  Obviously MugiTWO has never met that fox.  There should be a way for the fox to know that.  So now we have the thisgirl events.  They act the exact same as evechange and evecheck but are girl specific.  Also if the girl has never hit the label before on a change, and only on a change, it will add that label to the list of known labels to the girl and modify as needed.  That's a little complicated but it works the same as the sex classes and I will example.

Example 1

MugiONE has met the fox...  Learn Variable metfox and set to true.   So when checked she returns true. 

MugiTWO has never met the fox.  So when checked she ALWAYS returns false.  Because she doe not even have the variable metfox in her variable list.

Example 2

MugiONE has met the fox 3 times.  Has learned variable metfoxcount and has it set to 3.  

MugiTWO has never met the fox so even if metfoxcount is checking for zero it will still FAIL.  She does not even have the variable on her list.

Lets looks at the xml...  Like I said before it follows the evecheck and evechange syntax exactly just has a different call at the front.


System can check (eq and ne) and change boolean 
System can check (eq and ne) and change string
System can check (eq, ne, lt, and gt) and change int

Text replacement works off the variable name... make sure the variable name is unique or may replace it everywhere.  Tested to work with strings and int should work with bool as well but not tested.

Daisy

Saturday, March 30, 2013

Multiple Changes #showchange


Fixed #showchange so it will now only show one change even if multiples of the same change are made.  #showchange is the command in the text engine that shows all the stat changes and formats them.  

Love the math here 

1000 + 9 = 1006!



That's fixed moving on.  To more interesting things... ( I hope that was fixed too easy a bit scared.)

Daisy

Friday, March 29, 2013

Fixing Bugs before they happen


Nylva made a lot of interesting mods to the game adding a bunch of new jobs, rooms, classes, and building.  The update is on the SVN and it got me a little worried that the game is going to be out of room for houses and rooms soon.  Rooms are maxed as of this update.  So trying to fix that.  



Also added borders to the room screen around the rooms.  I think it looks better but any feed back would be appreciated.  Onsen should really not be an option for the small house... one disaster at a time.

Daisy

Thursday, March 28, 2013

Promotion Exam Quests

Trying to get the promotion exam quests back in the game.  Trying being the key word... anyways they should be in the next update which will be sometime next week.  Interesting stuff on the boards hope to check them out today some time but looks like there may be new classes soon.

Daisy

Monday, March 25, 2013

Quest Creator Walkthroughs

That was a lot of posts all 4 guides in 24 hours.  Going to take a few days off the blog be back Thursday most likely.

Daisy

Guide - Quest Creator (popup)

So now we are on the last part the pop up that asks for the girl to turn in.  What the pop up can ask for is actually relativity limited.  I may expand it later on but right now you can only really check for number of girls, 2 stats, and 2 items or 2 effects, plus a special.  Lets take a look at it by the numbers.


Keep Items - Does the player keep the items on turn in or lose them that the girl is wearing.  Basically is the quest idiot proof.  Though if an item is required it probably should be taken for the quest to succeed.

Number of Girls - How many girls are asked for?

Checks - Stats to check.  How to check (gt - great then, lt - less then, eq - equal) the stat.  The number to check against.  Up to 2 checks can be made.

Effect or Item - Basically the pop up can only check for up to 2 effects or 2 items it can not check for both items and effects only one or the other.  Select the item or effect from the combo boxes to add.

Special - A special check that doesn't fall into the above checks must be manually added to the game at the moment.  Currently the only special check that exists in twins.  Help is provided for each special.  


The pop up may get an over hall to make it more event system based some day.

Good News!  We don't have to create any new xml files this time lets just add the xml to the quest file we already created at the start.


Added now then lets go see if it works.

And that is that.  One of the easier steps.

Daisy

Guide - Quest Creator part 3 (text)

All the heavy lifting has been done lets go look at the text portion.  This is the part you will need to do the most changes in.



First off you can input text in the violet fields and the quest creator will update them... If you want to make a cheap and dirty quest that's fine.  I'm not going to do it that way I just want the formated xml with all the names consistent.

Once again lets make a new xml file.

xml/textstories/

is the default directory our example is at

xml/textstories/shop/twosnipstailor/twosnipsnextmodelquesttext.xml

Don't forget to the add the file to the text files at

xml/textstories/books.xml

and to add the root tags.

Now comes the part that is labor intensive no matter how you look at it adding the actual text and images.  At least you don't have to worry about the call names since there all set up for you.


After adding some text we now have a quest that says stuff.   Now lets go look at the quest book because we need to make some modification to the original quest xml from the setup.


If you look the quest book is only showing the first line of a multi line quest set up.  No problem we just need to add the rest of the lines now.  Just add more textlabel and textlabelend using the text labels from the text in the text xml.

It's that easy to add the remaining lines to the quest book and are quest book filled out.

That's about it for text.

Daisy