Blockland Forums > Modification Help

Melee Weapon Animating in First Person.

Pages: << < (3/3)

TheKhoz:


--- Quote from: Trogtor on September 08, 2011, 08:28:58 PM ---0 0 0

--- End quote ---
Hrm.

Well, someone else had this problem, but they somehow fixed it. They didn't tell us how though.

There is no reason it should be happening

Trogtor:


--- Quote from: TheKhoz on September 08, 2011, 08:30:56 PM ---Hrm.

Well, someone else had this problem, but they somehow fixed it. They didn't tell us how though.

There is no reason it should be happening

--- End quote ---

When I modeled it in Milkshape I had one joint by where I hold the staff (As needed) and the other joint way down at the bottom of the staff. Is that why?

TheKhoz:


--- Quote from: Trogtor on September 08, 2011, 08:32:57 PM ---When I modeled it in Milkshape I had one joint by my hand and the other joint way down at the bottom of the staff. Is that why?

--- End quote ---
No, it's not your model.

Edit: Maybe just set your eyeOffset to '0'.

That worked for me...

Edit2: Pushbroom says:


--- Code: ---datablock ShapeBaseImageData(pushBroomImage)
{
   // Basic Item properties
   shapeFile = "./pushBroom.dts";
   emap = true;

   // Specify mount point & offset for 3rd person, and eye offset
   // for first person rendering.
   mountPoint = 0;
   offset = "0 0 0";
   //eyeOffset = "0.7 1.2 -0.15";

   // When firing from a point offset from the eye, muzzle correction
   // will adjust the muzzle vector to point to the eye LOS point.
   // Since this weapon doesn't actually fire from the muzzle point,
   // we need to turn this off. 
   correctMuzzleVector = false;

   // Add the WeaponImage namespace as a parent, WeaponImage namespace
   // provides some hooks into the inventory system.
   className = "WeaponImage";

   // Projectile && Ammo.
   item = pushBroomItem;
   ammo = " ";
   projectile = pushBroomProjectile;
   projectileType = Projectile;

   //melee particles shoot from eye node for consistancy
   melee = true;
   doRetraction = false;
   //raise your arm up or not
   armReady = true;
--- End code ---


Trogtor:

HOOLLLLYY CRAAAAPPP

I am one dumb mother forgeter.

I edited the scripts so it would open Weapon_entrepreneur _Staff.zip

Instead it was named Weapon_entrepreneur Staff.zip (I think I pressed ctl+z too many times because I accidentally moved an addon into another addons folder and must of changed the name back)

anyways, what you did worked. Thanks!

Pages: << < (3/3)

Go to full version