Wednesday, February 27, 2013

9 months. :)

Almost finished with pregnancy. Birth off screen support is ready. And it's not only for workers, it's will works the same way for any character in game world too! Now, I need just a little bit more testing of this all.

But now, we need actual content to use new engine abilities. :) I already begin to think about first pregnancy related questline. :) Also, there is common problem for games focused on pregnancy - "9 months". :)

Firstly: yes - process modelled carefully and lasts about 9 month of game time (for human).
Secondary: no - I don't think it's very interesting - wait this much time, if you point of interest is birth or late stages of pregnancy. So, in game we need some possibility of speed up time. Maybe for all world, but preferably only for one character.
Technicaly it's very easy - just one string in the script, so - no problems here.
Though we need some "in game" explanation to this effect. What it will be? I have few variants, but not decided final yet.

If anyone have something interesting in mind, please feel free to write about you ideas in the comments.

Sunday, February 24, 2013

Pregnancy support in engine is finished. Also I add texts about it to the characters descriptions.

But I just found a little logic issue, that I not think about before: birth process time handling.
Technicaly it's done, but what to do, if pregnant character is a worker, but not in the walk mode, and player busy with other character? Or what to do, if character out of the base and out of control (in hospital after loss of the fight, for a sample)?

After quick thinking, I came up with this for now:

- If worker at the time of birth in a walking mode, there will be a special event, which begins natural birth chains of events.

- If worker is at base, player will have allert window with message with something like "<Name> waters is broke!" and can have something like 1-2 game hours to end current link and switch attention to the birthing character, to begin that chain of events.

- If worker can't be accessed (hospital, or other cases), or player just not give attention in time, birth will be completely offscreen, and only with note in the character's journal. May be there will be some penalty for player in this case. Not sure, for now.

Saturday, February 23, 2013

Today I was able return to the game, just as I hope. Some progress in the pregnancy and postpartum simulation already, it's begins to look right. :) A little more effort and mechanics will be ready. Will remain only to write texts.

Thursday, February 21, 2013

Hard week...

This week at my work I have a force majeure, and have to work overtime, so I have very little time to anything else. Almost no progress this week. Sorry. 

Tommorow, I hope, will be last day of this mess, and I can return to the development of the game. :)

Monday, February 18, 2013

Coding, technical stuff...

Scripting some effects, I run into issue. I just not think about it before, but game engine not have one important feature in the script support. No way to address object that contains currently executing script. This is not needed for events, as scripts in them usually just simple procedures, but effects, items, organs, genes?.. They objects, and it's will be good if their scripts can use reference to his host, right?

Those from you, who have experience with object oriented programming, maybe already recognize  what I talk about. Yes - "this" keyword, that exist in all object oriented languages. Unfortunately, MVEL2 scripting language not have native support, or I just can't get it to work. But after some time, I found solution.

Now game engine recognize in scripts two keyword that works right the same way as "this" keyword (tryied to use it itself, but got runtime errors - conflict with native Java code).
From now "its" and "This" (with first capital letter) can be used to get reference to object that contains current script. There small limitation though - you can't access private fields in class, even if know about them (as thechically this will be external call). Only public field and methods accessible.

P.S. In engine already exsisted support for other similar keyword: "self" - reference to the character that contain object with currently executed script. Actively used in organs. Before this point this is been enough...

Friday, February 15, 2013

I written genetic processing code for children long time ago already, right.

But it's just not used before. And as now, with working pregnancy, I begin to actually test it, of couse, some bugs pop up. So, almost all time today I spended to find and fix various werid behavior in genetic processing. :) Like a genetic male grow up breasts, or a female without any organs at all. Complex genetic mechanic is powerfull tool, but it needs some time to be fully tested and debugged.

At least, today, I seems to be fixed most bugs  in it. 

P.S. Pregnancy postpartum effect (belly size) give me some hard times too. Still can't figure out right formula - it's need to be non-linear related to a time from birth, but with what curve?

Wednesday, February 13, 2013

Just quck note

Published SDK files, for those, who like to do something with game content by themselfes. It's just the same files that I posted on the forums early, so it's definitely not most recent version. Though new version of engine is back-compatible with them. (It's one of my priorities - third-party content not need to be rewritten for new versions).

Monday, February 11, 2013

Some work done, some bugs appears to be fixed, some still here. :) But for now, characters already can get pregnant, gestate, and give birth. What left to finish, is postpartum period, and changes in breasts (lactation related). And some tweaks of the size, weight, and volume changes in the pregnancy related organs, as I hope to simulate this process rather detailed way. :) Well, not too detailed to be nasty and boring, but anyway it's going to be rather detailed.

P.S. I'm not readed so many biology related texts since the my school times. :)

Saturday, February 9, 2013

Today I planned to do some work on the pregnancy, but forced to spend much time on finding and fixing one nasty logic bug in the template loading mechanic.
It's not cause errors, it's just not load random variants, if one template called more than one time inside single event. I'm found this in the time of adding texts to the characters descriptions.

Now it's done, and engine processing includes as intended - by selecting random template from the list of those who conditions matched situation. Pregnancy awaits. :)

Friday, February 8, 2013

Some experiment - stanalone version

Some time before, I get few responses about troubles with starting game. I guessed, that potential problem can be need to install Java JRE before starting game. And not for all peoples it can be acceptable (various reasons). So, I try to find solution, and may be it's founded. I create special package of game with included portable version of JRE - it's not need any installations. Just download it, unpack, start. Simple as it.

Only drawbacks - bigger archive to download, and loss of the crossplatform running ability - this is Windows only.

Thursday, February 7, 2013

Hello all!



I am somewhat tired by the need of updating info about this game on the two forums, so decided to create this blog. Now, it's officially a new home of the "Fetish Master". :)