Difference between revisions of "015C"

From GTAMods Wiki
Jump to navigation Jump to search
(added LCS, VCS)
Line 1: Line 1:
{{OpCode
+
<code>015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%</code><br>
| ini        = 015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%
+
'''Description''': Sets the zone's gang spawn<br>
| description = Sets the zone's gang spawn
+
'''Parameter 1''': [[Zone]]'s name as defined in the <code>gta3.zon</code> file in GTA III and <code>info.zon</code> file in Vice City<br>
| p1          = [[Zone]]'s name as defined in the <code>gta3.zon</code> file in GTA III and <code>info.zon</code> file in Vice City
+
'''Parameter 2''': Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)<br>
| p2          = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
+
'''Parameter 3''': unknown<br>
| p3          = unknown (was documented as density but it's not)
+
{| cellpadding="0" cellspacing="0"
| p4          = {{Icon|3}} Mafia, {{Icon|VC}} Cubans, {{Icon|LCS}} Leone, {{Icon|VCS}} Umberto's guys
+
!
| p5          = {{Icon|3}} Triads, {{Icon|VC}} Haitians, {{Icon|LCS}} Triad, {{Icon|VCS}} Cholos
+
!{{Icon|3}}
| p6          = {{Icon|3}} Diablos, {{Icon|VC}} Streetwannabe's, {{Icon|LCS}} Diablo, {{Icon|VCS}} Sharks
+
!{{Icon|VC}}
| p7          = {{Icon|3}} Yakuza, {{Icon|VC}} Diaz's gang, {{Icon|LCS}} Yakuza, {{Icon|VCS}} Army
+
!{{Icon|LCS}}
| p8          = {{Icon|3}} Yardies, {{Icon|VC}} Security guards, {{Icon|LCS}} Yardie, {{Icon|VCS}} Security
+
!{{Icon|VCS}}
| p9          = {{Icon|3}} Colombians, {{Icon|VC}} Biker gang, {{Icon|LCS}} Columbian, {{Icon|VCS}} Bikers
+
|-
| p10        = {{Icon|3}} Hoods, {{Icon|VC}} Vercetti gang, {{Icon|LCS}} Hood, {{Icon|VCS}} Vance
+
| '''Parameter 4''': || Mafia || Cubans || Leone || Umberto's guys
| p11        = {{Icon|3}} Cops, {{Icon|VC}} Golfers, {{Icon|LCS}} Forelli, {{Icon|VCS}} Golfer
+
|-
| p12        = {{Icon|VC}} 0 (any other value crashes the game), {{Icon|LCS}} Sindacco, {{Icon|VCS}} Vance
+
| '''Parameter 5''': || Triads || Haitians || Triad || Cholos
| p13        = {{Icon|VC}}{{Icon|LCS}}{{Icon|VCS}} Cops
+
|-
| game        = [[GTA 3]], [[Vice City]], [[Liberty City Stories]] (0161), [[Vice City Stories]] (00B7)
+
| '''Parameter 6''': || Diablos || Streetwannabe's || Diablo || Sharks
}}
+
|-
 +
| '''Parameter 7''': || Yakuza || Diaz's gang || Yakuza || Army
 +
|-
 +
| '''Parameter 8''': || Yardies || Security guards || Yardie || Security
 +
|-
 +
| '''Parameter 9''': || Colombians || Biker gang || Columbian || Bikers
 +
|-
 +
| '''Parameter 10''': || Hoods || Vercetti gang || Hood || Vance
 +
|-
 +
| '''Parameter 11''': || Cops || Golfers || Forelli || Golfer
 +
|-
 +
| '''Parameter 12''': || || {{Hint|0|any other value crashes the game}} || Sindacco || Marty's
 +
|-
 +
| '''Parameter 13''': || || Cops || Cops || Cops
 +
|}
 +
'''Supports''': [[GTA 3]], [[Vice City]], [[Liberty City Stories]] (0161), [[Vice City Stories]] (00B7)<br>
 +
 
 
This opcode sets the zone's gang info. This opcodes only spawns them on foot. To spawn them in cars, use opcode [[0152]]. In GTA III, this opcode has only 11 parameters. Vice City added two extra parameters to include more gangs. Parameters 4 and up are integers from 0 to 1000. These set the density of the gang. 0 means the gang takes up 0% of the random ped in the area and 1000 means the gang takes up 100% of the random ped in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the gang.
 
This opcode sets the zone's gang info. This opcodes only spawns them on foot. To spawn them in cars, use opcode [[0152]]. In GTA III, this opcode has only 11 parameters. Vice City added two extra parameters to include more gangs. Parameters 4 and up are integers from 0 to 1000. These set the density of the gang. 0 means the gang takes up 0% of the random ped in the area and 1000 means the gang takes up 100% of the random ped in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the gang.

Revision as of 00:00, 14 March 2010

015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%
Description: Sets the zone's gang spawn
Parameter 1: Zone's name as defined in the gta3.zon file in GTA III and info.zon file in Vice City
Parameter 2: Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
Parameter 3: unknown

GTA III Vice City Liberty City Stories Vice City Stories
Parameter 4: Mafia Cubans Leone Umberto's guys
Parameter 5: Triads Haitians Triad Cholos
Parameter 6: Diablos Streetwannabe's Diablo Sharks
Parameter 7: Yakuza Diaz's gang Yakuza Army
Parameter 8: Yardies Security guards Yardie Security
Parameter 9: Colombians Biker gang Columbian Bikers
Parameter 10: Hoods Vercetti gang Hood Vance
Parameter 11: Cops Golfers Forelli Golfer
Parameter 12: 0 Sindacco Marty's
Parameter 13: Cops Cops Cops

Supports: GTA 3, Vice City, Liberty City Stories (0161), Vice City Stories (00B7)

This opcode sets the zone's gang info. This opcodes only spawns them on foot. To spawn them in cars, use opcode 0152. In GTA III, this opcode has only 11 parameters. Vice City added two extra parameters to include more gangs. Parameters 4 and up are integers from 0 to 1000. These set the density of the gang. 0 means the gang takes up 0% of the random ped in the area and 1000 means the gang takes up 100% of the random ped in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the gang.