Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Proper Fire Arrow… Simple Structure B… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
||||||||||||||||||||||||||||||||
Register and log in to move these advertisements down Adding Morthond Bowmen into a mod
Creating the Asset.dat file When it comes to adding models into the game you will need to add the files into the asset.dat file in order for the game to recognize them. If you do not do this step, then no matter what you do you will not be able to view the units in game. If the object is not in the asset.dat file then the unit will be invisiable. If the texture(s) is not in the file, the model will be a purplish color. That being said, there are two ways that I know of where you can add your "assets" into the file. 1) Try to add them into the asset.dat file that the game uses. (I think this is a very bad way to do this. Unless you absolutely must have the models in worldbuilder, I do not like touching the file.) 2) Create your mod using the -mod command. ********* Explanation of -mod command ********* If you do not know what the -mod command is, here is a brief explanation. When you click on the shortcut for the game you are actually telling windows to run the following command: "C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe" This may differ depending on where you installed the game, but the shortcut is just telling windows where to find the game. Many .exe accept different parameters or commands. If you right click on the shortcut and change it to: "C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe" -win This will open up the game in a separate window instead of fullscreen. The mod command is similar, instead of -win you add -mod. Along with this you will need to tell the game what to load, usually a .big file. For this article I'll be creating it using a MorthondBowman.big file. And we'll get into this later in the article. The reason why you would use this tactic to add the asset.dat information is so that you can create an asset.dat file that is an add-on to the one provided in the game. You only have to include the items that are new. ************* End of Explanation ************* So in order to do this we are going to use the assetcachebuilder provided by EA in their SDK. You can use the following steps to create your file. 1) Create a folder somewhere on one of your hard drives. (This will be used to build the mod) 2) Locate the AssetCacheBuilder.exe from the SDK and place a copy of it in your new folder. (I personally just have a copy of the executable with each mod that I create. It's just easier for me) 3) Create a new folder named art 4) Create a new folder in art named w3d 5) Create a new folder in art named compiledtextures. (This is for BFME2 and RotWK. BFME1 uses different names) 6) Download the Morthlond.rar file from Nertea's Downloads 7) In the w3d folder, create another folder named gu and place the gumorthond_skn.w3d in that folder. For each file you will place it in a subfolder with the first two letter of the file name 8) In the compiledtextures folder, create a folder named gu as well, and place the gufiefweap2.tga, gumorthond2.tga, and gumothond2ha.tga files in that folder. 9) Now do a similar thing for the fiefdom banner carriers .rar file. - create a gd folder in the w3d for the gdabnft_skn.w3d and the gdabnrmt_skn.w3d - add the gu w3d files to the gu folder - add the gu texture files to the gu folder 10) The last items that you will need are your 2d art. (Button images and the select portraits.) There are tutorials out there already that go into depth on how to create these items so I won't here though I did include my standard .psd templates. Just once the art is complete, place them in their own folder. Where you place them is up to you. For my mod, I named a lot of art rjxxxxxx.dds and placed them all in an rj folder. Or you can place them with the UP folder or anywhere as long as they are in a subfolder in the compiledtextures folder. We'll be doing the .ini coding later to add them in game. 11) When running the assetcachbuilder it still uses the BFME1 layout, so you have 2 choices - rename the folders for the textures every single time, or create a .bat file that will do it for you. (I choose the second choice. 12) In your main folder where the assetcachebuilder.exe is contained, create a new .txt document. Name it whatever you'd like, but instead of the extension being .txt change it to .bat. (myassets.bat for example) 13) Right click on it and edit the txt file to say:
14) Once edited, double click the .bat file. A command prompt (DOS style) window will show up listing all of the files added to the asset.dat file. When finished click a button to continue. 15) Once the .exe has run, you will have an asset.dat file ready for you to use! There is also an error file for you to check to make sure there is nothing horribly wrong, but use it more for trouble-shooting as it will be filled with missing skl errors. Unless you have made a change to one of the skeleton files, you do not need to include these as well. So now we have the asset.dat file for the mod! Next page: File Layout, mod organization Links / Downloads
CommentsDisplay order: Newest first | Page: 1, 2 modboy451 - Friday December 3, 2010 - 13:04 you could be a little for clear on where to place the .tga and.w3d files(maybe add spme space inbetween lines) otherwise It was a great tutorial! BigBrainiac - Monday October 25, 2010 - 16:27 This is a good, well written article. Rob38 (Team Chamber Member) - Monday September 6, 2010 - 18:53 Some of the material such as the AI and WOTR mode will not work for BfME1. Most of the general information though should be applicable to BfME1 modders. Souske22 - Monday September 6, 2010 - 17:58 Ok rather stupid question buuut I was wondering would this Tutorial also work for BFME1 to replace models? Asking so I dont kinda waste time reading this and following the steps to replace regular gondor soldiers with Numenorian Models. acidRain - Wednesday June 23, 2010 - 7:33 Hmm...well, I followed all the instructions - to the letter - and my model's still invisible. If it helps, I attempted xxxMr. Xxxx's Aragorn bow/sword model. I'm no novice to coding, but modeling and skinning absolutely baffles me. {AE}Manveru - Tuesday September 1, 2009 - 12:08 @Kingeragon007, did you compile your asset.dat properly? And add it into the .big file? *Kingeragon007* - Saturday August 9, 2008 - 20:17 hey im new around here, Tar-Palantir - Tuesday May 6, 2008 - 18:36 @ lycan, Robnkarla's using RoTWK, you're probably using BFME I or BFME II so the locomotors have diferent names, I suggest you check some other file to see what they're called. Centurion - Monday March 24, 2008 - 22:46 I keep getting this message: lycan - Monday October 1, 2007 - 12:45 i did everything, |
||||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |