Config file for epic autominer ?

Discussion in 'Questions, Discussions & Feedback' started by El_Globo, Jan 29, 2022.

  1. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    130
    Likes Received:
    66
    Hi,

    I'm using my own custom config files,and I wonder where I could find the datas of the new epic autominer device.

    I didn't found it into my current modded/original config files which are :
    block, item, template, eclass & trader..

    Also, as a second question I have modded a tiers 3 shield, which work fine. It's merely a copy/paste of the tiers 2, with modification, and an entry to build it of course. Anyway, there's no icon in the item list from IM console or when the item is in a container or a inventory. I was hoping to have the same icon/image as the original copied, since the model path is the same, but instead I've got an inivisible (but present item) with a little square on a corner (from memory). Anything to do, just to link it to an existing image, without having to create a new one ?
     
    #1
  2. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,817
    Likes Received:
    4,111
    1- It's called "AutoMiningDeviceEpic" and it's at lines 27293 and next.

    2- Did you use a reference to the original block for your shield generator (ex. { +Block Id: 1809, Name: ShieldGeneratorCV, Ref: ShieldGeneratorBA) ? If not then you may have to make a CustomIcon.

    The only reference to a "CustomIcon" for shield gen in vanilla is at line 27919:

    CustomIcon: ShieldGeneratorSV

    If you're making a CV or BA shield then this icon will not do...
     
    #2
    Last edited: Jan 29, 2022
    Germanicus likes this.
  3. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    130
    Likes Received:
    66
    Well, I guess I didn't have searched it properly, since I found it easily in blockconfig, as you said.....

    Thank you.
     
    #3
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,221
    Likes Received:
    11,869
    Yes just add CustomIcon: BlockName

    Set the blockName to the same name as the block that has the icon you want to use. For example:

    CustomIcon: ShieldGeneratorBA

    (Not home ATM so you'd have to look up if I got the names right)

    If you want to draw or use your own custom icon you can use your scenarios SharedData folder to add your own custom icons. Requires a custom scenario though.
     
    #4
  5. El_Globo

    El_Globo Commander

    Joined:
    Jul 2, 2020
    Messages:
    130
    Likes Received:
    66
    Hi, Thank you it worked perfectly. In my case since I modded a ShieldGeneratorCVT3 I just added a line under model named : "CustomIcon: ShieldGeneratorCVT2" and it shows the V2 shield icon...
     
    #5
    ravien_ff likes this.

Share This Page