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!

[Tut] Changing the content and look of maps (Shmd / ini )

Newbie Spellweaver
Joined
Jan 5, 2015
Messages
58
Reaction score
36
Maps location: /resmap/

In here resides all the different maps in the game, and some extra .nif files for them. Also some .dds textures are provided for the floors of some of the maps.

If you want to change a map. Or maybe you copied one, and want to change your new copy. Just go to whereever it is (e.g. /resmap/field/YourMap or resmap/field/Rou). There's a number of files in there.

.shmd: Loads mostly everything but some textures
.shbd: Loads Invisible walls on the map (idk how to edit these yet, but u can)
.ini: Loads some textures

.conf: Default config for game, just leave it be
.aid: Idk about this one
.HTD/HTDG: Don't worry about these either (height map)

If you open a Shmd it will look similar to this:
Code:
shmd0_5 
Sky 1 
resmap\nifs\Common\field_sky_01.nif 
Water 2
resmap\field\Rou\sea.nif 
resmap\field\Rou\wool5.nif 
GroundObject 6
resmap\field\Rou\rou_ground.nif 
resmap\field\Rou\rou_lighthouse.nif 
resmap\field\Rou\smithsmith.nif 
resmap\field\Rou\rou_ground_winter.nif
resmap\field\Rou\rou_ground_winter02.nif
resmap\field\Rou\rou_winter.nif 
GlobalLight 1.000000 1.000000 1.000000 
Fog 0.600000 0.556863 0.215686 0.556863 
BackGroundColor 0.286275 0.000000 0.400000 
Frustum 500000.000000 
resmap\field\Rou\GuildHall.nif 1
6769.816406 4131.159668 480.796509 0.000000 0.000000 -0.493918 0.869508 1.000000 
resmap\field\Rou\ItemShop02.nif 6 
8590.514648 5612.279785 483.397003 0.000000 0.000000 -0.339608 0.940567 1.000000 
4301.719727 4607.434082 490.442535 0.000000 0.000000 0.544175 0.838965 1.000000 
4044.629150 6930.954102 818.182007 0.000000 0.000000 0.138157 0.990410 1.000000 
7554.429688 6744.543945 662.135620 0.000000 0.000000 -0.339608 0.940567 1.000000 
8120.769531 5469.132324 482.320313 0.000000 0.000000 0.187877 0.982193 1.000000 
3576.971191 6455.372070 818.181519 0.000000 0.000000 0.799196 0.601019 1.000000

You have Sky, Water, Earth, etc. The First number next to those is How many are being loaded (how many lines below are waters/etc.)

Code:
resmap\field\Rou\GuildHall.nif 1
6769.816406 4131.159668 480.796509 0.000000 0.000000 -0.493918 0.869508 1.000000

So in this line. It loads 1 GuildHall.nif in 1 place. The next line is the corresponding
Coordinates and elevation, Rotation data, and Size of the object.

E.g.

x: 6769 y: 4131 z: 480 (Z is how high up the object is in the map)
Note you can do $zoommax 9000 to zoom out and look underneath map and such.
Then you have 4 Different values for rotation data. (NOTE DO NOT ATTEMPT TO EDIT THESE AND GET RESULTS, It is very difficult because it is based on Euler Roation.) Your best bet is to copy and paste these values from different objects And hope they have the rotation you are looking for.
Size: In this case its set to 1.000 . But if you wanted a guild hall 200% bigger. you could set to 2.0

Note you can replace the nif file loaded with whatever one you want. Like for instance. I like to put the burning trees in Alberstoll ruins in different maps cuz they got a nice fire :D.

.ini file:

Code:
#PGFILE : HeightMap
#FILE_VER    :    0.01


#HeightFileName        :    ".\resmap\field\Rou\Rou.HTD"        // ÇÏÀÌÆ®¸Ê ÆÄÀÏ
#VerTexColorTexture    :    ".\resmap\field\Rou\Rouvertexcolor2.bmp"


#HEIGHTMAP_WIDTH    :    257            // ÇÏÀÌÆ®¸Ê °¡·Î Á¡ °¹¼ö
#HEIGHTMAP_HEIGHT    :    257            // ÇÏÀÌÆ® ¸Ê ¼¼·Î Á¡ °¹¼ö


#OneBlockWidth        :    50.0f            // Á¡»çÀÌÀÇ °Å¸®
#OneBlockHeight        :    50.0f


#QuadsWide        :    64
#QuadsHigh        :    64


#Layer
{
    #Name            :01 ground
    #DiffuseFileName    :".\resmap\fieldTexture\L2_D.dds"    
    #BlendFileName        :".\resmap\fieldtexture\L1_A.BMP"
    #StartPos_X        :0.0f
    #StartPos_Y        :0.0f
    #Width            :257.0f
    #Height            :257.0f
    #UVScaleDiffuse        :5f
    #UVScaleBlend        :1.0f
}
#Layer

These ini files have different Layers. Each layer loads a .DDS for the texture of that layer. And when on the map. one texture runs into another, the blend texture is used? Anyway. You can change the .dds texture in DiffuseFileName to whatever texture you want and this is how you change the Ground texture on the map to be different.

Note though that some maps the textures are built into the .nif files


To Test these just hit Switch Characters. And then log back into the map after any changes, and they should show up.
 
Back
Top