Ludeon Forums

RimWorld => Mods => Help => Topic started by: Somz on August 13, 2014, 01:25:46 AM

Title: Question: DoT exists?
Post by: Somz on August 13, 2014, 01:25:46 AM
Hey folks,
I've been thinking about adding a type of weapon that aside from dealing damage, would also apply a DoT (damage over time) effect, like the incendiary launcher.

Does it exist already?
If not, does anyone know if an effect like this exists, that I could use as the foundation to create a few toxic weapons, as simply as the incendiary launcher applies the burning effect? Without the flames and panic effects of course, a plain old DoT.
Unfortunately I'm not exactly a modder, I can hardly play around with text documents,
so creating it on my own or modifying .dll files is pretty much impossible... :-\
Could I use something for this? 
Title: Re: Question: DoT exists?
Post by: ZestyLemons on August 13, 2014, 03:15:07 AM
It'd be totally possible, and the easiest way would probably to copy the fire code and make start at size 1.0 and extinguish itself over time to 0.0, but that obviously requires some assembly code. Sorry.
Title: Re: Question: DoT exists?
Post by: Somz on August 13, 2014, 04:47:58 AM
Quote from: ZestyLemons on August 13, 2014, 03:15:07 AM
It'd be totally possible, and the easiest way would probably to copy the fire code and make start at size 1.0 and extinguish itself over time to 0.0, but that obviously requires some assembly code. Sorry.

Bleh...Yeah, thought as much. Any mods utilizing something like this or something similar?
Title: Re: Question: DoT exists?
Post by: mrofa on August 15, 2014, 05:12:48 PM
Its a bit more complext on its own and now with medical system its even more complex :p
It would be more helpfull if you would specify more what that dot would do compare to fire effect.
Title: Re: Question: DoT exists?
Post by: Somz on August 17, 2014, 04:42:57 AM
Quote from: mrofa on August 15, 2014, 05:12:48 PM
Its a bit more complext on its own and now with medical system its even more complex :p
It would be more helpfull if you would specify more what that dot would do compare to fire effect.

Damage pawns over time for a fixed duration (with or without the possibility of ending the effect prematurely), maybe miscellaneous like movement impairing effect, aim loss etc, but that is, again, would be something extra.

Like fire, a simple (slightly more) damaging effect, without the panic effect and fire textures.

Or something like that. ^^
Title: Re: Question: DoT exists?
Post by: mrofa on August 17, 2014, 07:49:25 AM
Did look abit on assembly side of medical stuff, and yehh it would be possible, you could even specify what body parts are damaged.