View Full Version : Change what vehicle shoots

07-22-2009, 02:28 PM
How can I change what a vehicle shoots?

07-22-2009, 02:52 PM
Your journey starts somewhere here Onsweapon class (http://unreal.student.utwente.nl/uncodex-ut2004/). 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! ;)

07-22-2009, 03:10 PM
Where is the Onsweapon class? Do i have to open any package?

07-23-2009, 01:25 PM
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.

07-23-2009, 01:46 PM
Did you mean DriverWeapons and PassengerWeapons? None of them worked.

07-24-2009, 12:04 PM
Oh. They worked but PRVRearGun doesnt work.