This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
building:xdata_mapping [2019/04/04 19:46] LockOn Added a note on formatting and images |
building:xdata_mapping [2021/11/14 01:54] (current) Elemuffin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Advanced Building Topics ====== | + | ====== XDATA Mapping - A Comprehensive Guide ====== |
- | ===== XDATA Mapping - A Comprehensive Guide ===== | ||
**Editor's Notes:** | **Editor's Notes:** | ||
+ | //Formatting has also been altered from the original forum page to account for the wiki's formatting rules.// | ||
**Original Author:** A Wicked Presence | **Original Author:** A Wicked Presence | ||
Line 9: | Line 9: | ||
**Original Thread:**https://forum.sinfar.net/viewtopic.php?f=33&t=16129 | **Original Thread:**https://forum.sinfar.net/viewtopic.php?f=33&t=16129 | ||
- | //Please note that images are still a work in progress for this page. Formatting has also been altered from the original forum page to account for the wiki's formatting rules.// | + | |
Line 22: | Line 22: | ||
The 2da with the placeables list. In your NWN install under hak files. | The 2da with the placeables list. In your NWN install under hak files. | ||
- | **I. The first step is to figure out the ID of the item you will be editing and the ID of the target texture, to get the resref:** | + | <WRAP _dark center round important> |
+ | Editors Note: The 2da with the placables list that's readable is in the "top" hak file for Sinfar. Do not go looking in the placables hak files, as they are too large to edit by hand at this point. You should find this hak file in your hak directory, usually something like: **C:\Program Files\GOG Games\NWN Diamond\hak** and the current name of the top most hak file is **//sf_top_v27.hak//**. | ||
+ | v27 refers to the version of Sinfar currently running as of time of this writing. | ||
+ | </WRAP> | ||
+ | |||
+ | |||
+ | |||
+ | **I. The first step is to figure out the ID of the item you will be editing and the ID of the target texture, to get the resref:** | ||
- | {{https://i.imgur.com/HED8ZKh.jpg?2?}} Image Image | + | {{:building:xdata:hed8zkh.jpg}} {{:building:xdata:posykt2.jpg}} {{:building:xdata:foeitjp.jpg}} |
- As an example, we'll go with "Carpet: Rug 16" for the placeable, the default curved horns "horns_curved" for the accessory, and a lava texture from the "Floor: Lava 1 1x1" placeable. | - As an example, we'll go with "Carpet: Rug 16" for the placeable, the default curved horns "horns_curved" for the accessory, and a lava texture from the "Floor: Lava 1 1x1" placeable. | ||
Line 52: | Line 59: | ||
- You should have successfully re-textured your item of choice: | - You should have successfully re-textured your item of choice: | ||
- | Image Image | + | {{:building:xdata:wrv269o.jpg}} {{:building:xdata:3ixccsw.jpg}} |
Line 68: | Line 75: | ||
Additionaly a little picture from another xdata topic to clarify even better where to find the bitmap once you opened the model in the browser. | Additionaly a little picture from another xdata topic to clarify even better where to find the bitmap once you opened the model in the browser. | ||
- | https://forum.sinfar.net/download/file.php?id=1002 | + | {{:building:xdata:browser_1.jpg}} |
**Added by Twimitar Silque:** | **Added by Twimitar Silque:** |