wp_weaptype column?

General forum for discussions regarding UTStatsDB
Cockbite
Posts: 9
Joined: Fri Jul 24, 2009 6:21 pm

wp_weaptype column?

Postby Cockbite » Thu Jul 30, 2009 8:39 pm

What exactly does the wp_weaptype column in the ut_weapons table represent? How do I know what value to put in there when I add new weapons to the table?

Also, could you please add another column after wp_secondary for the weapons that have more than two methods of death? It could be something like wp_extra and it would just work the same as wp_secondary. I would greatly appreciate it.

Thanks.

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: wp_weaptype column?

Postby Panther » Thu Jul 30, 2009 11:13 pm

If you simply look through the weapons.sql file or the database, you can see groupings by wp_weaptype:
0 = Handheld Weapons
1 = Vehicles/Turrets
2 = ...I'm not sure...
3 = Monsters

wp_secondary is not a boolean value.

Cockbite
Posts: 9
Joined: Fri Jul 24, 2009 6:21 pm

Re: wp_weaptype column?

Postby Cockbite » Fri Jul 31, 2009 12:08 pm

Okay thanks, I saw the various numbers in the wp_weapontype column, but I just wasn't recognizing a pattern as to what they represented. I'm not familiar with the monsters so that threw me off.

Sorry about the wp_secondary confusion, I feel a bit dumb for not realizing that myself. I could
swear I only saw ones and zeros in there when I first looked, but now I see that there are twos and fours as well.


Return to “UTStatsDB”