Difference between revisions of "04EC"
Jump to navigation
Jump to search
(created article) |
(page updates) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|VC}} |
+ | | command = SET_ZONE_CIVILIAN_CAR_INFO | ||
| description = Sets the zone's vehicle class info | | description = Sets the zone's vehicle class info | ||
− | | | + | | syntax1 = 04EC: set_zone_car_class_info '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8''] [''int9''] [''int10''] [''int11''] [''int12''] |
− | | | + | | p1t = [''string''] |
− | | | + | | p1d = Zone's name as defined in the [[ZONE]] section of an [[IPL|IPL or ZON]] file, must be type 2 |
− | | | + | | p2t = [''int1''] |
− | | | + | | p2d = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00) |
− | | | + | | p3t = [''int2''] |
− | | | + | | p3d = Density of normal class vehicles |
− | | | + | | p4t = [''int3''] |
− | | | + | | p4d = Density of poorfamily class vehicles |
− | | | + | | p5t = [''int4''] |
− | | | + | | p5d = Density of richfamily class vehicles |
− | | | + | | p6t = [''int5''] |
− | | | + | | p6d = Density of executive class vehicles |
− | | | + | | p7t = [''int6''] |
+ | | p7d = Density of worker class vehicles | ||
+ | | p8t = [''int7''] | ||
+ | | p8d = Density of big class vehicles | ||
+ | | p9t = [''int8''] | ||
+ | | p9d = Density of taxi class vehicles | ||
+ | | p10t = [''int9''] | ||
+ | | p10d = Density of moped class vehicles | ||
+ | | p11t = [''int10''] | ||
+ | | p11d = Density of motorbike class vehicles | ||
+ | | p12t = [''int11''] | ||
+ | | p12d = Density of leisureboat class vehicles | ||
+ | | p13t = [''int12''] | ||
+ | | p13d = Density of workerboat class vehicles | ||
}} | }} | ||
− | This opcode sets the zone's vehicle class info. The class of a vehicle is defined in the [[CARS (IDE Section)# | + | |
+ | This opcode sets the zone's vehicle class info. The class of a vehicle is defined in the [[CARS (IDE Section)#Vice City|CARS]] section of the [[item definition]] file. The densities have values with a range between 0 and 2000. All the values have to add up to 2000 or else other class vehicles will spawn along with yours or yours will not spawn correctly. | ||
+ | |||
+ | == Keywords == | ||
+ | set, zone, class, info | ||
+ | |||
+ | == External link == | ||
+ | * {{Icon|VC}} [http://spaceeinstein.altervista.org/infozone_map.htm Map of all info zones], by {{U|spaceeinstein}} |
Latest revision as of 03:25, 11 November 2016
- Description
- Sets the zone's vehicle class info
- Syntax
- 04EC: set_zone_car_class_info '[string]' [int1] [int2] [int3] [int4] [int5] [int6] [int7] [int8] [int9] [int10] [int11] [int12]
- Parameter
- [string]
- Zone's name as defined in the ZONE section of an IPL or ZON file, must be type 2
- [int1]
- Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
- [int2]
- Density of normal class vehicles
- [int3]
- Density of poorfamily class vehicles
- [int4]
- Density of richfamily class vehicles
- [int5]
- Density of executive class vehicles
- [int6]
- Density of worker class vehicles
- [int7]
- Density of big class vehicles
- [int8]
- Density of taxi class vehicles
- [int9]
- Density of moped class vehicles
- [int10]
- Density of motorbike class vehicles
- [int11]
- Density of leisureboat class vehicles
- [int12]
- Density of workerboat class vehicles
This opcode sets the zone's vehicle class info. The class of a vehicle is defined in the CARS section of the item definition file. The densities have values with a range between 0 and 2000. All the values have to add up to 2000 or else other class vehicles will spawn along with yours or yours will not spawn correctly.
Keywords
set, zone, class, info