Designing a story
This is part one of my tutorial series
Files you will need for this tutorial are located here There are pdf files included for an offline version
Programs you will need
Maya
XStoryPlayer v3 with betapatch
A program like notepad++ to make coding easier
The language we are going to be using is C++
Download the 'Tutorial resource pack' using the account manager.
Optional
3ds Max If you don’t have this or don’t want to use this then you can skip ahead to where i have provided the Maya scene.
These tutorials will cover start to finish of making a working story
Part one is designing a story
First thing we need to do when making a story is have an actual idea of what we are going to do keeping in mind the restrictions of what we can do
1. Maps have to be small in size but we can have multiple maps that join up
reason for small maps is that fluids crash if outside of ~2,500 cm from world 0
so the best way is to make a plane and test then scale to get the max size you can have
EDIT solved in the next version.
2. The lowest object in the map is where fluids get deleted so make sure there are no objects really afar below otherwise the fluids will destroy performance with the exception of things like skyboxes
The best thing is to have the floor as the lowest point in the map
3. There are only 4 characters although the can be textured differently
Saiko Monica alien larvae alien bigger
for the player Bob Peter
4. There are only a few animations currently
stand
walk
run
sit -- arms side and arms front
layback
kneel
machine doggie
pole up and down
bend over vag and ass
dance
stocks
ragdoll
skin rub no dont pee on me
pull panties down pull panties up
5. Having anymore then 2 main characters in the scene at once starts to lag
So the player, Saiko and Monica is fine (my laptop has 16 fps with only 1 in the scene so it depends on the hardware)
Although we can have more then 2 in our story we just need to have them in different scenes
6. We can change the clothing of the models and this is very simple
We can not however change the glasses or shoes currently but we can turn them on or off
7. Npc's can follow the player or another character and they can follow waypoints
Npc's following the player or another character still use a waypoint system
When the npc is told to follow the player a waypoint is created at the players location and the npc will move to that location when they get there they will align themselves with the waypoint keeping in mind that this is a slow process
If the npc is using waypoints to move then the waypoint has to be close enough for the npc to know its there otherwise they will just stand there also there has to be no major objects in the way that they can get stuck on
how far can the waypoints be depends on how complex the scene is if there is a lot of walls and objects they may need some more guidance
Npc's can not go up stairs due to how the collision and pathing works
We need to also keep in mind that if a player runs into the character while they are going somewhere it usually breaks them
8. When we have the character using positions like sitting and laying we need to make sure the objects are not too high up otherwise the waypoint we use to get them up there will be too far off the ground and they wont activate that animation and just walk around
We can force the character into the position using changeobj but this is not always reliable and will sometimes lead to crashes also when they stop that animation and go to something like walk they will walk at the hight of the waypoint and not the ground making them run in the air
Best thing is to design the furniture around the character and have them walk up and go to the desired position and not force them too
9. We must always plan doors in advanced to know how far they will open and if a npc has to walk through them
This might not seem that important and we can all ways add them in later but it becomes a nightmare to fix after
So always plan for where your npc's will walk and how how far the door needs to open so there is enough space otherwise they will smash into things and physics will say NO
10. Lights currently will affect the entire object they are shining on so for the best lighting its good to use each wall as a separate object then list what lights will effect what walls and floor
Intro
choices choices choices
We could just make our story have Saiko but we are going to add Monica too
Monica will live opposite Saiko
Our goal is to deliver a pizza to Saiko
So our player can walk up to Monica's door and press the door bell Monica will come to the door Do some dialogue which will either end up in her slamming the door in the players face or saying Saiko lives across the hallway
You walk up and press the door bell and Saiko answers the door
she invites you inside and you put the pizza on the bench
she goes to get some money but comes back and says she doesn’t have any and is there another way she can pay
(remember those choices)
You say no and take the pizza and leave
or
You say yes and Saiko says sit on the couch Saiko puts some music on and starts to dance
After a while she asks you to take off her dress
You take off her dress and sit back down
Then starts dancing again
She asks you to take off bra
You take off her bra and sit down
Then she starts dancing again
She takes off her panties
After that she invites you to the bedroom
You follow her to the bedroom
She kneels down and asks to do a blowjob
After that she lays down on the bed and askes to be fucked with a dildo
After that is done she asks to be fucked
That will be the story for this version but there will be an advanced version
So that's the basics of the story so we need a clear path from the door to her bedroom and to the spot where she will dance and the doors need to have enough room to open without hitting anything
But with Saiko needing to go into the bedroom and come back out we need the door to swing both ways which is not realistic but necessary otherwise she will slam into the door on the way back out and physics will say NO
Now onto designing the scene
If you are making your own story then this is where you will design your story and the scene
I used photoshop to quickly design the building and i mean really quickly
These are located in the images folder
I know that i wanted windows looking over the city on the left as the player entered the room with a kitchen on the right and the bedroom at the back of the room
So this is end of part one
We should now have a basic idea of what story we want to make and what restrictions we have
Part 2 waves hello