devolution

Author Topic: Combining the big mods aka crazy's mod .06 is out now  (Read 1034404 times)

0 Members and 10 Guests are viewing this topic.

Offline MrKlaus

  • Full Member
  • ***
  • Posts: 144
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1500 on: March 01, 2016, 09:12:32 PM »
will prob update film jobs until happy then not sure what after
if there are things people suggest?

I would propose to mingle with the free time that the girls have. For example:

 During her free time, she could go see her boyfriend/sugar daddy (for that extra cash)/family (children, husband, etc...), if she an addict a drug den, an alcoholic would have a high chance in ending in the bar, gamblers to a casino (losing money, losing her self - PC have to buy her back; winning - extra gold, some nice items, unique girls?). Maybe a lively girl would go to a club and an adventure-type goes on an expedition to the catacombs.

The bad outcomes could be: being attack by jealous husband/wife, getting raped (corrupt City Guards, monks, enemy gank members, creature), girls get kidnapped by a client that likes her to much or she turned down (something like escape - make your man find her) or by enemy gang for ransom.


The main thing is that the free time would sometimes end up with the girl not recovering at the 100% rate that the Players expect.
 

Offline jonwich

  • Full Member
  • ***
  • Posts: 169
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1501 on: March 01, 2016, 09:19:30 PM »
Most of those things exist, though probably not precisely in the form you want.

Offline Tyrgalon

  • Newbie
  • *
  • Posts: 45
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1502 on: March 06, 2016, 08:37:00 AM »
How does the pregnancy/birth system work? would it be possible to make it pick none random girls as well?


Couldn´t find a file or anything that seemed to control that mechanic.


edit: Well after some more searching I realized a girl needs to be set to "normal/default" or "only born as your daughter" to be able be born.


Any way to change that setting for a large numer of girls at the same time, or edit those definitions in the config or the settings of the girls in a savegame?
« Last Edit: March 06, 2016, 11:26:07 AM by Tyrgalon »

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1503 on: March 06, 2016, 11:33:14 AM »
How does the pregnancy/birth system work? would it be possible to make it pick none random girls as well?
Couldn´t find a file or anything that seemed to control that mechanic.
Pregnancy and birth is on my list for updating.
Most of it is handled in cGirls.cpp but because the file is so big and pregnancy is scattered in a dozen places, it is hard to figure out.
The majority of it starts around line 12945 (as of this post) in the section labeled "Pregnancy, insemination & children".


First to see if she gets pregnant look at "calc_pregnancy" (and its variants) which then go to "CalcPregnancy".

If she gets pregnant it goes to "CreatePregnancy" where the unborn baby is created.

When the child is born look at "child_is_due", here the unborn babies either become children or beasts.
If it is a beast, it either gets added to your beast count or sold off.
If it becomes a child, it gets stored in the girl's data. (This is the main part I want to change, moving children from their mothers to a central holding place so if the mother dies, the child doesn't go with her.)

When the child grows up look at "child_is_grown", this is where the final product is created.
(I started rewriting this a while back so it is a little messy at the moment.)

If it doesn't find a special girl first, it then goes to "CreateRandomGirl" where it will try to create a girl based on what the game asks for. (This part has a bug in it that I am trying to fix.)

Hope that helps.
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline Tyrgalon

  • Newbie
  • *
  • Posts: 45
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1504 on: March 06, 2016, 12:00:49 PM »
Ahh...ok, ty for the quick answer :)


Tried looking for cGirls.ccp but couldn´t find it, wher is it located?


Are the definitions for where a girl can "spawn" located in that same file? if so could I change the definitions for slave, dungeon and catacombs only girls so that it allows them to also/only spawn as daughters?


Edit: Ok so I found the cGirls.ccp file on github and found some lines that seem to be what im looking for. Problem is I don´t know how to access that file on my own version of the game, I assume it is inside the WH exe?

The code is located between lines 13494 and 13512:



Tried pasting the code in here but it just becomes a mess :/



« Last Edit: March 06, 2016, 12:54:50 PM by Tyrgalon »

Offline Baal

  • Full Member
  • ***
  • Posts: 172
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1505 on: March 06, 2016, 04:30:56 PM »
I want to make my game more edgy/exciting. Could I perchance make a way for the girls to kill each other? This could only occur if they have certain traits, low happiness, and equipped with a weapon and tie it to free time? Finally I'd like to base the target of the murder on interactions with the MC or on popularity with customers (logic is that they get more care from MC so they become more popular). If needed could I make it happen on multiple free times if one attack seems too extreme. Preventing the character from dying would require security (higher quality of living could also be something a measurement) and if the girl or guy (eventually) is found it would be up to the MC how to judge the offenders. Finally could this add certain trait to the girl.
« Last Edit: March 06, 2016, 04:52:24 PM by Baal »

Silent Guy

  • Guest
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1506 on: March 10, 2016, 10:52:37 AM »
I have a suggestion for RandomGirls. Since there are often multiples of the same one, and often in the same building, it becomes difficult to tell them apart by their profile photo. It would be nice to have a small toggle, maybe in Girl Details screen, where we'd be able to pick and lock the Profile photo that would be used for this particular girl.

