Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: Popuri on October 26, 2011, 04:14:28 PM

Title: Interaction modifications!
Post by: Popuri on October 26, 2011, 04:14:28 PM
Been floating around the boards for a while.  Experimenting with WM EX recently (great mod, THE FUTURE).

Something I'd been thinking about for a while finally convinced me to try out the script editor, and this is what I've come up with.

Not completely finished yet, but I'd appreciate any testing/feedback I could get.

Options for interaction are:

Chat
Training
Reward
Punish
Sex

Chat's the basic stuff, though I haven't re-entered the checks they use in the original default interactions.

Training provides options for specific things (a 'friend' in the city watch who teaches the girl, old friend of you father's that runs a charm school, etc).  Each one generates some tiredness and 1-2 points in a few related stats.  I'd like to be able to have it charge some gold for the use, but couldn't find a viable script option ('addrandomgold' is only positive numbers).

Reward has 'Praise', basically like chat, with slightly better results.  It's offset (if you're mean) by boosting confidence and spirit as well.  Also has an option to give some spending money, but like with the training I'm not 100% sure how to implement that.

Punish has 'Scold' or 'Spank', which is basically Torture light.

Sex is what you think, with options for normal/anal/bdsm, and minor boosts to those skills.

(Note: If you decide to try this, make sure to back up your DefaultInteractDetails.script file first)
The new .script file is attached.

Any input or feedback would be great.  Be it code suggestions, reviews, or advice on balancing these things a bit.

Thanks in advance!
Title: Re: Interaction modifications!
Post by: Crisis21 on October 26, 2011, 05:27:57 PM
I gave it a shot and it looks pretty solid so far. The biggest issue I have is that you can't get the girl pregnant with your script.

I think you need to include the lines "Have Normal Sex", "Have Anal Sex", or "Have Bondage Sex" when you're adjusting the girl's stats in order to trigger this. Though "Have Anal Sex" won't trigger pregnancy of course. There's also "Have Beast Sex" which I think could trigger insemination, but Bestiality isn't in the WMEX version right now.

*Goes to check the script editor real quick*

Yeah, "Have Normal Sex" updates the related skill and handles pregnancy calculation. Same with "Have Beast Sex". "Have Anal Sex" and "Have Bondage Sex" are supposed to only update the related skill, but I've had girls get pregnant on the bondage option before.

Looking back on that, this script editor really needs options for "Have Stranger Sex" for sex, and pregnancy chance, with someone other than the player, and "Have Lesbian Sex" for sex with another girl. "Have Group Sex" for updating the group skill and pregnancy chances for both player and other male would also be nice.


Anyway, The suggestions I have are as follows:


Instead of just "She refuses with a blush" have another line for low PCLove such as "She refuses to even consider it" (-Obed) or even for PCHate>PCLove "She slaps you for the mere suggestion" (-Obed, +PCHate)


Next, I'd like to see More sex options added like in the original script.
"Make Love" (only if PCLOVE is above 90) +5 Happiness & +Normal sex
"Request a blow job" +OralSex, +Service option
"Tell her to take your cock into her throat" Deepthroat option, +OralSex, +BDSM
"Ask her to have sex with a girl" +Lesbian option
"Talk her into having a threesome" +Lesbian & Group option
"Present her to one of your gangs as a rewards for their service" +Group, +Service option

The following are suggestions of mine and not anything I think we've seen before.
"Request a striptease" +Strip option
 "Request a lapdance" +Service option
"Tell her you'd like her to be your pet for a while" Basically like obedience training except no adding PCFear or losing Happiness ("You teach her to 'sit', 'stay', 'fetch', and 'fuck'")

As for checking Girl emotional status, here's the script lines from the original (please give me a minute while I edit this post)

These would collectively replace your (UNDER CONSTRUCTION) line as you seem to have folded them into one response instead of two.

IfStat (*HAPPINESS*) (*GreaterOrEqualTo*) (*50*)
     Dialog (*She tells you she is happy with her life*)
Else
     Dialog (*She says she is unhappy and would like more free time*)
EndIf
AdjustTargetGirlStat (*HAPPINESS*) (*2*)
AdjustTargetGirlStat (*PCFEAR*) (*-1*)
AdjustTargetGirlStat (*PCLOVE*) (*1*)

and

IfStat (*PCLOVE*) (*LessOrEqualTo*) (*30*)
     Dialog (*She tells you she has no romantic feelings towards you*)
Else
     IfStat (*PCLOVE*) (*LessOrEqualTo*) (*50*)
          Dialog (*She says she likes you as a friend but nothing more than that*)
     Else
          IfStat (*PCLOVE*) (*LessOrEqualTo*) (*70*)
               Dialog (*She tells you she has some strong feelings towards you*)
          Else
               Dialog (*She tells you she is deeply in love with you and every moment together is like a dream*)
          EndIf
     EndIf
