I could use some help with mod creation.

Started by Oenus, June 24, 2017, 03:58:40 PM

Previous topic - Next topic

Oenus

I've been playing RimWorld for quite awhile now, have sunk way more hours than I care to admit and I still love it.  However, there are some things I would like to add or see added to my games, but I unfortunately lack the knowledge (and currently time) to learn the ins and outs to do it by myself.

Some of the things I like are the effects of things on one another, I love the various traits pawns and have, the way certain pawns will interact, I like how clothing can effects so many things, etc.  I would love to make a clothing system that goes more in depth as far as how other pawns react to what another pawn is wearing.  Almost like adding a sort of 'appeal' to clothing, but also making certain types of clothing more appealing for pawns to want to wear.  Currently they seem to go for the highest armor value item by default, which isn't a bad idea, but I think it would be neat that if they had a certain trait, or even health condition, they would prefer another item instead.  I think a variety of items is good, but I also feel that there can be an overabundance too, which some people might like.  I once had a map set up with a clothing store, it used the Hospitality mod and shelves to stock a wide variety of clothing items (if you're curious, no, it wasn't a successful business venture).  I think it could be cool to make some gender specific clothing too, or gender preferred clothing anyways, like dresses - they would be items not normally worn by male pawns, unless they had a 'Cross Dresser' trait or were forced to wear them, or other stipulations or variables that could be added.  I think that clothing could add mood traits based on comfort and could have social impacts too.  I know a lot of other mods add clothing that add bonuses (which are great, I love having pawns wearing work gloves for efficiency and boots for a movement bonus), so I don't think it would be too hard to add in some effects.

There are also character interactions and traits I think would be neat too, but I am not sure how hard it would be to actually create.  I think that if some characters have the same traits they could 'bond' over them.  If you had two characters with 'Pyromaniac' they could have a social chance to talk about their interest.  The same could happen with some opposite traits too, where people would disagree or fight over it.  Also, if you have a super happy character, with lots of positive moods, they could influence people around them.  Kind of like there being a super upbeat or positive person making other people not feel as bad - unless they have the pessimistic or depressive traits of course, because then they might actually feel worse that someone else is feeling better.

I think that other things, like scars, missing limbs, etc. could cause a negative 'appeal' and impact social interactions.  Some characters would be more drawn to helping others or taking care of people, while others would be bothered and uncomfortable with it.  I also thought that having an operation for treating scars could be nice too, especially if there was an additional negative penalty for having a scar.  I don't think that removing them completely needs to be the success goal though, but perhaps they can reduce the amount of pain and reduction to appeal.

I also hate the frequency of 'Rebuffed by' because everyone wants to date everyone else, which is actually not that out of the ordinary, especially considering these are hard times and there is a limited number of options available, but I would like to see people 'give up' on someone after a time, or at least take a break.  I had a pawn who had a 'Rebuffed by' debuff stacked like 6 times or something stupid.  I would have felt better to see 'Rebuffed by' x2 and then 'Friendzoned by' and they just drop it.

I have a ton of other ideas and some of it subtle changes, some of it bigger - most of it conditional and I have minimal knowledge of how difficult any of it would be.  I would love to work with someone else who has the coding down but is lacking ideas.  I won't keep typing this stuff out, but if anyone would be interested in working on this stuff or with me, I'd be super excited to team up.  If not, hopefully I will get some time freed up and learn to do it on my own :P

Xnope

You have a lot of great ideas. Unfortunately, take it from me that modding is a time investment for sure. I've already spent over 200 hours on my first unfinished mod (granted, it is quite big), though after the learning curve you get a lot faster at implementing stuff.

I could help you with some of your ideas, if you become able to invest some love into them. Your first idea seems pretty cool (my mod actually adds a few backstories like cross dressers / trans) and I would be willing to help you out with the C# area especially (gender checks are quite simple, you would just need to insert your custom AI code to replace the vanilla code that decides what a pawn chooses to wear, which is the more involved part). The real question is if you can find mod(s) out there that add enough 'gender-specific' clothing to differentiate, or if you are willing to make a few textures of your own.

Also, if you want to add custom backstories, check out the core mod in my signature. It handles all the C# for you, you can just add new backstories with defs. It includes examples.
My W.I.P. mods:
Carnivale: GitHub | Forum Post
XnopeCore: GitHub

Alistaire

