Quick def help question

Started by Nebbeh, April 16, 2016, 08:14:03 AM

Previous topic - Next topic

Nebbeh

  <RoofDef>
    <defName>RoofConstructed</defName>
    <label>constructed roof</label>
    <isThickRoof>false</isThickRoof>   <---- If I were to change this to true, would that make "overhead mountain" ?

And would that make it impenetrable from mortars and dropraids?

skullywag

well no, its still roofconstructed but what it would do is anything looking for "isThickRoof" in the games code would see that def as well. So mortars hitting a constructed roof with that set to true would just vanish as they do when they hit mountain.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Nebbeh

Yea that's what I was trying to point out, its a constructed roof, but acts as overhead mountain right. So mortars and dropraids cant spawn there.