1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

How to edit an existing mod?

Discussion in 'Questions and Suggestions' started by PaladinSniper, Apr 24, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. PaladinSniper

    PaladinSniper Trainee Engineer

    Messages:
    7
    So im getting ready to host a space engineers server and ive been experimenting with mods to see which ones i do and dont want on my server. Im currently looking at this mod -

    Larger Drill Radius

    I really like it cause it creates a much larger drill hole, which reminds me of an old server i used to play on, but i think it mines the ore WAY to quickly. Is there a way for me to modify this mod so that it keeps the drill radius but doesnt drill the ore as fast?
     
  2. Before to ask this question, did you subscribe to the mod and open it ? If it was the case you would have seen this only in the ONLY ONE FILE of the mod ( CubeBlocks.sbc ) :

    <ResourceSinkGroup>Defense</ResourceSinkGroup>
    <SensorRadius>5.0</SensorRadius>
    <SensorOffset>2.8</SensorOffset>
     
  3. PaladinSniper

    PaladinSniper Trainee Engineer

    Messages:
    7
    i am brand spanking new to any kind of modding for space engineers, or modding for any game period really, but i subscribed, unzipped the file wiht 7zip, went into the data folder and it has abotu 20+ CS File's
     
    • Funny Funny x 1
  4. No problem, just take the id of the mod and open the zip which this id, it's at all. In you have only one file in which you can modify these lines.
     
    Last edited by a moderator: Apr 25, 2016
  5. Phoera

    Phoera Senior Engineer

    Messages:
    1,713
    i will add.
    But for use edited mod you will need publish edited version on Steam.
     
  6. BlackRedDead

    BlackRedDead Apprentice Engineer

    Messages:
    204
    i think what you need to change is <DeformationRatio>
    change it on one drill and test it ingame to compare the results ;-)

    so and now from start... (to be fair^^)
    to edit a mod for yourself (!) you just need to get the mod ID
    you find it in the adress of the modpage:
    https://steamcommunity.com/sharedfiles/filedetails/?id=442436391
    if you opened the page in steam you might need to activate the adressbar under "steam-->settings-->interface-->display steam url adress bar when available"
    or open the modpage in your internet browser - works way faster then the steam crap too!
    (no thats not the id your searching for, i wont do what you need to! ;-)

    so now you go to your mods folder
    (google it!) (appdata/roaming/space engineers/mods)
    and search the id - thats the file you want to extract, just extract them inbto a folder in the mods directory ;-) (if you use 7zip use the option extract in/as "*modid*\")
    there you find the mod contents wich you can edit to your liking, ingame you will notice a folder symbol with the folders name in your modlist - those are called "local mods" and can only be used in "offline" games (not "private", "friends only" and "public"!)
    that means if you want to use your edited mod on another online visibility you need to reupload it
    BUT, before you make a dirty reupload of someone else hard work!
    you can do several things - at first the respective way to kindly ask him ;-)

    another way of respecting his work is to hide it - if the mod is really just for your friends you can change its visibility on the modpage to "friends only"!

    another accepted way (born in need, in a time befor you could change visibility and are forced to public sharing) for server mods is to delete the thumb.jpg, give it a random name that doesnt indicate its origin and leave the description blank! ;-)
    you can ofc leave a .txt file in it that gives clearance about its origin ;-)

    sidenote:
    .sbm is actually .zip
    .sbc is actually .xml
    so open with coresponding tools ;-)
    sb = sandbox
    for what the "m" and "c" stands i can just guess...
     
    Last edited: Apr 25, 2016
    • Late Late x 1
  7. BlackRedDead it's not the deformation ratio, it's the sensor radius.
     
    • Disagree Disagree x 1
  8. BlackRedDead

    BlackRedDead Apprentice Engineer

    Messages:
    204
    wlkikiv my friend ;-)
     
  9. Oh yes sorry, didn't see it ^^ It's frequently the radius that people ask ^^ Sorry guys ! So BlackRed said the correct thing; so indeed :
    <ResourceSinkGroup>Defense</ResourceSinkGroup> -> The group consummation ressource ( displayed in red when you shut down your power supply).
    <SensorRadius>5.0</SensorRadius> -> The radius of the drilling sphere
    <SensorOffset>2.8</SensorOffset> -> The offset to the center of the drilling sphere in the forward direction
    <DeformationRatio>0.7</DeformationRatio> -> The percent of drilled ore by turn or something like it ( default 0.2 ad on the mod 0.7 ).
     
  10. BlackRedDead

    BlackRedDead Apprentice Engineer

    Messages:
    204
    hmm... - because of "Power Priorities" script/mod - is it possible to add a new "<ResourceSinkGroup>Tools"?
    (unsure what these "<ResourceSinkGroup>" do xP - beside showing up in hud^^)
     
Thread Status:
This last post in this thread was made more than 31 days old.