EndIf
IfStat (*PCFEAR*) (*LessOrEqualTo*) (*50*)
     Dialog (*She then tells you she doesn't find you intimidating*)
Else
     Dialog (*She then says you are a little scary to be around*)
EndIf
IfStat (*PCHATE*) (*LessOrEqualTo*) (*50*)
     Dialog (*She lastly tells you she doesn't hate anything about you*)
Else
     Dialog (*She lastly tells you that despite all her other feelings she feels some hatred towards you*)
EndIf

Feel free to just insert all of that or fiddle with it. I thought you'd like having that put together for you though.
Title: Re: Interaction modifications!
Post by: THE FUTURE on October 26, 2011, 08:27:16 PM
Tried it briefly. It has a lot of potential. It's more sensible than the regular default scripts.

EX will handle scripts a little differently in the next release, but it doesn't look like there are any actual compatibility issues when I tried it just now.
Title: Re: Interaction modifications!
Post by: Popuri on October 26, 2011, 09:01:07 PM
Thanks for the feedback. :)  Yeah I intended to bring the variable options back in, but decided to post what I had before I slipped off to my next class.

I intend to cover the main options from the original game, though with how I'm playing EX now I may not include a Beast Sex one.  Any suggestions on other schools and the like?  Or ideas on how to implement the charge to train her?

I'm working on overhauling a few of the other scripts with a bit more flavor text and meat to them.  MeetGirl for example.

Also planning to do a version for the dungeon, with 'nice but too nice' torture options.  Pleasure overload.  8)

Re: THE FUTURE

Any input on stat balance and such?  Would this interfere too much with the way that the focus on EX is on traits?  Maybe for the sex increases give a cap at 20 skill and a 'you can't teach her more' thing, since that plus the max trait for that skill would put her at 100.
Title: Re: Interaction modifications!
Post by: THE FUTURE on October 26, 2011, 09:19:24 PM
It isn't a huge deal to me, but to put it simply, all permanent boosts to skills and stats that are difficult to move (anything other than Libido/Mana/Happiness/Tiredness and maybe 1 or 2 others) break the idealized "balance" of EX. Beyond that, I'd have to sit down and actually look at what script commands are available and how they can be modified within the source code before I could suggest alternatives to your system. I haven't gotten around to really looking at the script stuff as of yet.

'Have Beast Sex' will display Lesbian sex pics in the next update of EX. I can similarly change 'Have Anal Sex' to display something else as well, since visually there isn't too much difference between Anal and normal sex. At least not compared to the benefit of recycling that command into Group/Oral/something else. I don't currently know how to just add in additional commands.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 26, 2011, 09:35:59 PM
Also planning to do a version for the dungeon, with 'nice but too nice' torture options.  Pleasure overload.  8)


Thank you. :)

Any chance you can make it so those options raise your disposition without lowering your suspicion? So far all the best ways of raising your disposition to a nice guy really tank your suspicion by the same amount. Believe me, I checked.
Title: Re: Interaction modifications!
Post by: Popuri on October 26, 2011, 09:43:00 PM
I've experimented with that in the past, and ran into the same thing.  I suppose I could try raising the disposition, then boost suspicion by an equal amount in the same command.  I'll tinker some tonight.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 26, 2011, 09:52:01 PM
I couldn't find the values for branding or freeing slaves, but I found the following in the source code available with Anon21's mod.

Torturing girls always lowers disposition, rather severely actually, and doesn't seem to do anything to suspicion.

Sending your gangs to kidnap, steal money, acquire territory, or sabotage your rivals lowers your disposition and raises suspicion by an equal amount (usually one point per week per gang). The two are, in fact, unrelated stats.
Title: Re: Interaction modifications!
Post by: Popuri on October 27, 2011, 11:54:53 AM
Ok!  Latest version of the DefaultInteractions.

Changes:

- Fleshed out the 'ask how she's doing'
- Added a 'mage guild' to the training, to work on magic and intelligence.
- Added striptease, lesbian, and group sex options.
- Added possibility of pregnancy to normal and group sex.
- Added change in wording for sex menu based on love.
- Added support (with additional text) for the lesbian and nymphomaniac trait.  May do others later.
- Added cap to skill boosts from one on one sex at 20 skill.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 27, 2011, 04:24:08 PM
Cool, I'll give it a whirl!

Edit:Okay, first problem: Magic training goes in an endless loop where the text box keeps popping up every time I try to close it.

Upon inspection of the script, you forgot to include an ENDSCRIPT line at the end of that option. I've gone ahead and fixed this for you.

Other than that, this looks fabulous!

Title: Re: Interaction modifications!
Post by: Popuri on October 27, 2011, 05:40:38 PM
Bah!  Always forget something.  Thanks for being an extra pair of eyes. :)

I've got a love hate thing with the script editor.  Found out that if you use 'If not disobey', it throws off all indenting after that.

Any other suggestions?  I may add support for other Trait recognition now that I know it works.  Maybe cap stat gains at a point, like I did with the sex skills.  Wish I could get it to read their base amount, without traits, instead of their total.

I'll start the dungeon one later.  Working on my other side project now.  A custom MeetGirl script for every unique girl I've got, heh.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 27, 2011, 06:47:00 PM
I do have a thought on extra interactions, but I'd actually like to give making the script additions a shot on my own.

It involves taking the girl on a date (or perhaps 'date' if you get my meaning), which costs money, less than training, but can train sex stats higher. I'll let you know how it works out.

If you have any thoughts on particular 'dates', such as text and stat effects, feel free to speak up now.
Title: Re: Interaction modifications!
Post by: Popuri on October 27, 2011, 06:53:39 PM
Sounds interesting!  Let me know if you figure out how to get the money cost working.  I went in and edited the script commands (under the DO NOT EDIT THESE COMMANDS warning, oddly enough).  I was able to get the 'AddRandomValueToGold' command to subtract gold by enabling negative integers, but not able to really control the amount.  i.e. I set it up to take between -51 and -49 gold.  One time it takes 67, another 73.

Anyway, moving onto dungeon interactions...

'Ask' seems silly in this context.  So I'm thinking maybe for the options have like...

