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: [TUTORIAL:Tools] How to clone particles ?  (Read 3044 times)

Met@

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 120
    • View Profile
[TUTORIAL:Tools] How to clone particles ?
« on: June 21, 2016, 04:24:02 am »
In this tutorial I'll explain to you how to clone particles from a model to another one with the help of ParticleCloner, a tool made by Tigurius. This tool is old, so it doesn't work with Cata+ models since the structure of the m2's has changed. I didn't tried with spell models from Cata and up (only doodads or creatures), maybe it's different and it can work, but not sure.

EDIT : it can load WoD or Legion models, but it's pretty random, if the models are similar it can work, sometimes not, just do some tests and try.



What programs do we need ?



- ParticleCloner

- 010 editor (with m2 template)

What's the process ?



First, choose the particles you need in WowModelViewer on the model that you want.

For this tuto I choose particles from the spell Arcane_form_precast.m2 to put on 2 models, one without bones or animations, and one with both : misc_2h_pitchfork_a_01.m2 and sheep.m2 .



To make the transfert, select first the "destination" model, CTRL+left click to select the second "source" model and drag&drop on the application. (Always do backups if you did it in the wrong way, this program overwrite the original file ! )



When it's done, you'll have the particles at the same place of its original model.



 Now, you certainly want to move the particles to the right place.

Open the m2 with 010editor and load the M2 Template. Go to the end of the file at the line " struct Particle ". You'll have all the informations you need, the attached bones, coordinates, etc...

Particles have the bone from the original model, for a simple animation like this, there's only one bone. For this fire, there's three elements (flames, smoke and sparks), so there's 3 bones. I used it for a Sargeras model.





You have to set the number of the bone where you want the particles to be. To move it to the right place, go to the " struct FloatVec3 pos " line. As you can see on the picture above, I modified the values on the x axis.



You can change what you want to have the good coords. Just try and retry with the help of WMV to visualize the result. For the sheep, I set the particles on bone 3 who's attached to the head.



This tool can copy the texture path of the BLPs used by the particles.



But when you'll go ingame to see if it works, you'll have little cubes instead of the texture. WMV can load them, but not WoW.



Why ? Because the tool does some mess too. In the " struct VModelFileName " 1 & 2, you have random symbols at " struct filename texture > string value " . Delete all and reload the template, or save and close the model. Do it for each particle in your model.



And it's finally done ! Good job, you can manage particles !



PS : for unknown reasons, my fork is invisible ingame after I added the particles on it. Maybe because the model doesn't have enough "informations" in it because it's a little model, or because there's no bones in the original model. I don't know. Maybe one of you will find the solution ?
« Last Edit: June 26, 2016, 12:37:01 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [TUTORIAL:Tools] [WotLk] How to clone particles ?
« Reply #1 on: June 21, 2016, 08:18:48 am »
That gave me an idea for my project too. Thanks for tut mate.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

IPEINA

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [TUTORIAL:Tools] How to clone particles ?
« Reply #2 on: December 30, 2016, 02:30:22 pm »
THE  particlecloner  is "File has expired and does not exist anymore on this server"
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

inico

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 243
    • View Profile
    • http://www.youtube.com/inicocustom
Re: [TUTORIAL:Tools] How to clone particles ?
« Reply #3 on: December 30, 2016, 05:13:24 pm »
Quote from: "IPEINA"
THE  particlecloner  is "File has expired and does not exist anymore on this server"

Here you go:
https://www.mediafire.com/?6rey8d9mp5xpzx6
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

IPEINA

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [TUTORIAL:Tools] How to clone particles ?
« Reply #4 on: January 11, 2017, 02:34:18 pm »
Only from large files into small file transfer?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »