Site Tools


tutorial:creating-a-new-gracesite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:creating-a-new-gracesite [2025/02/26 02:35] – admintutorial:creating-a-new-gracesite [2025/02/26 02:49] (current) – admin
Line 1: Line 1:
 ====== Creating a New Gracesite ====== ====== Creating a New Gracesite ======
 +Authors: Lucy
  
 ===== What you’ll need ===== ===== What you’ll need =====
Line 30: Line 31:
  
 {{er_new_grace_4.png}} {{er_new_grace_4.png}}
 +{{er_new_grace_5.png}}
  
 **Player** with the **Model Name c0000** (This controls where the player spawns when dying or warping to this grace) **Player** with the **Model Name c0000** (This controls where the player spawns when dying or warping to this grace)
  
-{{er_new_grace_5.png}}+{{er_new_grace_6.png}}
  
 **Mark all 3 of these Objects** and **duplicate** them with **Ctrl+D** and move them to where you want the Gracesite to be **Mark all 3 of these Objects** and **duplicate** them with **Ctrl+D** and move them to where you want the Gracesite to be
Line 39: Line 41:
 The **Asset** and **Enemy** need to **overlap**, the **Player can be anywhere around the Gracesite**, depending on how you want to spawn, change it to your liking, making sure its flush with the ground, otherwise you’ll spawn inside the ground and fall or fall slightly onto the ground if too high. If there is an existing Gracesite, making a new one is the easiest, but some maps do not have an existing Gracesite - then you’ll have to duplicate it from another map, find one, mark all 3 Objects and press Shift+D, it will ask you to which map you want to duplicate it to, choose the one you want. The **Asset** and **Enemy** need to **overlap**, the **Player can be anywhere around the Gracesite**, depending on how you want to spawn, change it to your liking, making sure its flush with the ground, otherwise you’ll spawn inside the ground and fall or fall slightly onto the ground if too high. If there is an existing Gracesite, making a new one is the easiest, but some maps do not have an existing Gracesite - then you’ll have to duplicate it from another map, find one, mark all 3 Objects and press Shift+D, it will ask you to which map you want to duplicate it to, choose the one you want.
  
-{{er_new_grace_6.png}}+{{er_new_grace_7.png}}
  
 What you need to do now is change the Entity IDs of the given Objects What you need to do now is change the Entity IDs of the given Objects
Line 47: Line 49:
 You will find the Object that has the Entity ID, now **press +** until there is nothing found, this means that this Entity ID is **not used by another Gracesite** and you can safely use it You will find the Object that has the Entity ID, now **press +** until there is nothing found, this means that this Entity ID is **not used by another Gracesite** and you can safely use it
  
-{{er_new_grace_7.png}}+{{er_new_grace_8.png}}
  
 ===== An Explanation on the IDs ===== ===== An Explanation on the IDs =====
Line 69: Line 71:
   * **Enemy** will now be **1050380951**   * **Enemy** will now be **1050380951**
  
-{{er_new_grace_8.png}}+{{er_new_grace_9.png}}
  
   * **Player** will now be **1050380981**   * **Player** will now be **1050380981**
    
-{{er_new_grace_9.png}}+{{er_new_grace_10.png}}
  
   * **Asset** will now be **1050381951**   * **Asset** will now be **1050381951**
      
-{{er_new_grace_10.png}}+{{er_new_grace_11.png}}
  
 Since it is the second Gracesite on this map! Since it is the second Gracesite on this map!
Line 87: Line 89:
 In my example the Gracesite sits on the Collision **h503801** In my example the Gracesite sits on the Collision **h503801**
  
-{{er_new_grace_11.png}}+{{er_new_grace_12.png}}
  
-Copy that name and paste it into the Enemy’s Collision Part Name field at the bottom.+Copy that name and paste it into the Enemy’s Collision Part Name field at the bottom
  
-{{er_new_grace_12.png}}+{{er_new_grace_13.png}}
  
-Make sure to save the Map now with Ctrl+S or right clicking the Map and saving it - you can unload the maps to free up some resources if you’d like.+Make sure to save the Map now with Ctrl+S or right clicking the Map and saving it - you can unload the maps to free up some resources if you’d like
  
 ===== Param Editor ===== ===== Param Editor =====
Line 99: Line 101:
 We can now move on to the Param Editor as we are finally done with the Map Editor part! We can now move on to the Param Editor as we are finally done with the Map Editor part!
  