Chat
Scold
Punish (Torture will be here under 'Corporal Punishment')
Force

Maybe some sort of 'heal' option, to represent bringing in medical aid or a healer to keep them healthy while imprisoned.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 27, 2011, 07:28:00 PM
I'd say the 'ask' option is the player being nice, but with your new script it wouldn't work on new girls anyway.

You might make some 'reward' options which are the 'positive' tortures to replace it.


I haven't done the dates yet, but I did make a few additions to your script. I added some text for the 'intimate' suggestions in case the girl has high PCFear or high PCHate.

High Hate (80 or above) by itself results in her slapping the player. No stat change, I just find it amusing.
High Fear (over 50) + Fearless = instant refusal and a drop in Obedience
High Fear + High Hate (both over 50) = the same, but with different text
High Fear by itself equals a scared girl afraid to refuse you and who cries the whole time, resulting in a rise in Fear & Hate and a drop in Love & Disposition.

It looks solid, but all my games currently have me steadfastly trying to be a nice guy so I can't test any of them.
Title: Re: Interaction modifications!
Post by: Popuri on October 27, 2011, 07:33:58 PM
Yeah, I didn't really focus on the fear and hate options, as what prompted me to start this project was the difficulty in being 'nice' with your girls.  :)  I'm in the process of tinkering on my own take on the game, but a java port.  Refreshing myself as it's been a while since I've done java, and fiddling with how to do the interface the way I like.  If I make some progress I'll probably post it somewhere on these forums.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 27, 2011, 07:45:40 PM
Which is why I'm so very interested in your progress. If I can successfully be a full hero in this with your scripts, I'll see about going back and adding in more options for those who want to be a jerk.

 :)
Title: Re: Interaction modifications!
Post by: sgb on October 27, 2011, 08:28:13 PM
Nice to see some modding work on this.  The original devs always kind of put anything to do with scripting on perma-hold because 'the new scripting system' was always right around corner (not insulting them, just mocking their expectation to have such a huge change get implemented by one guy anytime soon).  These changes show there is obviously a fair bit of improvement that can still be made with the current system.

Quote
It looks solid, but all my games currently have me steadfastly trying to be a nice guy so I can't test any of them.
It's actually kind of hard to make girls in the game hate/fear you unless you go out of your way to do so; which there is no point in doing since it does not benefit anything in any way.  In fact there is no reason to be 'evil' for any reason at all.  Back in the old versions, rebeliousness used to be a more serious obstacle to getting girls to do things.  Don't know about THEFUTURE's mod, but in the current core game (with anon's excellent mod of course), rebeliousness seems to just be there for fluff.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 27, 2011, 08:44:38 PM
It's actually kind of hard to make girls in the game hate/fear you unless you go out of your way to do so; which there is no point in doing since it does not benefit anything in any way.  In fact there is no reason to be 'evil' for any reason at all.  Back in the old versions, rebeliousness used to be a more serious obstacle to getting girls to do things.  Don't know about THEFUTURE's mod, but in the current core game (with anon's excellent mod of course), rebeliousness seems to just be there for fluff.

Unless you put them through a few rounds of torture, then they're terrified of you. Which is why I'm thrilled that someone's working on a 'nicer' set of torture options.

Also, I just found out that if you put an Iron Willed girl on nothing but cleaning duty every day, she can lose the trait. O.o
Title: Re: Interaction modifications!
Post by: Popuri on October 27, 2011, 09:22:09 PM
Unless you put them through a few rounds of torture, then they're terrified of you. Which is why I'm thrilled that someone's working on a 'nicer' set of torture options.

Also, I just found out that if you put an Iron Willed girl on nothing but cleaning duty every day, she can lose the trait. O.o

I used to work janitor shifts after closing at a bowling alley, when I was in high school.  That stuff could break anyone's will. o.O
Title: Re: Interaction modifications!
Post by: Popuri on October 28, 2011, 04:53:47 PM
Ok, was looking through the new girls FUTURE uploaded today, noticed that Chun-Li has a .lua event trigger for meeting her in town.  Looking through the script folder, noticed that the game's intro is in lua.  Does anyone know where I could find a listing of what library functions the game has for lua?  I noticed the Chun-Li script called a few as it ran, such as (assuming wm is the name of the instance of the game object) wm.add_girl_to_brothel(girl_name).  It sounds like lua might have a bit more flexibility and transparency.
Title: Re: Interaction modifications!
Post by: fires_flair on October 28, 2011, 07:40:15 PM
no, I don't think that information is availible yet, you could try pm'ing DocClox, as he was the one implementing the feature
Title: Re: Interaction modifications!
Post by: THE FUTURE on October 28, 2011, 07:49:25 PM
http://pinkpetal.org/index.php?topic=20.msg7348#msg7348

if you didn't see that

Ugh busy might post more later
Title: Re: Interaction modifications!
Post by: Popuri on October 29, 2011, 12:37:12 AM
Thanks future.  That's a helpful post.  Been tinkering some with the lua, and it does let me access the fields of the girl through it.  Haven't figured out how to update the girl herself using it, if that's even an option.  If i can figure out how later, I had an idea for adapting my interactions a bit more to fit within EX.  Mind if I PM you some details, or a bit swamped atm?
Title: Re: Interaction modifications!
Post by: THE FUTURE on October 29, 2011, 09:43:28 AM
Go ahead.
Title: Re: Interaction modifications!
Post by: Popuri on October 29, 2011, 03:09:16 PM
Ok!

