Author Topic: Sword Problems 3/3 Fixed  (Read 724 times)

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.

« Last Edit: September 17, 2010, 03:04:52 PM by 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.
« Last Edit: September 16, 2010, 07:23:30 PM by Uxie »

You can add stateSound[4] = Sound; for the swinging sound I believe.

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.
« Last Edit: September 17, 2010, 07:11:16 AM by 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.
It needs to be 3, not 4.

I think.