wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Tutorials > Modeling Tutorials
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 06-22-2007, 03:35 PM   #1
WILL THE ALMIGHTY
. . .
 
WILL THE ALMIGHTY's Avatar
 
Join Date: Oct 2006
Posts: 1,529

Submissions (21)

WILL THE ALMIGHTY is just really nice (284)WILL THE ALMIGHTY is just really nice (284)

Default Making Effects in Magos

SFX in MAGOS


Here I will show you the basic knowledge of Magos and how to make special effects with it. Now, I expect you to know some basic modding knowledge, I won't talk to you about how blp's work, what alpha layers are and the like, so if you encounter something you don't know about, feel free to search for a definition/tutorial on it.

GETTING STARTED:
Get Magos' Model Editor.

The first time you open it, you should see a big gray screen, with a tab bar.
In this tutorial, we will make a completly new FX, with only particles, and no geosets. Then we'll move on to geosets and other things Magos can do.

Now, if there's one thing to keep in mind is:
Messing around with Magos, and generaly testing new things is perfect way to learn how it works. In fact, I suggest you always try out different combinations, so you get to know exactly what it can do.


SFX EXAMPLE 1: Random fiery explosion
Step 1:
Click on "file", then on "New"

First thing to understand is the frame system. Warcraft 3 uses a speed of 960 frames per second, don't know why.
Now go to Windows/Sequence Manager and right click in the blank screen, and then click "Create New". A new box will open, where you will see different things. Name the new sequence Birth.
NOTE: Remember, birth anims are single anims, which happen once and stop, like the Steam tank effect.

The first part (upper) is the extent section. Don't worry about it for now.
The second part (middle) has two empty fields: Start and End.
A sequence is basically animations. They start at a certain frame number and end at another. So for our sequence, we'll start it at "0", and end it at "2000" (which means roughly 2 seconds of animation). Then we're going to check "non-looping", to make sure our FX doesn't repeat uselessly. This tag shouldn't be checked for repeating anims like stand anims.
We're done with the sequence manager, now you can close it.

Zoom (requires log in)


=== === === === === === === === === === === === === === ===

Step 2:
Next part is textures.
Open up the texture manager and the MPQ browser. We'll start with the MPQ browser:
Open the MPQ you want (go to file and click on the MPQ you want to open) and open up the "textures" folder. This is the folder with the most textures. Right-click one of the textures and select "use as texture". This makes sure the texture you're using is ingame, and you won't need to import anything.
However, if you need a custom texture, import it in the texture manager using "right-click/import texture".

Some very commonly used textures include (either in War3.mpq or War3x.mpq):
-cloud8x8.blp (and all other variations)
-Genericglow64.blp
-Blueglow.blp, redstar.blp and similar
-Shockwave10.blp and similar

Keep in mind both MPQ have variants of these textures, and some textures are exclusive to an MPQ.
Ok, so select Cloud8x8fire.blp, Cloud8x8.blp, shockwave10.blp and genericglow64.blp for our example.

Zoom (requires log in)


=== === === === === === === === === === === === === === ===

Step 3:
Here starts the real editing....
Open up the animation controler. It's easy enough to work with, I doubt I need to explain it. Then open up the node manager, again, it should be a blank page. Right-click on that blank and select "Create Particle Emmiter 2". There are other types of nodes you can create, but we'll stick to this one right now.

So you click and BAM! You have loads of different settings. Stop hyperventilating and calm down, everything will make sense soon.

First thing we'll do is set the texture parameters (left part with the scroll down thingy and filter selector):
Set the scrolly thingy to Cloud8x8fire.blp and the filter to additive.

