[How-To] Add Custom Assets to SWBFViewer List

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

[How-To] Add Custom Assets to SWBFViewer List

Post by Anakin »

Hi,

i don't know wheater this is interesting for your or not, but i haven't found such an tutorial and thought it may be usefull.

So this is about the SWBF MSH Viewer. You all know this file list for SWBF1 and SWBF2 assets.
In this Tutorial i'll tell you how to add your own sides to this list.

For me i don't have the SWBF1 Mod Tool, and so i also don't have the assets. That's why i use this list for my own Assets downloaded from GT. It's much easyer to keep track of your assets library.
That's what it would look like:
Hidden/Spoiler:
Image

Go to your SWBFViewer.exe path for me
C:\BF2_ModTools\Sonstiges\SWBFViewer0.04
There should be the SWBFViewer.exe, a SWBF_BF1List file and a SWBF_BF2List file.

Just decide where you want to add your custom assets and edit the file with notepad or notepad++.

I took the SWBF_BF1List and removed the old things in there, because i don't have the assets, but you also can add your assets if you don't want to remove the stock assets from the list.

The list need to start with a key word that specifie the tree name. You see SONSTIGE and WAFFEN. But you can name they what you want. After the key world comes an "," followed by the path of your msh. lets say
"C:\BF2_ModTools\assets\Eigene Assets\Waffen\dc15sidearm\msh"
Than you need to type "\|" and after that comes the msh name.
"rep_weap_dc15st.msh" after every keyword and filepath comes an "," That's important. Also you need to write everythin in one line.

an example could look like that:

Code: Select all

Republic Weapon,C:\BF2_ModTools\assets\Eigene Assets\Waffen\dc15sidearm\msh\|rep_weap_dc15st.msh,
So now you have a new scope named Republic Weapon and in there is the dc15sidearm.msh.


I hope this is help full :D

It should be easy to write a script that browse through a path and make a files with that convention, maybe i'll write some later to make it easyer if you have a big library.
Post Reply