PICK: Difference between revisions

448 bytes added ,  4 July 2018
m
no edit summary
m (1 revision: Imported from gtamodding.com - under GNU FDL)
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{IplSection
{{IplSection
| game        = [[GTA SA]], [[GTA IV]]
| game        = {{Icon-square|SA}}
| description = Creates a pickup
| description = Creates a pickup
}}
}}
'''PICK''' is a section in the [[item placement]] files introduced in [[San Andreas]]. It is used to define item pickups, mainly [[weapon]]s. It was mainly used to create fire extinguisher pickups at fast food restaurants. It does exist in [[GTA IV]], although it is never used there.
'''<code>pick</code>''' is a section in the item placement file functionally working in [[Grand Theft Auto: San Andreas]]. The section exists in [[Grand Theft Auto III]], [[Grand Theft Auto: Vice City]], and [[Grand Theft Auto IV]] but it serves no function in them. It is used to define item [[pickup]]s, usually [[weapon]]s. It was mainly used to create fire extinguisher pickups at fast food restaurants.


==San Andreas==
== San Andreas ==
===Format===
{{Pre|
ID, PosX, PosY, PosZ
pick
Id, PosX, PosY, PosZ
end
}}


{|{{Prettytable}} width="100%"
{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
!width="250px"|Identifier
!style="width: 3em;" |{{Icon-square|SA}}
!style="width: 12em;" |Identifier
!style="width: 6em;" |Type
!Description
!Description
|-
|-
|<center>ID</center>||A number which defines a [[weapon]]
|A ||Id ||integer ||An index (see below).
|-
|-
|<center>PosX, PosY, PosZ</center>||Floating point values defining where the pickup should be placed in the world.
|B,C,D ||PosX, PosY, PosZ ||float[3] ||The position of the pickup to place in the world.
|}
|}


===Pick Weapon IDs===
=== Pick Ids ===
Weapons in San Andreas are defined in the [[default.ide]] file. Their statistics are specified in the [[weapon.dat]] file. By default these are the weapons available in the game.
The following is a list of models that can be created as a pickup by this section. Weapons are defined in the default.ide file and their behavior are specified in the weapon.dat file. Any value not listed in the table produces nothing.


