RimWorld

RimWorld

Inject Genes
112 kommenttia
Quilava 15.7. klo 22.25 
LET GOOOOOOOO!!!, time to build my ultimate pawn that eat 10 time normal pawn :sad_seagull:
Nedlee 15.7. klo 15.58 
Thanks!
Wistala  [tekijä] 15.7. klo 11.22 
Updated to 1.6, enjoy. I do not own Odyssey at the moment so can't test that, but should be fine. Let me know if I am mistaken of course.

@Karkino, working as intended. It's a feature highly requested, but in implemented yet.
Noheals 13.7. klo 19.53 
Tested it with 1.6 and so far no issues or errors.
AmaDeus 12.7. klo 13.33 
@Quilava and I am hoping you will keep you passive aggressive behaviour to yourself ... just be fckn grateful
Quilava 12.7. klo 5.06 
1.6 finally release, im hoping to see the update soon as author promised :cool_seagull:
Karkino 12.7. klo 0.49 
for those worried. this still works fine in 1.6. sadly you cant force inject into another pawn. only "self use"
King DaMuncha 11.7. klo 22.08 
please update
oscarmdsh69 11.7. klo 13.32 
1.6 update coming?
KawwaK 10.7. klo 12.38 
I refuse to play the game without this mod! Thanks for it!
moonstar67ppm 4.7. klo 1.11 
pardon my earlier comment. it was disturbance from lycanthrope VRE mod. apparently it has it's own germline inject method, unlike default gene implant. when using regular gene implant from vanilla DLC, any injected xenogene from source host will carry over to new host
moonstar67ppm 3.7. klo 12.48 
I got good build of sanguophage + extra injected genes, but when i implant gene to other pawn, they only retain default sanguophage. is this intended, or just a matter of sorting issue?
Wistala  [tekijä] 2.7. klo 5.19 
Once 1.6 has been officially released I'll have a look.
NOT SUGAR 1.7. klo 6.48 
1.6pl
Oler009 23.6. klo 5.37 
1,6?
Simbach Vazo 5.6. klo 14.30 
How's this work with Archites / Archogenes? Do you need them still or no?
Wistala  [tekijä] 31.1. klo 8.55 
@Twilight @morse_feri No sorry, it's on list but it's been on the list for a while now, sorry.
mores_feri 30.1. klo 9.24 
is there a way to administer the genes like a drug to other pawns like prisoners? speaking of dead calm and alike
Twilight 12.1. klo 7.55 
Any way to have another pawn inject genes into another pawn? Or any way to allow a Ghoul to inject genes? Trying a run through where individual genes can only be injected rather than the unlimited copying via xenogerm, and have a ghoul I want to tweak genes on and the normal inject option doesnt work for him.
Pasaway 21.12.2024 klo 20.40 
Wistala  [tekijä] 24.11.2024 klo 2.51 
@Quilava. No, sorry, not unless you use Dev mode and remove it.
Quilava 23.11.2024 klo 0.31 
May i ask, is there a way for pond to recover from xeno coma faster? I love to build a super pond but the 2 day come every time you inject gene just too long for me :sad_seagull:
grijnskat 29.10.2024 klo 21.17 
No, it just allows the comp to work on xenogerms.
In order to make the XML patching obsolete one would need to change the code from being a comp to a thingClass and patch the base class (GeneSetHolderBase) via Harmony.
Wouldn't do that. Comps are better than thingClass since you can stack the former until you puke, while a thingDef can only be one thingClass.

However, the XML patches can be simplified. Currently every thingDef gets its own patch operation.

Changing the XPath from
Defs/ThingDef[defName="Genepack"]
to
Defs/ThingDef[thingClass="Genepack"]
in
AddGeneToGenepacks.xml
removes the need for all other patches.
In other words: currently the patches target every item separately, like the Biotech Genepack, the Alpha Genes Alphapack and Mixedpack, and so on. With the changed XPath one patch targets the whole item category.
Wistala  [tekijä] 29.10.2024 klo 6.56 
@grijnskat would that mean I wouldn't need to add patches anymore?
grijnskat 28.10.2024 klo 23.29 
Nice mod. But if I may offer one thing to improve:
the reference to the Genepack class in GetCompleteGeneList() should be replaced with ..parent.GetType().BaseType == typeof(GeneSetHolderBase).

This way your code becomes compatible with any ThingClass that can hold genes, like Xenogerm injectors. For ppl like me, who like to craft an injector first, instead of chugging down raw genepacks. ;)
Wistala  [tekijä] 23.8.2024 klo 5.28 
@King DaMuncha Look under "Compatibility" should answer all your questions :D
King DaMuncha 21.8.2024 klo 19.14 
What about the Vanilla Enhanced genes?
ksj8775533897 12.8.2024 klo 16.05 
thx!
JazzimoX 9.8.2024 klo 23.49 
Reminds me a lot of the XCOM2 workshop community. Huge overhauls and tiny config tweaks everywhere. Always keeping over a hundred little mods in every playthrough.
In Rimworld my mod creep has run up to... 114. Oh dear.
Wistala  [tekijä] 9.8.2024 klo 11.11 
@JazzimoX That's what's great with a modding community, you can play however you want :)
JazzimoX 7.8.2024 klo 13.28 
Ah, thanks for the clarification.
If I may, I also really enjoy the Gene Reprocesser mod, which adds a building for it + some time/resource cost. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3277539761
Really helps me tailor genes before making xenogerms (or just straight up drinking them into my genetic code).
Wistala  [tekijä] 7.8.2024 klo 12.32 
@JazzimoX To the metabolism question;
I have actually never tested it that far so I am not sure. The test I did was done with no mods, to make sure it worked, but I didn't it test that far, and since I use a mod that removes the metabolism altogether, I can't tell if it does or not. It's either going to allow it, or block it.

