Cusmtom Wall, How do I make it so that I can build vents in them=

Started by Kassidoo, August 30, 2016, 09:47:49 AM

Previous topic - Next topic

Kassidoo

Hi

I have downloaded the mod Sterile wall, and while I can place the ductwork from redist heat in it, I cant add vents, vanille or redist one, in it. Which kinda defeats the point or having ducts in them in the first place

1000101

Been asked and answered in the Redist Heat thread many times before.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Kassidoo

Yeah, and the fix they say there does nothing... I have read through all pages, both on the new thread and old. adding <DesignationCategory>Structure</DesignationCategory> Does not fix it, as the wall have that by default, and I still cant place the vents on them. Which is why I made this thread...

Also, holy shit what is up with the verifictaion? 5 diffrent thing to fill eveytime I post/log in?  And wtf is "Type without the punctuation or numbers: 5g1n,o.m,.2e:"

kaptain_kavern

Is the <ThingDef Name="BuildingBase" Abstract="True"> is declared again somewhere in the mod before reusing wall vanilla code?

Kassidoo

Yes, there is a whole section with the "<ThingDef Name="NW_sterileWallBuildingBase" Abstract="True">"

1000101

Actually, it has to do with CompProperties_ResitrictedPlacement and nothing else.  Unless it's no longer using that and if it's not then it's been hard-coded which is bad.

Also note, the mod (on the forum anyway) hasn't been updated to A15 as it needs CCL which I am still in the process of updating.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

skullywag

The better vents/coolers mods i did use the LinkFlags.Wall check i believe in a placeworker. It uses the CCL on thing one i think.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Kassidoo

Quote from: 1000101 on August 31, 2016, 02:15:18 AM
Actually, it has to do with CompProperties_ResitrictedPlacement and nothing else.  Unless it's no longer using that and if it's not then it's been hard-coded which is bad.

Also note, the mod (on the forum anyway) hasn't been updated to A15 as it needs CCL which I am still in the process of updating.

I'm still on A14 still so, no issues for me. So there is nothing I can do to fix it?

skullywag

im pretty sure if you add "wall" to the linkFlags on that wall, it would allow it....maybe....
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Kassidoo

Quote from: skullywag on August 31, 2016, 06:48:28 AM
im pretty sure if you add "wall" to the linkFlags on that wall, it would allow it....maybe....


<linkFlags>
<li>Wall</li>
</linkFlags>


Already got it, phew, this seems to be harder to fix than it should? I've done some modding before in other games (most notable Factorio) but this seems kinda overcomplicated to just get a vanilla feature to work?

skullywag

well its not hard, I just dont have the mods in front of me to check this fully, as 1000101 states the placeworkers on the vents will tell you what they can and cant do, youll need to check whats in those placeworker classes to see what they require.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Kassidoo

Quote from: skullywag on August 31, 2016, 07:58:04 AM
well its not hard, I just dont have the mods in front of me to check this fully, as 1000101 states the placeworkers on the vents will tell you what they can and cant do, youll need to check whats in those placeworker classes to see what they require.

I'm sorry, but I have to say this: I'm new to modding, I've never touched a .dll file before in my life. I know that you think you are helping, but saying "oh its not hard" and then tell me to "just look at this thing and you will understand it", does not help me in anyway....

skullywag

ok you need to look at the vent xml definition in redistheat and tell me what placeworkers it has set. Once I have that I can work out what you need.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Kassidoo

Quote from: skullywag on August 31, 2016, 09:35:40 AM
ok you need to look at the vent xml definition in redistheat and tell me what placeworkers it has set. Once I have that I can work out what you need.

https://docs.google.com/document/d/1eF0sg0RB6fDG2jQw24tD-728baD6o5fKL8upFFh4sjo/edit?usp=sharing

Here's the entire Vent code.

1000101

Yup, and as I said before, you are looking for the allowed thingDefs in CompProperties_RestrictedPlacement.

Also, google docs is a horrible site, pastebin is much better for this sort of thing.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By