Author Topic: Constant Emote  (Read 1187 times)

How would you make it so an emote never stops until you want it to?

I know it has something to do with states but I've never played with states before so yeah...

Code: [Select]
datablock ShapeBaseImageData(HateImage)
{
   shapeFile = "base/data/shapes/empty.dts";
emap = false;

mountPoint = $HeadSlot;
   rotation = "1 0 0 -90";

stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;

stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "FireA";
stateWaitForTimeout[1] = True;
stateTimeoutValue[1] = 0.350;
stateEmitter[1] = HateEmitter;
stateEmitterTime[1] = 0.5;
};

Should make /hate do the "hate" emitter until you use another emote. (Untested)


Just set the emitter time to 10000

Just set the emitter time to 10000

Yeah but then after 10000 it goes =(, I guess it'll have to do if no one else can help.

Uh, i think you'd be standing there for a few hours before it reaches 10000 or whatever. Thats how the sparkler does it and i've never seen it run out. Just do it.

What about this:

Code: [Select]
datablock ShapeBaseImageData(HateImage)
{
shapeFile = "base/data/shapes/empty.dts";
emap = false;
mountPoint = $HeadSlot;
rotation = "1 0 0 -90";

stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;

stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "FireB";
stateTimeoutValue[1] = 0.350;
stateEmitter[1] = HateEmitter;
stateEmitterTime[1] = 0.5;

stateName[2] = "FireB";
stateTransitionOnTimeout[2] = "FireA";
stateTimeoutValue[2] = 0.350;
stateEmitter[2] = HateEmitter;
stateEmitterTime[2] = 0.5;
};



Code: [Select]
datablock ShapeBaseImageData(PlayerFireEmoteImage)
{
   shapeFile = "base/data/shapes/empty.dts";
emap = false;
   offset="0 -0.5 0";

mountPoint = 2;

stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;

stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "Ready";
stateWaitForTimeout[1] = True;
stateTimeoutValue[1] = 1;
stateEmitter[1] = jeepburnemitter;
stateEmitterTime[1] = 1;
};

this is the code i used to make people be on fire. as long as the image is mounted, the emitter will be there.