1. Before you ask anything, make sure that you've read the FAQ

[MOD] Console - Updated! v.2.0.0 Released!

Discussion in 'Downloads' started by BluetoothBoy, Jun 6, 2015.

  1. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    So this is Zerahypt's first mod release (as far as I know). Basically, it's useful for anyone looking to develop mods of their own.

    6/6/15: Updated to version 1.1. See below for details.

    6/7/15: Updated to version 1.2. See below for details.

    11/30/15: Updated to version 1.3. See below for details.

    12/19/15: Updated to version 1.4. See below for details.

    5/26/19: Updated to version 2.0.0. See below for details.

    [​IMG]

    Installation:
    1)
    If you do not already have this file, download it (right click, "Save As"): http://zerahypt.net/Modding/Required Assemblies/Initializer.ini. Place it %AppData%\Zerahypt. To get to this folder, go to Start > Run, and type in %AppData%, and hit Run.

    2) Unzip the zip folder and copy the files to your Zerahypt application folder's mod subfolder (PATHTOZERAHYPT\Zerahypt_Data\Mods). If you don't have a Mods folder, create one.

    Usage:
    Use the "~" (tilde) key to open/close the console window. Note that mouse capturing is not perfect at the moment. As of v2.0.0, this is mostly fixed, however there will always be some unavoidable occasional issues. Simply show and hide the console or hit "i" to fix.

    Commands:
    getgameobjects - Lists all objects in the scene.
    getcoordinates <object>- UPDATED [v.1.1]: Shows the coordinates of named object. If no object is named, it gets Pirizuka's location.
    getcomponents <object> - Lists all components attached to the named object.
    getchildren <object> - Lists all the child objects of the named object.
    delete <object> - Deletes the named object. NEW [v.1.1]: Does not allow for deletion of mod or player.
    clear - Clears the console of all text.

    New features in v.1.1:
    FPS now shows next to the Unity version.

    New commands in v.1.1:

    spawnobject <object> <distance> - UPDATED [v.1.2]: Creates a duplicate of the specified GameObject and places it a specified distance from Pirizuka. Does not allow spawning of another Pirizuka or console instance, as this will break the game.
    setwaypoint <name> - Sets a waypoint at your current location. Works on a per-level basis (which means you can have two waypoints of the same name, provided they are on different levels).
    deletewaypoint <name> - Deletes a previously made waypoint.
    gotowaypoint <name> - Teleports Pirizuka to the specified waypoint. Camera will follow once the console is closed.

    New features in v.1.2:
    You can now use the up/down arrow keys to scroll through previously entered commands!

    Fix in v.1.3:
    Now works with latest version of the game.

    Fix in v.1.4:
    You should now be able to spawn things with spaces in the name! Format is still spawnobject <object> <distance>

    UPDATE v.2.0.0:
    Updated to work with the latest version of the game.
    Updated command syntax - now simpler! See updated commands above.
    Updated colors and formatting to be more readable.

    Fix in v.2.0.0
    Fixed mouse cursor capture.
    Fixed scrollview size inconsistency.

    New commands in v.2.0.0
    getcomponentfields <object> <component> - Lists all fields, values, and types of a component.

    I plan on adding more useful commands in the future. Suggest any you might find useful. Also, please report any bugs in this topic.
     

    Attached Files:

    Last edited: May 27, 2019
    sme205, FonkDerok, Xzyckon and 10 others like this.
  2. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    If you can make it so it could spawn things that would be neat ^^
     
    BluetoothBoy likes this.
  3. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    Haha, but what sort of things? Like, in-game items?
     
  4. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    I would imagine anything that isnt nailed down~ Vehicles, weapons enemies. Would love this to play around with physics and gunfights. Also being able to set coordinates then tele back to them
     
    Azai likes this.
  5. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    Cool, I'll definitely look into these. :)
     
  6. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    Sweet now if we can track down a list of spawnable objects through testing that would be awesome!
     
  7. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    You can spawn any object (except Pirizuka and the mod object) that appears when you do the command "getAllObjects();" - but it is suggested that you use caution and not spawn a mountain around you. ;)
     
  8. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    Well i mean a compedium. I mean i dont know the names of every object :P
     
  9. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    Oh god the lols to be had....I spawned aanother duorotter and it launched piri skyward xD
     
    dtb1987 likes this.
  10. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    Oh my... I guess I should make it so you can specify a spawn distance too. XD
     
  11. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    I would make a static spawndistance maybe where piri is looking a lets say 15 feet in front of her?
     
  12. Xentia

    Xentia Well-Known Member

    Joined:
    Jun 3, 2015
    Messages:
    61
    Likes Received:
    14
    Hey another idea could you ad the ability to hit the up arrow key and make it pop the last input into the typing box of the console??
     
    Magiichan likes this.
  13. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    272
    Likes Received:
    96
    I'm having trouble downloading this mod...
     
  14. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    272
    Likes Received:
    96
    Yeah, I think I'm missing one of the folders...
     
  15. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    Which folder do you think you're missing?
     
  16. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    272
    Likes Received:
    96
    Zerahypt_Data
     
  17. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    The game won't run without that folder. Where are you looking?
     
  18. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    272
    Likes Received:
    96
    The roaming folder. It just says "Zerahypt" not "Zerahypt_Data"
     
  19. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    77
    Likes Received:
    50
    Zerahypt_Data folder is in the main Zerahypt folder (where the .exe is located). The Zerahypt folder in Roaming is for the Initializer.ini file only. :)
     
  20. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    272
    Likes Received:
    96
    oh okay, how exactly do I download the initializer.ini though?