This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Adding new manual call points and control panels
Christopher M edited this page Nov 9, 2019
·
2 revisions
- Start the
inferno-objects
resource, and stop theinferno-fire-alarm
resource. - Download and install Show-Coords by IllusiveTea.
- With only
inferno-objects
andShow-Coords
running (notinferno-fire-alarm
), go in-game to the place where you want to add your object. - Open the
call-points.json
orcontrol-panels.json
file, whichever type of object you are adding. In this tutorial, we will usecall-points.json
to add a new call-point. - 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"
}
- Paste the copied entry, and add
,
s as needed; then increase the ID by 1, update theControl
if needed (theControl
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. - 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
, orrz
at the moment. - 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. - Save the JSON file, and restart
inferno-objects
. - 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. - Update the coordinates as needed to place the object where you want it. Use
rx
,ry
, andrz
in incriminates of 90 to rotate the object as needed. - 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. - Restart
inferno-objects
, type/objects
, edit the JSON file, repeat as needed. - 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 theinferno-objects
folder. - Stop
inferno-objects
, startinferno-fire-alarm
, restart your server. - 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.