datablock ItemData(HealingPItem){ category = "Weapon"; // Mission editor category className = "Weapon"; // For inventory system // Basic Item Properties shapeFile = "./HealingP.dts"; rotate = false; mass = 1; density = 0.2; elasticity = 0.2; friction = 0.6; emap = true; //gui stuff uiName = "Healing Potion"; iconName = "./HealingP"; doColorShift = false; // Dynamic properties defined by the scripts image = HealingPImage; canDrop = true;};datablock ShapeBaseImageData(HealingPImage){ // Basic Item properties shapeFile = "./HealingPotion.dts"; emap = true; // Specify mount point & offset for 3rd person, and eye offset // for first person rendering. mountPoint = 0; offset = "0.09 -0.07 -0.2"; eyeOffset = 0; //"0.7 1.2 -0.5"; rotation = eulerToMatrix( "0 0 0" ); className = "WeaponImage"; item = HealingPItem; //raise your arm up or not armReady = true; doColorShift = false; // Initial start up state stateName[0] = "Ready"; stateTransitionOnTriggerDown[0] = "Fire"; stateAllowImageChange[0] = true; stateName[1] = "Fire"; stateTransitionOnTimeout[1] = "Ready"; stateAllowImageChange[1] = true; stateScript[1] = "onFire"; stateTimeoutValue[1] = 1;};
Where's the healing script?
I could've scripted this myself, but maybe better.After all, i stated that i would like to see some modellers do their magic. :3But thanks.Also, coding help much?
I suck
After all, i stated that i would like to see some modellers do their magic. :3
You know LAD that you do need some other piece of code to make the actual healing?