Ludeon Forums

Ludeon Forums

  • July 13, 2020, 02:55:26 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 16

Author Topic: [A17] Miniaturisation Overloaded  (Read 108234 times)

notfood

  • Colonist
  • ***
  • Posts: 828
  • Refugee
    • View Profile
[A17] Miniaturisation Overloaded
« on: August 03, 2016, 09:36:22 PM »

This mod has been superseeded by Minify Everything go get that one. This one won't be updated anymore.


If it has a name, you can shrink it.

Features
Simple mod friendly miniaturisation
Have you ever looked at a construction and thought it'd look better in a different place? Deconstructing and constructing it again is such a waste. No more.
This mod introduces the MiniaturisationDef, it allows you or anyone to shrink any table, or not necessarily a table, as long as you have its defName.

Mod support
Miniaturisation currently supports the following mods:
- AdditionalLighting
- Bulk Meals
- Colony Manager
- Combat Realism
- Core Driller
- Craftable Medicines
- Defence Shield
- DermalRegenerator
- Edge Technologies
- ED-ReinforcedStuff
- ED-ReverseCycleCooler
- ED-SubspaceTransponder
- Expanded Prosthetics and Organ Engineering
- ExtendedMedicine
- ExtendedStorage
- Glitter Tech
- Hardcore SK
- LT-DoorMat
- Medical Training
- Mending
- Misc. Objects
- Misc. Training
- Modular Tables
- Roof Support
- Solar Flare Shield
- T_ExpandedCrops
- Vegetable Garden

If you don't have the mod, the MiniaturisationDefs are ignored.

Full miniaturisation control
You can edit or contribute MiniaturisationDefs directly to the Github repository or you can make a new mod and load it after this one, your changes will override the ones included by default. If you don't like something, just edit it.

This is the format, example for EPOE:
Code: [Select]
<Defs>
    <Miniaturisation.MiniaturisationDef>
        <defName>MiniaturisationEPOE</defName>
        <requiredMod>Expanded Prosthetics and Organ Engineering</requiredMod>
        <targetsDefNames>
            <li>TableBasicProsthetic</li>
            <li>TableBionics</li>
            <li>TableSimpleProsthetic</li>
            <li>TableSurrogates</li>
            <li>TableSynthetics</li>
            <li>UpgradingStation</li>
        </targetsDefNames>
    </Miniaturisation.MiniaturisationDef>
</Defs>
defName should be unique, requiredMod is the name found in the About.xml of that mod and targetsDefNames are the names of the things you want to shrink. Put it in Defs/MiniaturisationDefs and you are golden.

Download

  A17

A16

Older versions can be found here.
« Last Edit: August 30, 2018, 04:51:12 AM by notfood »
Logged

1000101

  • Planetologist
  • ****
  • Posts: 1344
  • RimFortress Builder
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #1 on: August 03, 2016, 10:04:31 PM »

This is brilliant.  I was just thinking earlier today that I should put another option into CCL to do this and lo!  You beat me to the punch!

