How to use the Model Changer event

Started by BlackJax96, July 10, 2012, 03:20:22 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

So the event "Model Changer" 1 & 2 hasn't been understood properly for a while.

And in case you didn't know, an "index" is the number, id, location, etc of a node in a list starting from 0.
So the first node in a list would have an index of 0, the second would have an index of 1, etc.

So here's how it works:

There's a node in the data section of each moveset called "Model Visibility".
The model visibility node has references 1 & 2.

Reference 1 is for the event Model Changer 1, and Reference 2 is for the event Model Changer 2.
Each reference has switches.

Each switch node has multiple groups of bones located in them.

It's just like VIS0. Those are bones that are attached to objects. When the bone group is turned on, all objects attached to all the bones in the group will become visible.

Each switch node has one value in it that you can modify.
That value is the index of the group of bones that will be visible at the start of every subaction.

Now to explain what the actual event does.

The event has two parameters:
- Switch Index
- Bone Group Index

I believe this is self explanatory:
Switch index is the index of the switch to select groups from.
Bone Group index is the index of the group of bones that you want visible.

Using the model changer will make only that group of bones visible. All other bone groups will be turned off.

Now if you set the Bone Group Index to a value less than zero or greater than the amount of groups available, all objects will become invisible.




I think that explains it all. Feel free to ask questions or correct me on anything if I'm wrong.
I'll have pictures up... sometime. Although you really shouldn't need them if you can see already.


This is how mariodk does the Fire Mario transformations.

Quote from: Eternal Yoshi on July 10, 2012, 03:23:24 AM
This is how mariodk does the Fire Mario transformations.

mmmmmk

I just made the tutorial because now the model visibility node is fully editable (you can add new switches, groups and bones) and I wanted people to know exactly how it works with the event. Tabuu made it kinda hard to understand before.

Quote from: Eternal Yoshi on July 10, 2012, 03:23:24 AM
This is how mariodk does the Fire Mario transformations.
Yep, but he just used the changer for Mario's hair polygons.
I make YouTube videos, SM64 hacks, Brawl Hacks (obviously), NSMBW hacks, and GoldenEye 007 Mods. I also have a short attention span and tend to switch around a lot and put things on hold. But when I do finish things, 95% of the time I gave 120% effort, the other 5% of the time I give 100% effort.

July 12, 2012, 12:20:41 AM #4 Last Edit: July 12, 2012, 12:22:04 AM by mr.mugenwii
Quote from: Eternal Yoshi on July 10, 2012, 03:23:24 AM
This is how mariodk does the Fire Mario transformations.

You know how when u set the eyellowm to turn on during the final smash, you can "add" an extra object:
So does this mean we can still "add" an extra object when the eyeyellowm calls for it but at the same time have the power to "disable" another object???

now that would be epic...

Quote from: mr.mugenwii on July 12, 2012, 12:20:41 AM
You know how when u set the eyellowm to turn on during the final smash, you can "add" an extra object:
So does this mean we can still "add" an extra object when the eyeyellowm calls for it but at the same time have the power to "disable" another object???

now that would be epic...


Yep, just add another bone into the same bone group as EyeYellowM. :)

July 12, 2012, 12:27:21 AM #6 Last Edit: July 12, 2012, 12:31:40 AM by mr.mugenwii
Quote from: BlackJax96 on July 12, 2012, 12:22:58 AM
Yep, just add another bone into the same bone group as EyeYellowM. :)
how about disabling an object when final smash???

i guess look into the model visibiltiy stuff and "delete" one group of objects???[

what im trying to say is that is it possible to disable an object during final smash instead of enabling an object?

Quote from: mr.mugenwii on July 12, 2012, 12:27:21 AM
how about disabling an object when final smash???

i guess look into the model visibiltiy stuff and "delete" one group of objects???


Just make a new bone group that's the same as the other one but remove the bones you don't want visible. Then just switch to that group when you want the bones off.

July 12, 2012, 12:33:48 AM #8 Last Edit: July 12, 2012, 12:37:07 AM by mr.mugenwii
Quote from: BlackJax96 on July 12, 2012, 12:30:06 AM
Just make a new bone group that's the same as the other one but remove the bones you don't want visible. Then just switch to that group when you want the bones off.


if u can add new bone groups with no restrictions than i think i know what you mean...

I wonder who will be the first to take this into actiooonnnn!!
man wit so many new posibilities its a shame some people are thinking of abandoning brawl hacks...

July 12, 2012, 03:20:59 AM #9 Last Edit: July 12, 2012, 04:41:03 AM by Snivy
All right, so I think I know what you're saying, If I add a couple of bone switches, then call them in BB, then I can add them by using Model Changer. I'm testing it first, then I'm going to post pictures if it works. Thanks for this tutorial, I'll ask questions if I need help.

Edit: I think I did something wrong. I added a couple of bone switchers to the first, (Reference 1.) I've added a couple of bones to the model I'm using, so tell me if that is the problem.
OK, the picture of the bone reference adds...
Sorry but you are not allowed to view spoiler contents.

(Note that there was no error on save)
here's what happens on BB.
Sorry but you are not allowed to view spoiler contents.

Please tell me what I did wrong?
Also, here is the one I edited: http://www.mediafire.com/?pdarxz117o7z6p1
My 3DS Friend code : 3411-0459-5550
PM me your FC as well, K?
In my Friend Safari:
Sorry but you are not allowed to view spoiler contents.

My Blog: (http://snivymodding.blogspot.com/)
Quote from: BlackJax96 on May 17, 2012, 11:05:22 PM
I live life on the EDDDGGGGEEEEE

Quote from: Snivy on July 12, 2012, 03:20:59 AM
All right, so I think I know what you're saying, If I add a couple of bone switches, then call them in BB, then I can add them by using Model Changer. I'm testing it first, then I'm going to post pictures if it works. Thanks for this tutorial, I'll ask questions if I need help.

Edit: I think I did something wrong. I added a couple of bone switchers to the first, (Reference 1.) I've added a couple of bones to the model I'm using, so tell me if that is the problem.
OK, the picture of the bone reference adds...
Sorry but you are not allowed to view spoiler contents.

(Note that there was no error on save)
here's what happens on BB.
Sorry but you are not allowed to view spoiler contents.

Please tell me what I did wrong?
Also, here is the one I edited: http://www.mediafire.com/?pdarxz117o7z6p1

Thanks, I've fixed the issue :)
The amount of switches for each reference needs to be the same, I forgot about that.

Quote from: BlackJax96 on July 12, 2012, 04:20:39 AM
Thanks, I've fixed the issue :)
The amount of switches for each reference needs to be the same, I forgot about that.
Oh, that would explain it. Thanks for the help.
My 3DS Friend code : 3411-0459-5550
PM me your FC as well, K?
In my Friend Safari:
Sorry but you are not allowed to view spoiler contents.

My Blog: (http://snivymodding.blogspot.com/)
Quote from: BlackJax96 on May 17, 2012, 11:05:22 PM
I live life on the EDDDGGGGEEEEE

So I see how you can make Ikaros' eyes change to red version when she attacks.

Quote from: SmashClash on July 12, 2012, 05:02:20 AM
So I see how you can make Ikaros' eyes change to red version when she attacks.

Yep, this is what I plan to use for a lot of Ikaros' stuff ;O

so does anyone sucefully made a model changer on eye yellow that turns some polygons invisible while showing  the eye yellowM objects?
Sorry but you are not allowed to view spoiler contents.