You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modding/hitman/customcampaigns/campaign_menu.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ For this tutorial, we will go over creating a new campaign category for our exam
10
10
## Creating the `storyconfig.JSON.patch.json` file
11
11
Open WebStorm and when prompted, open your mod's folder.
12
12
13
-
In the root folder for your mod, create a new folder named `content`. In that folder create another folder named `chunk0`.
13
+
In the root folder for your mod, create a new folder named `shared`. In that folder create another folder named `chunk0`.
14
14
15
15
In the `chunk0` folder, create a folder named `Story Config`. In that folder create a file named `storyconfig.JSON.patch.json` and set the contents to this:
Create a new folder in the `content` folder named `bank`. In that folder, create a new folder named `chunk12`.
38
+
Create a new folder in the root mod folder named `bank`. In that folder, create a new folder named `chunk12`.
39
39
40
-
In GlacierKit, right-click the `content/chunk12` folder and click `New File` and set the name to `scene_bank.entity.json`. Since we gave it a name that ends with `.entity.json`, GlacierKit will initialize the file with the entity template.
40
+
In GlacierKit, open the `manifest.json` file and update the `contentFolders` array to add `"bank"`. It should now look like this:
41
41
42
-
Right click [Scenario brick](resources/empty_scenario_brick.entity.json) and press `Save link as...` and save it into your `content/chunk12` folder with a name of `scenario_bank.entity.json`.
42
+
`"contentFolders": ["shared", "bank"]`
43
+
44
+
In GlacierKit, right-click the `bank/chunk12` folder and click `New File` and set the name to `scene_bank.entity.json`. Since we gave it a name that ends with `.entity.json`, GlacierKit will initialize the file with the entity template.
45
+
46
+
Right click [Scenario brick](resources/empty_scenario_brick.entity.json) and press `Save link as...` and save it into your `bank/chunk12` folder with a name of `scenario_bank.entity.json`.
43
47
44
48
## Setting the factory and blueprint hashes for the scene
45
49
Now we have our scene and scenario files, but the game doesn't know to tie them to the IOI strings that we created. We can fix that by setting the `Factory hash` and `Blueprint hash` for these files.
@@ -67,7 +71,7 @@ So our IOI string for the scenario will be:
> _NOTE:_ The scene ends in `.entity].pc_entitytemplate` while the scenario ends in `.brick].pc_entitytype`. This is because the scenario has an entity type of `Brick`, as we will soon see.
69
73
70
-
We need to add it to the `externalScenes` field of the `content/chunk12/scene_bank.entity.json` file.
74
+
We need to add it to the `externalScenes` field of the `bank/chunk12/scene_bank.entity.json` file.
71
75
72
76
In GlacierKit, while still on the `Metadata` tab for `scene_bank.entity.json`, click the `Add an entry` button under the `External scenes` section. Enter:
Copy file name to clipboardExpand all lines: docs/modding/hitman/customcampaigns/npc_new.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ Click the save button.
103
103
Our new NPC will need a new outfit, and we will need to make a new outfits brick for our NPC's outfit.
104
104
105
105
## Creating a new Outfit file
106
-
In GlacierKit, right-click your `content/chunk12` folder and click `New folder` and name it `Outfits`.
106
+
In GlacierKit, right-click your `bank/chunk12` folder and click `New folder` and name it `Outfits`.
107
107
108
108
Right-click that new `Outfits` folder and click `New File` and name it `outfit_target_mctargetface_v0.entity.json`. Click on that new file.
109
109
@@ -202,7 +202,7 @@ We now have a custom charset for our new NPC with the Actor v0 outfit pointing t
202
202
We need to add an outfits brick that uses this charset.
203
203
204
204
## Adding a new Outfits brick
205
-
Back on the `Files` tab, right-click the `content/chunk12/Outfits` folder and click `New File` and name it `outfits_bank.entity.json`. Click on that new file.
205
+
Back on the `Files` tab, right-click the `bank/chunk12/Outfits` folder and click `New File` and name it `outfits_bank.entity.json`. Click on that new file.
206
206
207
207
Switch to the `Metadata` tab and change the Entity type from `Scene` to `Brick`.
208
208
@@ -467,7 +467,7 @@ Now that we have the mission fully setup, let's replace our template screenshots
Copy file name to clipboardExpand all lines: docs/modding/hitman/customcampaigns/scene_new.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -379,7 +379,11 @@ Replace `[ENTRANCE UUID]` with the new starting location's repository entry UUID
379
379
Click the save button.
380
380
381
381
## Creating a new Scene and Scenario
382
-
In the `content` folder, create a new folder named `chunk2`.
382
+
In the the root mod folder make a folder called `modland`. In that folder, create a new folder named `chunk2`.
383
+
384
+
In GlacierKit, open the `manifest.json` file and update the `contentFolders` array to add `"modland"`. It should now look like this:
385
+
386
+
`"contentFolders": ["shared", "bank", "modland"]`
383
387
384
388
In GlacierKit, right-click on the new `chunk2` folder, and click `Create file` and name it `scene_modtown.entity.json` and click on it.
385
389
@@ -878,7 +882,7 @@ Replace the `null` value for the `m_WorldBounds` property with the entity id of
878
882
Press the save button.
879
883
880
884
## Updating the Charset
881
-
For simplicity, let's copy our entire outfit folder from `content/chunk12/Outfits` to `content/chunk2`. This cannot be done from GlacierKit, so in GlacierKit right-click on the `chunk12` folder and click `Show in Explorer`. Copy the outfit folder, then go to the `content/chunk2` folder and paste it.
885
+
For simplicity, let's copy our entire outfit folder from `bank/chunk12/Outfits` to `content/chunk2`. This cannot be done from GlacierKit, so in GlacierKit right-click on the `chunk12` folder and click `Show in Explorer`. Copy the outfit folder, then go to the `content/chunk2` folder and paste it.
882
886
883
887
In GlacierKit, the new folder should have appeared. Let's modify the files to fit our new mission and NPCs.
0 commit comments