About Store Forum Documentation Contact



Post Reply 
Skill appearance
Author Message
Querion Offline
Member

Post: #1
Skill appearance
Hello folks!

I've been recently facing a problem with character's skills appearance. I have the animation of sword swinging but I haven't managed to successfuly do anything else.

I would like to check when the sword hits a monster which would call a "being hit" animation for the monster. Also some swinging and flash effects would be useful. Or maybe should I use particle system to additional visual effect?

Is there any video tutorial for that? I have no idea where to start.
02-04-2014 01:59 PM
Find all posts by this user Quote this message in a reply
gdalex Offline
Member

Post: #2
RE: Skill appearance
There's a tutorial about "trail effect", but I haven't find the time to test/understand and re-use it smile
02-04-2014 05:05 PM
Find all posts by this user Quote this message in a reply
AndrewBGS Offline
Member

Post: #3
RE: Skill appearance
About finding out when the sword hits, in my case, I added an event in the animation (edit animation, and click a point on it's timeline to add an event at the desired moment of the animation - when the sword reaches forward for ex) and then in the character's update check if that even is happening in the current frame then do all your computations (in my case, check if a nearby char is in front of me at a short distance, and if so, it takes damage; add effects, sounds, and whatever else happens when the sword hits here). I hope this helps!
02-04-2014 05:45 PM
Find all posts by this user Quote this message in a reply
Querion Offline
Member

Post: #4
RE: Skill appearance
It is quite helpful advice Andrew, thanks.
But the main question is how to do this "else" things smile You know, visual effects etc.
02-04-2014 05:58 PM
Find all posts by this user Quote this message in a reply
AndrewBGS Offline
Member

Post: #5
RE: Skill appearance
I would also point you to the swing trail effect tutorial.
If you have bloody massacre, there's also the code for blood dripping when the bullet hits you. Didn't check it yet, I think it's just some particles effects when the hit occurs. Or at least that's what I would do.
02-04-2014 06:27 PM
Find all posts by this user Quote this message in a reply
Querion Offline
Member

Post: #6
RE: Skill appearance
oh one more thing:
I wonder if there is a way to import things like this into engine:
http://www.youtube.com/watch?v=0M2N93jK3JU
02-20-2014 04:00 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #7
RE: Skill appearance
Looking at their web site you'd need to integrate their particle engine into Esenthel using their SDK ... no idea what the price on this engine is though ... it looks and sounds expensive!!!
02-22-2014 02:49 PM
Find all posts by this user Quote this message in a reply
Querion Offline
Member

Post: #8
RE: Skill appearance
Oh well it looks quite too hard for now smile
I wonder about export it in format like collada or .fbx as animation.
02-22-2014 04:34 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #9
RE: Skill appearance
Some particle apps like this allow you to export particle sequences as a series of animated images which can be used as animated billboards etc. Depending on what you are using them for that can be quite effective! Not sure if this app supports that though.
02-22-2014 04:47 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #10
RE: Skill appearance
Well, I'm still at the stage of looking for an editor that would allow me
to use such particles in the game. I've found lots of videos showing
amazing particle effects for skills such as:

http://www.youtube.com/watch?v=0M2N93jK3JU
http://www.youtube.com/watch?v=_cbNrlinKzs
http://www.youtube.com/watch?v=VYl4MGI2geg (by far the best ones)

I could count even more... Why doesn't EE have such an editor?
How do I import particle effects from external apps to make them work in EE?

I know that in showcase there was this game that also has a number of skills
which you can see in the video. It's possible... but how?
03-07-2014 02:14 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #11
RE: Skill appearance
(03-07-2014 02:14 PM)Kiekos Wrote:  Why doesn't EE have such an editor?
I guess only Greg can answer that


(03-07-2014 02:14 PM)Kiekos Wrote:  How do I import particle effects from external apps to make them work in EE?
Generally speaking you can't. Most of these third party editors rely on using their own particle system which in order to use them in your games would require they are integrated into Esenthel via a provided SDK

Some allow export of effects as a series on animated images as I mentioned previously which would allow animated billboard usage but that's not nearly as effective as having the particles themselves!

If you want third party tools operational in Esenthel then you need to integrate them, and the best people to tell you how to do that are the tool developers themselves.

Otherwise, its down to you to manipulate the existing Esenthel particle system to get the effects you desire but all systems have limitations. Third party suppliers tend to specialize in what they are providing so generally have better features.
03-07-2014 02:52 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #12
RE: Skill appearance
Then is it even possible to achieve effects like those if I'm limited to choosing source shape of the particles? :|

There are things that cannot be done with plains, meshes or anything else but particles...
03-07-2014 03:31 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #13
RE: Skill appearance
I would say yes, in many of the examples.

I've not played around with particles in Esenthel but the support in terms of the API for them looks pretty good.

Bare in mind some of those effects (especially in the third link you showed) are in fact probably combinations of animated images and particles combined as a single effect.

However, creating the algorithms to control complex movement/drawing of particles in real time is not simple and this is where Editor type support definitely helps.

Having things like attractors and deflectors can also really aid in controlling movement and I don't think there is any support in Esenthel 'out of the box' for those.

But a lot of those exploding or spiralling type effects are just down to applying control over the initial positions of the particles and their life span, application of mathematical constants or functions to velocity and acceleration to control the spacial movement and manipulation of properties like glow/colour etc in real time.

Applying animated images can be surprisingly effective in situations though. Take a look at this fairly simple example from my Kingdom Of Soul development as an example (towards the end of the vid). Not sure I would have liked to have created that from scratch using Particles without some elaborate Editor with a lot of built in particle manipulation ability:


03-07-2014 05:06 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #14
RE: Skill appearance
That little "portal thing" you did was created just using animated images you mentioned or are there particle effects too?

PS Is "holographic images" tutorial gonna be any helpful? I don't think that's it...
03-07-2014 07:53 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #15
RE: Skill appearance
Yeah its just a flat plane oriented towards the player at all times (billboard) with a series of animated images mapped to it, no particles. However, the underlying series of images was created using a particle editor and simply exported as a sequence of images such that they tile into a continuous repeating animation.

The billboard in the video was static but of course you can move them around. I use this particular one for cast spells and normally mix in some particle based colored smoke trails which follow the billboard and an impact starburst animation.

Regarding the holographic images tutorial, I'm not familiar with that and not at my dev machine right now so can't really comment on that.
03-07-2014 08:13 PM
Find all posts by this user Quote this message in a reply
Post Reply