Author Topic: Mounting Emitters to Playertypes  (Read 723 times)

How would i mount a particle or an emitter to a custom playertype.

Create an image.


Mount it.


If you want to know how, look at this

How would i mount an emitter to an image then. I looked at the functions it didn't help.
« Last Edit: June 25, 2009, 10:36:53 AM by Plornt »

Look at the example Emote_ files. You may want to make the states something like this:
Code: [Select]
stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;

stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "Done";
stateWaitForTimeout[1] = True;
stateTimeoutValue[1] = 0.9;
stateEmitter[1] = playerNapalmFireEmitter;
stateEmitterTime[1] = 0.9;

stateName[2] = "Done";
stateTransitionOnTimeout[2] = "FireA";
stateTimeoutValue[2] = 0.01;
as then it loops and stays on the player type. Note that your emote will stop working if the player uses one of the /love, /hate, etc. commands or an image mounts to slot 3.

Thank you Space Guy. And lol at WtfImage. Now the problem is I can't get the image to mount to the player type. I'm triing to get it to mount to mount1. I changed mountpoint to mountpoint = "mount1"; but i doesnt start or mount.
« Last Edit: June 25, 2009, 07:02:03 PM by Plornt »

Thank you Space Guy. And lol at WtfImage. Now the problem is I can't get the image to mount to the player type. I'm triing to get it to mount to mount1. I changed mountpoint to mountpoint = "mount1"; but i doesnt start or mount.

No, you don't do the mounting on a datablock

You mount it using as a script. Just use mountImage

mountPoint should be a number or an ID.

0 or $RightHandSlot - right hand
1 or $LeftHandSlot - left hand
2 or $BackSlot - back
3 or $RightFootSlot - right foot
4 or $LeftFootSlot - left foot
5 or $HeadSlot - head
6 or $VisorSlot - accent space
7 or $HipSlot - hips
« Last Edit: June 28, 2009, 05:04:54 PM by Space Guy »

So if i wanted to mount it to a point called 'Spark' what would i say as mountpoint. just $Spark?

You could name it a relevant mount# number and then mount it to slot #. Those slots are for m.dts, standard player.