-* Go into **BonfireWarpParam** and search for a **Gracesite that is in the same map** as your new one and **mark the last one of that map** and press **Ctrl+D to duplicate** it - if your map did not have any Gracesite, just **duplicate any Gracesite that is near your map** with a similar ID and same Area (aka Caelid, etc.) and duplicate that +Go into **BonfireWarpParam** and search for a **Gracesite that is in the same map** as your new one and **mark the last one of that map** and press **Ctrl+D to duplicate** it - if your map did not have any Gracesite, just **duplicate any Gracesite that is near your map** with a similar ID and same Area (aka Caelid, etc.) and duplicate that 
-* I will duplicate **Church of the Plague, as this is a Gracesite that exists in the map I’m using**[[=image https://i.imgur.com/ymsCdaG.png]] + 
-* Now we need to change some specific **Fields**: +I will duplicate **Church of the Plague, as this is a Gracesite that exists in the map I’m using** 
- * **Name** - Change it to the **Gracesite name** you want to use, I’ll be calling mine **Gowry’s Shack**[[=image https://i.imgur.com/fHysKol.png]] + 
- * **ID** - can stay the same if it’s a duplicate of an existing Gracesite but needs to be changed into **XXBBCC00** when not from the same map - with **XX** being the **starting numbers of the ID** as you duplicated one from the **same area (e.g. Caelid which would be 64)** and **BBCC being from your mapID** as earlier and at the end **00 with each consecutive Gracesite being +1**, so in my example the ID would be **64**(Caelid)**5038**(mapIDBBCC)**01**(00 is the existing Gracesite) - simplified: **64503801**[[=image https://i.imgur.com/EXfLitO.png]] +{{er_new_grace_14.png}} 
- * **Event Flag ID** - needs to be a **unique ID** as this is used for the **registering of the Gracesite** and the **unlocking of it on the map**. You can just use a **consecutive EventID** from the same pattern used as before like this: **10BBCC0000** **(AABB0000 on maps >60/61)** with **each consecutive Gracesite being +1** + 
- * so in this case it is **1050380001** as it is the **second** Gracesite in the map![[=image https://i.imgur.com/oDtVhzs.png]] +Now we need to change some specific **Fields**: 
- * **Bonfire Entity ID** - Needs to be the **EntityID of your Asset Object** - so here **1050381951**[[=image https://i.imgur.com/tD7VZag.png]] +  * **Name** - Change it to the **Gracesite name** you want to use, I’ll be calling mine **Gowry’s Shack** 
- * **Subcategory ID** - The area your Gracesite is in, can usually stay the same, but if your Gracesite is not in that area, change it to the one it is - you can find the **areaID** in **BonfireWarpSubCategoryParam** - here it stays **64000 for Caelid**[[footnote]] This controls in which sub-menu the Gracesite will appear when opening the Gracesite list while on the map ingame [[/footnote]][[=image https://i.imgur.com/B442DYa.png]] +   
- * **MapArea** - **AA** of m**AA**_BB_CC_DD +{{er_new_grace_15.png}} 
- * **MapBlock** - **BB** of mAA_**BB**_CC_DD + 
- * **MapRegion** - **CC** of mAA_BB_**CC**_DD +  * **ID** - can stay the same if it’s a duplicate of an existing Gracesite but needs to be changed into **XXBBCC00** when not from the same map - with **XX** being the **starting numbers of the ID** as you duplicated one from the **same area (e.g. Caelid which would be 64)** and **BBCC being from your mapID** as earlier and at the end **00 with each consecutive Gracesite being +1**, so in my example the ID would be **64**(Caelid)**5038**(mapIDBBCC)**01**(00 is the existing Gracesite) - simplified: **64503801** 
- * **m60_50_38_00**:[[=image https://i.imgur.com/V2YK4LX.png]] +   
- * **Coordinate: X** - Needs to be the **X Coordinate** of your **Enemy Object** +{{er_new_grace_16.png}} 
- * **Coordinate: Y** - Needs to be the **Y Coordinate** of your **Enemy Object** + 
- * **Coordinate: Z** - Needs to be the **Z Coordinate** of your **Enemy Object**[[footnote]] It can happen that the Position of the Enemy Object is not correctly updated yet, I suggest saving everything and restarting Smithbox and loading the map again and checking to make sure it’s correct (move it a little to verify the numbers changing correctly) - as these Coordinates determine the Gracesite Icon on the map ingame [[/footnote]][[=image https://i.imgur.com/Q1k60Kd.png]][[=image https://i.imgur.com/Wcrs6b4.png]]+  * **Event Flag ID** - needs to be a **unique ID** as this is used for the **registering of the Gracesite** and the **unlocking of it on the map**. You can just use a **consecutive EventID** from the same pattern used as before like this: **10BBCC0000** **(AABB0000 on maps >60/61)** with **each consecutive Gracesite being +1** 
 +    * so in this case it is **1050380001** as it is the **second** Gracesite in the map! 
 +     
 +{{er_new_grace_17.png}} 
 + 
 +  * **Bonfire Entity ID** - Needs to be the **EntityID of your Asset Object** - so here **1050381951** 
 +   
 +{{er_new_grace_18.png}} 
 + 
 +  * **Subcategory ID** - The area your Gracesite is in, can usually stay the same, but if your Gracesite is not in that area, change it to the one it is - you can find the **areaID** in **BonfireWarpSubCategoryParam** - here it stays **64000 for Caelid**. This controls in which sub-menu the Gracesite will appear when opening the Gracesite list while on the map ingame. 
 +   
 +{{er_new_grace_19.png}} 
 + 
 +  * **MapArea** - **AA** of m**AA**_BB_CC_DD 
 +  * **MapBlock** - **BB** of mAA_**BB**_CC_DD 
 +  * **MapRegion** - **CC** of mAA_BB_**CC**_DD 
 +  * **m60_50_38_00** 
 +   
 +{{er_new_grace_20.png}} 
 + 
 +  * **Coordinate: X** - Needs to be the **X Coordinate** of your **Enemy Object** 
 +  * **Coordinate: Y** - Needs to be the **Y Coordinate** of your **Enemy Object** 
 +  * **Coordinate: Z** - Needs to be the **Z Coordinate** of your **Enemy Object** 
 +    * It can happen that the Position of the Enemy Object is not correctly updated yet, I suggest saving everything and restarting Smithbox and loading the map again and checking to make sure it’s correct (move it a little to verify the numbers changing correctly) - as these Coordinates determine the Gracesite Icon on the map ingame. 
 +     
 +{{er_new_grace_21.png}} 
 +{{er_new_grace_22.png}}
  
 ===== Text Editor ===== ===== Text Editor =====
 +Go into the **Text Editor** and click on **Locations** under **Menu Text**
 +
 +Search for the Gracesite you just duplicated and you’ll find an ID with the name of it, right click it and duplicate the entry
 +
 +{{er_new_grace_23.png}}
 +
 +Here **I duplicated Church of the Plague** and now you can rename it to the **name** your new **Gracesite** has - in my example **Gowry’s Shack**, while making sure there are no extra characters after the name (like a new line etc.)
 +
 +{{er_new_grace_24.png}}
  
-* Go into the **Text Editor** and click on **Locations** under **Menu Text** +Make sure to save the new entry by pressing **Ctrl+S** or clicking on **File - Save All Modified Text**
-* Search for the Gracesite you just duplicated and you’ll find an ID with the name of it, right click it and duplicate the entry[[=image https://i.imgur.com/ycG5NRn.png]] +
-* Here **I duplicated Church of the Plague** and now you can rename it to the **name** your new **Gracesite** has - in my example **Gowry’s Shack**, while making sure there are no extra characters after the name (like a new line etc.)[[=image https://i.imgur.com/OwPl98i.png]] +
-* Make sure to save the new entry by pressing **Ctrl+S** or clicking on **File - Save All Modified Text**+
  
 ===== Back to Param Editor ===== ===== Back to Param Editor =====
  
-* Continuing with the Fields: +Continuing with the Fields: 
- * **Text ID** - Change this to the ID of the Text Entry you just created of your Gracesite[[footnote]] If the Gracesite you duplicated has a bunch of Talk IDs or NPC IDs after this one you can safely change them to -1 or 0 respectively, as those control specific Questlines or show the name of an NPC on the map ingame [[/footnote]][[=image https://i.imgur.com/xJip19w.png]]+  * **Text ID** - Change this to the ID of the Text Entry you just created of your Gracesite
  
-**Now save the Param Editor with Ctrl+S, we can now move on to the Event step of this guide - we are almost done!**+If the Gracesite you duplicated has a bunch of Talk IDs or NPC IDs after this one you can safely change them to -1 or 0 respectively, as those control specific Questlines or show the name of an NPC on the map ingame  
 +    
 +{{er_new_grace_25.png}} 
 + 
 +Now save the Param Editor with Ctrl+S, we can now move on to the Event step of this guide - we are almost done!
  
 ===== DarkScript3 ===== ===== DarkScript3 =====
  
-* Open up **DarkScript3** and click on **File - Open Project** and choose the **project.json** in your project folder[[=image https://i.imgur.com/aMX3ml8.png]][[=image https://i.imgur.com/XQu6Nsl.png]] +Open up **DarkScript3** and click on **File - Open Project** and choose the **project.json** in your project folder 
-* On the **left** you will see a **list of all maps in Elden Ring**, find yours and **double click it** and **choose Elden Ring** if asked - you will now see all the **events that exist in that map**[[=image https://i.imgur.com/X7nF4a2.png]] + 
-* Inside **$Event0** you will see a **RegisterBonfire event** if your map had an existing Gracesite present - **copy the full line and paste it right under** and **add a // Comment** naming it  - this is so you can see what you changed in the file and know what’s yours and what is vanilla[[=image https://i.imgur.com/Z6doCvz.png]] +{{er_new_grace_26.png}} 
-* Change the **first number** inside the **() of RegisterBonfire** to the **EventID** you used in the Param Editor too, following the pattern - here it will be **1050380001, the next number after the first one** + 
-* Change the **second number** to the **Bonfire Entity ID** found in the **Param Editor** - here **1050381951**[[=image https://i.imgur.com/Ka0klSS.png]] +On the **left** you will see a **list of all maps in Elden Ring**, find yours and **double click it** and **choose Elden Ring** if asked - you will now see all the **events that exist in that map** 
-* **If your emevd does not contain an event like this, just create one as the first line under Event 0 with this line:** + 
-[[code]]+{{er_new_grace_27.png}} 
 + 
 +Inside **$Event0** you will see a **RegisterBonfire event** if your map had an existing Gracesite present - **copy the full line and paste it right under** and **add a <nowiki>//</nowiki> Comment** naming it  - this is so you can see what you changed in the file and know what’s yours and what is vanilla 
 + 
 +{{er_new_grace_28.png}} 
 + 
 +Change the **first number** inside the **() of RegisterBonfire** to the **EventID** you used in the Param Editor too, following the pattern - here it will be **1050380001, the next number after the first one** 
 + 
 +Change the **second number** to the **Bonfire Entity ID** found in the **Param Editor** - here **1050381951** 
 + 
 +{{er_new_grace_29.png}} 
 + 
 +**If your emevd does not contain an event like this, just create one as the first line under Event 0 with this line:** 
 + 
 +<code>
 //Gracesitename //Gracesitename
 RegisterBonfire(uniqueEventID, BonfireEntityID, 0, 0, 0, 5); RegisterBonfire(uniqueEventID, BonfireEntityID, 0, 0, 0, 5);
-[[/code]]+</code>
  
-* **Save the file with Ctrl+S or File - Save and close DarkScript3**+**Save the file with Ctrl+S or File - Save and close DarkScript3**
  
 **We are done! We can now test the new grace and make sure everything is working fine!** **We are done! We can now test the new grace and make sure everything is working fine!**
  
 ===== Finished! Testing the Gracesite ===== ===== Finished! Testing the Gracesite =====
 +Open your **config_eldenring.toml** and point **ModEngine2** to your **mods project folder** like so, adding a new line if needed: **(Make sure to use double slashes <nowiki>\\</nowiki>!)**
 +
 +{{er_new_grace_30.png}}
  
-* Open your **config_eldenring.toml** and point **ModEngine2** to your **mods project folder** like so, adding a new line if needed: **(Make sure to use double slashes \\!)**[[=image https://i.imgur.com/kwb3ZtC.png]] +**Launch the game with launchmod_eldenring.bat and test if your Gracesite works! If you followed everything correctly it should work.**
-* **Launch the game with launchmod_eldenring.bat and test if your Gracesite works! If you followed everything correctly it should work.**+
  
-**Here is a video of my tutorial Gracesite working as intended:** 
  
-[[html]] 
-<div style="position:relative; width:100%; height:0px; padding-bottom:56.250%"><iframe allow="fullscreen" allowfullscreen height="100%" src="https://streamable.com/e/si01kz?loop=0" width="100%" style="border:none; width:100%; height:100%; position:absolute; left:0px; top:0px; overflow:hidden;"></iframe></div> 
-[[/html]] 
tutorial/creating-a-new-gracesite.1740537335.txt.gz · Last modified: by admin