Difference between revisions of "04EC"

From GTAMods Wiki
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
| ini        = 04EC=13,%1s% %2h% %3d% %4h% %5d% %6d% %7h% %8h% %9h% %10h% %11h% %12d% %13d%
+
| 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
| p1          = [[Zone]]'s name as defined in the <code>info.zon</code> file
+
| syntax1    = 04EC: set_zone_car_class_info '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8''] [''int9''] [''int10''] [''int11''] [''int12'']
| p2          = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
+
| p1t        = [''string'']
| p3          = Normal
+
| p1d        = Zone's name as defined in the [[ZONE]] section of an [[IPL|IPL or ZON]] file, must be type 2
| p4          = Poorfamily
+
| p2t        = [''int1'']
| p5          = Richfamily
+
| p2d        = Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
| p6          = Executive
+
| p3t        = [''int2'']
| p7          = Worker
+
| p3d        = Density of normal class vehicles
| p8          = Big
+
| p4t        = [''int3'']
| p9          = Taxi
+
| p4d        = Density of poorfamily class vehicles
| p10         = Moped
+
| p5t        = [''int4'']
| p11         = Motorbike
+
| p5d        = Density of richfamily class vehicles
| p12         = Leisureboat
+
| p6t        = [''int5'']
| p13         = Workerboat
+
| p6d        = Density of executive class vehicles
| game       = [[Vice City]]
+
| 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)#Class 2|CARS]] section of the [[item definition]] file. Parameters 3 through 13 are integers from 0 to 2000. The numbers has to add up to 2000 or else other class vehicles will spawn along with yours or yours will not spawn correctly.
+
 
 +
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

Vice City SET_ZONE_CIVILIAN_CAR_INFO


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

External link