![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Advanced Modding - Cloning Object and Templates.pak | |||||||||||||||||||||||||||||||
In this tutorial you'll learn how to create new objects and change their stats using files from the Template.pak and a lot of fan made programs to modify them. I would suggest you get familiar with the general Gothic 3 modding (by reading all the other tutorials of this site) before you proceed because I won't analyze most steps. So this tutorial is actually writen by WernerTWC and can be found HERE in german. After reading his tutorial and asking him some questions regarding templates he asked me if I was interested to put his tutorial on this site, but that was what I was going to do anyway because it's really useful and it covers an issue that we haven't see so far. In other words the following tutorial is a translated version of the tutorial WernerTWC wrote with 1-2 new screenshots (the rest of them are shoted by him. We'll try to copy - create a new - weapon (Nailed Club), change the damage it does and make it from 2H a 1H weapon. |
|||||||||||||||||||||||||||||||
Step 1 : Using G3Pak open the Templates.pak located in Gothic3 directory Step 2 : Go to ...\Templates\Items\Items\Items_World\ find and extract the files _Weapons_Axes_World_It_Axe_NailedClub_01.tple and _Weapons_Axes_World.lrtpldatasc Step 3 : A new folder "Templates"will be created in game's data directory Step 4 : In there you'll find the file you've extracted. Rename the _Weapons_Axes_World_It_Axe_NailedClub_01.tple file to _Weapons_Axes_World_It_Axe_NailedClub_02.tple Step 5 : Download the G3 Template editor created by MasterEvil Step 6 : Run the progam (g3_tpledit.jar) and open our ...NailedClub_02.tple file Step 7 : Go Preferences and enable the Show Hexeditor option in case it's not already on Step 8 : You'll see two lines with 16 boxes each, each one containing characters or numbers or both. We have to change these characters because they are the same with the ..NailedClub_01.tple. Just click on every single box and enter totally random characters from A-Z and 0-9. In the next pictures you'll see the template editor before and after this step. When you're finished save the template. |
|||||||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||||||
Step 9 : Download the Tiny Hexer created by Markus Stephany and the file Tiny Hexer will use - g3_tple_description_033lw created by lichtwicht Step 10: Install and open Tiny Hexer and extract the g3_tple_description_033lw where the instructions file located inside the rar file says. Click Tools and unhook the Insert mode command Step 11: Open the ...NailedClub_02.tple and change the following lines shown on the following picture (before after again). |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
Step 12 : Now go Tools>Execute Script, find the g3_template_format_worked.mps and open it Step 13: A new window will open. Scroll down until you find a brown line with a code. This one: |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
Step 14: Open _Weapons_Axes_World.lrtpldatasc with notepad. Now you have to copy the whole line where the NailedClub is, paste it on the end, change the number from _1 to _2 and you have to replace the code which is located inside the { } with the code of the "brown line" we saw before. So in our case it'll look like this: | |||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
Step 15: You're ready! You can add the following line in the Stringtable.ini (tutorial here) : |
|||||||||||||||||||||||||||||||
ITEMDESC_It_Axe_NailedClub_02=TWC's one handed Nailed Club;;-;;-;;TWC's einh?ndige Nagelkeule-;;TWC; FO_It_Axe_NailedClub_02=Spiked one handed cudgel;;Mazza chiodata;;Gourdin clout?;;Einhand Nagelkeule;;Garrote con pinchos; |
|||||||||||||||||||||||||||||||
The first one is the description and the other one the name of the object |
|||||||||||||||||||||||||||||||
Step 16: The Nailed Club is a 2 handed weapon. We can change this using the template editor. Open the item again with that program, go to qCInteraction_PS menu and on the UseType option change from AXE to ONE_HAND. Step 17: You can also change the damage of the new weapon. Again in the template editor go to qCDamage and change the number in the DamageAmount box Step 18: Save and enjoy! You have to spawn the item ingame using the marvin mode (tutorial here). The spawn code is It_Axe_NailedClub_02 |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||