Quote:
Here's some useful info for you, so you can better understand how MDX's work. (Thanks to RDZ for the info, but I won't list it all here, its a bit complicated...)
Filters are ways of removing those annoying parts from a texture, like the black background, or the alpha layer. These filters also apply to matrial layers, something that doesn't really habve to to with this. Here's a list of the available filters and how (I think) they work:
-Transparent: This alpha's out the alpha layer. Actually, RDZ just explained what it does... Just remember it doesn't do any fading from opaque to transparent.
-Blend: Works like Transparent, but much more useful. This DOES have some good fading. Anyways, its good for smoke, and dust effects.
-Additive: This removes the black from textures, more or less (see RDZ's post for a full explanation). When used on a regular skin, it will appear ghosty, and does somewhat the same thing to the particles. Good for fire, water, lights and a lot of other things.
-Add Alpha: Works like Additive, however not that much. I haven't experienced much with it, so I'd say you might as well stick to additive.
-Modulate: Does the opposite of Additive, as in, removes the white, and makes the texture darker. This is good for shadowy glows, or other black textures. There aren't many textures that work with this however. Oh, and remember that modulate doesn't allow for a particle to fade out (in the segments part)...

=== === === === === === === === === === === === === === === === === ===

Then we're going to look at the upper parts.
First things first:

-Visibility: controls whether the emmiter emits or not. Right now, click "animate" and you'll see something like:
Code:
0:1
This means the emmitter will be emitting at frame 0, and won't stop until its told to. (remember, 1 means that the emmiter is there, 0 means it isn't)
So the question is, how do we stop it from emmiting? Lets say we want a short burst of particles:
Code:
0:1
100:1
This means it will be only emmiting for 1/10 of a second (from frame 0 to 100), which means a short burst of said particles.
You can "animate" loads of other things this way, and not only with 1 and 0.
-Emmission rate: controls the speed at which particles are emmitted. Again this can be animated as well (doesn't have to) and if you want it to grow from a certain value to another value, simply set the setting at the bottom of the animate box to "linear" (bexier and hermite are other types, slightly more complicated).
For now we'll set it to 700, since we want it to release a lot of particles at once (it won't release 700 at once though, since the emmiting time is so short). If you have a constant emmitter, I suggest to go lower, since high values means that many particles at the same time, and some computers can't take that.
-Speed: Controls the speed at which particles travel through 3d space. Simple, no? Set this to 150.
-Variation: Controls the variation of the speed setting. I don't know exactly what the values stand for, but I think they're percentages (1 means it can vary from twice its normal speed, etc...) Experiment with it to get a hang of how it works. Set this to 0.
-Latitude: This is a bit... complicated. This controls whether particles travel directly upwards, in a cone or in a sphere. Directly upwards is the "0" value, than from there to a certain value its all about how wide the emmiting cone is, and at a certain value it becomes a whole sphere. Again, experimenting with it helps. Set this 125 (for a half-sphere).
-Width and Length: Controls the width and length of the emmitter. From there you can make emmitters go from large squares or long bands. Set this to 0 each.
!NOTE! Magos has these two fields mixed! Width ingame is actually length, and length ingame is actually width!
-Gravity: Gravity is the rate at which particles are pulled down. it works just like the real world (you do know what that is, right?). Since fire has a tendency to go up, lets se this to -35

=== === === === === === === === === === === === === === === === === ===

Now lets check out the "Flags" part (left, middle to bottom):

-Unshaded: If it is checked, particles will not be affected by ingame lighting.
-Unfogged: Tells whether fog affects the particles or no. Check this.
-Alpha Key: No idea. Don't check it.
-Line emmitter: Tells whether the particles move in a 3 directional way or 2 directional way.
-Sort Primitive Far Z's: Don't really know, supposedly it fixes the "which particle is in front" problem... Check it (or don't, doesn't matter much)
-Model space: Lets say we put this on a unit, well when its moving, this tells if the particles move with it, or stay behind.
-XYQuad: Allows for Fllat particles. NOTE: Doesn't work ingame, unfortunatly, since this is one of the most useful things yet. But you can always start from an already made one (from a blizzard model for example).
-Squirt: I think this makes the particles face where its going.
-Head and Tail: Particles have two parts, the head and the tail. The head is just the texture, and the tail is a trail left behind the particles. The length is controled by the Tail length setting, and unfortunatly, tails aren't shown in the Model Editor, so the only way you can see the texture is with Head checked. Check Head only for our example. Actually, I hate to make the reference, but a particle is kinda like a spermatozoon.

=== === === === === === === === === === === === === === === === === ===

Now we'll take care of the bottom part...

-Rows and columns: If you had bothered opening cloud8x8fire.blp, you'd see that its composed of 64 little fire images disposed in a grid. So these two field are exactly for that: we tell the editor that the texture is divided in a grid of 8 rows and 8 columns. You'll soon understand how we can use that to our advantage.
-Life Span: Tells the editor how long we want the particle to live. Set this to 0.7.
-Tail length: This is the length of the tail.
-Priority Plane: Let say I have two emmiters, one of smoke and the other fire. I want the fire to always appear on top of the smoke, so I'll set Priority plane to higher than the other ammiters priority plane value. Set this to 1.
-Replaceable ID: Used for team colored particles. Set this to 0.
-Time: Notice the "segments" in the middle of the window. Every particle goes from segment 1 to segment 2 to segment 3 gradually. Time determines what percentage of the life span value is spent going from 1 to 2. So if set to 0.5, this means S1 will go to S2 at the same speed S2 will go to S3. If its 0.1, then S1 will go really rapidly to S2, but very slowly to S3 and etcetera. Set this to 0.2 since we want our fire to rapidly pop into existence.

=== === === === === === === === === === === === === === === === === ===

Lets look at the part right over the one we just took care of...

You'll notice 4 little boxes with three fields each. Remember that the 8X8 texture is like a grid? Well here we can choose whether we want to cycle through the mutiple images, or choose one in particular. I THINK the life span section controls the span of time between segment 1 and 2, while decay controls the span between S2 and S3.
So we want our fire to always be animated, but we don't have a tail so we don't need to modify it, set your fields to this:

Zoom (requires log in)


=== === === === === === === === === === === === === === === === === ===

Alright next step is to edit the segments... Set the colors to anything you like, it really doesn't matter what you want.
NOTE: remember alpha is the transparency of the particle, meaning 0 means invisible particle, and 255 means completly visible.
But lets say we want our fire to suddenly grow into existence, but then fade away slowly.

Quote:
IMPORTANT!
Two things can make a computer lag with particles, too many particles and giant particles. So always make sure your particles aren't too big, and that you don't have that many. Usually, 1000 particles is huge, even if they are small. Its important to have a low "lag factor" so your effect can be used more than once at a time without killing someone's computer.

You should get something like this:

Zoom (requires log in)


=== === === === === === === === === === === === === === === === === ===

WE'RE DONE!

Exit the node editor.
Ok, before viewing your model, do some things:
-Go to the tab "EDIT" on the toolbar, click on properties and go check the "debug messages" flag. This will show stats on the corner of your screen, where you can see the amount of particles, the zoom distance and etc... You can also swith on the "use ground texture" to see where the ground is on your model.
-Zoom out until you get to a distance of about 1600. If you are full screen, 1600 is the average ingame camera distance. This is to make sure your model is of a decent size.
-Go to the animation controller, and pick out your birth anim. Play it, enjoy your FX.



What? Don't find it too amazing? Don't worry, I plan to make new tutorials, explaining other Model editor functions, so you can know exactly how it works and become a l33t modeller.
Attached Images
File Type: jpg MagosEffects-Sequenceeditor.jpg (21.2 KB, 735 views)
File Type: jpg ME-Animatingtextures.jpg (12.6 KB, 651 views)
File Type: jpg ME-MPQbrowser.jpg (50.3 KB, 646 views)
File Type: jpg ME-Segments.jpg (12.2 KB, 690 views)
__________________
Quote:
[21-10-00] WILLTHEALMIGHTY: Ok I have this weird sound upstairs... BRB gotta go check it out.
[21-10-09] Ash: WILLTHEALMIGHTY, WAIT
[21-10-16] Ash: WILLTHEALMIGHTY, IT IS NOT SAFE OUT THERE, TAKE THIS!
[21-10-16] Ash gives WILL a kitten.

Last edited by WILL THE ALMIGHTY : 07-04-2007 at 09:20 PM.
WILL THE ALMIGHTY is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 06-23-2007, 03:21 PM   #2
Toink
User
 
Join Date: Oct 2006
Posts: 1,086

Submissions (3)

Toink is on a distinguished road (17)

Send a message via Yahoo to Toink
Default

I was gonna ask you to teach me how to make particles in Magos sooner or later, so I don't have to bug you anymore :p

GJ +Rep (whoops, must spread first :p)<3

Last edited by Toink : 06-23-2007 at 03:21 PM.
Toink is offline   Reply With Quote
Old 07-01-2007, 11:00 PM   #3
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Quite useful.
If you could attach the images to your post instead of linking to other sites this shouldn't have much trouble to get approved.
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 07-02-2007, 11:22 PM   #4
WILL THE ALMIGHTY
. . .
 
WILL THE ALMIGHTY's Avatar
 
Join Date: Oct 2006
Posts: 1,529

Submissions (21)

WILL THE ALMIGHTY is just really nice (284)WILL THE ALMIGHTY is just really nice (284)

Default

I'll attach them right away.
__________________
Quote:
[21-10-00] WILLTHEALMIGHTY: Ok I have this weird sound upstairs... BRB gotta go check it out.
[21-10-09] Ash: WILLTHEALMIGHTY, WAIT
[21-10-16] Ash: WILLTHEALMIGHTY, IT IS NOT SAFE OUT THERE, TAKE THIS!
[21-10-16] Ash gives WILL a kitten.
WILL THE ALMIGHTY is offline   Reply With Quote
Old 07-04-2007, 06:44 PM   #5
PitzerMike
Alcopops
 
PitzerMike's Avatar


Tools & Tutorials Moderator
 
Join Date: Jan 2003
Posts: 2,794

Submissions (12)

PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)PitzerMike is a splendid one to behold (643)

