| Blockland Forums > Modification Help |
| Sims Crystal Hat |
| (1/2) > >> |
| Soon To Be:
Ok so a long time ago i began to work on a hat script using the form of a sims crystal..after getting help from the forums and a few friends i could never seem to get it to work so i relaced all the name of everything in the sims crystal script with the greek helmet one to test it. Ok so heres my dillema... the hat shows up just its wedged in your head.. how do i raise it higher.. :$ Heres code --- Code: ---datablock ShapeBaseImageData(greekhelmetImage) { shapeFile = "./GreekHelmet.dts"; emap = true; mountPoint = $HeadSlot; offset = "0 0 0.1"; eyeOffset = "0 0 10"; rotation = eulerToMatrix("0 0 0"); scale = "1 1 1"; doColorShift = false; colorShiftColor = "50.000 50.000 50.000 255.000"; }; function serverCmdgreekhelmet(%client) { %player = %client.player; if(isObject(%player)) { if(%player.getMountedImage(2) $= nametoID(greekhelmetImage)) { %player.unmountImage(2); %client.applyBodyParts(); %client.applyBodyColors(); } else { %player.unmountImage(2); %player.mountImage(greekhelmetImage,2); for(%i = 0;$hat[%i] !$= "";%i++) { %player.hideNode($hat[%i]); %player.hideNode($accent[%i]); } } } } --- End code --- |
| BlockStar:
Easy fix. Move the joint down on the model :/ |
| lordician:
Doesn't raising the third value (offset on z-axis) of offset do the same thing? |
| Soon To Be:
--- Quote from: lordician on March 10, 2011, 07:54:46 PM ---Doesn't raising the third value (offset on z-axis) of offset do the same thing? --- End quote --- Not sure? I hope so |
| BlockStar:
Off-Topic: I looked up Sims Crystal and one of the pictures it gave me research :/ |
| Navigation |
| Message Index |
| Next page |