Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: Pinkutako on August 31, 2012, 12:41:12 PM

Title: Pinkutako's Interactions Script.
Post by: Pinkutako on August 31, 2012, 12:41:12 PM
Hey All,

I've been working on an Interactions script and learning as I go.  This one is not quite complete, but it is playable.  So far I've tested it using Crazy's Mod .05.  I'm most proud of what i got done with the "Send her on a Quest" portion.  The scripting for the quests in mostly done, but the dialog is mostly placeholder stuff.  I've put an insane amount of my free time at work into this thing.  Any suggestions for what else I could/should do with this would be helpful, but please bear in mind I knew nothing of scripting when i began this and it has been a learning process along the way.  I hope you all enjoy what is there so far.  hopefully, my work free time continues and I can get a final version done at some point.

Old Script:
http://www.mediafire.com/?321c6ktil3b1b8b (http://www.mediafire.com/?321c6ktil3b1b8b)

New Script 9-19-12
http://www.mediafire.com/?psnzb2189vf6b5o (http://www.mediafire.com/?psnzb2189vf6b5o)


Here is the latest on my script.  It still needs fleshing out with the dialog but I've completed the training and Dinner date portions.  I've done some minimal bug testing, and it looks good.  One problem i do have with the dinner date script is it doesn't show images for the end of the date.  The scripting is there, but perhaps I've hit a limit with how the game code and script interacts with one another.  It's different than the quest script because there are choices throughout the date.  Also, I've added options if she refuses to do something.

I plan to update the script again when Crazy's mod .06 comes out, since he is being awesome and adding script commands for images for me. 8)

I know there are more experienced scripters around so any thoughts, feedback, criticisms are welcome. 
Title: Re: Pinkutako's Interactions Script.
Post by: hewhocumsbynight on August 31, 2012, 02:15:17 PM
Very nice!  I am quite impressed by the scripting!  Keep it up!
Title: Re: Pinkutako's Interactions Script.
Post by: akab on September 01, 2012, 03:04:41 PM

Very well done, I'm impressed.
Unfortunately, the system is not practical to edit the script, otherwise
it would be easier to make it more varied and entertaining.


Compliments.
Title: Re: Pinkutako's Interactions Script.
Post by: Morkar on September 03, 2012, 08:29:16 PM
Great work
 I cant wait for de finish script
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 04, 2012, 07:37:36 AM
Thanks for the encouragement everybody.

I'm going to try to get it finished as quickly as I can. The next big section will be "invite her to your private quarters" and after that writing all the dialog.  I was also toying around with the Idea of adding a choicebox after she refuses to do something.  Along the lines of allowing her to refuse for a tiny disposition boost and a option to force/punish her for refusing.  I'll keep working at this and hoping you all enjoy the final version. 8)
Title: Re: Pinkutako's Interactions Script.
Post by: akab on September 04, 2012, 09:38:33 AM
Thanks for the encouragement everybody.

I'm going to try to get it finished as quickly as I can. The next big section will be "invite her to your private quarters" and after that writing all the dialog.  I was also toying around with the Idea of adding a choicebox after she refuses to do something.  Along the lines of allowing her to refuse for a tiny disposition boost and a option to force/punish her for refusing.  I'll keep working at this and hoping you all enjoy the final version. 8)



Good idea ;)


Question: You write the script directly in the editor or proceed first on another editor and then re-encode line by line?
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 04, 2012, 10:48:46 AM
Quote
Question: You write the script directly in the editor or proceed first on another editor and then re-encode line by line?

Simple answer:  I do it all directly with the script editor.

Long Answer:  Using the WM script editor is one of the contributing factors to scripting taking so long.  I've learned by alot of trial and error.  My first script I wrote almost complete and when i tried to test it; It would crash the game.  So i started by adding each line and testing it immediately.  fortunately, each time you press the "interact" button in the girl details it loads the script from the file, so it wasn't like i had to keep reloading the game.  Now, I have a better understanding of the syntax so I can add a whole quest section, for instance, and test that.  I've got a whole wishlist of things i wish i could do in the script editor program.  copy and pasting into and out of the editor would be an enormous help, But  it is what it is.  So i'll just keep working within the limits of the editor.
Title: Re: Pinkutako's Interactions Script.
Post by: akab on September 04, 2012, 01:42:18 PM

Script Editor ... all my respects.  :o


Copy and paste .... a dream that maybe one day it will reality  8)


