Poll

How should the grenade behave?

1 second arming delay, then explode on impact/5 seconds in air(deals damage if bouncing off bots/players)
14 (18.7%)
Explode directly on impact
30 (40%)
1/2 second arming delay, then explode on impact/5 second in air(deals damage if bouncing off bots/players)
31 (41.3%)

Total Members Voted: 74

Author Topic: The M41-A Pulse Rifle  (Read 15610 times)

There appear to be severed hands hanging from your product.
That's not a nice way to advertise something.
lol
and just in case anyone wonders about it, no the gun doesn't hover over the left hand in-game, I made it that way for a more displayable picture.

People who don't like hands are just old grumps who don't like change :3

hahahahahhahahahahahahahaha!

perfect!


If only we had the ability to script the hands to change to the skin colour of the user.

you can change the hands color if you modify Skin.png in the file or the Gloves.png

Nice, a topic for this add on, about the hand discussion i dont like hands, but the ones that Sentinel puts in his weps changed my mind


DUDE IM A HUGE FAN OF YOUR ADD ONS PLZZ MAKE THIS A ADD ON WEP 7 COOKIES CUSE ITS SOOOO forgetIN AWSOME :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:

DUDE IM A HUGE FAN OF YOUR ADD ONS PLZZ MAKE THIS A ADD ON WEP 7 COOKIES CUSE ITS SOOOO forgetIN AWSOME :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:
O M Y GOS I LIK DAT TOO!!!! I WA"T MO AFFONS PZZZ!!!!!!!!!!!!!!!!!!!!!!!!!!

i cant release until i get someone to script the GL part of the gun, sorry

i cant release until i get someone to script the GL part of the gun, sorry
Why not look at the scripts for the G36C or Sgt.A.Walters weapons?

i am probably gonna ask Walter to do so once he returns from the trip he's on. i guess ill take a peek at the G36c though

sorry for dbl post,

i looked at the g36c, and got the script:
Code: [Select]
{
   function Armor::onTrigger(%this, %player, %slot, %val)
   {
      if(%player.getMountedImage(0) $= M41AImage.getID() && %slot $= 4 && %val)
      {
         if(%player.lastGrenade !$= "" && getSimTime() - %player.lastGrenade < 3000)
         {
            return;
         }
         %projectile = GlrenadeProjectile;
         %vector = %player.getMuzzleVector(0);
         %objectVelocity = %player.getVelocity();
         %vector1 = VectorScale(%vector, %projectile.muzzleVelocity);
         %vector2 = VectorScale(%objectVelocity, %projectile.velInheritFactor);
         %velocity = VectorAdd(%vector1,%vector2);
         %p = new Projectile()
         {
            dataBlock = %projectile;
            initialVelocity = %velocity;
            initialPosition = %player.getMuzzlePoint(0);
            sourceObject = %player;
            sourceSlot = 0;
            client = %player.client;
         };
         %player.lastGrenade = getSimTime();
         serverPlay3D(rocketFireSound,%player.getPosition());
         MissionCleanup.add(%p);
         return %p;
      }
      Parent::onTrigger(%this, %player, %slot, %val);
   }
};
could someone modify it to:

1. play an animation on the weapon after/as it fires (i will name it later)
2. set the node if fires from to a MS3D node called "glmuzzlePoint"
?

midway may i ask can u oneday make the xm8???