Figured out how to update a stat via lua on the girl, at least.  Just need to piddle  out how to affect player gold and I should be able to implement my interaction this way.  Only issue I'm having is getting the trigger for a .lua file instead of a .script.  The current version requires a trigger and .lua copy in each girl's folder.

Also need to sort through how they handle traits in the lua, but making progress!
Title: Re: Interaction modifications!
Post by: pnakasone on October 31, 2011, 03:40:33 AM
Add oral options to sex interactions
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 07:40:02 AM
Update:

Working a bit with The Future to mod the ScriptEditor for one of his upcoming updates to WM EX.

So far I plan to add these commands:

command to adjust player money + or - by a set amount
command to add a trait
command to remove a trait
'have lesbian sex'
'have group sex'
'get a blowjob'
'get a lap dance'

Any other suggestions?
Title: Re: Interaction modifications!
Post by: DarkTl on October 31, 2011, 08:13:44 AM
Well, since there is new pictures category "Mast" in wm ex, you can add "make her masturbate" interaction like as in slave maker games.
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 09:32:09 AM
Well, since there is new pictures category "Mast" in wm ex, you can add "make her masturbate" interaction like as in slave maker games.

Not a bad idea.  Give a nice little Libido boost, maybe.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 31, 2011, 11:15:11 AM
Did you add an option for 'have sex with a male other than the player'? (name should probably be shortened to something like 'Have Sex With Stranger')

If you haven't, it would probably work like 'Have Normal Sex' except for pregnancy calculation (other male rather than the player)
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 11:23:59 AM
I hadn't planned on it, Crisis.  To be honest, the pregnancy part of the game isn't that big of a deal for me.  I may add like, a 50/50 chance on group sex that it's by another guy though.

I figure working as a whore covers the whole 'have sex with another guy' option, but I see where the action could be useful in some scripted events.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 31, 2011, 11:35:47 AM
I ask for it for the same reason that the other options were presented. It allows for more options with scripted events.

On another note, the 'date' additions are coming along decently. I'd need to change them significantly once I have access to these new script options though.
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 11:47:33 AM
Ok.  Most of these are a stopgap for now, while I figure out how lua coding works exactly.  Modding the ScriptEditor's resources is straight c stuff.  Can't seem to add descriptions for commands though, as I think those are embedded into the editor's exe and I can't find the source for it anywhere.

When I get this finished I'll pose the .cpp, .h, and .txt file with the new stuff if you want to try it in your own compiled version of the base game. Should translate.
Title: Re: Interaction modifications!
Post by: Crisis21 on October 31, 2011, 01:20:39 PM
Cool. I look forward to it.
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 04:49:27 PM
Okie dokie...

Here's my first attempt at modding the ScriptEditor.

It's set up, but doesn't have support yet for pregnancy by a customer.  Generating a single customer seems more complicated than I first thought.  Also if you uncomment the code, contains support for images using DQ's mod, or WM EX.

Replace GameScript.cpp and .h with these versions, and drop the txt file into the Data folder under your ScriptEditor, and it should be good to go once you compile.

New options:
Lesbian sex
Group Sex
Make her Masturbate
Make her Strip
Get a Blowjob
Have her have sex with a stranger
Add trait
Remove trait
Add x to player gold (positive or negative)
Add x to girl's gold (positive or negative)
Have Protected Sex (Zero chance of pregnancy)

Let me know what you think, or if you run into any issues. :)

Title: Re: Interaction modifications!
Post by: Crisis21 on October 31, 2011, 06:55:15 PM
Actually, what's the best method to compile the source code? I'm afraid I don't know how to do that right now and I'd like to.
Title: Re: Interaction modifications!
Post by: Popuri on October 31, 2011, 07:06:47 PM
I used Visual Studio 2010.  Open using the .vcxproj file under 'Brothel Master'.  Long story short, you'll need to change Revision.wcrev to Revision.h, right click on the project and go to the build section under properties, set the pre-build step to 'no', go in and write in the version name you want to use.  Drag XMLUtilities into the project folder under misc, and you should be able to compile.  To run the game, you need to move the .exe out of the debug folder and into the same one as the Resources folder.

Title: Re: Interaction modifications!
Post by: Crisis21 on October 31, 2011, 07:18:49 PM
Okay, I think I understood all that. I'll get back to you if I have any questions.
Title: Re: Interaction modifications!
Post by: THE FUTURE on October 31, 2011, 07:20:44 PM
WM EX will handle several new script types thanks to Popuri. Thanks!

Probably the most interesting thing for regular users is it means the interactions will handle each sex type properly, and show pics for group sex/lesbian sex/oral (in EX), etc.
Title: Re: Interaction modifications!
Post by: DarkTl on November 01, 2011, 07:50:20 AM
Add trait
Remove trait
Add x to player gold (positive or negative)
Add x to girl's gold (positive or negative)
Um, isn't it some kind of cheating through the interaction menu?
Title: Re: Interaction modifications!
Post by: Popuri on November 01, 2011, 08:08:08 AM
That would depend entirely on the script being used.  Sure, you _could_ write a script that gave the girl all the traits you wanted.

In the existing WM, you _could_ write one that gave you 50000 gold and maxed your girl's stats any time you chatted with her.  The purpose of all this is to give more flexibility to those who write scripted events.

Like, for instance..

Maybe you write one that triggers when you get a girl who has an addiction, that gives you the option of paying for her to go to rehab.  She loses the addiction, maybe some stats change.

Or maybe you decide to make an event (like I did) where you reward her with spending money.  So you give yourself -50 gold, give her +50 gold, then give her some happiness/love.

