Difference between revisions of "03F1"

From GTAMods Wiki
Jump to navigation Jump to search
(created article)
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 03F1=2,%1e% %2e%
 
| ini        = 03F1=2,%1e% %2e%
| description = Sets the pedtype's hostility to other pedtypes
+
| description = Sets the ped type's hostility to other pedtypes
| p1          = [[Pedtype]]
+
| p1          = [[Ped type]]
| p2          = Flag (threat pedtype)
+
| p2          = Flag (threat ped type)
 
| game        = [[GTA 3]], [[Vice City]]
 
| game        = [[GTA 3]], [[Vice City]]
 
}}
 
}}
This opcode sets the pedtype's hostility to other pedtypes and will attack the threat pedtype on sight. The threat pedtype cannot overwrite [[hardcoded]] threats or set threats in the [[ped.dat]] file. The threat pedtype is binary converted to decimal format. The effect of this opcode can be reset using [[03F2]].
+
This opcode sets the ped type's hostility to other ped types and will attack the threat ped type on sight. The threat ped type cannot overwrite [[hardcoded]] threats or threats set in the [[ped.dat]] file. The threat ped type is binary converted to decimal format. The effect of this opcode can be reset using [[03F2]].
  
==List of threat pedtypes==
+
==List of usable values==
 
The following is a list of usable flags to use as threat pedtype.
 
The following is a list of usable flags to use as threat pedtype.
 
{| {{Prettytable}}
 
{| {{Prettytable}}
! Flag
+
! Parameter 1
 +
! Parameter 2
 
! GTA III
 
! GTA III
 
! Vice City
 
! Vice City
 
|-
 
|-
 +
| 0
 
| 1
 
| 1
 
| PLAYER1
 
| PLAYER1
 
| PLAYER1 (you)
 
| PLAYER1 (you)
 
|-
 
|-
 +
| 1
 +
| 2
 +
| PLAYER2 (unused)
 +
| PLAYER2 (unused)
 +
|-
 +
| 2
 +
| 4
 +
| PLAYER3 (unused)
 +
| PLAYER3 (unused)
 +
|-
 +
| 3
 +
| 8
 +
| PLAYER4 (unused)
 +
| PLAYER4 (unused)
 +
|-
 +
| 4
 
| 16
 
| 16
|  
+
| CIVMALE
 
| CIVMALE
 
| CIVMALE
 
|-
 
|-
 +
| 5
 
| 32
 
| 32
|  
+
| CIVFEMALE
 
| CIVFEMALE
 
| CIVFEMALE
 
|-
 
|-
 +
| 6
 +
| 64
 +
| COP
 +
| COP
 +
|-
 +
| 7
 
| 128
 
| 128
|  
+
| GANG1 (Mafia)
 
| GANG1 (Cubans)
 
| GANG1 (Cubans)
 
|-
 
|-
 +
| 8
 
| 256
 
| 256
|  
+
| GANG2 Triads
 
| GANG2 (Haitians)
 
| GANG2 (Haitians)
 
|-
 
|-
 +
| 9
 
| 512
 
| 512
|  
+
| GANG3 Diablos
 
| GANG3 (Streetwannabe's)
 
| GANG3 (Streetwannabe's)
 
|-
 
|-
 +
| 10
 
| 1024
 
| 1024
|  
+
| GANG4 Yakuza
 
| GANG4 (Diaz's gang)
 
| GANG4 (Diaz's gang)
 
|-
 
|-
 +
| 11
 
| 2048
 
| 2048
|  
+
| GANG5 Yardies
 
| GANG5 (Security guards)
 
| GANG5 (Security guards)
 
|-
 
|-
 +
| 12
 
| 4096
 
| 4096
|  
+
| GANG6 Colombians
 
| GANG6 (Biker gang)
 
| GANG6 (Biker gang)
 
|-
 
|-
 +
| 13
 
| 8192
 
| 8192
|  
+
| GANG7 Hoods
 
| GANG7 (Vercetti gang)
 
| GANG7 (Vercetti gang)
 
|-
 
|-
 +
| 14
 
| 16384
 
| 16384
 
|  
 
|  
 
| GANG8 (Golfers)
 
| GANG8 (Golfers)
 
|-
 
|-
 +
| 15
 +
| 32768
 +
|
 +
| GANG9 (unused)
 +
|-
 +
| 16
 
| 65536
 
| 65536
 
|  
 
|  
 
| EMERGENCY (Paramedics)
 
| EMERGENCY (Paramedics)
 
|-
 
|-
 +
| 17
 
| 131072
 
| 131072
 
|  
 
|  
 
| FIREMAN
 
| FIREMAN
 
|-
 
|-
 +
| 18
 
| 262144
 
| 262144
 
|  
 
|  
 
| CRIMINAL
 
| CRIMINAL
 +
|-
 +
| 19
 +
| 524288
 +
|
 +
| SPECIAL
 +
|-
 +
| -
 +
| 1048576
 +
|
 +
| GUN
 +
|-
 +
| -
 +
| 2097152
 +
|
 +
| COPCAR
 +
|-
 +
| -
 +
| 4194304
 +
|
 +
| FASTCAR
 +
|-
 +
| -
 +
| 8388608
 +
|
 +
| EXPLOSION
 +
|-
 +
| -
 +
| 16777216
 +
|
 +
| PROSTITUTE
 +
|-
 +
| -
 +
| 33554432
 +
|
 +
| DEADPEDS
 
|}
 
|}
 +
 +
==Keywords==
 +
aggressive, hate, hostile, pedtype, gang

Revision as of 23:52, 7 December 2009

{{{games}}}


Description
Sets the ped type's hostility to other pedtypes
Syntax
{{{syntax1}}}
Parameter

This opcode sets the ped type's hostility to other ped types and will attack the threat ped type on sight. The threat ped type cannot overwrite hardcoded threats or threats set in the ped.dat file. The threat ped type is binary converted to decimal format. The effect of this opcode can be reset using 03F2.

List of usable values

The following is a list of usable flags to use as threat pedtype.

Parameter 1 Parameter 2 GTA III Vice City
0 1 PLAYER1 PLAYER1 (you)
1 2 PLAYER2 (unused) PLAYER2 (unused)
2 4 PLAYER3 (unused) PLAYER3 (unused)
3 8 PLAYER4 (unused) PLAYER4 (unused)
4 16 CIVMALE CIVMALE
5 32 CIVFEMALE CIVFEMALE
6 64 COP COP
7 128 GANG1 (Mafia) GANG1 (Cubans)
8 256 GANG2 Triads GANG2 (Haitians)
9 512 GANG3 Diablos GANG3 (Streetwannabe's)
10 1024 GANG4 Yakuza GANG4 (Diaz's gang)
11 2048 GANG5 Yardies GANG5 (Security guards)
12 4096 GANG6 Colombians GANG6 (Biker gang)
13 8192 GANG7 Hoods GANG7 (Vercetti gang)
14 16384 GANG8 (Golfers)
15 32768 GANG9 (unused)
16 65536 EMERGENCY (Paramedics)
17 131072 FIREMAN
18 262144 CRIMINAL
19 524288 SPECIAL
- 1048576 GUN
- 2097152 COPCAR
- 4194304 FASTCAR
- 8388608 EXPLOSION
- 16777216 PROSTITUTE
- 33554432 DEADPEDS

Keywords

aggressive, hate, hostile, pedtype, gang