Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

[Mod Tutorial] How to make Items

$
0
0
Sparing others the pain I went through trying to learn this, this thread is meant to walk you through it step by step and tell you, specifically, how to make items.

First you need to copy your dialog.tlk file to your root directory and make a backup of it. You can find dialog.tlk in \Baldur's Gate II Enhanced Edition\lang\YourLanguageHere. Just move it back to the \Baldur's Gate II Enhanced Edition\ folder.

Next download WeiDU and place it in your \Baldur's Gate II Enhanced Edition folder, I think you can just extract the WeiDU folder there and copy/paste WeiDU.exe but I'm not sure because I copied everything while trouble shooting.

After that, you need to open a notepad or text file and edit it to read something like this. Just copy and paste the following bit to get started, make sure word wrap is turned off if you're using it.

BACKUP ~Silky/backup~

AUTHOR ~YourAuthorName, at http://forum.baldursgate.com~ // if you want, you can put your email here instead

BEGIN ~Silver Silk Chainmail~

COPY_EXISTING chan18.itm ~override/Silky.itm~ //note that the total file name, excluding file extension, must not exceed 8 characters.
SAY NAME1 ~Soft Mail~
SAY NAME2 ~Silver Silk Chainmail~
WRITE_LONG 0x1e THIS BAND BNOT BIT29 // Silver Spider Thread
SAY 0x50 ~At first glance it's hard to tell whether this is meant to be used as protection, but the fibers seem strong enough to deflect blows. Maybe someone can help identify it.~ // General description
SAY 0x54 ~The Silver Silk Chainmail was sewn from the webs of silver spiders, offering the protection of mail and the flexibility of cloth. It is believed that such rare vestments originate from a hidden monk sanctuary high atop a mountain at the Spine of the World.~ // Identified description
COPY_EXISTING ~ribald.sto~ ~override~
ADD_STORE_ITEM "Silky" #10 #0 #0 ~IDENTIFIED~ #5
Rename that txt file something like Silky.tp2. You can open it with your favorite text editor at any time if you right click and select "Open with..." (if extensions like .txt and .tp2 are hidden you may have to enable them in your folder option). Then rename a copy of WeiDU.exe to setup-Silky.exe and run it. This should create a copy chan18.itm and place it in your override folder with the new name and description. You're not done yet though!

Now you need to download Near Infinity, and if you don't already have it, you'll also need Java to run it. After downloading it with Java installed, extract it to your \Baldur's Gate II Enhanced Edition\ folder, to run it simply run NearInfinity-1.3.0.jar (there may also be a NearInfinity-1.3.0-ci.jar, I'm not sure of any difference). You should be able to find your new item under Override with the file name you gave it.

View gives you an overview, and if you click edit you can easily modify and delete stats and effects. If you want to make the armor usable by anyone for example, click "unusuable by" and uncheck everything on each section. Also if you want to remove any sneak or arcane casting penalties, you can do so by selecting the effects and clicking remove. You can modify it to your liking adding and removing effects and toying with the colors and attributes. It may be best to make a backup of it before you save it if you're not sure, but when you're done just click export.

If you'd like to add it straight to your inventory when starting the game, in your Baldur.ini file after 'Program Options', add
	'Debug Mode',	'1'
IE
'Program Options',	'Debug Mode',	'1'
Then once you load a game you can hold CLT and press Space bar and inter the following command. CLUAConsole:AddItem("Silky")

Alternately if all went well you should be able to find your new armor in Ribald's store.

Viewing all articles
Browse latest Browse all 11774

Trending Articles