Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
en:tutocitycar [2011/01/22 13:06] 127.0.0.1 édition externe |
en:tutocitycar [2015/02/18 11:05] (version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP box>[[:en:tutomakeobj3#objects|Come back to objects]] </WRAP> | + | <WRAP box>[[en:tutomakeobj3#objects|Come back to objects]] </WRAP> |
====== Citycars ====== | ====== Citycars ====== | ||
- | |||
Citycars are vehicles moving along in cities of the map, their density is defined by the traffic density adjusted for the map where you are playing. | Citycars are vehicles moving along in cities of the map, their density is defined by the traffic density adjusted for the map where you are playing. | ||
- | |||
===== Graphics ===== | ===== Graphics ===== | ||
- | + | Vehicles needs eight pictures : one for each direction of the vehicle (North, North-East, East, South-East, South, etc ...). This is the graphical pattern :{{ fr:tuto:dat:tramecitycar.png }}The red mark is the front of the vehicle. | |
- | Vehicles needs eight pictures : one for each direction of the vehicle (North, North-East, East, South-East, South, etc ...). This is the graphical pattern :{{ :fr:tramecitycar.png }}The red mark is the front of the vehicle. | + | |
This is the graphical part of the .dat file with x for the number of the line in the picture. | This is the graphical part of the .dat file with x for the number of the line in the picture. | ||
- | |||
<WRAP box>Image[S]=image.x.2\\ Image[E]=image.x.0\\ Image[SE]=image.x.1\\ Image[NE]=image.x.3\\ Image[N]=image.x.4\\ Image[W]=image.x.6\\ Image[NW]=image.x.5\\ Image[SW]=image.x.7</WRAP> | <WRAP box>Image[S]=image.x.2\\ Image[E]=image.x.0\\ Image[SE]=image.x.1\\ Image[NE]=image.x.3\\ Image[N]=image.x.4\\ Image[W]=image.x.6\\ Image[NW]=image.x.5\\ Image[SW]=image.x.7</WRAP> | ||
- | |||
===== Essential parameters ===== | ===== Essential parameters ===== | ||
- | |||
|**Parameter** |**Description ** |**Content** |**Example ** | | |**Parameter** |**Description ** |**Content** |**Example ** | | ||
Ligne 34: | Ligne 26: | ||
|DistributionWeight |frequency of occurrence |number |4 | | |DistributionWeight |frequency of occurrence |number |4 | | ||
+ | <WRAP box>[[en:tutomakeobj3#objects|Come back to objects]] </WRAP> | ||
- | <WRAP box>[[:en:tutomakeobj3#objects|Come back to objects]] </WRAP> | ||
- | |||
- | |||
- | \\ | ||