Adding map pieces to SoM

#1
To add custom map pieces to SoM you'l need to follow these instructions.
Please follow my tutorial on adding custom items to SoM. This process is exactly the same except for the tool commands you type into the command prompt.

The tools are:

x2msm : creates visible data.

x2mhm : creates collision data (this one isnt so easy to figure out.)

prtsedit : the parts editor that adds the map pieces to the map editor.

Okay... So basically if you wanted to create a map piece, save it as an x file as before.
However this time, type in any of the tools listed here for whatever function you wish to use that .x file for.

So lets just say you created a pillar in meta. Saved it as an x file called, say... buns.x in your tools folder, and you've got the command prompt up with your tools folder location.
You'd type x2msm.exe ‎  buns.x

Take your files and place them in the corresponding folders in your data/map folders.
So say if you made an .msm piece it'd go into the msm folder.
Next, you'd open your prtsedit, not in the command editor. Wink

(You might need to follow the attached picture file to follow this properly.)
Look for buns.msm in the msm dropdown list.
Assuming you've downloaded my mhm pack and placed the files in the correct location, select hightem.mhm in the collision data dropdown menu.
Assuming you've downloaded my icons pack, select a random icon of mine.
If you want to overwrite part 0, go ahead. Want to overwrite another? Type a different number, but you cant exceed the maximum. (The number being 1023)

Okay your piece should be available in the map editor.

Important notes

Dont exceed 2000 vertices for a single piece or the editor will crash, and possibly not be able to show in the runtime.
Be careful when creating faces. SoM has given me jip over this, but by copying and pasting the model it seems to negate this.
Creating full blocks are much better for maps. Creating half a block would require creating a corner to join it. Go easy on yourself. Smug
Ive attached a door height template for meta which works with SoM's door stock objects.
The file castlegrass.mhm is for floors.
The file hightem.mhm is for pillars. It can be used for water too as the collision goes further down than normal.

Cheers.
Verdite


NEW: MHM tutorial

So i saw that there wasnt enough info on MHM pieces so ill do a quick guide on how to get it right the first time.

Flat mhm pieces

Providing the outer sections of the mhm piece are untouched (they dont dip, and they dont deviate from the other lines around them) then you can dip the central section easily, but creating a simple plane in the create primitive tab, then go to object > mesh smoothing > and select 2. You can dip the central vertice.
Make sure your sets have this setup. A simple, flat plane. This means that if you follow the rest of this section you'l have no problems.

Elevated pieces

Create a plane, click on move and select the far edge closest to the blue line (the z axis) when loading a piece into SOM the map piece will be facing towards the z axis. (north.) Remember this z axis rule for SOM or you'l have alot more work.
Go to the Y axis in the move panel. Input 45. This is 45 degrees. ‎  Smile

Create a new primitive. Click on the face (the gray bit) and move it up on the Y by inputting 45 again.
The plane will be at the right level.

[Image: elevate.jpg]

Corners

Creating corners was a pain for me, until i realised how simple it was.
> Elevated corners
Create a plane, and divide it by four by using the object > mesh smoothing > and select 2 method.
Click the vertice on the top right, and the vertice in the center. Move them up by inputting 45.

> Corridor corners

This ones probably the hardest for anyone new to metaseq.
Create your corridor. If you want to practice, create a plane and extrude (use extrd) it upwards a good way.
Remove both faces (gray areas) on the z axis. (see pic 1)
[Image: facecreation.jpg]

Use create, and click on face in the create box. Lower your view so you are click on the four corners of the lowest sections of the box. (red squares in pic)
You'l create a bottom for your box. Now select all, go to selected and click invert.
If your created face isnt there it means you havent clicked on the right object in the obj panel.
Now its quite simple. Simply delete the face on the X axis. Then create a face on the Z axis. (see pic.)

[Image: cornerip.jpg]

You'l need to manually project your texture onto the faces.


Attached Files Thumbnail(s)
   

.zip   Mhm.zip (Size: 2.35 KB / Downloads: 211)
.zip   Icons.zip (Size: 48.02 KB / Downloads: 202)
.mqo   door height template.mqo (Size: 1.3 KB / Downloads: 207)
Reply



Messages In This Thread
Adding map pieces to SoM - by Verdite - 2011-05-27, 08:23 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-28, 11:37 PM
Re: Adding map pieces to SoM - by Verdite - 2011-05-29, 05:19 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-29, 10:32 PM
Re: Adding map pieces to SoM - by Verdite - 2011-05-29, 10:56 PM
Re: Adding map pieces to SoM - by HwitVlf - 2011-05-30, 03:48 AM
Re: Adding map pieces to SoM - by Creatura - 2011-05-30, 07:44 AM
Re: Adding map pieces to SoM - by Verdite - 2013-02-02, 09:55 PM
Re: Adding map pieces to SoM - by Verdite - 2014-03-31, 02:34 PM
Re: Adding map pieces to SoM - by JC Bailey - 2014-03-31, 04:34 PM
Re: Adding map pieces to SoM - by Verdite - 2014-04-01, 12:17 PM
Re: Adding map pieces to SoM - by HwitVlf - 2014-04-03, 09:41 PM
Re: Adding map pieces to SoM - by Holy_Diver - 2018-08-03, 11:46 AM



Users browsing this thread:
2 Guest(s)