Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Tutorials => Topic started by: schlumpf on May 19, 2012, 08:18:02 pm

Title: Removing Particle Emitters From a Model
Post by: schlumpf on May 19, 2012, 08:18:02 pm

Removing Particle Emitters From a Model


To remove particle emitters from a model, you have to remove particle emitters from the model. This is done by setting the number of particle emitters to zero. To do so, use any hex editor you can find and set the number of particle emitters to zero.

What To Do?


Change the number of particle emitters to zero. Do so by opening the file in a hex editor and set the number at the offset for the number of particle emitters to zero. You may also set the offset to zero.

You can find the offset in the wiki. (http://pxr.dk/wowdev/wiki/index.php?title=M2/WotLK)

Tool For The Lazy


Code: [Select]
#include <cstdio>
int main(int, char** argv)
{
  FILE* f (fopen (argv[1], "rw"));
  const int null (0);
  fseek (f, 0x128, SEEK_SET);
  fwrite (&null, 4, 1, f);
  fwrite (&null, 4, 1, f);
  fclose (f);
  return 0;
}