Difference between revisions of "015C"
Line 1: | Line 1: | ||
+ | <code>015C=11,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h%</code><br> | ||
<code>015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%</code><br> | <code>015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%</code><br> | ||
'''Description''': Sets the zone's gang spawn<br> | '''Description''': Sets the zone's gang spawn<br> | ||
'''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> | '''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> | ||
'''Parameter 2''': Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)<br> | '''Parameter 2''': Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)<br> | ||
− | '''Parameter 3''': unknown | + | '''Parameter 3''': unknown |
{| cellpadding="0" cellspacing="0" | {| cellpadding="0" cellspacing="0" | ||
! | ! | ||
Line 30: | Line 31: | ||
|- | |- | ||
| '''Parameter 13''': || || Cops || Cops || Cops | | '''Parameter 13''': || || Cops || Cops || Cops | ||
− | |} | + | |}'''Supports''': [[GTA 3]], [[Vice City]], [[Liberty City Stories]] (0161), [[Vice City Stories]] (00B7)<br> |
− | '''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. |
− | + | [[Category:OpCodes]] |
Revision as of 19:19, 17 March 2010
015C=11,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h%
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
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.