Battle Brothers
0 of 0

File information

Last updated

Original upload

Created by

TaroEld

Uploaded by

TaroEld

Virus scan

Safe to use

Tags for this mod

17 comments

  1. shushko1
    shushko1
    • member
    • 0 kudos
    Can I write command to generate specific random event?
  2. hackflow
    hackflow
    • member
    • 7 kudos
    Tried some functions, but not everything works:
    local bro = ::getBro();
    ::printData(bro);
    > the index 'printData' does not exist

    Looks like ::printData() and ::printDataToConsole() are missing. Maybe something else. It makes sense to include this I would say. I fell back to my own stdlib, but that's me:

    local bro = ::getBro();
    ::std.Debug.log("bro", bro);

    the index 'printData' does not existthe index 'printData' does not existthe index 'printData' does not exithe index 'printData' does not exist
  3. KFoxLDG
    KFoxLDG
    • member
    • 0 kudos
    Hi TaroEld. I've just uploaded a console mod on github.

    As I've sayed in the readme, I've done my own repo as I can't find yours. It also don't have exactly the same purpose. I prefer if possible to create a pull request on your project with those functionnalities as they can be compatible, instead of publishing my own mod which will be a duplicate of this mod. Don't hesitate to contact me using private messages if you want to talk about it.

    Edit: I've found your repo :D
    1. TaroEld
      TaroEld
      • premium
      • 25 kudos
      Hey, good thing you found it. It seems the only functionality that you want that's missing from mine is the info about the currently hovered DOM object. ::logConsole and logConsole can be used in SQ and JS respectively to write to the console. I might want to update the documentation at some point, lol.
  4. Osbaldo2020
    Osbaldo2020
    • member
    • 0 kudos
    It must end with ;
    Some simple examples
    ::addItem("saif");
    ::addItem("bodily_reward_item");    Green Vial (Heals wounds and fractures)
    ::addItem("xxmysteriouspotion");    mod fantasy (item of mod)
  5. Kaidosanffs
    Kaidosanffs
    • member
    • 0 kudos
    Absolutely impossible to use this. You should add examples how to add items or bros..
    1. TaroEld
      TaroEld
      • premium
      • 25 kudos
      It's not intended for a normal player, it's intended for modders that already know the codebase and need a tool to speed up testing. I don't have the time or inclination to write examples for operations.
  6. Yourklaus
    Yourklaus
    • premium
    • 0 kudos
    Hello dear friend, I can't get along with the console at all. Can you please add some examples as pictures or scripts, for example creating the knife in the inventory. I can't even create a knife with additem in inventory. Please help a helpless one
    1. TaroEld
      TaroEld
      • premium
      • 25 kudos
      Hey, I can't really do that. This is a more advanced tool for people who know the code / write bugs and need some better utility, I can't teach people how to code in the context of this. If you want to learn, join us on the modding discord instead
      https://discord.gg/na2fjjaQ
  7. DeathTanker77
    DeathTanker77
    • member
    • 0 kudos
    I've been messing with the console a bit, specifically the add item command, but some items have different names or categories than they would ingame. Most items work fine when you use their ingame name, but specifically the water skin is what I'm trying to spawn, but I've either messed up on the category or actual name of the item. Is there a resource you use to find the names of the scripts, or is there somewhere in the files where I can find the file names of the items?
    1. TaroEld
      TaroEld
      • premium
      • 25 kudos
      You need the file name of the item in the items/ folder, yes.
    2. DeathTanker77
      DeathTanker77
      • member
      • 0 kudos
      I found it, thank you!
  8. sogartar
    sogartar
    • member
    • 2 kudos
    I tried to do the example from the description and run
    this.logInfo("hello")

    I get this in the log:
    Failed to compile command: this.logInfo("hello")
    the index 'printDebug' does not exist

    I have several mods installed though.
    1. sogartar
      sogartar
      • member
      • 2 kudos
      I get the same error without other mods.
    2. TaroEld
      TaroEld
      • premium
      • 25 kudos
      Ah, my bad, it's a sort of debug printing mod I use for my mods, seems like I removed it for that distribution but still had it active from another mod. I removed the calls.
  9. JCSato
    JCSato
    • member
    • 11 kudos
    POG, as the kids say.

    Really cool stuff as usual, Taro.
    1. TaroEld
      TaroEld
      • premium
      • 25 kudos
      Thanks my love