110% endorsed!  :)
Logged
(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

123nick

  • Colonist
  • ***
  • Posts: 391
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #2 on: August 03, 2016, 10:17:48 PM »

this mod allows miniaturisation of vanilla objects, like standing lamps and sun lamps and such, right? like what this mod: http://steamcommunity.com/sharedfiles/filedetails/?id=726372052  does right?

edit: nvm, found out it does  :P
Logged

MarvinKosh

  • Mad Tester
  • Super Tester
  • Planetologist
  • ***
  • Posts: 2166
    • View Profile
    • My RimWorld 1.0 Mods
Re: [A14] Miniaturisation Overloaded
« Reply #3 on: August 03, 2016, 11:47:21 PM »

Bear in mind that not all objects will like being minified. For example, last I checked, turrets need a dummy comp to initialise properly.

Serenity

  • Colonist
  • ***
  • Posts: 815
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #4 on: August 04, 2016, 10:09:37 AM »

For example, last I checked, turrets need a dummy comp to initialise properly.
What do you mean with "dummy comp"? I noticed that when I moved one it wasn't there
Logged

MarvinKosh

  • Mad Tester
  • Super Tester
  • Planetologist
  • ***
  • Posts: 2166
    • View Profile
    • My RimWorld 1.0 Mods
Re: [A14] Miniaturisation Overloaded
« Reply #5 on: August 04, 2016, 11:03:38 AM »

Like so:

Code: [Select]
using RimWorld;
using Verse;

namespace HotCold_Minification
{
    public class CompTurretInit : ThingComp
    {
        public Thing gun;

        public override void Initialize(Verse.CompProperties props)
        {
            base.Initialize(props);
            Building_TurretGun turret = parent as Building_TurretGun;
            if (turret != null && turret.gun == null)
            {
                gun = (Thing)ThingMaker.MakeThing(parent.def.building.turretGunDef);
                turret.gun = gun;

            }
        }

        public override void PostSpawnSetup()
        {
            base.PostSpawnSetup();
            //It just needed first time.
            if (gun != null)
            {
                gun.Destroy();
                gun = null;
            }
        }
    }
}

Elysium

  • Drifter
  • **
  • Posts: 86
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #6 on: August 04, 2016, 04:22:55 PM »

Bear in mind that not all objects will like being minified. For example, last I checked, turrets need a dummy comp to initialise properly.

I don't know if this is the same issue or not, but I am unable to move small coolers from RedistHeat.  The Reinstall/Uninstall icons show up as expected, however when I try to reinstall there is no work order for it.

I am able to uninstall the object, however when doing an error pops up:
Code: [Select]
MinifiedFurniture118716 gave an inspect string over six lines (some may be empty): Not installed
Other than the minified cooler appearing to lack a proper texture when in an item state, the game was working fine afterwards.  Was able to successfully install the cooler in another location without issues.

I will attach the xml in case anyone wanted to try it for some reason.

[attachment deleted by admin - too old]
Logged

notfood

  • Colonist
  • ***
  • Posts: 828
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #7 on: August 04, 2016, 04:46:30 PM »

Yeah, some things with complex comps refuse to cooperate. We're going to need some exceptions and handle those accordingly.
Logged

Spare74

  • Drifter
  • **
  • Posts: 63
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #8 on: August 05, 2016, 06:30:28 PM »

I just discovered this version of the mod but when I tried it I get errors and I can't miniaturized anything :s
Here's a look at the errors I get.
Logged

123nick

  • Colonist
  • ***
  • Posts: 391
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #9 on: August 05, 2016, 06:51:35 PM »

i made a pull request for Telkirs Expanded Crops, it adds miniaturisation compatability too the model T cupboard and cooking stove.
Logged

notfood

  • Colonist
  • ***
  • Posts: 828
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #10 on: August 05, 2016, 08:13:41 PM »

I just discovered this version of the mod but when I tried it I get errors and I can't miniaturized anything :s
Here's a look at the errors I get.

You lack the dll, you downloaded the source. Download the release.
Logged

123nick

  • Colonist
  • ***
  • Posts: 391
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #11 on: August 05, 2016, 10:34:50 PM »

thanks for merging the pull request notfood :) a question- is it updated on the steam workshop aswell?
Logged

notfood

  • Colonist
  • ***
  • Posts: 828
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #12 on: August 05, 2016, 10:57:51 PM »

I haven't uploaded it yet. I was making sure there were no bugs.
Logged

Spare74

  • Drifter
  • **
  • Posts: 63
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #13 on: August 06, 2016, 03:53:12 AM »

You lack the dll, you downloaded the source. Download the release.

Damn, I'm so dumb!

Thanks a lot for the quick answer though :)
Logged

Serenity

  • Colonist
  • ***
  • Posts: 815
  • Refugee
    • View Profile
Re: [A14] Miniaturisation Overloaded
« Reply #14 on: August 06, 2016, 10:41:25 AM »

T_ExpandedCrops is missing its .xml ending
Logged
Pages: [1] 2 3 ... 16