Difference between revisions of "0152"

From GTAMods Wiki
Jump to navigation Jump to search
(lots of stuff, didn't test III yet)
 
m
Line 4: Line 4:
 
| 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)
| p3          = unknown
+
| p3          = Density (unknown range)
 
| p4          = {{Icon|VC}} Cubans
 
| p4          = {{Icon|VC}} Cubans
 
| p5          = {{Icon|VC}} Haitians
 
| p5          = {{Icon|VC}} Haitians
Line 17: Line 17:
 
| game        = [[GTA 3]], [[Vice City]]
 
| game        = [[GTA 3]], [[Vice City]]
 
}}
 
}}
This opcode sets the zone's gang car spawn. This opcodes only spawns gang members as a driver and sometimes with a passenger in cars and is independent from opcode [[015C]], which spawns the gang on foot. In GTA III, this opcode has 17 parameters. Vice City has 13. Parameters 4 and up are integers from 0 to 1000. These set the density of the car spawn. 0 means the gang takes up 0% of the random cars in the area and 1000 means the gang takes up 100% of the random cars in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the cars. The opcode is used in conjunction with [[0236]] so either opcodes are useless by themselves. Cops can't be defined by 0236 so their preferred vehicle is a regular police car.
+
This opcode sets the zone's gang car spawn. This opcodes only spawns gang members as a driver and sometimes with a passenger in cars and is independent from opcode [[015C]], which spawns the gang on foot. In GTA III, this opcode has 17 parameters. Vice City has 13. Parameters 4 and up are integers from 0 to 1000. These set the density of the car spawn. 0 means the gang takes up 0% of the random cars in the area and 1000 means the gang takes up 100% of the random cars in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the cars. The opcode is used in conjunction with [[0236]] but can be used without it. If no gang vehicle is defined, the gang will spawn in their preferred vehicle.

Revision as of 01:11, 15 November 2009

{{{games}}}


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

This opcode sets the zone's gang car spawn. This opcodes only spawns gang members as a driver and sometimes with a passenger in cars and is independent from opcode 015C, which spawns the gang on foot. In GTA III, this opcode has 17 parameters. Vice City has 13. Parameters 4 and up are integers from 0 to 1000. These set the density of the car spawn. 0 means the gang takes up 0% of the random cars in the area and 1000 means the gang takes up 100% of the random cars in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the cars. The opcode is used in conjunction with 0236 but can be used without it. If no gang vehicle is defined, the gang will spawn in their preferred vehicle.