Showing posts with label event tester. Show all posts
Showing posts with label event tester. Show all posts
Sunday, March 4, 2012
Even more variable replacement now with health
Okay so this one is a bit more complicated to try to understand. Basically changing a game variable with an on the fly variable. A nice little addition to the overall and lets me finally end this variable rampage.
So now you can do:
GameArray[whatGirl].HP = GameArray[whatGirl].HP - health
or any on the fly variable.
Now on to sick and will be done until someone finds a bug.
Daisy
Saturday, March 3, 2012
Class jobs updating
It works! classes now update and can be checked. What a pain in the rear. Perhaps I should explain why it was such an issue.
The girls have 2 sets of classes. That may seem obvious, but we have to know does the class exist, is it known by the girls, and then we have to update the right one class 1 or 2.
That means you can't use a direct update.
GameArray[whatGirl].girlClass11Total while can be changed would mean that we may have changed a class that doesn't exist or could be at location 21. Needless to say we can do 2x as many events checking the classes etc but better for everyone to use the girl functions that are already made.
Doing so was a pain but I got it working.
Daisy
Monday, February 27, 2012
Personal job buttons and Variable replace
So first off personal job buttons now use the event system to find out if they should be displayed. So during the early morning you can't prostitute your slave, in the dead of night you can't go to the church or whatever hundreds of use especially around what sex acts are available.
Also working on building a list of replacement variables. The one that was the most difficult is the girl class raises because it has to make sure the class is known before updating. Seems simple but a direct change just won't work. Spent the night working on that have it working on text replace but don't have it in event checking... will get that hopefully up and running today sometime.
Daisy
Sunday, February 26, 2012
Overreaching but in the end a working version
So was overreaching hoping I could do the entire class change through xml. But can do about 90% in xml the main issue was the passed class. Searching arrays just did not seem like something that I wanted to build. So build a way to call functions but only preset functions called keys. Which is working we shall see if it is a good fix or a bad long term fix. But realized that it is not checking for existing passed classes will still have to build that. Then onto personal job button checks and that should be more then a night.
Have a good one,
Daisy
Saturday, February 25, 2012
Job learning through xml
So I added a new command to xml events called evepost which just adds another event to the job system. This seems like not much but its important as now we can learn classes using the xml.
That's right job learning through xml like the image above it does the following:
is slot 1 open?
is slot 2 open?
I guess replace a slot.
All that logic THROUGH the xml no coding. The only thing left is the actual change. (You may notice that its not actually checking the stat or a random that's because I'm testing and those are simple adds. One of the other checks I need to do is already exists.) XML doing all the stuff for a class change... I'm impressed even if you aren't.
Daisy
Friday, February 24, 2012
Distractions again
I got a bunch of little stuff to get working tonight dealing with post events after jobs,(class change, sick) and skilling up classes. Add to that an event system for personal job buttons, and even more crap then moving on to assistant jobs. Just tons of crap still to do for the next few weeks.
As Mr. Anonymous pointed out the current version of the svn does not compile. I am still ripping out images trying to make the otherworld.fla as tiny as possible. I'll fix this in a week or two.
-------------
Village of Nightmare. Rather enjoyed this distraction. But it is not for everyone as it has both male and females changed into succubus. If that doesn't overly bug you I liked corrupting the town and turning them all into sex fiends. Give it a try.
Daisy
Tuesday, February 21, 2012
Generics
.......
Yep not working yet. But still playing with the Generic images. And its showing I still need to add some love to the general variables such as rest cost but thats why its still in testing before asking everyones help in coding the jobs to xml... 500+ jobs so for those who missed last nights call to arms there will be plenty of help needed soon. And of course thanks to Rudi for the volunteering to help out with the front image dress recognition.
Not sure what else to say,
Daisy
Monday, February 20, 2012
Personal Jobs... somewhat working
Personal jobs are some what working... but not really I'm still adding and fixing to make the float over system work in actuality vs the version that I had working in test. Finding issues as I go along and fixing them. Also need to work on generic images and front images basically stuff I don't want to mess with at work. Anyways progress is slow but hopefully will have all jobs types tested in the test rig working in the next week or so. Assistant jobs still to do in the long run.
Daisy
Saturday, February 18, 2012
Girl Events working too... ?!?!
You know I thought that I would have to do something special for girl events. That was actually rather stupid. The event system actually has everything already done the only thing necessary was to grab the event before the normal events. Too easy. The above event took about 2 minutes to write and get working. A good event system is everything, though it may be too powerful.
-----------------------
Some notes... Moving girl images from base/girls to base/libs/otherlib/images/girls. This was necessary to allow images to be found by the higher level systems like the text system. Not surprising but I apologize to rudi_stoned since I just broke his girl builder... sorry. Minis and the girl xmls will stay in the same spot EXCEPT for girl events like the one above those need to be added to the xml folder in base/libs/otherlib/xml/events/girls and base/libs/otherlib/xml/textstories/girls . Also as a note these need to be at the top of the books.xml for events as they must be loaded into the event system BEFORE normal events.
To all those who are playing with the SVN sorry about the huge new download.
Daisy
Job Images... working?!?!
Okay yes I missed yesterdays post... Life.
Spent all of yesterday trying to find where the girl images were stored. (Doc made the code and its too good of code for me to understand.) I finally got it working and that means jobs are now done from events maybe. Really happy with that, which means xml jobs, which means anyone at any time can add jobs... c'mon that is cool.
Girl events are up now not quite sure how they are going to intercept still needs some thought. Expect a big call for help in the next few days to move all the existing jobs to xml.
Daisy
Thursday, February 16, 2012
Test rig extravaganza
Test rig actually working rather then in the last pic the change and check are actually updating correctly. YAY! Pretty much done with it as you can tell its not pretty and I don't care, it will work and thats all that matters for a test rig will now start working on jobs again. Got Girl names to update correctly now just images and will be about ready to call it as working and then comes the huge job of converting jobs to xml...
-------------------------
A Raymund posted on the forum a rather interesting look at an online version of whore master. Which could be worth a look, the idea is pretty solid and I'm always looking forward to new games.
ST2
Wednesday, February 15, 2012
Still playing with the event test rig
The event test rig is slowly but steadily adding junk. Basically will tell you the variables that it changes and checks. Now onto checking each version of the event is being played. Then finally can get back to working on jobs now with out having to load the main game over and over and over and over and over... i think you understand.
Daisy
Monday, February 13, 2012
Event Tester
So after some thought and some head banging we now have a primitive event tester that will be fleshed out a bit more. The main goal is to allow modders and me a quick way to test new events. Its pretty simple idea that way don't have to start the main game run over to the auction hall buy a girl and set any other events to test an event instead I can just select the event and run it... Its on the SVN though you can't select the version of the event yet... thats next up.
Daisy
Subscribe to:
Posts (Atom)