How difficult would it be, though?

Offline bsin

  • Jr. Member
  • **
  • Posts: 66
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1507 on: March 10, 2016, 07:54:44 PM »
we'd be able to pick and lock the Profile photo that would be used for this particular girl.
How difficult would it be, though?
From my limited knowledge of codebase, I think v hard. have NO idea how we can even start! But the interface side i don't know, so maybe there's something there?
Joey and Crazy are way better at this and may have better idea?

Could I perchance make a way for the girls to kill each other?
May be doable as random trait-based event, for 'free-time' job based on factors like you say. might toy with it later and post if it turns out good...

Ok so I found the cGirls.ccp file on github and found some lines that seem to be what im looking for. Problem is I don´t know how to access that file on my own version of the game, I assume it is inside the WH exe?
Not quite sure what you're using to edit the code there. It's all in C++ so depending what you wanna do,  you may need to learn about that. Basically before you can use C++ it needs to be 'compiled' into instructions the computer can understand. I'm not sure how far along you are, so I'll just break this down from the start and you can pick up from wherever applies:-

1) Download an SVN tool like TortoiseSVN - this allows you to pull all the source code. To compile, you need *all* the source code not just one file. It may take some time to download - make a new folder for it that is separate from your game folder.
2) Use the SVN to download (Export) the repository (repo) to the folder you made: Crazy's repo is at https://github.com/crazywm/crazys-wm-mod
3) Download a Development Environment - I use the free Visual Studio Express 2013. I suggest using the same one and the same version (2013) to avoid horrible impossible-to-figure-out issues (Microsoft love changing file formats, and adding, deprecating and changing stuff without telling anyone).
4) Go into the folder you created in (1), into the 'trunk' folder that the SVN downloaded, to the 'crazys-wm-mod' folder (i always copy this whole folder somewhere else so I can work on it without my changes getting undone next time i sync with the repo). In your working folder, look for the file that ends "vse2013.sln" - this is the 'solution' file. Click it and it should open in visual studio.
5) Find the girls.cpp file and make your changes. When you're happy, press F7 to try and build it. Building it takes all of your source code and makes into a runnable .exe file. First time takes ages (depending how good you PC is). Subsequent builds are faster.
5A) Keep tweaking until the build works.
5B) When the build works, you'll find a new modified "whore master.exe" file in the \Debug folder. (Along with a lot of other stuff)
6) Copy that .exe file, and go across to your game folder.
7) Rename your old existing "whore master.exe" to whatever you like (e.g. WM.old.exe), and paste your new version in.
8. Run it.
9) Test it and get annoyed when it doesn't work like you thought.
10) Go back to visual studio and review: chuckling when you find the silly error you made in the code.
11) Confidently build it again, copy it across and rename everything again.
12) Test and get really annoyed when it still fails in exactly the same way.
13) Go back and really fix it this time.
14) Build, copy it across and rename everything AGAIN.
15) Rage quit when it won't even start up this time.
16) Try again, build and copy again.
17) Repeat steps 8 - 16 until it works.
...
100) Every now and then you can re-sync the repo to see what changes have been made by other people.


This is pretty much my process.
« Last Edit: March 10, 2016, 07:57:13 PM by bsin »

Offline Baal

  • Full Member
  • ***
  • Posts: 172
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1508 on: March 10, 2016, 08:17:38 PM »
May be doable as random trait-based event, for 'free-time' job based on factors like you say. might toy with it later and post if it turns out good...

Awesome! I was hoping to make certain characters a bit more volatile (like how they are in a game, movie, or show) and encourage girls to gain traits or lose trait and to use the combat stat.  If you do try it out tell me so I can help test it. I'd like to learn how to make stuff other than girls/items in this game but lack knowledge. I'll be checkiing out the link you used. I'd also like to make more traits that have effects as well.
« Last Edit: March 11, 2016, 07:48:23 AM by Baal »

Offline Tyrgalon

  • Newbie
  • *
  • Posts: 45
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1509 on: March 11, 2016, 09:44:52 AM »
Not quite sure what you're using to edit the code there. It's all in C++ so depending what you wanna do,  you may need to learn about that. Basically before you can use C++ it needs to be 'compiled' into instructions the computer can understand. I'm not sure how far along you are, so I'll just break this down from the start and you can pick up from wherever applies:-

