Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: AAH!Need Help with secondary fire!  (Read 1735 times)

0 Members and 1 Guest are viewing this topic.

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
AAH!Need Help with secondary fire!
« on: March 10, 2011, 10:59:52 AM »
 :-[ PLS tell me :What is wrong here!?

Bullet entitiy spawn and secondary fire code:

      "BulletEntitySpawn" {
         "Class"      "rpg_missile"         
         "ZVector"   "10"   
         "Power"      "750"
                   "NpcZVector"   "10"
         "AngVelocity"   "10"
         "Mass"      "0"
      }
                "Secondary" {

      "BulletEntitySpawn" {
         "Class"      "grenade_spit"         
         "ZVector"   "10"   
         "Power"      "1000"
                   "NpcZVector"   "10"
         "AngVelocity"   "10"
         "Mass"      "0"
      }
            }

Only primary fire is working!
« Last Edit: March 10, 2011, 11:03:05 AM by xplozN_lulz »

Offline 009

  • *
  • +1% chance to make useful post
  • 009 has no influence.
Re: AAH!Need Help with secondary fire!
« Reply #1 on: March 11, 2011, 03:15:34 PM »
Are you sure you put "AttachedGL" value to "1"?

Like this?

      "WeaponSpec"
   {
      //   0 : single
      //   1 : automatic
      //   2 : shotgun
      //   3 : autoshotgun
      "WeaponType"   "1"
      "FireRate"   "0.1"
      "UnderWater"   "0"
                           "AttachedGL"    "1"

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
Re: AAH!Need Help with secondary fire!
« Reply #2 on: March 21, 2011, 04:56:54 PM »
Not working!GAAAAAAAAAAAAAAAAAAAH!

Offline Spasior

  • IKEA Meatballs Son!!!
  • *
  • *
  • +3% chance to make useful post
  • Spasior has no influence.
Re: AAH!Need Help with secondary fire!
« Reply #3 on: March 22, 2011, 06:06:45 AM »
Is the class name the same?
erutangiS

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
Re: AAH!Need Help with secondary fire!
« Reply #4 on: March 27, 2011, 08:05:25 AM »
First class is rpg_missile and secondary is Grenade_spit(Bullsquid)!

Offline 009

  • *
  • +1% chance to make useful post
  • 009 has no influence.
Re: AAH!Need Help with secondary fire!
« Reply #5 on: April 02, 2011, 04:32:17 AM »
Wait... you're trying to make primary fire fires rpg rockets and secondary fires bullsquid spit?

I'm sorry but there's no way you can do that, you can only have one type of "custom explosive" to be fired as secondary or primary.

In short, you can't make a custom weapon that can fire both rpg_missile and grenade_spit.

Offline TLKwarrior

  • *
  • +1% chance to make useful post
  • TLKwarrior has no influence.
Re: AAH!Need Help with secondary fire!
« Reply #6 on: April 22, 2011, 05:50:06 AM »
I think what you're trying to say is this Normal fire bullets but secondary fires grenades.
Ok but ive never done a grenade launcher on a gun before.
« Last Edit: April 22, 2011, 04:07:44 PM by Spasior »