A bunch of these require XML for the InteractionDef and some C# code for the InteractionWorker. A very doable first mod, I doubt you need a lot of coding experience to put these ideas into code.

RimWorld1557Win\Mods\Core\Defs\InteractionDefs\Interactions_Social.xml contains a bunch of core game interactions.

RimWorld.Pawn_InteractionsTracker.TryInteractRandomly() allows any new InteractionDef to be randomly picked, including your suggestions.

RimWorld.InteractionWorker derived classes are really simple to create - initiator and recipient are supplied so you can do whatever checking of traits you want.

All InteractionDefs can be xpatched to have a new InteractionWorker of your choosing such that you can change the base game romance attempts to check whether the rebuffed pawn is friendzoned.

wwWraith

#3
Regarding later parts of your post, you should take a look on Less Rebuff (https://ludeon.com/forums/index.php?topic=21954), Rumours & Deception and Romance Diversified (https://ludeon.com/forums/index.php?topic=33075), Psychology (https://ludeon.com/forums/index.php?topic=34112), DE Surgeries (https://ludeon.com/forums/index.php?topic=22120), Rah's Bionics and Surgery Expansion (https://ludeon.com/forums/index.php?topic=28731) or Expanded Prosthetics and Organ Engineering (https://ludeon.com/forums/index.php?topic=10571).
Think about it. Think around it. Perhaps you'll get some new good idea even if it would be completely different from my words.

Oenus

Quote from: Xnope on June 28, 2017, 04:14:09 PM
You have a lot of great ideas. Unfortunately, take it from me that modding is a time investment for sure. I've already spent over 200 hours on my first unfinished mod (granted, it is quite big), though after the learning curve you get a lot faster at implementing stuff.

I could help you with some of your ideas, if you become able to invest some love into them. Your first idea seems pretty cool (my mod actually adds a few backstories like cross dressers / trans) and I would be willing to help you out with the C# area especially (gender checks are quite simple, you would just need to insert your custom AI code to replace the vanilla code that decides what a pawn chooses to wear, which is the more involved part). The real question is if you can find mod(s) out there that add enough 'gender-specific' clothing to differentiate, or if you are willing to make a few textures of your own.

Also, if you want to add custom backstories, check out the core mod in my signature. It handles all the C# for you, you can just add new backstories with defs. It includes examples.
I'd be glad to put a bit of time in it, when I have time available.  I would be more than willing to add in textures and properties for clothing as well as work with making it compatible with popular mods.  I'll have to look into that mod, because I would like to add backstories, so that would be great.

Oenus

Quote from: Alistaire on June 28, 2017, 05:29:24 PM
A bunch of these require XML for the InteractionDef and some C# code for the InteractionWorker. A very doable first mod, I doubt you need a lot of coding experience to put these ideas into code.

RimWorld1557Win\Mods\Core\Defs\InteractionDefs\Interactions_Social.xml contains a bunch of core game interactions.

RimWorld.Pawn_InteractionsTracker.TryInteractRandomly() allows any new InteractionDef to be randomly picked, including your suggestions.

RimWorld.InteractionWorker derived classes are really simple to create - initiator and recipient are supplied so you can do whatever checking of traits you want.

All InteractionDefs can be xpatched to have a new InteractionWorker of your choosing such that you can change the base game romance attempts to check whether the rebuffed pawn is friendzoned.
Thanks, I hope that it won't be so complicated by the time I actually start working on it.  I used to work with basic scripting stuff in RPG Maker, so conditional branches and such are like a fun puzzle for me.

Oenus

Quote from: wwWraith on June 29, 2017, 05:47:38 PM
Regarding later parts of your post, you should take a look on Less Rebuff (https://ludeon.com/forums/index.php?topic=21954), Rumours & Deception and Romance Diversified (https://ludeon.com/forums/index.php?topic=33075), Psychology (https://ludeon.com/forums/index.php?topic=34112), DE Surgeries (https://ludeon.com/forums/index.php?topic=22120), Rah's Bionics and Surgery Expansion (https://ludeon.com/forums/index.php?topic=28731) or Expanded Prosthetics and Organ Engineering (https://ludeon.com/forums/index.php?topic=10571).
I've actually been using Romance Diversified and Expanded Prosthetics and Organ Engineering for a while and I just downloaded Psychology and want to give it a try.  I tried Rumours and Deception once, but had an issue or conflict with another mod and ended up disabling it.  However, I will check out Less Rebuff and Rah's Bionics.