{|{{Prettytable}} class="collapsible sortable"
{|class="wikitable mw-collapsible sortable"
! ID
!Id
! Weapon Name
!Model<br>index
! class="unsortable"| Ammo
!Name
!class="unsortable" |Ammo
|-
|-
| 4
|4
| Brass Knuckles
|331
|[[Brass Knuckles]]
| -
| -
|-
|-
| 5
|5
| Nightstick
|334
|[[Nightstick]]
| -
| -
|-
|-
| 6
|6
| Knife
|335
|[[Knife]]
| -
| -
|-
|-
| 7
|9
| *Nothing*
|333
|[[Golf Club]]
| -
| -
|-
|-
| 8
|10
| *Nothing*
|336
|[[Bat]]
| -
| -
|-
|-
| 9
|11
| Golf Club
|337
|[[Shovel]]
| -
| -
|-
|-
| 10
|12
| Bat
|338
|[[Pool Cue]]
| -
| -
|-
|-
| 11
|13
| Shovel
|339
|[[Katana]]
| -
| -
|-
|-
| 12
|14
| Pool Cue
|341
|[[Chainsaw]]
| -
| -
|-
|-
| 13
|15
| Katana
|344
| -
|[[Molotov]]
|8
|-
|-
| 14
|16
| Chainsaw
|342
| -
|[[Grenades]]
|8
|-
|-
| 15
|17
| Molotov
|363
| 8
|[[Satchel Charges|Satchels]]
|5
|-
|-
| 16
|18
| Grenades
|346
| 8
|[[Pistol|9mm Pistol]]
|30
|-
|-
| 17
|19
| Satchels
|347
| 5
|[[Silenced 9mm]]
|10
|-
|-
| 18
|20
| 9mm Pistol
|348
| 30
|[[Desert Eagle]]
|10
|-
|-
| 19
|21
| Silenced 9mm
|349
| 10
|[[Pump Action Shotgun|Shotgun]]
|15
|-
|-
| 20
|22
| Desert Eagle
|351
| 10
|[[SPAS 12|SPAS Shotgun]]
|10
|-
|-
| 21
|23
| Shotgun
|372
| 15
|[[TEC 9|Tec 9]]
|60
|-
|-
| 22
|24
| SPAS Shotgun
|352
| 10
|[[Micro-SMG|Micro SMG]]
|60
|-
|-
| 23
|25
| Tec 9
|353
| 60
|[[MP5]]
|60
|-
|-
| 24
|26
| Micro SMG
|355
| 60
|[[AK-47|AK47]]
|80
|-
|-
| 25
|27
| MP5
|356
| 60
|[[M4]]
|80
|-
|-
| 26
|28
| AK47
|357
| 80
|[[Rifle|Country Rifle]]
|20
|-
|-
| 27
|29
| M4
|358
| 80
|[[Sniper Rifle]]
|10
|-
|-
| 28
|31
| Country Rifle
|361
| 20
|[[Flamethrower]]
|100
|-
|-
| 29
|32
| Sniper Rifle
|362
| 10
|[[Minigun]]
|500
|-
|-
| 30
|33
| *Nothing*
|321
|[[Dildo|Large Purple Dildo]]
| -
| -
|-
|-
| 31
|34
| Flamethrower
|322
| 100
|[[Dildo|Small White Dildo]]
|-
| 32
| Minigun
| 500
|-
| 33
| Large Purple Dildo
| -
| -
|-
|-
| 34
|35
| Small White Dildo
|323
|[[Vibrator|Large White Vibrator]]
| -
| -
|-
|-
| 35
|36
| Large White Vibrator
|324
|[[Vibrator|Small Black Vibrator]]
| -
| -
|-
|-
| 36
|37
| Small Black Vibrator
|325
|[[Flowers]]
| -
| -
|-
|-
| 37
|38
| Flowers
|326
|[[Cane]]
| -
| -
|-
|-
| 38
|39
| Cane
|327
|Small gun box
| -
| -
|-
|-
| 39
|40
| Ringbox
|328
|Big gun box
| -
| -
|-
|-
| 40
|41
| Necklace Box
|330
|[[Mobile Phone|Cellphone]]
| -
| -
|-
|-
| 41
|43
| Cellphone
|343
| -
|[[Tear Gas|Teargas]]
|8
|-
|-
| 42
|44
| *Nothing*
|362
| -
|[[Minigun]]
|500
|-
|-
| 43
|45
| Teargas
|351
| 8
|[[SPAS 12|SPAS Shotgun]]
|10
|-
|-
| 44
|46
| Minigun (Duplicate)
|359
| 500
|[[Rocket Launcher]]
|4
|-
|-
| 45
|47
| SPAS Shotgun (Duplicate)
|360
| 10
|[[Heat Seeking Rocket Launcher]]
|3
|-
|-
| 46
|48
| Rocket Launcher
|364
| 4
|[[Detonator]]
|-
| 47
| Heat Seeking Rocket Launcher
| 3
|-
| 48
| Detonator
| -
| -
|-
|-
| 49
|49
| Spray can
|365
| 500
|[[Spray Can|Spray can]]
|500
|-
|-
| 50
|50
| Fire Extinguisher
|366
| 500
|[[Fire Extinguisher]]
|500
|-
|-
| 51
|51
| Camera
|367
| 36
|[[Camera]]
|36
|-
|-
| 52
|52
| Nightvision Goggles
|368
|[[Night Vision|Nightvision Goggles]]
| -
| -
|-
|-
| 53
|53
| Infrared Goggles
|369
|[[Thermal Vision|Infrared Goggles]]
| -
| -
|-
|-
| 54
|54
| Jetpack
|370
|[[Jetpack]]
| -
| -
|-
|-
| 55
|55
| Parachute
|371
|[[Parachute]]
| -
| -
|}
|}
==Tools==
* {{GTAF|315944|IPL Helper}} - by {{U|Xmen}}


==See also==
==See also==
* [[IDE|Item Definition file]]
* <code>[[WEAP|weap]]</code>
* [[WEAP|WEAP (IDE Section)]]
 
==External link==
* {{GTAF|202532|Item Placement file specification}}


{{N|4|SA}}{{fdl}}
{{fdl}}
12,236

edits