These things are just tools for an existing 'cheat'.
Title: Re: Interaction modifications!
Post by: DarkTl on November 01, 2011, 08:22:18 AM
Ah, I see, thanks.
Title: Re: Interaction modifications!
Post by: Popuri on November 01, 2011, 08:59:27 AM
Ah, I see, thanks.

Mmhm.  And thanks for input in my brainstorming process.  The masturbate option had totally slipped my mind.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 04, 2011, 02:45:40 PM
Standard dates are finished with the release of the new WMEX 1.3

The dates are upgrades from Popuri's "Push for something more 'intimate'" options in that they give double the gains for the same stats, are arranged in the same order, and cap at 50. HOWEVER, the sex skill gains only happen if the girl has Libedo of 50 or greater. Otherwise she gains 1 Libedo.

Now working on 'kinkier' dates if Love and Obedience are both high enough. There is an choice box for this in the current script clearly labeled ->DO NOT SELECT<-

If you select it, I have no idea what will happen as there is nothing in the script for the choice to lead to. You may crash your game.

As far as what the kinkier dates do..... well, if I can pull it off right, one will essentially be you taking your girl out to seduce a new girl for your brothel.

I edited Popuri's training options to cost 100 gold each. Dates also cost 75 gold each. Rewarding the girl with gold transfers 50 gold from you to her. The dialogue doesn't mention this though right now.

So, here is the script. You will need to rename it for the game to access it instead of the default.

EDIT: Sorry, this was a bad version. I posted the fixed version on the next page.
Title: Re: Interaction modifications!
Post by: DarkTl on November 04, 2011, 03:16:22 PM
Perhaps I'm doing something wrong, but new interactions kinda don't work. I don't see any changes in libido, gold or traits at all.
I use WMEX 1.3, and I've replaced DefaultInteractDetails file. Did I missed something?
Title: Re: Interaction modifications!
Post by: pnakasone on November 04, 2011, 03:22:55 PM
Perhaps I'm doing something wrong, but new interactions kinda don't work. I don't see any changes in libido, gold or traits at all.
I use WMEX 1.3, and I've replaced DefaultInteractDetails file. Did I missed something?

Me too.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 04, 2011, 03:50:53 PM
Its coded so intimacy actions automatically fail if PCLove isn't high enough.

Are you getting refusal messages with her saying she doesn't know you well enough?
Title: Re: Interaction modifications!
Post by: DarkTl on November 04, 2011, 03:52:49 PM
Nope. And btw training doesn't reduce the gold, so it probably doesn't work too.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 04, 2011, 03:53:59 PM
Huh. Let me fiddle with it for a bit.

Edit: Weird. Okay stop using it and I'll get back to you when I've fixed it.
Title: Re: Interaction modifications!
Post by: Popuri on November 04, 2011, 03:59:39 PM
Taking a break from my current project (Writing custom MeetGirl scripts for various girlpacks, and doing an overhaul of my interaction this weekend.  I should have it finished by sunday, have some stuff planned. :3

Off hand, I see an extra EndIf in your INIT, don't know if that will affect the script.
Title: Re: Interaction modifications!
Post by: Popuri on November 04, 2011, 04:12:53 PM
Also, if you haven't already, you should fix the typo I noticed I had made for this release.

Replace the ScriptCommands file with this.  It's under Doc&Tools/ScriptEditor/Data

I missed something when setting a variable type.

Ok, heading off to work.  Whee.  If you're still having issues tonight, Crisis, I'll poke it with a stick a few times and see what I can see.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 04, 2011, 04:55:24 PM
Actually I just finished fixing it. Not only did I put in an extra endif at the beginning, I left out two of them in the later parts of the script.

I just finished fixing it up and added in notices on how much some actions cost to perform.

So here is the fixed version, ready to go! Enjoy everyone!
Title: Re: Interaction modifications!
Post by: DarkTl on November 04, 2011, 05:10:29 PM
All right, now it works  :)
Btw, how many times you can send girl to training? Is it limited?
Title: Re: Interaction modifications!
Post by: Romanul on November 04, 2011, 05:19:54 PM
Great stuff. Keep up the good work.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 04, 2011, 06:34:07 PM
All right, now it works  :)
Btw, how many times you can send girl to training? Is it limited?

You have a limit of ten interactions per day (and, no, you can't change that by altering the script). Trust me, I've counted many times. Other than that, the only limit is your money.

Great stuff. Keep up the good work.

Thank you.  :)
Title: Re: Interaction modifications!
Post by: Popuri on November 05, 2011, 01:07:55 AM
Alright, back from work.  Going to give your changes to my script a try and see how it looks.  Sounds good, though. :)

I think I may give up on making girl packs for now, and make script add-ons for existing ones.  I had like, 12 girls I was gonna release, and lurker popped out 9 of them in the 8 hours I was at work. o.O

Update:

Coding looks good on the script, though the bug with ifnotdisobey and nesting if statements still bugs me. >_<
The menu for date options might be a bit long, I think.  On my screen, some of the options filled the entire width of the screen.
Title: Re: Interaction modifications!
Post by: DarkTl on November 05, 2011, 07:01:14 AM
The menu for date options might be a bit long, I think.  On my screen, some of the options filled the entire width of the screen.
Same here. I tried to use 1024x768 version, and it's OK, but I prefer 800x600, since it's not a good idea to demonstrate adult content to surrounding people on full screen  :)

