This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Ground effects  (Read 11913 times)

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Ground effects
« on: September 10, 2012, 09:12:33 am »
WIP
Here I will ad a full groundeffects guide. But first here are some images that show the  of the amount/cluster value 10 in the DBC.

Ground effects



Description



Groundeffects are auto placed doodads sets that fill the ground. You dont have to place hundered or thousand of models, just create a new set and add it to the texture you like it to.

There is a special data array for this inside the Maptile (ADT) file that define what texture in a special square part of the ground is used for groundeffects source. Noggit SDL dont write this informations in the moment, so you need to update them with Mjollnas CMD tool after every texture change. This tool looks what the most common textur is on every of this squares (subchunks) and write down the texture id from 0 to 4 into this data array.

Create a new set



A set is always build out of 4 different models. You can browse the detail models that get used for this in following path inside your ModelViewer.

World/Nodxt/detail

Firs stepp is to search 4 nice models fitting to each other and your environment. Lets take the next 4 for our test.
DOnt be to critic here because you will see if they fit only ingame on the ground. Some mixtures that you think the will never fit work ingame fine.

    apkgra02.m2
    arhflo02.m2
    atcgra02.m2
    csclov01.m2

Next we need to search the model IDs or even, it the are missing in the GroundEffectDoodad.dbc, we must add them. Use a DBC editor and search the models and write down the IDs of them. If the model is not inside the DBC just add it and write down the new ID. Set the third columm to 0 if you add new. I don´t know what this flag do. Its new since WotlK and if you have some idea post i will add this then.

    236 > apkgra02.m2
    362 > arhflo02.m2
    219 > atcgra02.m2
    699 > csclov01.m2

Now we must create a new doodad set. Open the GroundEffectTexture.dbc in your DBC editor and inser a new line at the bottom with the next heigher ID.



Write the 4 doodad IDs in the cells 2 till 4 (yellow). The next 4 values (green) define how often this doodad appear depending on the other values. The cell 6 is the value for doodad 1 and so on.

Next value in cell 10 is for the amount and the grouping of all dodads together. At the bottom of the tutorial you will find some Images that show some values for this cell.

Cell 11 (purple) is a link to the TerrainType.dbc. This DBC defines the sound you make, visual effects you get if you walk on ground. Like particels of sand flow up and footsteps you make in snow and sand. Just have a look at cell 2 in this DBC. There you have some description like sand or gras. So you can just use existing entrys here that fit to your texture.

Assigne your set to a texture



I use the old CMD tool to assign a groundeffects ID to a texture of my maptile (ADT). FIrst make a backup of your ADT your want to set the effects. Then copy the ADT you want to modify into the directory where your groundeffectadder.exe is located and drag&drop it on the exe.



The tool will ask you now what ID you want to set for every in the ADT listed texture. Note that there can be mode textures be listed than you see on your adt. Just ignore the not used.

You can enter -1 if you don´t want to change an entry.
Enter now the ID if the texture occure that you want to add the ground effects set to.

You must redo this step every time you add a texture to the ADT or swap one in noggit.

Build the groundeffects date



Now we must build/rebuild the groundeffects data in the maptile.

First again BACKUP the files you want to change!

Now you must load the maptile with noggit and save it. Just locate the camera on the tile and select save current tile from file menu. Or just flatten blur all adts you want to edit with a value of 0 and save them all at once. This must be done because greachins water gets written on the end of the ADT where it not belongs and Mjollnas tool get problems with this.

Next copy the ADT to the folder where Mjollnas Groundeffects fix tool is located and drag&drop it on the exe. A black window will short open and you will see manny numbers flowting by.



The tool don´t overwrite the original file. It creats a new one that get the string _new added at the end of the filename. Just delete the original, rename the _new file and copy it over to your patch folder.

You must redo this step every time you change texturing in noggit.

Now you must create a MPQ that includes the ADT and the 2 groundeffects DBCs in the right folders.
Go ingame and have a look. If the models don´t fit you can just edit the DBC entrys and set other model IDs.

It can take some time to get a good looking set that fits your environment.


GroundEffectTexture.dbc amount and grouping values cell 10



0


1


2


4


8


16


24


48


128
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

longkallsong

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 167
    • View Profile
Re: Ground effects
« Reply #1 on: September 10, 2012, 02:54:25 pm »
Thats good , because i think many got the problem they dont know/get it to work. sadly im one of those to :(
but nice
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Chuck Norris is really quite nerdy. yes mean, if he now is so damn tough as everyone says, why will he not hit my head in the keyboqöekjhböajsfbaöoheöhrtubnajnuohgqoe¨håqoglnöasfpöaogja997875415845848

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: Ground effects
« Reply #2 on: September 10, 2012, 11:07:43 pm »
And the ground effects can be added to the adt by following eluos tutorial? I just tried to do it some time ago but it didn't work because i could drag'n'drop groundeffectadder.exe into the cmd console. o:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Ground effects
« Reply #3 on: September 11, 2012, 11:10:13 am »
It is still in Work. So just wait till finished. I only write this in public that you can already use the amount images.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: Ground effects
« Reply #4 on: September 11, 2012, 01:10:42 pm »
Ok ill wait (:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Ground effects
« Reply #5 on: September 14, 2012, 01:49:49 pm »
So please have a read over it. Is it clear enough?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: Ground effects
« Reply #6 on: September 14, 2012, 02:20:42 pm »
I'll test it now and edit this post (:


Edit:
For me it is clear and i think the most people shouldn't have problems with it:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (:

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Ground effects
« Reply #7 on: September 14, 2012, 07:46:09 pm »
Nice to here. If someone els have just post :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: Ground effects
« Reply #8 on: February 09, 2013, 05:26:29 pm »
Somewhere WoW crashes after adding groundeffects. How can I solve this issue?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Ground effects
« Reply #9 on: February 09, 2013, 05:45:55 pm »
Quote from: "fearless_wind"
Somewhere WoW crashes after adding groundeffects. How can I solve this issue?
If it crashes somewhere, you need to do something.

Or provide actual information, if you want help.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: Ground effects
« Reply #10 on: February 09, 2013, 06:04:52 pm »
This application has encountered a critical error:

ERROR #132 (0x85100084) Fatal Exception
Program: D:World of Warcraft 2 - Siruswow.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:007B31F8
 Somewhere it works normal, but when I enter some chunks WoW instantly crashes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Ground effects
« Reply #11 on: February 09, 2013, 06:46:13 pm »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Snys

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: Ground effects
« Reply #12 on: February 11, 2015, 08:20:45 am »
Sorry for my inglish ( i'm french ),
But this topic it"s for create a new ground effect on a adt, well me l Just want to delete a ground effect on a adt.
How I can do for delete a ground effect on a adt?
Thanks. :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Ground effects
« Reply #13 on: February 11, 2015, 12:10:26 pm »
Enter effect ID 0?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Snys

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: Ground effects
« Reply #14 on: February 11, 2015, 04:23:09 pm »
ID : 0 don't work..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »