AFX Selectrons and Other Goodies
by Jeff Faust · 07/28/2006 (10:53 am) · 33 comments
My previous blog entries covering Arcane-FX development have mostly been about spellcasting effects. For this blog, I'm going to set aside magic effects for a bit and present some other kinds of special effects and special effects tools we've been developing for AFX.
When we first started development on Arcane-FX, we were not thinking much beyond spellcasting and other magic effects. It was the early days of World of Warcraft, and the whole notion of AFX grew out of a determination to recreate, in TGE, the kind of spell effects I was seeing in WoW. However, once we got the first few AFX spells working, it was clear that the same mechanisms we had developed for crafting magic effects could also be used for other kinds of special effects. Now, we finally have some concrete examples.
Selectrons
It's understandable if you don't know what a selectron is, since it's a word we made up. Selectrons are what we call the effects used to indicate that a scene object is selected. They are usually used for picking a target of some kind. The target of a spell, the target of a conversation, etc.
Selectron effects were not something we planned for. We just suddenly discovered that we needed a way to make them. AFX target selections were originally a simple red circle projected on the ground below a character. It was static and fairly hardcoded.

One day Matt asked if we could make the red circle glow briefly when first selected so that it would reflect the behavior of the casting zodiacs in many of his spell designs. I spent about 10 minutes thinking about a quick and dirty way to add an animated glow to the selection circle, before I realized that what we really needed was a way to create selection effects that was parallel to the way we created spellcasting effects.
In AFX, special effects are organized using an effects choreographer. The choreographer used for spellcasting is called afxMagicSpell. To create dynamic selection effects, we made a new choreographer called afxSelectron. It's a bit simpler than afxMagicSpell, but it generally works much the same way, and this really opens the doors to designing some very interesting selection effects. And unlike spellcasting effects, you usually want selectrons to execute only on the client used by the player actually making the selection. afxSelectron takes care of this.

Well, what can you do with a selectron? If you prefer to show a selection using a texture below the selected object, you can do that with zodiacs. They can be layered and animated creating something much more dynamic than a static circle. If you prefer to show selections with some kind of geometry hovering above the selected object, that's easy too. Attaching separate sound effects for object selection and deselection is trivial. The selection effects in WoW are pretty simple, a colored circle beneath the selected character. But if you look closely, you'll notice that the selections are not really circles but somewhat crescent-like, and very subtly, the fat part of the crescent always points toward the camera. This camera tracking is easily reproduce in AFX by aim constraining a zodiac to the camera. Here are some stills of some example selectrons we've created.

The selectrons shown in the pics are dynamic, so you may get a better impression of this viewing the Selectrons movie here. Also, the movie is silent, but our default AFX selectron has separate sound effects for the select and deselect actions.
Sci-Fi Effects
Our results here are still rather preliminary, but we have started experimentally applying AFX to the realm of sci-fi and other futuristic effects. Matt's first creation is a spell-like effect that materializes a small personal attack satellite that orbits the player, executes a deadly laser attack, and then dematerializes. A nice aspect of the effect is the way that the hovering drone appears to kick up dust clouds as it moves over the ground. We think there's room for improvement in the lasers and would like to explore development of a special energy beam type projectile.

Beyond the satellite effect, there are a few details about the space helmet that are worth mentioning. In the AFX demo, when you go to the spellbank containing the satellite effect, the demo enters a simple Sci-Fi mode. It switches the targeting selectron to a sci-fi style and adds a space helmet to the player's orc. The space helmet is not part of the orc model and it is not added using the mount mechanism. The helmet is an afxModel effect and it is constrained to the orc's head using an Effectron. Effectron is the name we give to a simple one-stage choreographer that is very useful for simple effects groupings. Here it's used to add some special gear to the player character. Effectrons are also useful for adding effects to a freshly dropped item, to an unlooted corpse, or for subtle environment effects. They are also potentially useful for melee effects, and weapon embellishments.

For more, visit arcane-FX.com.
When we first started development on Arcane-FX, we were not thinking much beyond spellcasting and other magic effects. It was the early days of World of Warcraft, and the whole notion of AFX grew out of a determination to recreate, in TGE, the kind of spell effects I was seeing in WoW. However, once we got the first few AFX spells working, it was clear that the same mechanisms we had developed for crafting magic effects could also be used for other kinds of special effects. Now, we finally have some concrete examples.
Selectrons
It's understandable if you don't know what a selectron is, since it's a word we made up. Selectrons are what we call the effects used to indicate that a scene object is selected. They are usually used for picking a target of some kind. The target of a spell, the target of a conversation, etc.
Selectron effects were not something we planned for. We just suddenly discovered that we needed a way to make them. AFX target selections were originally a simple red circle projected on the ground below a character. It was static and fairly hardcoded.

One day Matt asked if we could make the red circle glow briefly when first selected so that it would reflect the behavior of the casting zodiacs in many of his spell designs. I spent about 10 minutes thinking about a quick and dirty way to add an animated glow to the selection circle, before I realized that what we really needed was a way to create selection effects that was parallel to the way we created spellcasting effects.
In AFX, special effects are organized using an effects choreographer. The choreographer used for spellcasting is called afxMagicSpell. To create dynamic selection effects, we made a new choreographer called afxSelectron. It's a bit simpler than afxMagicSpell, but it generally works much the same way, and this really opens the doors to designing some very interesting selection effects. And unlike spellcasting effects, you usually want selectrons to execute only on the client used by the player actually making the selection. afxSelectron takes care of this.

