Previous Blog Next Blog
Prev/Next Blog
by date

AFX Selectrons and Other Goodies

AFX Selectrons and Other Goodies
Name:Jeff Faust
Date Posted:Jul 28, 2006
Rating:5.0 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Jeff Faust

Blog post
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.

Recent Blog Posts
List:06/30/08 - AFX 1.1.2 for TGEA 1.7.1 (Limited) Open Beta 2
04/17/08 - AFX 1.1.2 for TGEA 1.7.0 Open Beta
12/13/07 - Preview Pics from AFX for TGEA
07/04/07 - AFX and Bottle Rocket Science
12/18/06 - AFX: Off to a Great Start
10/23/06 - AFX Presents: A Little Night Magic...
07/28/06 - AFX Selectrons and Other Goodies
02/20/06 - Arcane-FX: spellcasting effects for TGE (Update)

Submit ResourceSubmit your own resources!

James Thompson   (Jul 28, 2006 at 18:09 GMT)
NICE!

Ishbuu   (Jul 28, 2006 at 18:17 GMT)
That selection stuff is out of this world man, beautiful work.

[Ishbuu]

Todd Pickens   (Jul 28, 2006 at 18:28 GMT)
Fantastic Jeff! great stuff.

Jeff Faust   (Jul 28, 2006 at 18:36 GMT)   Resource Rating: 5
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.

Terrence Young   (Jul 28, 2006 at 19:03 GMT)
What will need besides a stock Torque, when this comes out ? The lighting kit?

Jeff Faust   (Jul 28, 2006 at 19:15 GMT)   Resource Rating: 5
@ 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.

Edward F. Maurina III   (Jul 28, 2006 at 19:35 GMT)
Rock on! I love this work. I bet it is going to be very popular.

Hall Of Worlds - For Gamers
EdM|GPGT

Edited on Jul 28, 2006 19:38 GMT

Paul /*Wedge*/ DElia   (Jul 28, 2006 at 19:58 GMT)
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.
Edited on Jul 28, 2006 19:58 GMT

Dreamer   (Jul 28, 2006 at 20:04 GMT)   Resource Rating: 5
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

Bryan Stroebel   (Jul 28, 2006 at 20:05 GMT)
Awesome work!! Will definately buy this.

Rubes   (Jul 28, 2006 at 20:10 GMT)
This is about as cool as cool gets. Sweet.

Michael Cozzolino   (Jul 28, 2006 at 20:31 GMT)   Resource Rating: 5
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 :)

Russell Fincher   (Jul 28, 2006 at 20:32 GMT)
Woah. Extremely well-executed.

Fucifer   (Jul 28, 2006 at 20:47 GMT)
WOW, Oustanding work. I am waiting to buy.

Jeff Faust   (Jul 28, 2006 at 21:24 GMT)   Resource Rating: 5
My webhost appears to have suffered a catastrophic power outage of some kind. The pictures may be unreachable for a while.

Tom Perry   (Jul 28, 2006 at 23:02 GMT)
*jaw drops* You guys rock, expands on TGE so well, great job!

Tim Sullivan   (Jul 28, 2006 at 23:31 GMT)   Resource Rating: 5
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?

Ian Roach   (Jul 29, 2006 at 00:33 GMT)
Wow these are amazing. i thought it was purely for fantasy games but the scifi stuff looks great.

Mathieu   (Jul 29, 2006 at 08:36 GMT)   Resource Rating: 5
This is really exciting! Those effects are beautiful.

Robert Russell   (Jul 29, 2006 at 10:33 GMT)
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 :)

Jeff Faust   (Jul 29, 2006 at 15:00 GMT)   Resource Rating: 5
@ Dreamer -- For decals that conform well to the terrain, any scene object that has to perform some kind of analysis of nearby terrain in order to reshape itself, will probably be too pricey. While structurally, it's messy, it's more efficient to customize the terrain to include a certain kind of decal texture in its own rendering. The terrain looks at an active list of decal textures while rendering. Other decal texture proxies determine placement in the scene and feed the decal list that the terrain looks at.
Edited on Jul 29, 2006 15:01 GMT

Korpos   (Jul 29, 2006 at 17:18 GMT)
It makes me want to selectron on something :D lol.. I really like the word.. sounds nice.. of course the effects are very very good.. :D

Martin @ Korpos

Mike Stoddart   (Jul 31, 2006 at 02:17 GMT)   Resource Rating: 5
Woah those are nice!

fireVein   (Aug 08, 2006 at 02:33 GMT)
I really like the direction that you guys are going with this. Very versatile and useful for all kinds of things. The possibilities are endless.

Excellent work! I am looking forward to its release.

-Jase

Edward Smith   (Aug 12, 2006 at 03:11 GMT)   Resource Rating: 5
This looks great and really looking forward to it, hopeing for a TSE version. Would it be hard to change it over to TSE?

Guimo   (Aug 12, 2006 at 15:55 GMT)
Just a question... will this work on Vehicles?

Guimo

Jeff Faust   (Aug 14, 2006 at 02:20 GMT)   Resource Rating: 5
@ Guimo - We haven't done any testing with vehicles and we haven't implemented any special vehicle oriented features (although it's a direction we'd like to explore). However, there are a number of AFX features that should work on any subclass of ShapeBase or any subclass of SceneObject, including vehicles. For example, you should be able to select vehicles, target vehicles, constrain effects to vehicles and named nodes of vehicles. attach selectrons to vehicles, use a vehicle as a spellcaster, etc.

Jon Paynter   (Aug 14, 2006 at 23:56 GMT)
Great looking effects here!

Any clue how hard it would be to create force-shield like effects.. ie -- bullets striking/bouncing off a force shield around someone or something?

Jeff Faust   (Aug 20, 2006 at 16:43 GMT)   Resource Rating: 5
@Jon Paynter - It's pretty hard to guess how difficult it might be to create the effect you describe. There are so many ways to create an effect and every game has different requirements. In general, due to our initial focus on magic effects, the system is better tuned for large single projectile attacks. As we've started working more with futuristic effects, it's become clear that effects involving machine-gun-like bullet sprays, may require some special features to deal with the fine projectile granularity efficiently. Right now, with some effort and cleverness, I think you could probably put together a decent force-shield effect using AFX. Eventually there will be better features for bullet-type effects, and this will make such force-shield effects better.

@Edward Smith - A TSE version is in the works. So far I haven't seen any monumental obstacles to making it work, but the port is not trivial.

Dave Giblin   (Aug 26, 2006 at 22:43 GMT)
Fantasic Jeff! Cant wait to buy it for my game. When's this Grimore of Greatness come out? ;)

Gib

Happy Gnome   (Oct 21, 2007 at 21:57 GMT)   Resource Rating: 5
Wow, these effects are WoW quality!

Keep up the great work!

You Meng Tee   (Feb 22, 2008 at 04:37 GMT)
Is there any way to 'levitate' the selectron, i.e. make it render higher than the terrain level?

Or rendering selectrons on static shapbe objects?

Jeff Faust   (Feb 22, 2008 at 14:07 GMT)   Resource Rating: 5
@ You Meng Tee -- A Selectron is an example of an effects choreographer. It manages a group of effects and is not limited to any specific location. Many Selectrons use what we call Zodiac effects to place a terrain decal at the feet of a selected player. Zodiacs only work on terrain and interiors which does limit their placement somewhat. To create a Selectron with elements that exist above the terrain you have to use different effects. For instance, a simple model of a plane can be used to place a Zodiac-like effect above the ground.

You must be a member and be logged in to either append comments or rate this resource.