Tree names on blockConfig - how do I get tree names ?

Discussion in 'General Discussion' started by SnowdogJJJ, Sep 7, 2020.

  1. SnowdogJJJ

    SnowdogJJJ Commander

    Joined:
    Jun 22, 2020
    Messages:
    118
    Likes Received:
    26
    I want to up the woodLogs drop but there are so many different types of trees, how do I get the names of the trees I want to adjust?
     
    #1
  2. Trial and error.
    Check the playfield file to see exactly which ones are on that playfield and then process of elimination....
     
    #2
    Germanicus likes this.
  3. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,819
    Likes Received:
    4,113
    First get this wonderful tool :

    https://empyriononline.com/threads/tool-empyrion-playfield-designer-v2-04-exp.37581/

    Download link :

    https://empyriontools.org/download/

    Get the latest version in "experimental" section (red arrow):

    epd-download.jpg

    Unzip this somewhere, then navigate to the folder EmpyrionPlayfieldDesigner\data\images\deco

    All trees and plants are in there thanks to the author @jmcburn .

    You can match the names of the images with the names in the BlocksConfig.ecf. For example, this plant:


    AlienPlant04.jpg

    The image name is " AlienPlant04.jpg" and if you search in the blocksConfig.ecf without the option "match case" (Notepad++) then you will find it around line 2611 :


    -----------------------------------------------------------------------

    { Block Id: 297, Name: AlienPlant04, Ref: AlienPlant01

    Material: wood
    Model: Environment/Plants/AlienVegetation/AlienPlant04Prefab
    SizeInBlocks: "2,5,2"
    { Child DropOnDestroy
    Item: WoodLogs
    Count: "2,4" <<< will drop minimum 2, maximum 4 WoodLogs
    Prob: 1
    }
    }

    ------------------------------------------------------------------------

    There may be some small differences in letter case between the images names and the BlocksConfig.ecf names, so choose the BlocksConfig,ecf names as the "right" ones.

    You can also check the "Config Editor" included in the Empyrion Playfield Designer. It's experimental but works fine.

    First open the Playfield Editor. Let it load, it can be long as it will get all files from the game first. Then go to the "tools" tab :

    EPD-1.jpg

    Next choose which file you want to modify by double-clicking it, then use the search bar to find your item/ block, select it in the list then click on "edit" :

    EPD-2.jpg

    Next step is to choose what to edit, select it and click "edit" again:

    EPD-3.jpg

    Next step will be to change these values :

    EPD-4.jpg

    Last step :

    EPD-5.jpg

    Click "ok" until you're back at the "files" page ( image #2) and save your file.

    .


     
    #3
    Last edited: Sep 7, 2020
    jmcburn likes this.
  4. SnowdogJJJ

    SnowdogJJJ Commander

    Joined:
    Jun 22, 2020
    Messages:
    118
    Likes Received:
    26
    #4

Share This Page