View Full Version : Trying to understand vehicles
12-25-2007, 08:49 PM
The main problem I'm trying to figure out is, where does the weapon fire come from in the main vehicle code? Such as UTVehicle_HellBender? Thanks.
12-26-2007, 02:59 AM
If you take a look at UTVehicle_HellBender_Content you'll see a section beginning with Seats. This section defines the available seats in the vehicle, and links a gun class which provides the control for the weapon the seat uses. In this case it's 'UTVWeap_ShockTurret' for the driver and 'UTVWeap_HellBenderPrimary' for the turret. I recommend UnCodeX for shuffling through the classes to find what you want, it turns class names into hyperlinks to their definition files :-).
12-26-2007, 05:23 AM
Thanks alot :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.