A sprite and a question
Moderator: Forum Moderators
Forum rules
Before posting critique in this forum, you must read the following thread:
Before posting critique in this forum, you must read the following thread:
A sprite and a question
I'm making a sprite based on the human Thief (mainly because the build suits my purposes and I'm too lazy to draw something from complete scratch) for a character in a story of mine.
I've done a melee animation (I'm not basing every frame off the Thief) and animations for defense and evasion. I'm also planning to do a ranged attack, some sort of throwing knife... throw. Toss? XD
My question is such: is there a way to set it so that an attack uses alternating animations? I'd like to make it so that he tosses one knife with one hand, then one with the other on the next attack.
'pologies if I'm asking something stupid- I'm fairly new to all this.
Thanks!
I've done a melee animation (I'm not basing every frame off the Thief) and animations for defense and evasion. I'm also planning to do a ranged attack, some sort of throwing knife... throw. Toss? XD
My question is such: is there a way to set it so that an attack uses alternating animations? I'd like to make it so that he tosses one knife with one hand, then one with the other on the next attack.
'pologies if I'm asking something stupid- I'm fairly new to all this.
Thanks!
There's nothing to tell...
In my eyes you're still a bot.
In my eyes you're still a bot.
In examining the .cfg file for the Thief, I noticed that for his evasion animation, there are three pairs of [animation][/animation] tags- I just do something like that for this guy's ranged attack?You can use several animations for one attack, only one would be selected (randomly i think, but i'm not sure, it might do what you want : cycle the animations).
There's nothing to tell...
In my eyes you're still a bot.
In my eyes you're still a bot.
Gotcha. But, as it's perfectly random, there's a 50-50 chance that, with four attacks, each of two animations will play twice, right? That's enough for me- if it doesn't alternate perfectly, it'll be fine. I'm just looking for *some* variation.I can randomly choose which one to play, and will use a bunch of different ones in a given fight, but you can't force it to follow a certain order.
Thanks again, everyone.
If the animations don't come out looking like crap I'll post them in this thread.
There's nothing to tell...
In my eyes you're still a bot.
In my eyes you're still a bot.
that's not exactly true...Jetryl wrote:What we don't have is the ability to force the animations to play in sequence; that is, to "always/only play animation2 after animation1".
I can randomly choose which one to play, and will use a bunch of different ones in a given fight, but you can't force it to follow a certain order.
more precisely, it's not true for attack animations, that can be filtered by the strike number in 1.3
this was implemented to have the berserker laugh madly before attacking a DA
sequence are much less important for other animations.
Fight key loggers: write some perl using vim
-
- Retired Developer
- Posts: 2633
- Joined: March 22nd, 2004, 11:22 pm
- Location: An Earl's Roadstead
*Agrees*Zhukov wrote:Pardon the useless comment, but that's just too cool for words.Boucman wrote:this was implemented to have the berserker laugh madly before attacking a DA.
"you can already do that with WML"
Fight Creeeping Biggerism!
http://www.wesnoth.org/forum/viewtopic. ... 760#131760
http://www.wesnoth.org/forum/viewtopic. ... 1358#11358
Re: A sprite and a question
First of three(?) planned throw animations. He currently has a 6-5 marksman throwing knife ranged attack - seemed fitting for a skilled ninja.
I did the above frames in the style of the new Orcish Slayer's throw attack- does it look ok? In game it's fine, but a lot of things look fine in game without actually being good...
There's nothing to tell...
In my eyes you're still a bot.
In my eyes you're still a bot.