[A17] Miniaturisation Overloaded

Started by notfood, August 03, 2016, 09:36:22 PM

Previous topic - Next topic

Highlandman

Yes, i've managed to do so by uninstalling it first then instaling it in the new location.

SpaceDorf

I always use this option, because somehow it's two different kinds of work,
with uninstalling having the higher priority.

So replace your building, then click uninstall. It gets uninstalled soon, and either reinstalled right after, or hauled to a stockpile, but at least it's out of the way for the redesign.
Maxim 1   : Pillage, then burn
Maxim 37 : There is no overkill. There is only open fire and reload.
Rule 34 of Rimworld :There is a mod for that.
Avatar Made by Chickenplucker

Serenity


shhfiftyfive

another item i'd like to see official support for is the 'soylent green' machine

https://ludeon.com/forums/index.php?topic=18491.msg202274#msg202274

notfood

Can you list their defNames? They are mods I don't play with.

shhfiftyfive

Quote from: notfood on August 31, 2016, 03:35:41 PM
Can you list their defNames? They are mods I don't play with.
i'm a complete noob, so, i'm not sure where to locate that info.

shhfiftyfive

#111
is this the info you're after?

ED-Omni Gel mod:

-<ThingDef ParentName="BuildingBase">
<DefName>Table_MK1_Replicator</DefName>
<Label>Mark 1 Matter Replicator</Label>

-<ThingDef ParentName="BuildingBase">
<DefName>Table_MK2_Replicator</DefName>
<Label>Mark 2 Matter Replicator</Label>

-<ThingDef ParentName="BuildingBase">
<DefName>Table_MK3_Replicator</DefName>
<Label>Mark 3 Matter Replicator</Label>



Soylent Green mod:

-<ThingDefs>
-<ThingDef ParentName="BuildingBase">
<DefName>soylenttable</DefName>
<Label>Soylent Machine</Label>

notfood

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
    <Miniaturisation.MiniaturisationDef>
        <defName>MiniaturisationOmniGel</defName>
        <requiredMod>ED-OmniGel</requiredMod>
        <targetsDefNames>
            <li>Table_MK1_Replicator</li>
            <li>Table_MK2_Replicator</li>
            <li>Table_MK3_Replicator</li>
        </targetsDefNames>
    </Miniaturisation.MiniaturisationDef>
</Defs>


<?xml version="1.0" encoding="utf-8" ?>
<Defs>
    <Miniaturisation.MiniaturisationDef>
        <defName>MiniaturisationSoylentGreen</defName>
        <requiredMod>Soylent green</requiredMod>
        <targetsDefNames>
            <li>soylenttable</li>
        </targetsDefNames>
    </Miniaturisation.MiniaturisationDef>
</Defs>


Paste these two on new files under MiniaturisationDefs folder and it'll work. Next update they will be included.

shhfiftyfive

Quote from: notfood on August 31, 2016, 08:13:10 PM
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
    <Miniaturisation.MiniaturisationDef>
        <defName>MiniaturisationOmniGel</defName>
        <requiredMod>ED-OmniGel</requiredMod>
        <targetsDefNames>
            <li>Table_MK1_Replicator</li>
            <li>Table_MK2_Replicator</li>
            <li>Table_MK3_Replicator</li>
        </targetsDefNames>
    </Miniaturisation.MiniaturisationDef>
</Defs>


<?xml version="1.0" encoding="utf-8" ?>
<Defs>
    <Miniaturisation.MiniaturisationDef>
        <defName>MiniaturisationSoylentGreen</defName>
        <requiredMod>Soylent green</requiredMod>
        <targetsDefNames>
            <li>soylenttable</li>
        </targetsDefNames>
    </Miniaturisation.MiniaturisationDef>
</Defs>


Paste these two on new files under MiniaturisationDefs folder and it'll work. Next update they will be included.

hmm, well i did this. i went in game to confirm the changes worked.

now the 3 tables for omni gel work (i can now move them)

but the soylent green machine i still cannot move.

checked my work for any typos. couldn't find any. :(

notfood



It does work. Did you check the file extension? it must end in .xml

Copy one of the others, rename and edit them.

shhfiftyfive

it is .xml just like the omni gel one i made that works fine :(

would i need to start a new world to see it work, for some reason? (the omni gel ones worked on my current world)

notfood

Does it throw any error on load? maybe badly formatted xml?

It doesn't require a new world.

shhfiftyfive

#117
Quote from: notfood on September 01, 2016, 12:30:50 PM
Does it throw any error on load? maybe badly formatted xml?

It doesn't require a new world.
after a bit of sleep irl i came back to try solving this one more time... now it works! and so does my brain! man, i get a lot less sleep than i should thanks to this game...

the solution was to make sure this mod was lower in the load order than the soylent green mod.   

so obvious, right? :-[

notfood

#118
Yeah... load order matters for this mod. That's why it's best to put it last since it encompases so many mods.

Draconicrose

Things such as wind turbines and coolers aren't getting moved. The 'blueprint' isn't even recognized as actionable.
I have a Rimworld Let's Play for you -> Let's Play Rimworld Playlist