====== Create a New Bonfire (DS2) ====== Authors: Desgeras {{ds3_new_bonfire_1.png}} ===== Required Tools ===== * MapStudio * Yabber * Yapped Honey Bear or ParamStudio * Gimp or similar photo editing software ===== Creating your Bonfire ===== Create or open an existing project in //MapStudio// {{ds3_new_bonfire_2.png}} Load (right click) the map you want in //MapStudio// (they're on the left side of //MapStudio//) {{ds3_new_bonfire_3.png}} Find a bonfire near the location you want Click on that bonfire and duplicate the bonfire (ctrl-D), move it to your desired location Click on the collision near your bonfire {{ds3_new_bonfire_4.png}} Copy all DrawGroups and DispGroups from the collision and paste them into your new bonfire (they should look identical) {{ds3_new_bonfire_5.png}} Note the **MapObjectInstanceParamID** (it's in the Properties on the right side of //MapStudio//) {{ds3_new_bonfire_6.png}} Click the arrow near your map on the on the Map Object List (it's on the left side of //MapStudio//) {{ds3_new_bonfire_7.png}} Find your bonfire's **objinstance_xxxxx** and click on it (it's on the right side of //MapStudio// if you're still clicked on the bonfire) {{ds3_new_bonfire_8.png}} Duplicate the existing bonfire's **objinstance_xxxxx** (ctrl-D) Change the ID to that of the xxxxx in **objinstance_xxxxx** (you won't be able to save your changes otherwise) Copy the name Paste that name into your bonfire object's **MapObjectInstanceParamID** section (you need to click on your bonfire object again, not the **objinstance_xxxxx**) {{ds3_new_bonfire_9.png}} Save your changes Navigate to your mod project directory Navigate to your Dark Souls 2 directory ''\steamapps\common\Dark Souls II Scholar of the First Sin\Game'' If you are using //ModEngine//, ignore this. Otherwise copy the data from your project into the game directory Open //Yapped Honey Bear// or //ParamStudio// and go to **MapObjectBonfireParam** Duplicate the nearest bonfire's entry by clicking on the row, then click edit followed by Duplicate Row (you can find your bonfire by checking the **Param ID** in the **objinstance_xxxxx** for your bonfire in //MapStudio//) The value for your row should preferably incremented by one higher than your duplicated bonfire {{ds3_new_bonfire_10.png}} If you need your bonfire to be part of a different bonfire menu grouping, you can change this by swapping Unk04 (the second definition) to that of a different area grouping; there can only be five bonfires per grouping, so in this tutorial I've swapped mine to that of the Grand Cathedral rather than Frozen Eleum Loyce {{ds3_new_bonfire_11.png}} Change the **objinstance_xxxxx** ID in //MapStudio// to that of your new //Yapped Honey Bear// or //ParamStudio// entry {{ds3_new_bonfire_12.png}} Find ''Game\menu\text\english'' in your game directory Unpack **bonfirename.fmg** with //Yabber// (drag it to Yabber.exe, not Yaabber.DCX.exe) Edit the newly created **bonfirename.fmg.xml** Find the row number you added in //Yapped Honey Bear// or //ParamStudio// and give it a name {{ds3_new_bonfire_13.png}} Repack the __.xml__ with //Yabber// into an __.fmg__ Replace **bonfirename.fmg** into your ''/menu/text/english/'' folder Go to ''Game\menu\tex\icon\bonfire_list'', find the nearest bonfire to the one you made Copy and paste this entry into a place of your choosing Unpack the new **ic_list_xxxxx.tpf** with //Yabber// Open the **ic_list_xxxxx** folder Edit the __.dds__ file with //Gimp// or a similar photo editing program Take a picture of the bonfire area in game with hud off and binoculars on///Cheat Engine// fly cam (You can press the PRT screen key on your keyboard for this) Shrink your picture to roughly match the size of the existing __.dds__ image Use the eraser tool to lightly erase edges of the image to mimic the Dark Souls 2 format {{ds3_new_bonfire_14.png}} Save and export as a __.dds__ file Place the __.dds__ into the **ic_list_xxxxx** folder Rename the __.dds__ to use the number of the bonfire you made in //Yapped Honey Bear// or //ParamStudio// {{ds3_new_bonfire_15.png}} Open the __.xml__ in the **ic_list_xxxxxx** folder Change the xxxxx portion in the filename and name sections **ic_list_xxxxx.dds** to the one you renamed it to {{ds3_new_bonfire_16.png}} Save and repack the **ic_list_xxxxx** folder with //Yabber// Rename and change the xxxxx portion to that of your bonfire name Place the **ic_list_xxxxx.tpf** into your ''Game\menu\tex\icon\bonfire_list'' Your bonfire should now work like any other including a custom image and name {{ds3_new_bonfire_17.png}}