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
Been asked and answered in the Redist Heat thread many times before.
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:"
Is the <ThingDef Name="BuildingBase" Abstract="True"> is declared again somewhere in the mod before reusing wall vanilla code?
Yes, there is a whole section with the "<ThingDef Name="NW_sterileWallBuildingBase" Abstract="True">"
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.
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.
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?
im pretty sure if you add "wall" to the linkFlags on that wall, it would allow it....maybe....
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?
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.
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....
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.
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.
Yup, and as I said before, you are looking for the allowed thingDefs in CompProperties_RestrictedPlacement.
Also, google docs is a horrible site, pastebin (http://pastebin.com/) is much better for this sort of thing.
Quote from: 1000101 on August 31, 2016, 01:03:22 PM
Yup, and as I said before, you are looking for the allowed thingDefs in CompProperties_RestrictedPlacement.
Also, google docs is a horrible site, pastebin (http://pastebin.com/) is much better for this sort of thing.
Sigh.... I'm looking in the CCC.dll files, and looking at the CompProperties_RestrictedPlacement, and there is no "allowed things defs". I mean comeon, all this time spent telling me how easy and simple the fix is, if you just told me where and what to fix, it would be done in 10min, but instead you guys have been looking down on me for 2 days straight now. I dont know how to edit .dll, I just found out how to open them, and inside it, there is no such thing of which you speak of. http://pastebin.com/bG4gY1zA this is the CompProperties_RestrictedPlacement, and I have not a single clue as to what to do. I'm trying to understand, but you guys are so cryptic and talk like I know what I'm doing. I just simply want to be able to place a Vent in my hospital to keep it a the temperature I want without having a massive hole in the wall since I cant place a stupid vent in it.
If I understand correctly it's not in the .DLL files you have to look in but the .XML ones
Quote from: kaptain_kavern on August 31, 2016, 05:10:48 PM
If I understand correctly it's not in the .DLL files you have to look in but the .XML ones
Well it already got the wall def
<li Class="CommunityCoreLibrary.CompProperties_RestrictedPlacement">
<compClass>CommunityCoreLibrary.CompRestrictedPlacement</compClass>
<thingDefs>
<li>Wall</li>
</thingDefs>
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.
In the google doc with SterileWall mod def there is
<placeWorkers>
<li>CommunityCoreLibrary.PlaceWorker_OnlyOnThing</li>
<li>RedistHeat.PlaceWorker_WallChecker</li>
</placeWorkers>
So for me, theoretically (I haven't used Redistheat nor look in the code), as long as CCL
AND Redistheat are placed higher than SterileWall in the modlist it should works, right?
Nobody is looking down their nose at you and you were told on day one where and how to fix it when I said to look at the original mod thread. I can explain it for you but I can't understand it for you.
You need to add whatever walls you want to the list of allowed thingDefs. There is only one list - thingDefs. Whether it's allowed or disallowed is based on the PlaceWorkers used. Since it's PlaceWorker_OnlyOnThing the list is of allowed thingDefs. If it was PlaceWorker_NotOnThing the list would be disallowed thingDefs. Either way, the list is named thingDefs. Add the walls to that.