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

[MOD] Console - Updated! [v.1.4] - spawnObject fixed!

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

  1. BluetoothBoy

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    74
    Likes Received:
    45
    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.

    [​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.

    Commands:
    echo(<text>); - Repeats any text you enter in. Currently doesn't support variables or anything - it's just for fun. :P
    getAllObjects(); - Lists all objects in the scene.
    getCoordinates(<GameObject); - UPDATED [v.1.1]: Shows the coordinates of named object. If no object is named, it gets Pirizuka's location.
    getComponents(<GameObject>); - Lists all components attached to the named object.
    getChildren(<GameObject>); - Lists all the child objects of the named object.
    delete(<GameObject>); - 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(<GameObject>, <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(<GameObject>, <Distance>);

    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: Dec 19, 2015
    Xzyckon, Mefjus, Levi and 8 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:
    74
    Likes Received:
    45
    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:
    74
    Likes Received:
    45
    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:
    74
    Likes Received:
    45
    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:
    74
    Likes Received:
    45
    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:
    273
    Likes Received:
    96
    I'm having trouble downloading this mod...
     
  14. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

    • Donor
    Joined:
    May 28, 2015
    Messages:
    273
    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:
    74
    Likes Received:
    45
    Which folder do you think you're missing?
     
  16. Enzyme-Sigma

    Enzyme-Sigma Warlord Member

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

    BluetoothBoy Well-Known Member

    • Coder
    Joined:
    Jun 3, 2015
    Messages:
    74
    Likes Received:
    45
    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:
    273
    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:
    74
    Likes Received:
    45
    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:
    273
    Likes Received:
    96
    oh okay, how exactly do I download the initializer.ini though?