Author Topic: Mount model to a player's back  (Read 453 times)

I plan to make a bag that will mount to a player's back.
What's the command to mount the model onto the player?
and how do I refer to the .dts file in this code?

you need to create an image
Code: [Select]
datablock ShapeBaseImageData(bagImage)
{
shapeFile = "./bag.dts";
emap = true;
mountPoint = $BackSlot;
offset = "OFFSET HERE";
eyeOffset = "0 -999 -999";

rotate = true;
rotation = "ROTATION HERE";

armReady = false;

doColorShift = false;
colorShiftColor = 0;
};
this is similar to creating a weapon image except mounting it to your back instead, you will need to rotate and offset it so that it is in the proper place on the player

Code: [Select]
%player.mountImage(bagImage,2);then mount the image to the player
mountImage(image,slot)
make sure the slot is not slot 0 as that is the slot that you probably will have weapons/items in