And it would be better if there was "back" options in all interaction menus. A couple of times I chose wrong option, and there was no way back.
Title: Re: Interaction modifications!
Post by: Popuri on November 05, 2011, 10:54:28 AM
As a note, will be removing the Training option from my upcoming interactions.  I decided that, for now, I'll stick with the kind of stat changes you get in the regular kind, as the training unbalances the way future has WM EX set up.
Title: Re: Interaction modifications!
Post by: DarkTl on November 05, 2011, 11:09:28 AM
the training unbalances the way future has WM EX set up.
I agree, personally I don't use it since it's too easy.
I'm also not sure that sex skill rising is balanced well enough.
Title: Re: Interaction modifications!
Post by: Popuri on November 05, 2011, 11:13:42 AM
I agree, personally I don't use it since it's too easy.
I'm also not sure that sex skill rising is balanced well enough.

Probably not.  I know that on the source code side, future removed the skill gains from the 'have normal sex' etc options.  I'd like to see training, still, but maybe as a job from the drop down menu.  Might have to volunteer my services to future once the quarter ends on the 17th.
Title: Re: Interaction modifications!
Post by: DarkTl on November 05, 2011, 11:23:38 AM
It probably would be better if there were only random events (which can reduce or increase happiness, libido, gold, fame and so on).
And dates sometimes can give you random items and girls, for example.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 05, 2011, 11:08:45 PM
As a note, will be removing the Training option from my upcoming interactions.  I decided that, for now, I'll stick with the kind of stat changes you get in the regular kind, as the training unbalances the way future has WM EX set up.

I went and re-tooled the training options. There are now three types of training, one for each non-sex skill (Combat, Magic, Service). First tier is free, gives +1 to the skill and a single related stat (Cons, Int, Obed in that order) and caps skill gain at 20. Second tier is 100 gold, gives +2 to the skill and a minor boost to related stats, and caps skill gain at 50.

And it would be better if there was "back" options in all interaction menus. A couple of times I chose wrong option, and there was no way back.

Added in back buttons across the board. Only one choicebox doesn't have a back button, but it leads to others that do. All back buttons restart from the first choice. That button that previously said 'DO NOT SELECT' now leads somewhere. However, it only leads to a choicebox with one option that is a back button.

I also pared down some of the choice text that was overly long a bit.

All dates are now 100 gold.

Added in an extra reward where you 'service' the girl and a couple of extra punishments (take gold from the girl and chastity belt) as well as adding in different effects for spanking and chastity belt if the girl has the Masochist trait.

Tested myself and it works perfectly. Enjoy!

I'll try working on some stuff that boosts the Oral skill and work on tier 3 skill gain options (500 gold, skill caps at 80)

If anyone has ideas for extra rewards or punishments, please let me know.
Title: Re: Interaction modifications!
Post by: Uriel on November 06, 2011, 09:53:35 AM
Looks interesting, many thanks.
Title: Re: Interaction modifications!
Post by: E. on November 06, 2011, 08:32:10 PM
Nothing important but the sex interactions only display normal sex pictures. Is it possible to make it so it display pictures depending on the interaction (group, bdsm...)
Title: Re: Interaction modifications!
Post by: Crisis21 on November 06, 2011, 11:38:51 PM
That's not actually something you can change with the script aside from putting in triggers. That has to do with the code.
Title: Re: Interaction modifications!
Post by: Popuri on November 07, 2011, 12:21:37 AM
What actions are you getting normal pictures from?

The various 'have x sex' types should be coded to display the appropriate image as of the most recent WM EX version.
Title: Re: Interaction modifications!
Post by: E. on November 07, 2011, 02:14:14 PM
Forget that. I feel stupid.
Title: Re: Interaction modifications!
Post by: Popuri on November 08, 2011, 07:02:20 PM
Ok, putting the finishing touches on my new default interactions.

Working on the dungeon one at the moment.

What I have planned is:

Talk with her
Punish her
'Punish' her

Punish her will have soft or hard options, former randomly picks between a lecture or a spanking.  Hard triggers torture.

'Punish' her will give a random event from pleasure overload punishment.

What's the general feeling?  Should I include the options for forced sex in the various ways, too?
Title: Re: Interaction modifications!
Post by: Crisis21 on November 08, 2011, 07:14:53 PM
Ok, putting the finishing touches on my new default interactions.

Working on the dungeon one at the moment.

What I have planned is:

Talk with her
Punish her
'Punish' her

Punish her will have soft or hard options, former randomly picks between a lecture or a spanking.  Hard triggers torture.

'Punish' her will give a random event from pleasure overload punishment.

What's the general feeling?  Should I include the options for forced sex in the various ways, too?

That sounds good. Options for forced sex would be appreciated. I'll probably duplicate them to add non-forced options even if you don't.
Title: Re: Interaction modifications!
Post by: Popuri on November 08, 2011, 07:18:29 PM
I don't intend to.

My theory here is that, generally, she's not hanging out in the dungeon for her health.  She's unlikely to be receptive if you lock her in a cell, then come down bearing roses and chocolates, you know?
Title: Re: Interaction modifications!
Post by: Popuri on November 08, 2011, 08:02:06 PM
Ok, new interactions uploaded.

DefaultInteractDetails

I've dropped my training idea for this.  As well, both of these are designed to fit better with Future's planned balance for WM EX.  The only actions that change any stats but PC Love/Fear/Hate, Happiness, and Libido are Scold and Praise.  Praise raises Spirit and Confidence, to help counter Scold's effects.

There are several sections that select a random result, including the dates, the intro text, and the chat dialogue.

DefaultInteractDungeon

