Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Exporting CollisionElement with NMD Export Tools.

Junior Spellweaver
Joined
Oct 15, 2020
Messages
152
Reaction score
184
I-Introduction:
For each game, there is an NMD export project that needs to be compiled along with the client source code for a specific version.

II-Forsaken World:

A)Basics:
*The NMD export project for Forsaken World is located at SMElement\Tools\westNmd.
*It is designed to create an output file used for server collision, which is required by gs.conf.
*The output file is named <elements.nmd>.

B)Instructions to use the westNMD tool for Forsaken World:
1) Ensure that you have the required files:
Code:
   - resources\models.pck
   - data\elements.data
   - data\path.data
   - data\dynamicobjects.data

2) Open the Command Prompt.

3) Navigate to the directory containing westnmd.exe. For example:
Code:
cd C:\Users\Admin\Desktop\westnmd

4) Modify the westnmd.cfg file as needed to have the correct paths. Here is an example image of the configuration file:
Code:
work_dir=C:\Users\Admin\Desktop\westnmd
out_file=C:\Users\Admin\Desktop\westnmd\elements.nmd
verbose=1
from_pck=1

5) Run the following command using the Windows Command Prompt:
Code:
Westnmd westnmd.cfg

Here is an example image of the command output:


III- World2:
A)Basics:

*The NMD export project for Forsaken World is located at Element\NMDExport.
*It is designed to create an output file used for server collision, which is required by gs.conf.
*The output file is named <wmsj.nmd>.

B)Instructions to use the NMDExport tool for World2:
1) Ensure that you have the required files:
Code:
   - models.pck (located in models\)
   - grasses.pck (located in grasses\ecmodelhull\)
   - configs.pck (located in configs\dynamicobjects.data)
   - data\elements.data

2) Simply click on the "wmsj_NMDExport.exe" file.
This tool is easier to use compared to Forsaken World .

IV-Conclusion
So some native tools that we may compile may need to be executed using the command prompt and specific configuration files, similar to the NMD export tools we discussed earlier.
 
Back
Top