Been tinkering with this the past few nights and just come back to it during my lunch break this afternoon but I'm not having any luck. Hopefully someone can help me.
I'm working on a game where I want visual equipment and I'm using SumRndmDde's Dynamic Actors plugin to achieve this, which requires his Character Creator EX plugin.
At the same time, I'm a sucker for little touches so I'm also using Galv's Character Animations plugin so my player sprites have idle, walk, run, and jump poses. Something always looked off to me at going double the speed but still using the walking animation and Galv's plugin is a fantastic fix with the idle and jump animations just being a bonus.
Some of you can see where this is going... because the character parts for Dyanmic Actors contain just the walk animation for that one piece of equipment, they don't look right when the character is idle, running, or jumping. Grasping at straws, I tried just inserting the equipment piece in the same layout as the character sets for Character Animations, but all that does is mess up the sizing as Dynamic Actors assumes almost the entire first character is the first frame of the equipment's walk animation.
Is there a way to make Dynamic Actors recognise equipment in the same format as Character Animations, where the first slot is the idle animation, second is the walk, third is running, and fourth is jumping? (The bottom row of the character set is usually empty unless you're using eight directional movement which... hoo boy, I'm giving myself enough sprite work to do without adding diagonals into the mix, thank you!)
As an aisde, my three characters are of different builds and heights. I've tried making three different graphics for the same set of armour and determining which appears depending on which character equips them with:
if (user.actorID() === 1) {
<Force Clothing Piece: gruntArmour01>;
}
if (user.actorID() === 2) {
<Force Clothing Piece: gruntArmour02>;
}
But it doesn't work. Nothing appears, almost as if the Plugin Command isn't triggering. I assume it's because I'm combining JavaScript conditions combined with a Plugin Command?
My JavaScript knowledge is very basic, I'm an absolute novice. I have to pop back to my day job in a moment but hopefully when I clock out there might be a suggestion or two. Thanks in advance!
I'm working on a game where I want visual equipment and I'm using SumRndmDde's Dynamic Actors plugin to achieve this, which requires his Character Creator EX plugin.
At the same time, I'm a sucker for little touches so I'm also using Galv's Character Animations plugin so my player sprites have idle, walk, run, and jump poses. Something always looked off to me at going double the speed but still using the walking animation and Galv's plugin is a fantastic fix with the idle and jump animations just being a bonus.
Some of you can see where this is going... because the character parts for Dyanmic Actors contain just the walk animation for that one piece of equipment, they don't look right when the character is idle, running, or jumping. Grasping at straws, I tried just inserting the equipment piece in the same layout as the character sets for Character Animations, but all that does is mess up the sizing as Dynamic Actors assumes almost the entire first character is the first frame of the equipment's walk animation.
Is there a way to make Dynamic Actors recognise equipment in the same format as Character Animations, where the first slot is the idle animation, second is the walk, third is running, and fourth is jumping? (The bottom row of the character set is usually empty unless you're using eight directional movement which... hoo boy, I'm giving myself enough sprite work to do without adding diagonals into the mix, thank you!)
As an aisde, my three characters are of different builds and heights. I've tried making three different graphics for the same set of armour and determining which appears depending on which character equips them with:
if (user.actorID() === 1) {
<Force Clothing Piece: gruntArmour01>;
}
if (user.actorID() === 2) {
<Force Clothing Piece: gruntArmour02>;
}
But it doesn't work. Nothing appears, almost as if the Plugin Command isn't triggering. I assume it's because I'm combining JavaScript conditions combined with a Plugin Command?
My JavaScript knowledge is very basic, I'm an absolute novice. I have to pop back to my day job in a moment but hopefully when I clock out there might be a suggestion or two. Thanks in advance!