[A13] Small Nutrient Paste Dispensers (1.5)(CCL)

Started by Kirid, October 16, 2014, 08:09:10 PM

Previous topic - Next topic

AaronRStanley

I'm having a issue with the mod.

I've installed it in the mods folder, and all three of the NPDs are present in game. I go to build the skinny front NPD. My survivor will bring all the materials and put in the effort, but the NPD will disappear completely after completion. The resources and the NPD are just gone.

Am I installing the mod incorrectly, as all three of the various NPDs are present in the Production tab, which I recall from previous versions (pre-A13) would cause problems and as such only one of the various new NPDs could be installed at a time. I don't see an option for selecting only one of the NPDs, however.

1000101

This mod requires CCL.  You need CCL to "unbind" the AI from the specific vanilla NPD and allow (multiple) modded NPDs.

Also, in cases like this - POST YOUR LOG FILE!

Don't show us a screen shot, attach the "Player.log" (Mac/Linux) or "output_log.txt" (Win) file.
(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

AaronRStanley

You are correct, I missed installing the CCL.

Thanks for the help, I very much appreciate it.

daz84uk

Does anyone know if this is working with Alpha 14?

1000101

It takes the most minor edits to the xml but it otherwise works.
(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

daz84uk

Would you be able to tell me what will need editing?

1000101

The ModHelperDef needs to be properly namespaced as well as the version updated.

The rest is very simple and anyone can figure it out in less than an hour.
(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


poul_thomsen

can you update this please I really need it for my prison :) :)

Canute

If you just want a mini dispencer, try this:
Edit the Buildings_Production.xml under
Mods\Core\Defs\ThingDefs_Buildings

Find the entry for Nutrient dispenser
Find <drawSize>(3,4)</drawSize>
and change it into <drawSize>(1,1)</drawSize>

Find   <interactionCellOffset>(0,0,3)</interactionCellOffset>
and change it into
  <interactionCellOffset>(0,0,1)</interactionCellOffset>

And you just got a 1x1 dispenser.
It isn't the best solution since you edit the Core, but it works.

lc-soz

Quote from: Canute on October 26, 2016, 05:44:35 PM

If you just want a mini dispencer, try this:
Edit the Buildings_Production.xml under
Mods\Core\Defs\ThingDefs_Buildings

Find the entry for Nutrient dispenser
Find <drawSize>(3,4)</drawSize>
and change it into <drawSize>(1,1)</drawSize>

Find   <interactionCellOffset>(0,0,3)</interactionCellOffset>
and change it into
  <interactionCellOffset>(0,0,1)</interactionCellOffset>

And you just got a 1x1 dispenser.
It isn't the best solution since you edit the Core, but it works.


Would be possible to create another separated one using only xml? Same texture, same C# code but 1x1 so I can use both?

poul_thomsen


1000101

Quote from: lc-soz on October 26, 2016, 06:00:15 PMWould be possible to create another separated one using only xml? Same texture, same C# code but 1x1 so I can use both?

Until CCL is updated you can have one NPD - The vanilla one.  You will need to override that like the non-CCL versions of this mod.
(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