Results 1 to 6 of 6
  1. #1

    Default Change what vehicle shoots

    How can I change what a vehicle shoots?

  2. #2


    Your journey starts somewhere here Onsweapon class. You should look at the specific vehicle to see how its weapon classes fire things. In the weapon classes you will want to look for things that deal with ProjectileClass/AltFireProjectileClass etc...

    In the future you should try to give more information, such as what you have tried, what you hope to accomplish, and a "please" and a "thankyou" wouldn't hurt!

  3. #3


    Where is the Onsweapon class? Do i have to open any package?

  4. #4
    MSgt. Shooter Person
    Join Date
    May 2009


    the ONSWeapon class is the base for all weapons (Tank Gun, Raptor Gun, etc).

    If you want to change a vehicle to shoot things like Tank Shells look in the Default Properties of the Goliath and find something like "FireMode" or something like that and copy it over to the vehicle you want to change.
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan

  5. #5


    Did you mean DriverWeapons and PassengerWeapons? None of them worked.

  6. #6


    Oh. They worked but PRVRearGun doesnt work.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Copyright ©2009-2015 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by