Blockland Forums > Modification Help

SimpleWell looping animation [Still Need Help]

Pages: << < (2/4) > >>

otto-san:

that you will have to ask someone else on.
since i'm pretty sure playthread won't work here.

go to coding help gogogo

Xinakam:

but theres already a topic here...

Please still need help... someone...

takato14:


--- Quote from: Xinakam on July 13, 2010, 12:42:51 PM ---but theres already a topic here...

Please still need help... someone...

--- End quote ---
mmk.... its the stateSequence. Does it have a shapeBaseImageData Datablock for the hat? because if not, you need it. And if thats not how the SimpleWell hat mod works, then I have no clue how to do it or know if its even possible. If it DOES use a shapeBaseImageData datablock, add this to one of the states:

stateSequence[#] = <Name of animation sequence>;

Replace # with the number of the rest of the states in the group, and im sure you know what do do with the other thing lol.

Xinakam:

Thats only for weapons. The script for SimpleWell hats is short and does not have that... see:

--- Code: ---AddHAT("Makanix","MakanixImage",0);

datablock ShapeBaseImageData(MakanixImage)
{
shapeFile = "./Shapes/Makanix.dts";
emap = true;
mountPoint = $HeadSlot;
offset = "0 0.0 0.0";
eyeOffset = "0 0 0.0";
rotation = eulerToMatrix("0 0 0");
doColorShift = false;
colorShiftColor = "0.500 0.500 0.500 1.000";
};
--- End code ---

Where is says HeadSlot i need it to change to pants, but when i type it, it mounts to my right hand...

I copied this from the copter hat, the one with animation but it is no different from the other hats. I don't understand how the animation is playing.

EDIT: Maybe its a continuous loop in the model. the animation i exported only plays once for like weapon scripts...

Xinakam:

Bump with different problem...

Pages: << < (2/4) > >>

Go to full version