Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: Kobiesan on December 16, 2017, 04:45:53 am

Title: How to edit an existing ribbon?
Post by: Kobiesan on December 16, 2017, 04:45:53 am
I'm trying to make a new ribbontrail like sprint for rogues except rainbow colored. I don't know where to start and I've found no useful information on converting the ribbontrail.m2 file to something useful or whether or not the .skin file is relevant. Does anyone have any idea?
Title: Re: How to edit an existing ribbon?
Post by: inico on December 16, 2017, 03:50:55 pm
I'm trying to make a new ribbontrail like sprint for rogues except rainbow colored. I don't know where to start and I've found no useful information on converting the ribbontrail.m2 file to something useful or whether or not the .skin file is relevant. Does anyone have any idea?

Open the model with 010editor (https://www.sweetscape.com/download/010editor/) and run the m2 template (http://www.modcraft.io/index.php?topic=828.msg50587#msg50587).

Just edit the texture name and put the one with the rainbow. If you want to edit the ribbon texture id just go to the ribbon struct and change the "VTextures" id, but that's not necessary.

Check how my Whimsyshire Cloud mount (http://www.modcraft.io/index.php?topic=12456.0) works.
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 16, 2017, 08:20:28 pm
I'm trying to make a new ribbontrail like sprint for rogues except rainbow colored. I don't know where to start and I've found no useful information on converting the ribbontrail.m2 file to something useful or whether or not the .skin file is relevant. Does anyone have any idea?

Open the model with 010editor (https://www.sweetscape.com/download/010editor/) and run the m2 template (http://www.modcraft.io/index.php?topic=828.msg50587#msg50587).

Just edit the texture name and put the one with the rainbow. If you want to edit the ribbon texture id just go to the ribbon struct and change the "VTextures" id, but that's not necessary.

Check how my Whimsyshire Cloud mount (http://www.modcraft.io/index.php?topic=12456.0) works.

So I changed the gradient, made a new .m2 and .skin but it's affecting the original sprint for some reason?

Edit: Nvm I updated the original ribbontrail with the new gradient.

Thanks for the help https://gfycat.com/GrandioseCrispAbyssiniangroundhornbill
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 17, 2017, 05:36:30 am
How do I make the name of the texture longer in 010 editor? It doesn't count it in it's name?
Title: Re: How to edit an existing ribbon?
Post by: inico on December 17, 2017, 06:32:40 pm
How do I make the name of the texture longer in 010 editor? It doesn't count it in it's name?

(https://i.imgur.com/lVwKLsJ.jpg)
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 17, 2017, 09:41:00 pm
That helps a lot thanks.

One more question. I tried changing every texture to a different color for fireball but it's still orange and I'm not sure where it's coming from?
Title: Re: How to edit an existing ribbon?
Post by: inico on December 17, 2017, 10:18:29 pm
That helps a lot thanks.

One more question. I tried changing every texture to a different color for fireball but it's still orange and I'm not sure where it's coming from?

What fireball? I guess it's a particle. In that case open the particles and do this:
(https://i.imgur.com/ppNNBKY.jpg)

(Use any color picker, like the one from MSPaint, Photoshop, Gimp, etc.)

Example:
(https://i.imgur.com/H8ybwAW.jpg)
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 18, 2017, 08:37:58 am
Nice. So I got everything mostly working. Except sometimes the particles will appear as green boxes. I can't seem to tell what causes it to happen, but it'll work normally then I'll log out or something and the particles become green boxes.
Title: Re: How to edit an existing ribbon?
Post by: schlumpf on December 18, 2017, 10:27:45 am
Green boxes are 99% of the time missing textures. You may have misspelled a filename.
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 18, 2017, 08:18:01 pm
Green boxes are 99% of the time missing textures. You may have misspelled a filename.

It's weird though. I cast it once and the precast and cast are fine but the missile is a green box, then I cast it again and the missile is fine but the cast is a green box? Then I casted it again and it all worked fine. All of the textures are there.

Do I need to change the struct filename_ModelName as well?
Title: Re: How to edit an existing ribbon?
Post by: inico on December 18, 2017, 08:50:57 pm
It's weird though. I cast it once and the precast and cast are fine but the missile is a green box, then I cast it again and the missile is fine but the cast is a green box? Then I casted it again and it all worked fine. All of the textures are there.

Could you post a picture? Is it a green box or a green billboarded plane? Is the texture square or rectangular?

Do I need to change the struct filename_ModelName as well?
That's not necessary.
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 18, 2017, 10:22:43 pm
It's weird though. I cast it once and the precast and cast are fine but the missile is a green box, then I cast it again and the missile is fine but the cast is a green box? Then I casted it again and it all worked fine. All of the textures are there.

Could you post a picture? Is it a green box or a green billboarded plane? Is the texture square or rectangular?

Do I need to change the struct filename_ModelName as well?
That's not necessary.

I can't seem to reliably recreate it. Once it happens again I'll post a picture. Do you want me to post the patch so you can try it?
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 22, 2017, 07:51:29 am
So, I did power word: shield and I am 100% positive I am not missing any textures yet the green box thing still occurred. I logged out and back in and it was gone?
Title: Re: How to edit an existing ribbon?
Post by: inico on December 22, 2017, 03:03:58 pm
So, I did power word: shield and I am 100% positive I am not missing any textures yet the green box thing still occurred. I logged out and back in and it was gone?

Yet you didn't take any screenshot :P
Try this: add a few "0"s at the end of your file and see if it still occurs.
(https://i.imgur.com/ZZkGNOB.jpg)
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 22, 2017, 11:06:19 pm
So, I did power word: shield and I am 100% positive I am not missing any textures yet the green box thing still occurred. I logged out and back in and it was gone?

Yet you didn't take any screenshot :P
Try this: add a few "0"s at the end of your file and see if it still occurs.
(https://i.imgur.com/ZZkGNOB.jpg)

Here's a picture of it happening with fear.
(https://i.imgur.com/bqFpwUE.png)
Title: Re: How to edit an existing ribbon?
Post by: inico on December 22, 2017, 11:57:12 pm
Here's a picture of it happening with fear.

Is the texture square or rectangular? That bug happens a lot with custom rectangular textures.
If square, change them to rectangular.

Also, add a few 0s at the end of your file and add 1 digit to your texture length. For example, if your texture has 12 characters, change it to "13". If your texture is 24, change it to "25" and so on.
Title: Re: How to edit an existing ribbon?
Post by: Kobiesan on December 23, 2017, 05:22:52 am
Here's a picture of it happening with fear.

Is the texture square or rectangular? That bug happens a lot with custom rectangular textures.
If square, change them to rectangular.

Also, add a few 0s at the end of your file and add 1 digit to your texture length. For example, if your texture has 12 characters, change it to "13". If your texture is 24, change it to "25" and so on.

I'm not resizing the textures. I'm editing them in photoshop and reconverting them to BLP. But I'll try adding an extra character.