Thanks to all who have already contributed with their efforts to the creation of scripts, and other content.
Title: Re: Pinkutako's Interactions Script.
Post by: Morkar on September 07, 2012, 03:08:27 PM
a tip about a detail that never hurts to be sure that the girls say you love or father respond when appropriate (you know if slave master father if your daughter)

and do not forget the script blowjobs


Title: Re: Pinkutako's Interactions Script.
Post by: E. on September 10, 2012, 11:05:29 AM
I really enjoy your quests, and would really love to see thm fleshed out.
I sometimes run into a bug though: I choose "Send her on a Quest", and it goes Quest Accept->where->Nothing
The script just ends there and nothing happens...


It would really be cool if you could give her directives before going on a quest, like how to solve the problems she faces...


I hope to see more of your work in the future.
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 11, 2012, 12:37:50 PM
Quote
I sometimes run into a bug though: I choose "Send her on a Quest", and it goes Quest Accept->where->Nothing
The script just ends there and nothing happens...

Ya I have run into this bug myself, but no idea what causes it.  I don't know if it has to do with the game itself or the script.  I also saw a similar bug if i chose "go back" on the mission choices and went back to choosing a quest it would go Quest Accept and then nothing.  I don't know anything of game code and this is my first script so i'm not sure how to go about tracking down the bug.  If anyone has any ideas I'd love to hear any thoughts, but I don't have the skills at the moment to fix it myself.

Quote
It would really be cool if you could give her directives before going on a quest, like how to solve the problems she faces...

This is a cool idea. Like you could direct her to solve with violence or diplomacy.  I think this could be accomplished with girlflags.  which is something i'm looking at for the "Invite her to your Private Quarters".  At the moment I'd like to set this up as a progression thru a date with choice boxes popping up along the way. like "have dinner now" or "have drinks first".

Once i have the date script done I can start fleshing out the quests dialog and such.  If anybody wants to write some dialog for the quests I'd be willing to see about inserting them into the scripts.

Thanks for all the positive feedback.  actual work is eating up more time this week but i'm going to keep plugging away at this.  The life of a Steel Inspector ain't easy. 8P
Title: Re: Pinkutako's Interactions Script.
Post by: E. on September 11, 2012, 12:54:43 PM
I quickly looked through your code, and noticed that there was a church line of quest, which I've never seen in game. Maybe it has something to do with that.
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 11, 2012, 01:19:59 PM
Hmm...I'll look into the church line, but I'm pretty sure I have had it come up
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 19, 2012, 12:46:46 PM
I've added a new link for an updated script at the top of the topic.  I hope you all enjoy.

I have had the church line of quests come up and still get the bug that randomly stops the quests.  I'll keep looking into it.
Title: Re: Pinkutako's Interactions Script.
Post by: Bender on September 19, 2012, 05:20:06 PM
Looks cool, I'm trying it out now.
Title: Re: Pinkutako's Interactions Script.
Post by: hewhocumsbynight on September 19, 2012, 07:39:12 PM
Hello Pinkutako;
I just downloaded and inserted your newest interaction script, replacing the older one which I had been using up until today.  However, each time I hit "Interact With", the game crashes, and the phrase "This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information."  appears on the gamelog.  Any ideas about this? 

Oh, and thank you for all of your hard work thus far.  It's a great script!
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on September 20, 2012, 10:58:46 AM
Quote
However, each time I hit "Interact With", the game crashes, and the phrase "This application (http://pinkpetal.org/index.php?action=post;topic=989.15;last_msg=16981#) has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information."  appears on the gamelog.  Any ideas about this?


Hmm...Not really sure what could cause that.  as a test I downloaded the script from the link and inserted it into my game, but I'm not getting any error or game crashes.  I'll try to see if i can get it to crash...
Title: Re: Pinkutako's Interactions Script.
Post by: hewhocumsbynight on September 20, 2012, 01:37:47 PM
Maybe my game's corrupted... Is there any way it could interact with the config file, that might cause a crash?  Of late, I've been tinkering with the config...
Title: Re: Pinkutako's Interactions Script.
Post by: Bender on September 22, 2012, 01:49:31 PM
I get a text loop when I examine a girl or when I take a girls clothes after she refuses sex or when I have a girl do lesbian sex or when I send a girl to assassinate or when I tell a girl to deepthroat.
Title: Re: Pinkutako's Interactions Script.
Post by: crazy on October 04, 2012, 04:09:15 AM
I plan to update the script again when Crazy's mod .06 comes out, since he is being awesome and adding script commands for images for me. 8)
Got a test patch out that you should be able to start testing the ones I added.  That said love the script.  One thing I would like to see is a special sex scene if a girl is a virgin.  Let me know if there is any problems with the script functions I added.
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on November 20, 2012, 12:36:29 PM
Sorry for the long absence.  Life happens.

I Started poking around the script again and messing with things.  Hopefully my free time continues.

Quote
I get a text loop when I examine a girl or when I take a girls clothes after she refuses sex or when I have a girl do lesbian sex or when I send a girl to assassinate or when I tell a girl to deepthroat.

I've been looking around at the issues Bender was having.  I've added more ENDSCRIPTS. I haven't been able to repeat the text loops. Still getting the annoying one where the script just stops with the quests.  Anyway, here is a slightly modified version. I don't think i got all the bugs, but let me know if anyone gets those same text loops.

http://www.mediafire.com/?0jbcagug3j5j0et

I'll be playing with the new commands Crazy added.  I hope to get an more complete script out soon.
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on November 30, 2012, 09:14:00 AM
Small Update:

I think I tracked the quest bug to an out of place endif in the church quest line.  I also changed the script structure around a bit which should streamline it a bit.  I've also added Some of the new commands. Titty, Combat, Death, Mast.  I haven't seen any text loops so...*crosses fingers* the major kinks are worked out and i can start fleshing out quest dialog.

Anyway, here is the link for this round of fixes:
http://www.mediafire.com/?5ihi5wt4epko5pt (http://www.mediafire.com/?5ihi5wt4epko5pt)    Edit: wrong file.

 Use this one instead 8P: http://www.mediafire.com/file/fbd9zlk7tkfg581/DefaultInteractDetails.script

Test it, Play with it, let me know if you find any bugs and i'll try to fix them. 8)

Enjoy.
Title: Re: Pinkutako's Interactions Script.
Post by: BeyondRepair on November 30, 2012, 10:40:38 PM
Take her clothing is stuck on an endless loop.
Title: Re: Pinkutako's Interactions Script.
Post by: HuiBui on December 03, 2012, 04:35:01 PM
I couldn't find any bug when asking her things in her bedroom nor in the office .
but..
when i invite her into private chambers , several pics which are matching to the situation appear , lets say, one step to late.
It would be great if you could fix that.

Kind regards
HuiBui
Title: Re: Pinkutako's Interactions Script.
Post by: Pinkutako on December 04, 2012, 12:11:29 PM
Quote
when i invite her into private chambers , several pics which are matching to the situation appear , lets say, one step to late.

Yes, I wish the invite her to your private chambers executed the images a bit better.  It might just not be possible with the way scripts work or it might be something to do with how it's structured.  I'm still pretty new to scripting so I just might not have the understanding to make it work.  Anyway,  If anyone has any thoughts I'm always open to suggestions/criticism.

Quote
Take her clothing is stuck on an endless loop
I haven't been able to repeat the text loop, but I've been making changes to script.  let me know if you find anything else. 8)


Title: Re: Pinkutako's Interactions Script.
Post by: HuiBui on December 07, 2012, 04:36:47 AM
Yes, I wish the invite her to your private chambers executed the images a bit better.  It might just not be possible with the way scripts work or it might be something to do with how it's structured.  I'm still pretty new to scripting so I just might not have the understanding to make it work.  Anyway,  If anyone has any thoughts I'm always open to suggestions/criticism.

Well i tried to scrpt this by myself, and i also didn'get a better result. But truly spoken, I'm not familar with scripting .
I've tried it logically by reading these sripts and tried something out.
 But I'm shure that this could work. You have to change the script in this direction that the script stops and wait for an input ( may be that the player has to take a choice ) then it should work.
Similar to that it should be possible to script a picture sequence, lets say a strip seq.
I'm quite shure that this would work, because on other parts of this script this is already working.
 
Kind Regards
HuiBui
Title: Re: Pinkutako's Interactions Script.
Post by: F-Trill on December 14, 2012, 11:02:59 PM
I found the loop also, Pinkutako.


I'm checking as well.
Title: Re: Pinkutako's Interactions Script.
Post by: Morkar on March 14, 2013, 09:35:42 PM
Any News for the New version ?
Title: Re: Pinkutako's Interactions Script.
Post by: Anonemuss on June 18, 2014, 09:50:44 AM
Well, seems it's dead. Last update to this script was 2 years ago...