Added in some non-torture methods of punishing girls.  These will still increase fear/hate and decrease love, but they will not adjust your disposition, or run the risk of the girl being injured.

As well, both files include options to cancel.  cancel moves back one menu level, or if you're at the beginning, exits the interaction.

Any comments/testing are appreciated.
Title: Re: Interaction modifications!
Post by: Crisis21 on November 08, 2011, 08:38:14 PM
I'll give them a whirl later. Thanks.
Title: Re: Interaction modifications!
Post by: Romanul on November 10, 2011, 12:15:56 PM
@Popuri (http://pinkpetal.org/index.php?action=profile;u=1849):


Great stuff, keep up the good work!:)
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 12:19:21 PM
Thanks :)

Any comments/requests, looking over it?

Working on a replacement script for when you meet a girl in town with randomized text as well.
Title: Re: Interaction modifications!
Post by: DarkTl on November 10, 2011, 12:40:36 PM
Dungeon interaction has played again and again the same messages about "You decide to pay her a personal visit..." and "Through she's securely..." without stop until I've exited, loaded the game and gone to the next week. Strange. I hope it won't happen again.
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 12:46:50 PM
Weird.  I'll look at it.

Edit:

Ah, got it.  Misplaced EndIf on my check for them having the 'Fearless' trait resulted in the script just running over and over.  Fixed file is attached here.
Title: Re: Interaction modifications!
Post by: DarkTl on November 10, 2011, 12:53:40 PM
But it worked on the next week. It's probably because I didn't start a new game after I replaced dungeon interactions file.
Anyway, well done.
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 12:58:32 PM
Same girl on the next week?
Title: Re: Interaction modifications!
Post by: DarkTl on November 10, 2011, 01:07:43 PM
Yeah. I can't reproduce it anymore since I already replaced save file. And I don't see any problems with fearless girls for now.

Btw, even if you cancel dialog, it still counts as interaction. Can you bypass?
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 01:13:30 PM
No.  The checks against interactions happen in the game's code, and call the script for the interaction.  As soon as you click interact, it burns an attempt.
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 01:21:30 PM
New script for the town meetings, giving a random choice of 3 short encounters.
Title: Re: Interaction modifications!
Post by: DarkTl on November 10, 2011, 01:27:58 PM
Can you make various encounters depending on girls stats or traits?
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 01:53:51 PM
Short answer: Yes.

Long answer: I have a better version of that planned, but want to see what Future does with EX and scripting before I mess with it too much, so probably won't for the time being.
Title: Re: Interaction modifications!
Post by: DarkTl on November 10, 2011, 03:11:46 PM
And one more question, just to be sure. Does new punishing methods still allow to gain dungeon traits?
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 03:18:59 PM
Only the torture option, as that's handled in future's side of the code.
Title: Re: Interaction modifications!
Post by: Uriel on November 10, 2011, 05:24:15 PM
Too bad. It makes sense: you torture a girl with pleasure, and she gets a mind fucked trait.
Title: Re: Interaction modifications!
Post by: Popuri on November 10, 2011, 05:50:38 PM
It does make sense, but with this setup I'm trying to keep this at a level where it doesn't unbalance Future's WM EX balance.

You could put under the 'Punish' something like:

SetVarRandom[2][0][100]
IfVar[2][LessThan][1]
    AddTrait[Mind-fucked]
    Dialog["She got messed up."]
EndIf

And that'd work, but I think he mentioned before that anything outside of adjusting stats like PCLove/Hate/Fear, Happiness, and Libido messes with his balance.
Title: Re: Interaction modifications!
Post by: DarkTl on November 11, 2011, 03:50:10 AM
If I remember correctly, mind fucked trait can be obtained if girl health is lower than 10, with chance depending on number of weeks in dungeon, spirit and iron will trait. I wonder if Future has changed this formula.
Title: Re: Interaction modifications!
Post by: blackrosesheart on November 11, 2011, 09:13:15 AM
Some people would like to be able to get that trait without a good chance of killing the girl though.
Title: Re: Interaction modifications!
Post by: Popuri on November 11, 2011, 10:56:47 AM
Ok, ok.

Edited version, gives a 1% chance on 'pleasure overload' torture to give the Mind Fucked trait.
Title: Re: Interaction modifications!
Post by: DarkTl on November 11, 2011, 02:45:57 PM
Can you make it a little more balanced? For example, this trait may need spirit 0, health less than 50 without iron will and health less than 30 with it.
Title: Re: Interaction modifications!
Post by: Popuri on November 12, 2011, 08:21:58 AM
Can you make it a little more balanced? For example, this trait may need spirit 0, health less than 50 without iron will and health less than 30 with it.

