Author Topic: Player standard armor base code? How do I disable a datablock from loading?  (Read 3462 times)

Ah so Heed uploaded an edited version which doesn't have m_slash.dsq for some reason.
That causes it to not work.


Just remove this:

   sequence39 = "./content/player/m_slash.dsq slash";

Or replace it with whatever.
dunno why, but I lol'd at the mistake, gonna try my own animation I guess

EDIT: Unable to find object ' ' attempting to call function 'play thread'
« Last Edit: December 15, 2011, 04:35:40 PM by soba »

function servercmdthread(%c,%t,%s){c.player.playThread(%s,%t);}
needs to be
function servercmdthread(%c,%t,%s){%c.player.playThread(%s,%t);}

function servercmdthread(%c,%t,%s){c.player.playThread(%s,%t);}
needs to be
function servercmdthread(%c,%t,%s){%c.player.playThread(%s,%t);}
also, before I test this, what are these commands for?

/jumpy
Plays the slash animation on a specific slot.
/heed sequenceName
Plays an animation (sequenceName) on a specific slot.
/thread sequenceName slot
Plays an animation (sequenceName) on a slot (slot, 0-3 I believe).

Edit:
To stop jumpy, talk.
To stop heed or thread, play root using the same method.

/jumpy
Plays the slash animation on a specific slot.
/heed sequenceName
Plays an animation (sequenceName) on a specific slot.
/thread sequenceName slot
Plays an animation (sequenceName) on a slot (slot, 0-3 I believe).
ah, also, my animation never played

Animation was done in milkshape 3D using the original minifig bones
Code: [Select]
datablock TSShapeConstructor(aDts)
{
baseShape = "./content/player/m.dts";
sequence0 = "./content/player/m_root.dsq root";
sequence1 = "./content/player/m_run.dsq run";
sequence2 = "./content/player/m_run.dsq walk";
sequence3 = "./content/player/m_back.dsq back";
sequence4 = "./content/player/m_side.dsq side";
sequence5 = "./content/player/m_crouch.dsq crouch";
sequence6 = "./content/player/m_crouchRun.dsq crouchRun";
sequence7 = "./content/player/m_crouchBack.dsq crouchBack";
sequence8 = "./content/player/m_crouchSide.dsq crouchSide";
sequence9 = "./content/player/m_look.dsq look";
sequence10 = "./content/player/m_headSide.dsq headside";
sequence11 = "./content/player/m_headup.dsq headUp";
sequence12 = "./content/player/m_standjump.dsq jump";
sequence13 = "./content/player/m_standjump.dsq standjump";
sequence14 = "./content/player/m_fall.dsq fall";
sequence15 = "./content/player/m_root.dsq land";
sequence16 = "./content/player/m_armAttack.dsq armAttack";
sequence17 = "./content/player/m_armReadyLeft.dsq armReadyLeft";
sequence18 = "./content/player/m_armReadyRight.dsq armReadyRight";
sequence19 = "./content/player/m_armReadyBoth.dsq armReadyBoth";
sequence20 = "./content/player/m_spearReady.dsq spearready";
sequence21 = "./content/player/m_spearThrow.dsq spearThrow";
sequence22 = "./content/player/m_talk.dsq talk";
sequence23 = "./content/player/m_death1.dsq death1";
sequence24 = "./content/player/m_shiftUp.dsq shiftUp";
sequence25 = "./content/player/m_shiftDown.dsq shiftDown";
sequence26 = "./content/player/m_shiftAway.dsq shiftAway";
sequence27 = "./content/player/m_shiftTo.dsq shiftTo";
sequence28 = "./content/player/m_shiftLeft.dsq shiftLeft";
sequence29 = "./content/player/m_shiftRight.dsq shiftRight";
sequence30 = "./content/player/m_rotCW.dsq rotCW";
sequence31 = "./content/player/m_rotCCW.dsq rotCCW";
sequence32 = "./content/player/m_undo.dsq undo";
sequence33 = "./content/player/m_plant.dsq plant";
sequence34 = "./content/player/m_sit.dsq sit";
sequence35 = "./content/player/m_wrench.dsq wrench";
sequence36 = "./content/player/m_activate.dsq activate";
sequence37 = "./content/player/m_activate2.dsq activate2";
sequence38 = "./content/player/m_leftrecoil.dsq leftrecoil";
sequence39 = "./content/player/m_Aim.dsq aim";
};

datablock PlayerData(animationPlayer : PlayerStandardArmor)
{
shapeFile = "./content/player/m.dts";
uiName = "Animation Test";
};

function serverCmdJumpy(%client)
{
%client.player.playThread(3,"aim");
}
function servercmdheed(%c,%t){%c.player.setArmThread(%t);}
function servercmdthread(%c,%t,%s){%c.player.playThread(%s,%t);}


console.log
Nothing out of the ordinary, last line is siba spawned, thats it, can't paste it here due to my dedicated salvage server using it

EDIT: ah, It says RHand box100 or something like that is missing from the skeleton...
« Last Edit: December 15, 2011, 04:52:31 PM by soba »

-profilePath on a new shortcut then move the add-on into the new copy.

says sequence node RHand detail 100 not found in base shape

....how do I fix this?

EDIT: actually, I believe I figured it out, the shape seems to have added "detail" in each of the group names, which isn't in the original
EDIT2: got the same problem, only now its still on RHand100, and it says 'duplicated more in sequence than in shape' what the hell?
« Last Edit: December 15, 2011, 05:09:16 PM by soba »

Yeah, when I first tried to do animations, milkshape never worked.

Yeah, when I first tried to do animations, milkshape never worked.
The blender version is really god damn confusing

The blender version is really god damn confusing

I don't know why everyone seems to think Blender is so hard... it just takes some patience. That being said, I have been using blender for years.