Approved Map: Pitzer's Minesweeper

Default

Thank you. I've changed the image tags so they show up full-size.
*approved*
__________________
Zoom (requires log in)
PitzerMike is offline   Reply With Quote
Old 07-06-2007, 06:39 PM   #6
JetFangInferno
I Break Chopsticks
 
JetFangInferno's Avatar


Project Member: PoC
 
Join Date: Feb 2004
Posts: 830

Submissions (71)

JetFangInferno is a glorious beacon of light (473)JetFangInferno is a glorious beacon of light (473)JetFangInferno is a glorious beacon of light (473)JetFangInferno is a glorious beacon of light (473)

Default

I'm gonna make a tut on particles next too! MUAHAHAHAHA! gj though :)
__________________
"My mom never saw the irony of calling me a son of a beotch"
Rep me if u like my sig. Rep me again if you like my models. Rep me again if you like me :D
JetFangInferno is offline   Reply With Quote
Old 07-07-2007, 04:38 PM   #7
kentchow75
User
 
kentchow75's Avatar
 
Join Date: Jun 2007
Posts: 44

kentchow75 has little to show at this moment (3)

Send a message via MSN to kentchow75
Default

Lol how come the image are so so so small to be seen?
kentchow75 is offline   Reply With Quote
Old 07-09-2007, 02:12 PM   #8
WILL THE ALMIGHTY
. . .
 
