Mperonen
(Mperonen)
January 24, 2014, 10:48am
1
Sorry for bombing the forum with questions but I’m not sure if I understand this at all:
Currently I have a system that goes like this:
(armature is the armature of the player object)
if animation == 'idle':
armature.playAction('Idle', 1, 70, 1, 9, 5, 2, layerWeight, ipoFlags, speed)
elif animation == 'walk':
armature.playAction('Walk', 1, 18, 1, 2, 5, 0, layerWeight, ipoFlags, speed)
elif animation == 'jump':
armature.playAction('Jump', 1, 10, 1, 1, 5, 0, layerWeight, ipoFlags, 0.6)
But am I doing it wrong? It does work, but if anyone knows a better method I would love to know.
superflip
(superflip)
January 24, 2014, 10:51am
2
whats wrong with what you got?
redbaron5
(redbaron5)
January 24, 2014, 11:44am
3
That’s pretty much what I do. I think a lot of those switches are optional though. Mine looks something like this:
if own["Action"] == "Turn":
own.playAction("TurnAround", 1, 61, layer=3, blendin=10, speed=spd, play_mode=0)
elif own["Action"] == "GetHitFront":
own.playAction("GetHitFront", 1, 31, layer=3, blendin=10, speed=spd, play_mode=0)
beavis
(beavis)
January 24, 2014, 11:55am
4
hello i ddnt really know where to post this so i decide to post it here because the was the first thread that showed up:)my question is if i render a character in cartoon style is it possible to bring it to the game engine or to export it to cryengine in its cartoon form?
Mperonen
(Mperonen)
January 24, 2014, 12:14pm
5
Oh Thank you for the answers. I wasn’t quite sure if I did it right and wanted to check here
Asylum
(Asylum)
January 26, 2014, 1:39pm
6
own.playAction(“Action_Name”,Start, End, layer, priority, blendin, play_mode)