| 1. All files in this section
will be in a zipped format. You must unzip the file and put the
contents into the correct folders to be able to use them. Each type of
file will have a different set of files associated with it, and you'll have
to know what type you downloaded to tell which directories you need to
install them to. 2. There are a couple programs you can use to edit the files that you can download here. I likely will not be hosting any .mqo files, so you can't modify the look of the files, however you can change their size, type, collision and name if you like. The tools you will need to make changes are a good Hex Editor like XVI32 (which you can download from here) and the toolset that From Software produced to modify existing models that you should have installed with SOM. If you haven't, check the SOM translation page for further details. 3. For files that you are downloading from this site, you need to understand the following information for each set of files: -An Item file can be of several types, including consumable/usable, weapon or armor. If you are trying to make anything other than a consumable/usable item you will need to locate a .prf (profile) of that item type that you wish to duplicate (more on this later). For now lets stick with the basic item type. -Assuming you download an item file like the StarGate, you will unzip it and find 3 files in the folder (see figure A.) The first file, is a .prf file, every new model you put into SOM will have one of these files. In addition there is a .mdl (model file) and .txr file (texture file). Place the .mdl and the .txr into the C:\Program Files\KF\SOM\data\item\model directory, and place the .prf file in the C:\Program Files\KF\SOM\data\item\prof directory. Now when you run SOM you will be able to locate this new model in the item table and modify a few of its properties from there. -If you download a weapon file, there will be an additional model file with an underscore and zero such as "sword1_0.mdl". This file should also be placed into the item\model directory as it is used to create the swing animation for the sword. 4. If you wish to modify some parts of an item file, launch the ItemEdit.exe program from the Tools Directory and select the appropriate .prf file associated with the item you are modifying. When you open a file, you will be able to change the following fields (see Figure B): -Item Name - This is the name as it will appear in the item table in SOM. -Item Preview Screen - This is the angle as it will appear in your equipment screen. -Map Overview Screen - This is the default angle the item will be when you place it on the map. - Y Axis Offset - This will allow you how much offset you want up or down from the base line. 5. To create a new weapon or armor from a set of model files is a bit more difficult. This requires understanding a little bit about Hex Editing and having some patience. Keep in mind there are quite a few different types of weapons and armor, so you will need to seek out a .prf file of a similar item to use as your base. For our example, lets make a stabbing weapon. -There are a few different weapons in the game that are "stabbing" type weapons, meaning that when you swing the weapon, the blade will jab at your enemy instead of slash at them. There are three basic weapon types, slashing top down, slashing across and stabbing. Lets use the rapier for our template of the new stabbing weapon. -The rapier is item file "i005.mdo" and respectively "005.prf". If we use a hex editor to open the .prf file you can see a whole bunch of junk in there that tells SOM how to handle the weapon. The only important part of this file for us is the first few lines that deal with the model files used for the type of weapon. The first line is the item name and the second line should reference the .mdo file it is going to use. -The trick to creating a new weapon/armor is that you only want to modify the sections of the .prf that reference those two lines. In my experience any other changes will corrupt the file. So lets continue with our example and assume you created a new stabbing sword that you wanted to use. Name your model file something similar to i005.mdl so you can use the exact number of letters for the model name as the rapier file. Lets call it i999.mdo. There will be an i999_0.mdo and i999.txr file as well. -Use ItemEdit.exe first and select your model to create a generic .prf file and call it 999.prf. Now open 005.prf with a hex editor, change the name of the sword from rapier to something else making sure you dont overwrite any characters that were not used in the original name (this is important). For instance, rapier is a 6 letter word so you would put your cursor on the r and type a 6 letter word to cover it. Don't add spaces if you can help it, always try to use a character and fill the space. I believe the 0's on the left side must be maintained or the file wont work. -Next go down to the i005.mdo section and overwrite it with i999.mdo. Now go to the file menu and select Save As and choose the 999.prf file you made earlier. This should create the new file and reference your model...you should now be able to access it via the item table in SOM. ***Be sure to never overwrite an original file else you may lose it! |
Figure A.
Figure B. |