Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: skurr00 on November 22, 2019, 05:08:26 AM

Title: editting flavor text
Post by: skurr00 on November 22, 2019, 05:08:26 AM
is there any quick way to edit the in-game descriptive text for some of the events (like meeting new girls in town, etc.) that someone with little programming skill could do?
Title: Re: editting flavor text
Post by: jrok on November 22, 2019, 08:15:02 PM
That is getting worked on.  Have you tried editing them with notepad?  I asked about this several years ago, but I was use to working with Bethesa games.
Title: Re: editting flavor text
Post by: skurr00 on November 23, 2019, 02:27:10 AM
yes, but the game keeps crashing when i test them.
Title: Re: editting flavor text
Post by: jrok on November 25, 2019, 08:56:56 AM
Did you just edit the wordings of the script inside the "xxx"?  Also if using notepad, make sure that it is not setup that notepad is the main program to operate it.  Also do not hit enter when playing with the script in notepad.  It WILL cause the script to crash.  This I know from experience in several other games  :-[ :'(
Title: Re: editting flavor text
Post by: skurr00 on November 25, 2019, 11:02:30 PM
thanks for the advice. i'll give it a try, see if i can make it work
Title: Re: editting flavor text
Post by: h1262216 on December 22, 2019, 07:56:46 AM
 I am trying to make this stuff scriptable in lua. For example, the new script for meeting a girl in the clinic looks like this

function MeetClinic(girl)    Dialog("You go to your clinic in the hopes that your men have brought in a potential new girl as per your orders.")
    Dialog("Looking around for someone of use that you could perhaps convince to work for you.  You notice a girl in the ER room after checking her chart you notice she was brought in unconnicess.")
    local choice = ChoiceBox("", "\"How did you end up here?\"",  "\"I've changed my mind\"")
    if choice == 0 then
Dialog("Girl: \"I don't know and what's worse I have no way of paying my bill.\"")
        local hire = ChoiceBox("", "\"I'm the owner of this place.  How about you come work for me and we call the bill even?\"",
"\"I must be off, bye\"")
        if hire == 0 then
Dialog("Girl: \"Ok, that would really be helpful.\"")
            Girl.AcquireGirl(girl)
        else
Dialog("Girl: \"Ok, bye.\"")
        end
    end
end



However, I am still in the middle of the work, and (for now) also testing stuff on linux.
Title: Re: editting flavor text
Post by: CaptC on December 24, 2019, 10:06:24 AM
That might get me scripting again...  8)


Would this also extend to the individualized 'meet a girl' scripts?
Title: Re: editting flavor text
Post by: h1262216 on December 29, 2019, 07:40:10 AM
that's the idea. Basically, for each script that affects a girl, it will be looked up whether there is a girl specific version, and in that case that one will be used.