Ludeon Forums

RimWorld => Mods => Help => Topic started by: Compozitor on August 16, 2014, 11:16:23 AM

Title: [Solved]How to make an animated plant or building??
Post by: Compozitor on August 16, 2014, 11:16:23 AM
Hello everyone! I'm new to Rim World modding, and i have this question...

How to make growing plants? Or animated buildings? Maybe effects?

How to define it in the xml files, and what names must graphics files have for it?

Thanks!!!
Title: Re: How to make an animated plant or building??
Post by: mrofa on August 16, 2014, 11:25:11 AM
You cant do animation in xml, you need to make it in dll.
As for plant, if you specify in xml growrate and stuff, as long its thinglclass is plant it will grow on its own.
If you want to make a custom grow you would need to make it in dll.
Title: Re: How to make an animated plant or building??
Post by: Compozitor on August 16, 2014, 11:26:16 AM
Thank you very much!! That's all i wanted to know)))
Title: Re: [Solved]How to make an animated plant or building??
Post by: JuliaEllie on August 16, 2014, 12:23:31 PM
I saw EffecterDefs which (to my understanding) might make the work/fire/spark animation effects from "bits" which are normal texture files. It might be possible to make basic animated effects with those. I will try that when Im done with my current project on extending my own mod.
Title: Re: [Solved]How to make an animated plant or building??
Post by: Compozitor on August 17, 2014, 03:46:21 AM
Quote from: JuliaEllie on August 16, 2014, 12:23:31 PM
I saw EffecterDefs which (to my understanding) might make the work/fire/spark animation effects from "bits" which are normal texture files. It might be possible to make basic animated effects with those. I will try that when Im done with my current project on extending my own mod.

Oh! This would be great!
Title: Re: [Solved]How to make an animated plant or building??
Post by: mrofa on August 17, 2014, 07:58:20 AM
Effecter is for job effect like butchering or cleaning. This are in most part predifined.
Title: Re: [Solved]How to make an animated plant or building??
Post by: Compozitor on August 17, 2014, 03:12:06 PM
Quote from: mrofa on August 17, 2014, 07:58:20 AM
Effecter is for job effect like butchering or cleaning. This are in most part predifined.

Oh i see.  I just seen in Smelter Tutorial, at the end. There was some text about changing effects and so on. So maybe we can at least change color of effects...
Title: Re: [Solved]How to make an animated plant or building??
Post by: mrofa on August 17, 2014, 03:22:01 PM
Not from xml :p
Title: Re: [Solved]How to make an animated plant or building??
Post by: RawCode on August 19, 2014, 05:41:11 AM
XML is very very limited.

at same time DLL allows to do virtually anything.
Title: Re: [Solved]How to make an animated plant or building??
Post by: Compozitor on August 19, 2014, 06:44:34 AM
Quote from: RawCode on August 19, 2014, 05:41:11 AM
XML is very very limited.

at same time DLL allows to do virtually anything.

Yeah... if you know C# )))