Difference between revisions of "015C"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%
 
| ini        = 015C=13,%1s% %2b% %3h% %4h% %5h% %6h% %7h% %8h% %9h% %10h% %11h% %12h% %13d%
| description = Sets the zone's gang info
+
| description = Sets the zone's gang spawn
 
| 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
 
| 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
 
| p2          = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
 
| p2          = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)

Revision as of 00:22, 15 November 2009

{{{games}}}


Description
Sets the zone's gang spawn
Syntax
{{{syntax1}}}
Parameter

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.