[A12C] Mechanical Defence 2 (Update 23 - quick fix)

Started by mipen, November 10, 2014, 03:58:33 AM

Previous topic - Next topic

popster99


Iwillbenicetou

Mod Help! The basics on how to download mods!

mipen

Quote from: popster99 on January 17, 2015, 04:52:32 AM
mipen you didn't say what you added in 3.0.2
It was just a couple of fixes :)

Quote from: Iwillbenicetou on January 17, 2015, 04:27:16 PM
Yeah, sometimes it works sometimes it doesn't work (the link)
Hmm very strange. Every time I've tried it, it has worked.

Does anyone else have this problem?

Dexitus

Hi, I have just a little (read: big) question.

I would like to make automated miner from this mod mine resource from another mod (titanium from Glittertech), because there is no way how to acquire it without trading. Right now i have been waiting 8 months for trader with titanium to arrive. Would it be possible to make it happen?

Thx for answer :)

Iwillbenicetou

Quote from: mipen on January 17, 2015, 05:07:39 PM
Quote from: Iwillbenicetou on January 17, 2015, 04:27:16 PM
Yeah, sometimes it works sometimes it doesn't work (the link)
Hmm very strange. Every time I've tried it, it has worked.

Does anyone else have this problem?
Just my weird browser I guess. What I see sometimes is just About:tab. That's it.
Mod Help! The basics on how to download mods!

popster99


popster99


mipen

Quote from: Dexitus on January 17, 2015, 06:14:25 PM
Hi, I have just a little (read: big) question.

I would like to make automated miner from this mod mine resource from another mod (titanium from Glittertech), because there is no way how to acquire it without trading. Right now i have been waiting 8 months for trader with titanium to arrive. Would it be possible to make it happen?

Thx for answer :)

It is entirely possible, and you are even able to do it yourself :) if you go into the defs for MD2, you will see a folder called MinerResourceDefs. Open that and then open the file (any text editor will do). In it you will see a bunch of entries that look like this:
 
<MinerResourceDef>
        <defName>MD2SteelResourceInfo</defName>
        <label>Steel</label>
        <spawnRangeMin>15</spawnRangeMin>
        <spawnRangeMax>40</spawnRangeMax>
        <ticksToProduce>4800</ticksToProduce>
        <resourceDefName>Steel</resourceDefName>
        <fissureSizeRequired>Small</fissureSizeRequired>
      </MinerResourceDef>

This is the code which adds the different resources to the list that the miner produces. To add titanium to the list, add this entry into the file:
 
<MinerResourceDef>
   <defName>MD2TitaniumResourceInfo</defName>
        <label>Titanium</label>
        <spawnRangeMin>5</spawnRangeMin>
        <spawnRangeMax>10</spawnRangeMax>
        <ticksToProduce>4800</ticksToProduce>
        <resourceDefName>xxxxxxxxxxx</resourceDefName>
        <fissureSizeRequired>Small</fissureSizeRequired>
      </MinerResourceDef>


Just change the xxxxxxxxxxxxxx to the defname of the glitter tech titanium, you'll have to find that yourself I'm afraid :( spawn range min and spawn range max sets the amount of items produced each time. Fissure size required is the size of Fissure for the miner to dig titanium. Your options are Small, Medium and Large. Of course you can set it so that it's overpowered, but that's up to you :P you can balance it however you want. Hope that helps and I was able to explain it okay

popster99

that cool that you can change that i might go and change it a bit cause of the coal power is a bit op

Dexitus

Thank you so much mipen :) It is end-game resource so I will make it more rare than Plasteel :)

Code I am using if anybody is interested :)


     
<MinerResourceDef>
   <defName>MD2TitaniumResourceInfo</defName>
        <label>Titanium</label>
        <spawnRangeMin>3</spawnRangeMin>
        <spawnRangeMax>8</spawnRangeMax>
        <ticksToProduce>4800</ticksToProduce>
        <resourceDefName>Titanium</resourceDefName>
        <fissureSizeRequired>Large</fissureSizeRequired>
      </MinerResourceDef>



Iwillbenicetou

Mod Help! The basics on how to download mods!

HBKRKO619

Quote from: Iwillbenicetou on January 18, 2015, 09:16:23 AM
Quote from: popster99 on January 18, 2015, 12:55:06 AM
what browser are you using
I'm using Internet Explorer on Window's 8

That's maybe why ^^ internet Explorer is the creation of satan himself  :P
Go for "Chrome" or "Mozilla Firefox" (faster and more secured) and you will see, after 1 week of use, you willl ask yourself why you was still using Internet Explorer all this time  ;D

tontje

The hauler droids don't seem to haul any items far away from base, any way of changing that ?

Khazuk

I like the mod, in fact, I love it.
Though I must say it's quite the tedious job figuring out which droid is what.
I keep the combat droids in a single room to prevent them from strolling around and doing nothing, and I disable them.
However, whenever I produce some of them, they just instantly walk away and blend in with the rest of the droids, which require me to pause the game and click each indiviual droid to get those pesky combat droids.

Perhaps add a different color to different drones?
Red = combat
Green = Gathering
Blue = Doctor
White = Builder
Brown = Miner

etc.

palandus

Actually chrome is not faster or better secured than IE.

I run Advanced System Care and Malware Fighter, and I consistently get adware, spyware, and the occasional lesser virus whenever I use Chrome to visit "safe sites". But, whenever I use Internet Explorer, hardly any problems and about 80% less adware and spyware.