Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Adding new manual call points and control panels

Christopher M edited this page Nov 9, 2019 · 2 revisions

How to add new manual call-points and control panels


BACK-UP YOUR JSON FILES BEFORE MAKING ANY CHANGES!


  1. Start the inferno-objects resource, and stop the inferno-fire-alarm resource.
  2. Download and install Show-Coords by IllusiveTea.
  3. With only inferno-objects and Show-Coords running (not inferno-fire-alarm), go in-game to the place where you want to add your object.
  4. Open the call-points.json or control-panels.json file, whichever type of object you are adding. In this tutorial, we will use call-points.json to add a new call-point.
  5. Copy the last entry in the file, for example:
    {
        "ID"        :   8,
        "Prop"      :   "hei_prop_bank_alarm_01",
        "x"         :   462.575,
        "y"         :   -987.5,
        "z"         :   25.2,
        "rx"        :   0,
        "ry"        :   0,
        "rz"        :   0,
        "Control"   :   1,
        "_comment"  :   "Mission Row: Located near fire panel and cells"
    }
  1. Paste the copied entry, and add ,s as needed; then increase the ID by 1, update the Control if needed (the Control value is the ID number of the control panel this call-point will be linked to), and change the object prop if you want to.
  2. Back in-game, copy your current coordinates as shown by Show-Coords, into the respective lines in the JSON file, do not worry about rx, ry, or rz at the moment.
  3. Once you have updated the coordinates, it is suggested that you edit the _comment with the location of the object, so you know at a glace where it is, and do not have to go searching for it later on.
  4. Save the JSON file, and restart inferno-objects.
  5. Type the following command in-game: /objects. This will spawn all the objects from the JSON files into the game; if you do not see any objects, check the F8 console for errors.
  6. Update the coordinates as needed to place the object where you want it. Use rx, ry, and rz in incriminates of 90 to rotate the object as needed.
  7. When you are ready to try again, type this command in-game: /delobjects. This will remove all the objects from the game, which you will want to do before restarting the script, or the old objects will remain in place.
  8. Restart inferno-objects, type /objects, edit the JSON file, repeat as needed.
  9. Once you are happy with the placement of the object, simply replace the JSON files in the inferno-fire-alarm resource folder with the ones in the inferno-objects folder.
  10. Stop inferno-objects, start inferno-fire-alarm, restart your server.
  11. Enjoy!

Note: If you forget to delete the objects before restarting the script, you will have duplicates. Disconnect and reconnect to your server to fix this issue. If you run inferno-fire-alarm and inferno-objects at the same time, you may have duplicate objects, stop one or the other.

If you have any troubles, suggestions, feedback, etc, please check the Wiki, create a new issue, and/or contact us on Discord.