To the choosing which part;
No, you can't choose, all the genes in the pack will be injected unless there is a duplicate gene in that case you can't inject it at all. I suggest using Split Genepack https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2905371517&searchtext=Split if you want to split your genes.
JazzimoX 5.8.2024 klo 14.38 
Can I inject genes if they would put my pawn below -5 metabolism? And by the pictures, can I choose which part of the gene pack to inject instead of the whole thing?
Wistala  [tekijä] 19.6.2024 klo 6.59 
⸢TEXT⸥ Yolojop Are the genes in a custom genepack or does it use the vanilla genepacks? The genepacks I am on about are those you can see on the banner (first picture) If he uses those then a patch isn't needed, if he does not use those but his own then yeah.
⸢TEXT⸥ Yolojop 19.6.2024 klo 6.50 
Are there any plans to patch Big and Small - Genes & More Xenolocked gene? I assume a carrier of it shouldn't be allowed to get new genes.
Wistala  [tekijä] 17.6.2024 klo 13.11 
@⸢TEXT⸥ Yolojop
Just inject a gene? It doesn't override it. Unless you are talking about changing a whole xenotype then either use "Character Editor" or "Pawn Editor" or use the cheat menu (the Dev tools)
⸢TEXT⸥ Yolojop 17.6.2024 klo 12.15 
Not trying to be rude, but are there any mods that add the ability to add a gene to and existing xenotype or xenogerm like this one does, or one that allows the editing of existing xenogerms?
Average Genestealer 27.5.2024 klo 9.01 
i imagine the pawn slurps the genetic material out like a gogurt tube
Steiner 19.4.2024 klo 11.04 
@Steiner

Thanks for the answer. yeah i used dev mode to save that run.
Wistala  [tekijä] 19.4.2024 klo 7.22 
@Steiner The coma is from the game, not something I have made or altered, you get the same if you use the xenogerm. I might look into a slider or the ability to switch it off completely or something else, but at the moment I got some other feature that has higher priorities.

If it is ruining your game tho you can activate Dev mode, then god mode, then go to the pawn's health tab, you should have the option to remove the coma there. Not ideal, I know, but best I can suggest at the moment.
Steiner 19.4.2024 klo 7.11 
Could we get an option or slider to increase/decrease the coma time?

2 days coma time, with a solo mechanitor with increased hunger rate, will have him suffer from malnutrition and lose consciousness and die before the coma is over. Of course it was my fault not having a mech to rescue and feed him in time. Just with cm mode it fucked me over big time.
Inquisition Time! 18.4.2024 klo 7.58 
That's ok. Cool mod though.

Only need the gene remover mod updated and I can eugenic my neanderthals into perfection.
Wistala  [tekijä] 18.4.2024 klo 7.56 
@Inquisition Time! It's a highly requested feature. One I want to add at some point. No ETA tho, sorry.
Inquisition Time! 18.4.2024 klo 7.55 
Ey, great mod. Any idea if you would be up to add a feature to inject your prisoners? I imagine enslaving and forcing themselves to inject the gene is also an option
Nedlee 15.4.2024 klo 2.08 
Thank you for the update!!
Wistala  [tekijä] 11.4.2024 klo 6.23 
@Skynert Indeed it is! The reason I have been waiting is that usually they deploy some last minutes adjustments to the patch and I didn't want to end up having to update again. So waiting for it to fully release before I update.
Skynert 10.4.2024 klo 8.49 
1.5 planned?
Wistala  [tekijä] 18.3.2024 klo 13.28 
@Stylianos_V I am going fiddle with the xenogerm, you'll have to find a different mod for that.
As for the ability for the mod to not destroy the genepacks, it has been suggested before and I might add a toggle for it eventually.
Stylianos_V 18.3.2024 klo 10.08 
I didn't mean to not destroy the xenogerm, just to also have a way to use the xenogerm without it overwriting the genes already in a pawn.

Another option would be to add a flag so that the genepacks wouldn't be destroyed. either would work, as I like to have a way to change the genes of a pawn as the game progresses, and making the entire xenogerm from scratch each time is not the best
Wistala  [tekijä] 18.3.2024 klo 6.37 
@stylianos_V Not quite sure what you are asking, you want the xenogerm to not override the existing xenogenes as well as not being destroyed?
If that's the case then my mod doesn't touch xenogerms, it only affects genepacks.