No.  Setting this to require a low health value defeats the purpose of this being a non-damaging torture form, if you're already beating her into submission first.  As well, I don't see the merit in setting a 0 spirit requirement to gain a trait that already gives -50 to spirit.
Title: Re: Interaction modifications!
Post by: DarkTl on November 12, 2011, 08:58:30 AM
I just think there is a chance of gaining this trait after the first trying, while wm ex conception is something like "any girl can obtain any trait, but it takes some time".
Title: Re: Interaction modifications!
Post by: blackrosesheart on November 12, 2011, 12:04:26 PM
Anyone else not able to download it?  Keeps trying to give me an index.php file.
Title: Re: Interaction modifications!
Post by: Popuri on November 12, 2011, 12:54:06 PM
Weird, seeing the same error.  I'll re-upload it.
Title: Re: Interaction modifications!
Post by: frozen_ghost on November 12, 2011, 02:44:57 PM
I get an index.php from all DLs in this thread.
Title: Re: Interaction modifications!
Post by: DarkTl on November 12, 2011, 03:14:35 PM
I can download any of them.
Title: Re: Interaction modifications!
Post by: blackrosesheart on November 12, 2011, 05:14:39 PM
Still getting index.php.  Any chance you could upload it to mediafire or something?
Title: Re: Interaction modifications!
Post by: alisaneko on November 12, 2011, 05:39:12 PM
just change the file name and it works its just got the wrong name on it its the right file :)
Title: Re: Interaction modifications!
Post by: blackrosesheart on November 12, 2011, 05:48:09 PM
Alright.  Thanks.
Title: Re: Interaction modifications!
Post by: GBCliff on November 22, 2011, 08:47:32 AM
the index.php error is due to a firefox problem. Reload this page in Internet Explorer, you will get the correct download.
Title: Re: Interaction modifications!
Post by: hewhocumsbynight on November 24, 2011, 09:02:28 PM
Hey Popuri!  I just downloaded and started using your new interaction commands, and I am quite impressed.  I'd take my hat off to you, if I weren't currently bareheaded.  However, I appear to have one minor glitch:  Sometimes, when I use an option under the "Ask for something" menu, the same message keeps popping up until I reboot the game.  Could you do anything about that?
Title: Re: Interaction modifications!
Post by: Popuri on November 24, 2011, 09:59:47 PM
Hey Popuri!  I just downloaded and started using your new interaction commands, and I am quite impressed.  I'd take my hat off to you, if I weren't currently bareheaded.  However, I appear to have one minor glitch:  Sometimes, when I use an option under the "Ask for something" menu, the same message keeps popping up until I reboot the game.  Could you do anything about that?

Default or Dungeon Interact?  Also, which option under 'Ask for something'?
Title: Re: Interaction modifications!
Post by: mothballd on November 25, 2011, 04:52:58 AM
Kudos to both Popuri and Crisis21 for churning out awesome scripts!
Title: Re: Interaction modifications!
Post by: hewhocumsbynight on November 25, 2011, 10:48:31 AM
Default or Dungeon Interact?  Also, which option under 'Ask for something'?

Default, "Naughty" date and Intimate.
Title: Re: Interaction modifications!
Post by: sgb on November 25, 2011, 11:54:13 PM
Been out of the loop for a while.  Do these work with vanilla WM, or are they customized for WM EX?
Title: Re: Interaction modifications!
Post by: Popuri on November 26, 2011, 01:28:45 AM
These work with WM EX.  There are some custom script commands that won't work with regular WM, though if you dig through the WM EX topic (I think) I posted the source code needed to add the commands in.
Title: Re: Interaction modifications!
Post by: Shilo on November 28, 2011, 08:35:53 AM
How can you download the script? The attachment always directs me to just downloading an index.php file.
Title: Re: Interaction modifications!
Post by: Popuri on November 28, 2011, 09:31:59 AM
the index.php error is due to a firefox problem. Reload this page in Internet Explorer, you will get the correct download.

This.
Title: Re: Interaction modifications!
Post by: E. on November 28, 2011, 02:12:03 PM
When will you finish the default interaction script? there's still the "blatantly kinky date" left.
Title: Re: Interaction modifications!
Post by: Xipomus on November 28, 2011, 06:49:39 PM
The problem of repeating text with me, was an older wm ex. The latest is from 4 nov 2011, instead of v 1.2a from 26 okt i was using.
So download the current wm ex from the first page of the topic and it should work.

Absolute fabulous job on the scripting and adding functionality. Thx guys. Keeo up the good work.

Xipomus
Title: Re: Interaction modifications!
Post by: person8 on December 12, 2011, 05:29:58 PM
Excuse me, I recently found the new default and dungeon scripts here today (don't come to PP much) and love them.

The thing that irks me a bit though is that the "intimate" selections when you're being private with a girl seems to only get pregnant during 1-on-1 sex, as opposed to like during BDSM or Threesome time. 
Can the pregnancy chances during those events be restored?  Or are they there, and I haven't triggered the chances for them?

Sorry to bug if this has been otherwise established.
Title: Re: Interaction modifications!
Post by: Popuri on December 12, 2011, 08:54:50 PM
With the way the code is currently written, you could go into the ScriptEdit included in WM EX and add 'have normal sex' before the 'have *blah* sex' option.  Have Normal Sex is what triggers the pregnancy check.
Title: Re: Interaction modifications!
Post by: misioooo on December 14, 2011, 09:19:15 AM
Hello and thank You for Your great work!
Can You please put both (or even all three) files in first post (default, dungeon, walking in town)?
It took me some time before i stumbled upon all 3 script files :)
Title: Dungeon Bug Report
Post by: DeadlyAlias on December 15, 2011, 06:26:17 PM
Ok, ok.

Edited version, gives a 1% chance on 'pleasure overload' torture to give the Mind Fucked trait.

The script attatched to that post has an endless loop repeat, if you "Use Her"  most of the options will  posting the reaction message forever. (Checked, pops up at least 50 times.) "Normal Sex" "Take her ass" and "Take advantage of her bondage" work, the rest cause the problem.

I'll keep "testing"

Title: Holy shit.
Post by: DeadlyAlias on December 15, 2011, 06:35:10 PM
Wow, I hadn't realized that the script editor was so intuitive.

I fixed it, there were extra lines of numbers in the code when I looked at it in the script editor. I deleted them and the code doesn't loop wrong now.