Blockland Forums > Modification Help
Sword Problems 3/3 Fixed
Uxie:
I am currently making a Sword called "Legendary Blade". I have 3 problems.
Fixed (The Sound fuction I used, PreFire, messed up the animation funtion)1: The Animation in both 1st and 3rd person won't work. I tried changing the eyeoffset to 0 as you can see in the code below.
Fixed2: Is there a way to get my sword to play swing sounds? I have custom sounds for it. You can see what I tried to do in the script. That was removed. How would I do this?
Fixed3: I have made a Custom CI that won't work. In console it says it doesn't exist. I have named the PNG as CI_LBlade. Size is 88x24.
heedicalking:
Eye offset should be 0 0 0
Uxie:
That explains alot. I didn't realize that.
Edit: It didn't do anything.
Edit 2: I fixed the animations. Now I'm mainly woondering about the swinging sounds.
Pah1023:
You can add stateSound[4] = Sound; for the swinging sound I believe.
Uxie:
I don't know what exactly to do but add that. Do I change the Sound; to my sound? What?
Testing stateSound[4] = LBladeSwingSound; ...
Edit: Didn't work.
I had
datablock AudioProfile(LBladeSwingSound)
{
filename = "./LBladeSwing.wav";
description = AudioClosest3d;
preload = true;
};
In the Audio part. And stateSound[4] = LBladeSwingSound; Down with the [4]s.