Well, what can you do with a selectron? If you prefer to show a selection using a texture below the selected object, you can do that with zodiacs. They can be layered and animated creating something much more dynamic than a static circle. If you prefer to show selections with some kind of geometry hovering above the selected object, that's easy too. Attaching separate sound effects for object selection and deselection is trivial. The selection effects in WoW are pretty simple, a colored circle beneath the selected character. But if you look closely, you'll notice that the selections are not really circles but somewhat crescent-like, and very subtly, the fat part of the crescent always points toward the camera. This camera tracking is easily reproduce in AFX by aim constraining a zodiac to the camera. Here are some stills of some example selectrons we've created.

The selectrons shown in the pics are dynamic, so you may get a better impression of this viewing the Selectrons movie here. Also, the movie is silent, but our default AFX selectron has separate sound effects for the select and deselect actions.
Sci-Fi Effects
Our results here are still rather preliminary, but we have started experimentally applying AFX to the realm of sci-fi and other futuristic effects. Matt's first creation is a spell-like effect that materializes a small personal attack satellite that orbits the player, executes a deadly laser attack, and then dematerializes. A nice aspect of the effect is the way that the hovering drone appears to kick up dust clouds as it moves over the ground. We think there's room for improvement in the lasers and would like to explore development of a special energy beam type projectile.

Beyond the satellite effect, there are a few details about the space helmet that are worth mentioning. In the AFX demo, when you go to the spellbank containing the satellite effect, the demo enters a simple Sci-Fi mode. It switches the targeting selectron to a sci-fi style and adds a space helmet to the player's orc. The space helmet is not part of the orc model and it is not added using the mount mechanism. The helmet is an afxModel effect and it is constrained to the orc's head using an Effectron. Effectron is the name we give to a simple one-stage choreographer that is very useful for simple effects groupings. Here it's used to add some special gear to the player character. Effectrons are also useful for adding effects to a freshly dropped item, to an unlooted corpse, or for subtle environment effects. They are also potentially useful for melee effects, and weapon embellishments.

For more, visit arcane-FX.com.
About the author
Jeff Faust creates special effects indie middleware and games for Faust Logic. --- Blog: Effectronica.com --- Twitter: @FaustLogic
#3
07/28/2006 (11:28 am)
Fantastic Jeff! great stuff.
#4
07/28/2006 (11:36 am)
I neglected to mention that, other than the silly exploding selectron (in the movie), all the nice and clever selectron designs were created by Matt Durante.
#5
07/28/2006 (12:03 pm)
What will need besides a stock Torque, when this comes out ? The lighting kit?
#6
07/28/2006 (12:15 pm)
@ Terrance -- Stock TGE is the only requirement although it works with TLK which I'm sure will be a popular combo. It's probably worth noting that, so far, all the images I've posted here at GG and at arcane-fx.com have been created with stock TGE with AFX enhancements. TLK and other Torque add-ons have not been used for any of them.
#7
Hall Of Worlds - For Gamers
EdM|GPGT
07/28/2006 (12:35 pm)
Rock on! I love this work. I bet it is going to be very popular.EdM|GPGT
#8
07/28/2006 (12:58 pm)
I could see this being applicable as a great general upgrade to TGE's effects system. The "selectrons" with being able to easily display mounted client side effects, would be a very useful ability across all kinds of games.
#9
Regards,
Dreamer
07/28/2006 (1:04 pm)
Where are you drawing selectrons? The logical place to me would seem to be ShapeBase::Render but I can't get anything to stick to the terrain there, the best I've been able to do is a gludisc that looks like it's cutting a buzz saw in the terrain if the terrain doesn't happen to be level.Regards,
Dreamer
#10
07/28/2006 (1:05 pm)
Awesome work!! Will definately buy this.
#11
07/28/2006 (1:10 pm)
This is about as cool as cool gets. Sweet.
#12
I'm sure I could figure out something :)
07/28/2006 (1:31 pm)
Agreed this is very cool. I wasn't sure if I would ever need something like this before but I think i'm sold :)I'm sure I could figure out something :)
#13
07/28/2006 (1:32 pm)
Woah. Extremely well-executed.
#14
07/28/2006 (1:47 pm)
WOW, Oustanding work. I am waiting to buy.
#15
07/28/2006 (2:24 pm)
My webhost appears to have suffered a catastrophic power outage of some kind. The pictures may be unreachable for a while.
#16
07/28/2006 (4:02 pm)
*jaw drops* You guys rock, expands on TGE so well, great job!
#17
Where do I sign?
07/28/2006 (4:31 pm)
OK, this is amazing. I've been following this with interest since you started talking about it, but now I'm officially excited about it. Some of these things are perfect for my game.Where do I sign?
#18
07/28/2006 (5:33 pm)
Wow these are amazing. i thought it was purely for fantasy games but the scifi stuff looks great.
#19
07/29/2006 (1:36 am)
This is really exciting! Those effects are beautiful.
#20
07/29/2006 (3:33 am)
I was gonna AFX anyway but this just makes it even more perfect for my game, Im the only one doing work on this project atm so this will be the single biggest help in the world. Thanks for your hard work and effort :) 
Torque Owner Skylar Kelty
SkylarK