Author Topic: [NVM] WHY ISNT THE EMITTER GOING ON THE MUZZLE NODE??  (Read 664 times)

HEY GUYS IM REALLY MAD RIGHT NOW


(as you can see the fire is coming from the MOUNTPOINT, not the MUZZLEPOINT)


WHY ISNT THE FRICKING STATE EMITTER NODE NOT GOING ON THE MUZZLE NODE???

HERE IS THE .BLEND..
(You can look at the .blend to see that I have both mountPoint and muzzlePoint on the right locations)

DATABLOCKS:
Code: items.cs (48 lines)
function rustTorchImage::onReady(%this, %obj, %slot)
{
   %obj.playThread(1, "armReadyRight");
}

datablock ItemData( rustTorchItem : swordItem )
{
    shapeFile = "Add-Ons/GameMode_Rust/shapes/torch.dts";
    uiName = "Torch";
    iconName = "";
    doColorShift = false;
   //colorShiftColor = "0.74 0.74 0.74 1";
   image = rustTorchImage;
    canDrop = true;
};

datablock ShapeBaseImageData(rustTorchImage)
{
    shapeFile = "Add-Ons/GameMode_Rust/shapes/torch.dts";
    item = rustRockItem;

    rustAddHealth = 0;

    doColorShift = rustTorchItem.doColorShift;
    colorShiftColor = rustRockItem.colorShiftColor;

    CorrectMuzzleVector = false;

    stateName[0]                     = "Activate";
    stateTimeoutValue[0]             = 0.5;
    stateTransitionOnTimeout[0]      = "Activate";
    stateSound[0]                    = swordDrawSound;
    stateEmitter[0]                     = AdminWandEmitterA;
    stateEmitterTime[0]                 = 0.05;
    stateEmitterNode[0]              = "muzzlePoint";
    stateScript[0]                     = "onReady";

};

function rustTorchImage::onUse(%this, %obj, %slot)
{
   %obj.playThread(2, "shiftDown");
}

function rustTorchImage::onReady(%this, %obj, %slot)
{
   %obj.playThread(1, "armReadyRight");
}


If it makes any difference, im using ports DTS importer / exporter.

Thanks.
« Last Edit: September 05, 2015, 11:53:03 PM by Honno »

ok so it seems that ports exporter doesnt support bones yet......................

ill just use stuffty blender 2.49b......

and ill keep this unlocked if anyone still has any comments or thoughts

ok so it seems that ports exporter doesnt support bones yet......................

ill just use stuffty blender 2.49b......

and ill keep this unlocked if anyone still has any comments or thoughts

yes, you should probably have stated that you were using it when you asked me

though question, what was your Blender scene outline like? I'd really appreciate a screenshot of it so I can see how you were trying to do bones