1) Download an SVN tool like TortoiseSVN - this allows you to pull all the source code. To compile, you need *all* the source code not just one file. It may take some time to download - make a new folder for it that is separate from your game folder.
2) Use the SVN to download (Export) the repository (repo) to the folder you made: Crazy's repo is at https://github.com/crazywm/crazys-wm-mod
3) Download a Development Environment - I use the free Visual Studio Express 2013. I suggest using the same one and the same version (2013) to avoid horrible impossible-to-figure-out issues (Microsoft love changing file formats, and adding, deprecating and changing stuff without telling anyone).
4) Go into the folder you created in (1), into the 'trunk' folder that the SVN downloaded, to the 'crazys-wm-mod' folder (i always copy this whole folder somewhere else so I can work on it without my changes getting undone next time i sync with the repo). In your working folder, look for the file that ends "vse2013.sln" - this is the 'solution' file. Click it and it should open in visual studio.
5) Find the girls.cpp file and make your changes. When you're happy, press F7 to try and build it. Building it takes all of your source code and makes into a runnable .exe file. First time takes ages (depending how good you PC is). Subsequent builds are faster.
5A) Keep tweaking until the build works.
5B) When the build works, you'll find a new modified "whore master.exe" file in the \Debug folder. (Along with a lot of other stuff)
6) Copy that .exe file, and go across to your game folder.
7) Rename your old existing "whore master.exe" to whatever you like (e.g. WM.old.exe), and paste your new version in.
8. Run it.
9) Test it and get annoyed when it doesn't work like you thought.
10) Go back to visual studio and review: chuckling when you find the silly error you made in the code.
11) Confidently build it again, copy it across and rename everything again.
12) Test and get really annoyed when it still fails in exactly the same way.
13) Go back and really fix it this time.
14) Build, copy it across and rename everything AGAIN.
15) Rage quit when it won't even start up this time.
16) Try again, build and copy again.
17) Repeat steps 8 - 16 until it works.
...
100) Every now and then you can re-sync the repo to see what changes have been made by other people.


This is pretty much my process.


I haven´t actually edited anything and have no knowledge of coding except from some pretty straight forward text changing in text files for paradox games XD


Im basically just looking to change the short piece of code for "a daughter is born" event.
Currently the code only looks for a unique girl that has been assigned to be born as your daughter in her girlsx file, but this setting has to be done for each girl indivually as far as I know. If the game can´t find such a girl it will make a random one.
Instead I want the game to look for any unique girls before making a random one, changing the code for that shouldn´t be too hard I think?


I found the dev files and downloaded them and located the code for the event and got some rough idea of how the code works, but im pretty lost on how change it to do what I want.
Im afraid I would have to spend a massive amount of time to learn it all just to change/add a few lines or so :/


And yes I was wondering about how to even make it into a exe so ty for that info :)

Offline bsin

  • Jr. Member
  • **
  • Posts: 66
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1510 on: March 14, 2016, 09:10:10 PM »
Im afraid I would have to spend a massive amount of time to learn it all just to change/add a few lines or so :/
Ok if u know what y wana change and it is simple, PM me the modified .cpp for w/e you changed, and I compile for u and get you bak the .exe somehow
dont mind doing a *few* times as favor

Offline bsin

  • Jr. Member
  • **
  • Posts: 66
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1511 on: March 19, 2016, 10:53:54 PM »
Hi
fairly big - but almost entirely text-output based - mod in attachment
Adding new flavour texts for actions. really trying to make the game less generic by (a) using more girl traits/skills/stats, to give them more agency in game. and (b) making it react to YOU, by using things about you (nasty or nice?) and how you treat girls (pclove? nice rooms? any guards?) to feed into game more. a lot of that in here.

i also tried to break up the girls.cpp file but failed horribly (ms vse2013 error writers - you have made a mortal enemy this month) and instead just tidied up some

affected files are attached in zip

Offline Baal

  • Full Member
  • ***
  • Posts: 172
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1512 on: March 20, 2016, 03:15:31 AM »
Hi
fairly big - but almost entirely text-output based - mod in attachment
Adding new flavour texts for actions. really trying to make the game less generic by (a) using more girl traits/skills/stats, to give them more agency in game. and (b) making it react to YOU, by using things about you (nasty or nice?) and how you treat girls (pclove? nice rooms? any guards?) to feed into game more. a lot of that in here.

i also tried to break up the girls.cpp file but failed horribly (ms vse2013 error writers - you have made a mortal enemy this month) and instead just tidied up some

affected files are attached in zip

Thanks a ton you're awesome! I love having more events and text for traits.

Offline bsin

  • Jr. Member
  • **
  • Posts: 66
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1513 on: March 31, 2016, 08:16:26 PM »
joey / crazy - i made a bunch more changes since the above. making more now. I've just pulled down rev227 on repo, so i'll merge my changes for everything together with 227 and post the affected source files here late weekend/early next week

questions/comments - ask or pm

Offline Lurker

  • Hero Member
  • *****
  • Posts: 688
Re: Combining the big mods aka crazy's mod .06 is out now
« Reply #1514 on: April 02, 2016, 12:36:22 PM »
So I'm seeing alot of new image categories in the game. Is there like a list that explains what they represent?
Like for example:
Lick? Who's liking who or what are they licking?
Strapon? Whos wearing it? Are they using it on someone?
Eatout? Whos eating who? Sounds like its the same as lick?
And so on and so forth..


Dunno if you guys are still working on this mod anymore though. And if so are you making changes to the gameplay or just mainly adding new image categories and jobs?  :)
« Last Edit: April 02, 2016, 12:39:54 PM by Lurker »