WILL THE ALMIGHTY's Avatar
 
Join Date: Oct 2006
Posts: 1,529

Submissions (21)

WILL THE ALMIGHTY is just really nice (284)WILL THE ALMIGHTY is just really nice (284)

Default

Try clicking on them.
__________________
Quote:
[21-10-00] WILLTHEALMIGHTY: Ok I have this weird sound upstairs... BRB gotta go check it out.
[21-10-09] Ash: WILLTHEALMIGHTY, WAIT
[21-10-16] Ash: WILLTHEALMIGHTY, IT IS NOT SAFE OUT THERE, TAKE THIS!
[21-10-16] Ash gives WILL a kitten.
WILL THE ALMIGHTY is offline   Reply With Quote
Old 07-24-2007, 11:56 AM   #9
Dojo
User
 
Join Date: Jul 2007
Posts: 15

Submissions (1)

Dojo has little to show at this moment (4)

Default

Is there any possibility to change the facing of a particle or rotating it.
Dojo is offline   Reply With Quote
Old 08-03-2007, 01:56 AM   #10
WILL THE ALMIGHTY
. . .
 
WILL THE ALMIGHTY's Avatar
 
Join Date: Oct 2006
Posts: 1,529

Submissions (21)

WILL THE ALMIGHTY is just really nice (284)WILL THE ALMIGHTY is just really nice (284)

Default

Not that I know of. I don't think MDX's can do that.
__________________
Quote:
[21-10-00] WILLTHEALMIGHTY: Ok I have this weird sound upstairs... BRB gotta go check it out.
[21-10-09] Ash: WILLTHEALMIGHTY, WAIT
[21-10-16] Ash: WILLTHEALMIGHTY, IT IS NOT SAFE OUT THERE, TAKE THIS!
[21-10-16] Ash gives WILL a kitten.
WILL THE ALMIGHTY is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 05:07 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services