1 items

File information

Last updated

Original upload

Created by

ZH_X

Uploaded by

ZiheXXX

Virus scan

Safe to use

Tags for this mod

14 comments

  1. FatherGuse
    FatherGuse
    • supporter
    • 2 kudos
    EDIT 04-06-2023 .. Latest Game Update seems to have broken the Mod .. sadly .. it was a good run .. lol .. I'm not a hard-core Mod Author/Creator so I am unable to code a new mod or update .. if I ever get the info I'll play with it and see if I can get it working again and post the Code here .. I won't publish the mod over the original poster's mod/creation .. just not the way I do things .. 


    This combines the "Add Money" Mod (By ChrisAnd1998) and "Add Essential Goods" Mod (By the Original Author ZiheXXX) .. those two guys/people/persons and GaiusG are to blame for everything and deserve all the credit .. I just burned the clock and had some fun playing with the code .. I will not upload this as a Mod since this is really their baby, but I thought I would share the information for your own use as you see fit .. 

    .. and I should add, both of the original mods worked flawlessly up until the GU15 update (which, really, did we need more convoluted acre-grabbing crap-tastic mail service with machine guns? .. really? .. a nice add-on DLC adventure that continued the quest to the "Far East" after completing "The Passage" would have been AMAZING .. but no .. after the Arctic it's been kinda a large let-down in DLC-land .. alas .. anyway .. back on topic) .. 

    .. so Firstly .. I am NOT a modder .. lol .. but I mess around with stuff, and after WAY to many hours, and (I-forget-how-many) game restarts and edits I got it all working .. a trained professional could have nailed it in one go .. I'm not that guy .. but, holy crap, my appreciation for mod-authors was already high, now it is much greater .. no kidding, it took me all day and a big chunk of the night (and two LARGE pots of coffee) to learn and edit and come up with this .. feel free to use it as you like .. THANKS to GaiusG as I have not written any code since the days of DOS (yes, I am that old) and the original work of the Mod Authors .. 

    .. and Secondly .. simply downloading the mod and opening up the assets.xml file and editing it with the new syntax does not work .. you'll end up with a hot mess .. you can get Timber, but that's it (and a bunch of crap-tastic Shift+F4 hot-buttons in your control panel (under "options" from the load screen) .. so using GaiusG's new syntax/line edit AND his format correction down below .. AND using the Tab key for Key1 I came up with a buttery-smooth solution requiring only a mild sprain or two whilst doing some finger gymnastics .. 

    .. so first .. why "Tab"?? .. because Shift+F2 is hard-coded and can't be reprogrammed by me .. and Alt+F4 is an age-old prank played by many a troll on MMO platforms (and also hard-coded) .. so "Tab" it is .. 

    .. there are only two pre-set "Tab" key functions in the Controls Menu (Main Menu - Controls Tab - Scroll down the list, you'll find them) .. and they are re-programable short-cuts to "jump to next ship" (Tab) .. and "select next ship (Tab + I forget which frakken key, it was hours and many-cups-of-coffee-ago when I reset it) .. so just change those two to whatever you like .. I never used either of those shotcuts anyway .. so good riddance to wasted key-sets .. 

    .. okay .. so now the hard work (reference the part where I said I am not going to upload this as a Mod since all I did was mangle the work of the original Mod Authors and abuse GaiusG's very-much-appreciated guidance/info on what was broken .. you get to do the rest .. 

    (1) Have a blank/new folder ready .. name it whatever you like as long as you can find it (hint, your desktop is a really good workspace and easy to navigate to) ..
    (2) Use Notepad++ .. copy .. paste .. and save as "assets" and file type eXtensible Language Markup file .. it might look "messy" on the first save .. don't panic (and don't forget your towel) .. you will do all the fancy spacing and formatting (like you see in GiausG's post down below .. it will be very obvious when the lines change colors (after you save the first time) and you get the format dialed in and looking pretty .. it's not that hard .. then save (again) and check-and-save-and-check-and-save .. 
    (3) Easy way .. Open the Original Mod and delete the assets file and then copy/paste your new one into that folder .. paste it into your game and have fun.
    .... or .... 
    (3) Slightly harder way .. create a new folder "[Cheat] Add All the Goodies F1 to F10 - GU15" .. or "[Gameplay] This is not a cheat Mod" .. whatever .. 
    (3a) .. open that new folder and create another folder called "data" ..
    (3b) .. open the "data" folder and create a "config" folder .. 
    (3c) .. open the "config" folder and create an "export" folder .. 
    (3d) .. open "export and create "main" .. 
    (3e) .. open "main" and create "asset" folder .. you are ALMOST done .. 
    (3f) .. open "asset" folder and paste your assets.xml file (named "assets") into that last folder .. Done .. 

    .. now make sure all the old mods are removed .. paste your new mod into the Mods Folder .. and let her rip .. 

    .. when you open the game, from the start menu, Open "Options" .. four tabs across the top, third one is "Controls" .. open that and scroll down to make sure you changed the "Tab" Jump to Next Ship to something sexy like "J" (for Jump) and the "Tab+whatever-the-hell-it-is" to something else .. AND THEN .. scroll to the end of the list and you should see all of your "Tab+F1", "Tab+F2", etc all the way to "Tab+F10" .. sweet .. you did it right .. congrats .. 

    .. in game .. (you might notice the items are in the order they appear in your Olde World warehouse inventory .. easier to remember .. )

    Hover over your island .. no need to open a warehouse or a boat or whatever to get your goodies .. 

    Tab+F1 will give you $100,000 samolians/rupies/gold/whatever.
    Tab+F2 will give you 20t Timber.
    Tab+F3 yields 20t of Bricks.
    Tab+F4 drops 20t of steel beams in your pantry.
    Tab+F5 coughs up 20t of Weapons/Canons.
    Tab+F6 serves up 20t of Windows.
    Tab+F7 delivers 20t of Reinforced Concrete.
    Tab+F8 gives you 20t of Advanced Weapons (for all your Big Betty defensive needs).
    Tab+F9 chops down 20t of Wanza Wood (no matter where you are and if you have never been to Enbesa .. yet .. ).
    Tab+F10 slaps together some Mud Bricks for your Mud-Pie Party.
    Tab+F11 does squat .. you'll have to edit it in for your own personal use .. 
    Tab+F12 does exactly what Tab+F11 does .. for your own use as you see fit .. 

                                                         ********************don't copy this part - use the text below************************

    <ModOps>   
    <ModOp Type="add" GUID='2001271' Path="/Values/GUIConfig/KeyBindings">
    <!-- Money -->       
    <Item>           
    <KeyTypes>Tab;F1</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010017,100000)</Command>
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Timber -->       
    <Item>           
    <KeyTypes>Tab;F2</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010196,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Bricks -->       
    <Item>           
    <KeyTypes>Tab;F3</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010205,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Steel Beams -->       
    <Item>           
    <KeyTypes>Tab;F4</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010218,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Weapons -->       
    <Item>           
    <KeyTypes>Tab;F5</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010221,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item> 
    <!-- Windows -->       
    <Item>           
    <KeyTypes>Tab;F6</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010207,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Reinforced Concrete -->       
    <Item>           
    <KeyTypes>Tab;F7</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010202,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Advanced Weapons -->       
    <Item>           
    <KeyTypes>Tab;F8</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010223,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Wanza Wood -->       
    <Item>           
    <KeyTypes>Tab;F9</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(114356,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>       
    <!-- Mud Bricks -->       
    <Item>           
    <KeyTypes>Tab;F10</KeyTypes>           
    <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(114402,20)</Command>           
    <Text>90001</Text>           
    <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>       
    </Item>   
    </ModOp>
    </ModOps>


          *******************************yeah-use-the-stuff-above-not-this-or-below *******************

    .. edit .. yes .. 14 hours-ish later .. 

    .. edit edit .. yep .. just copied and pasted and used it and it still works .. just pay attention to how you format it in Notepad ++ .. attention to detail is critical .. don't chop off any "<" or ">" .. each one of those denotes a line or a section ..
    .. for every "<somethingwrittenhere> there will be a </somethingwrittenhere> to end the line .. 
    .. for every <item> there will be a </item> to close that section
    .. the <!--Money/Timber/whatever --> should change color (usually green) and is just used as a reference as to what's being worked with ..
    .. don't freak out if you see red in the <ModOp .. blah blah Type = "add" GUID = etc etc .. it's supposed to do that .. 
    .. and FINALLY .. all the fancy spacing does not really matter .. you can just line it all up down the right side and use it that way just fine .. the sexy spacing and formatting really is (mostly) just for housekeeping and managing lines in really long files .. something this small is just for bragging rights (said no man ever .. the small-bragging thing .. nevermind .. bad joke .. ) .. lol .. 

    .. okay .. I need sleep .. best of luck .. GiausG is probably having a seizure about now as he seems to be a professional .. lol .. I'm hoping he'll speak up and sort out any screw-up I baked into the cake .. lol .. 
    1. TR1989
      TR1989
      • member
      • 0 kudos
      Quite EXCELLENT, thank you kindly FatherGuse. The "edit" is working well.
      By the way I dig notepad++, been using it since the Windows NT days. And I agree about the Arctic, I rarely add it to a game. I was long hoping they would add the ability to trade oil. I also miss the ability to hijack cargo or ships like we could in 2070.
      Cheers.
    2. Hard3rek
      Hard3rek
      • member
      • 0 kudos
      a jeśli chcę inny wobec niż wypisane, to jaki numer użyteczny.
      -- Cegły = 1010205 ....  kawa = ? ?
           
    3. TR1989
      TR1989
      • member
      • 0 kudos
      Well it looks as if update 17 changed up the controls options & busted up this mod. Quite unfortunate.
    4. FatherGuse
      FatherGuse
      • supporter
      • 2 kudos
      .. Yep .. it was bound to happen .. lol ..

      Rumor has it that they are working to eliminate Mod Loader as a whole .. and one thread I read is that it has already been made obsolete/unrequired .. BUT (there is always a but) many mods break the game without Mod Loader (no kidding) .. lol ..  
    5. TR1989
      TR1989
      • member
      • 0 kudos
      Greetings, I have written a mod for my personal use that is something of a workaround for adding goods. 
      Because it uses some code from another modder I am awaiting permission to share it with credit / acknowledgment. 
    6. FatherGuse
      FatherGuse
      • supporter
      • 2 kudos
      .. is the original author still active? There is a way to get permission via Nexus if the original author has left/quit or abandoned the mod .. 
  2. GaiusG
    GaiusG
    • member
    • 0 kudos
    The mod stopped working with Game Update 15, today.

    The game has a new hotkey combination, Alt+Space, which makes it focus on the spot of the last notification.
    Whatever dev was responsible for adding this apparently has a dislike for the term DefaultKey, so he changed the name of the command used to bind keys.
    And while he was at it, he also changed the syntax used to define the key combination.

    Replace<DefaultKey>Alt + 1</DefaultKey>
    with<KeyTypes>Alt;1</KeyTypes>
    and you are back in business.

    Cheers.
    1. TR1989
      TR1989
      • member
      • 0 kudos
      The assets.xml does not contain <DefaultKey>Alt + 1</DefaultKey> please clarify.
    2. GaiusG
      GaiusG
      • member
      • 0 kudos
      I've made it pretty clear, I think.
      The instruction "Default Key" needs to be replaced with the instruction "KeyTypes".
      The syntax of the key definition needs to be changed from "Key1 + Key2" to "Key1;Key2".
    3. FatherGuse
      FatherGuse
      • supporter
      • 2 kudos
      Gonna go edit these (assuming it works on the other mod also) in a minute .. 

      But, before I do even that, YOU are Awesome .. thanks very much for the update/info .. 

      .. edit .. btw .. your other mods looks like fun too .. gonna have to give that a spin .. 
  3. GaiusG
    GaiusG
    • member
    • 0 kudos
    It's bad code, this can't work properly.
    You need to either add all the GUIDs in one command line (if you want to receive all specified goods at the press of a single key combination, as intended by this mod) ... or you need to assign different key combinations to different goods.

    I prefer the second option, as it allows minimal cheating. If you urgently need Steel Beams or Mud Bricks, to settle that island before an opponent does, there is no need to receive Weapons at the same time.

    Here is code that actually works, tested on version 14.3 ... feel free to replace the contents of the corresponding assets.xml on your machine.
    I have changed the amount you receive from 20t to 10t.

    Shift+F5 will give you 10 tons of Timber
    Shift+F6 will give you 10 tons of Bricks
    Shift+F7 will give you 10 tons of Steel Beams
    Shift+F8 will give you 10 tons of Windows
    Shift+F9 will give you 10 tons of Weapons
    Shift+F10 will give you 10 tons of Reinforced Concrete
    Shift+F11 will give you 10 tons of Wanza Wood
    Shift+F12 will give you 10 tons of Mud Bricks

    Make sure no other mods you use together with this one use the same key combinations ... that would kill both mods, of course.

    Enjoy!


    <ModOps>
        <ModOp Type="add" GUID='2001271' Path="/Values/GUIConfig/KeyBindings">
              <!-- Timber-->
            <Item>
                <DefaultKey>Shift + F5</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010196,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
            <!-- Bricks-->
            <Item>
                <DefaultKey>Shift + F6</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010205,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
            <!-- Steel Beams-->
            <Item>
                <DefaultKey>Shift + F7</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010218,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
             <!-- Windows-->
            <Item>
                <DefaultKey>Shift + F8</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010207,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
             <!-- Weapons-->
            <Item>
                <DefaultKey>Shift + F9</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010221,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
            <!-- Reinforced Concrete-->
            <Item>
                <DefaultKey>Shift + F10</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(1010202,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
            <!-- Wanza Wood-->
            <Item>
                <DefaultKey>Shift + F11</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(114356,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
            <!-- Mud Bricks-->
            <Item>
                <DefaultKey>Shift + F12</DefaultKey>
                <Command>TextSources.TextSourceRoots.Area.Current.Economy.AddAmount(114402,10)</Command>
                <Text>90001</Text>
                <Active>Menu;Session;WorldMap;VideoCameraSequence;TextInput;PostcardView;Pause</Active>
            </Item>
        </ModOp>
    </ModOps>
  4. jdejesus87
    jdejesus87
    • member
    • 0 kudos
    works great but now it stopped providing timber
  5. alekeusi
    alekeusi
    • member
    • 0 kudos
    It give me all goods, so it doesnt work