Ludeon Forums

RimWorld => Mods => Help => Topic started by: Chicken Plucker on July 27, 2017, 05:20:33 PM

Title: Stealth coding?
Post by: Chicken Plucker on July 27, 2017, 05:20:33 PM
Hello, I have only started modding for Rimworld in the past few days, I made a Ghillie suit mod:

(http://i.imgur.com/UL5G6ZS.png)

But it only functions like any other clothing, I was hoping if someone could shine a light here and tell me if its possible to make hostile pawns ignore a user of this outfit or if not.

Maybe it's possible to somehow turn the colonist ignore setting for something else, but only for a certain range?


Thanks to anyone who has ideas
Title: Re: Stealth coding?
Post by: RawCode on July 29, 2017, 06:02:41 AM
you will need custom targeting AI and some other routines, it's done relatively easy and does not actually need ever single code injection.

check AttackTargetFinder
Title: Re: Stealth coding?
Post by: Kubouch on July 29, 2017, 06:38:37 AM
Maybe not to ignore completely but add some chance to ignore. Complete ignore would be so OP. Definitely a cool idea, especially if it can be coded easily, as RawCode pointed out!