12,236
edits
(contributions from myself, Aschratt, Bnb, Solom, and UNRATED69) |
mNo edit summary |
||
Line 7: | Line 7: | ||
=== GTA III === | === GTA III === | ||
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
!style="width: 3em;" |{{Icon | !style="width: 3em;" |{{Icon|3}} | ||
!style="width: 12em;" |Identifier | !style="width: 12em;" |Identifier | ||
!style="width: 6em;" |Type | !style="width: 6em;" |Type | ||
Line 48: | Line 48: | ||
|T ||Animation2 Fire Point ||float || | |T ||Animation2 Fire Point ||float || | ||
|- | |- | ||
|U ||Model ID ||integer ||[[ | |U ||Model ID ||integer ||[[OBJS|Model index]] of the weapon | ||
|- | |- | ||
|V ||Flags ||integer ||[[#Flags|See below]] | |V ||Flags ||integer ||[[#Flags|See below]] | ||
Line 74: | Line 74: | ||
=== GTA Vice City === | === GTA Vice City === | ||
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
!style="width: 3em;" |{{Icon | !style="width: 3em;" |{{Icon|vc}} | ||
!style="width: 12em;" |Identifier | !style="width: 12em;" |Identifier | ||
!style="width: 6em;" |Type | !style="width: 6em;" |Type | ||
Line 119: | Line 119: | ||
|V ||Breakout Animation ||float || | |V ||Breakout Animation ||float || | ||
|- | |- | ||
|W ||Model ID ||integer ||[[ | |W ||Model ID ||integer ||[[WEAP|Model index]] of the weapon | ||
|- | |- | ||
|X ||Model2 ID ||integer || | |X ||Model2 ID ||integer ||Model index of the weapon attachment, only Minigun model shows an effect | ||
|- | |- | ||
|Y ||Flags ||hex ||[[#Flags 2|See below]] | |Y ||Flags ||hex ||[[#Flags 2|See below]] | ||
|- | |- | ||
|Z ||Weapon Slot ||integer || | |Z ||Weapon Slot ||integer || | ||
*0 = Fist | *''0'' = [[Fist]] | ||
*1 = Melee | *''1'' = [[Melee Weapons|Melee]] | ||
*2 = Thrown | *''2'' = Thrown | ||
*3 = Pistol | *''3'' = Pistol | ||
*4 = Shotgun | *''4'' = Shotgun | ||
*5 = Submachine gun | *''5'' = Submachine gun | ||
*6 = Assault rifle | *''6'' = Assault rifle | ||
*7 = Heavy | *''7'' = Heavy | ||
*8 = Sniper rifle | *''8'' = Sniper rifle | ||
*9 = Special | *''9'' = Special | ||
|} | |} | ||
Line 141: | Line 141: | ||
The game contains a hardcoded list of weapon names. This is used to assign a weapon name to a weapon type (Unarmed is type 0, BrassKnuckle is type 1, etc.). | The game contains a hardcoded list of weapon names. This is used to assign a weapon name to a weapon type (Unarmed is type 0, BrassKnuckle is type 1, etc.). | ||
*Unarmed | *Unarmed | ||
*BrassKnuckle | *[[Brass Knuckles|BrassKnuckle]] | ||
*ScrewDriver | *[[Screwdriver|ScrewDriver]] | ||
*GolfClub | *[[Golf Club|GolfClub]] | ||
*NightStick | *[[Nightstick|NightStick]] | ||
*Knife | *[[Knife]] | ||
*BaseballBat | *[[Baseball Bat|BaseballBat]] | ||
*Hammer | *[[Hammer]] | ||
*Cleaver | *[[Meat Cleaver|Cleaver]] | ||
*Machete | *[[Machete]] | ||
*Katana | *[[Katana]] | ||
*Chainsaw | *[[Chainsaw]] | ||
*Grenade | *[[Grenades|Grenade]] | ||
*DetonateGrenade | *[[Remote Grenade|DetonateGrenade]] | ||
*TearGas | *TearGas | ||
*Molotov | *Molotov | ||
Line 375: | Line 375: | ||
== See also == | == See also == | ||
* {{Icon | * {{Icon|3}} <code>[[OBJS|objs]]</code>, [[Item Definition|item definition]] section to define weapon objects in GTA III | ||
* {{Icon | * {{Icon|vc}} {{Icon|sa}} <code>[[WEAP|weap]]</code>, item definition section to define weapon objects in GTA Vice City and GTA San Andreas | ||
== External link == | == External link == | ||
* {{Icon | * {{Icon|vc}} [http://spaceeinstein.altervista.org/weap_vc.php Weapon flags calculator (JavaScript)], by {{U|spaceeinstein}} | ||
{{fdl}} | {{fdl}} | ||
{{3-navi}} | |||
{{VC-navi}} | |||
[[Category:File Formats]] | [[Category:File Formats]] |