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: Removing Ribbon Emitters From a Model  (Read 2308 times)

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Removing Ribbon Emitters From a Model
« on: May 19, 2012, 08:17:45 pm »

Removing Ribbon Emitters From a Model


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

What To Do?


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

You can find the offset in the wiki.

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, 0x120, SEEK_SET);
  fwrite (&null, 4, 1, f);
  fwrite (&null, 4, 1, f);
  fclose (f);
  return 0;
}
« Last Edit: January 01, 1970, 01:00:00 am by Admin »