DAT parameters for Pedestrians
Pedestrians are shown walking around cities and leaving stations and stops.The parameters and values are separated by = .
Parameter |
Meaning |
Example Value |
Format |
---|---|---|---|
obj | object type | pedestrian | exactly this text |
name | smoke name | pedestrian_1 | simple text |
copyright | creator name | Myself | simple text |
DistributionWeight | frequency it's shown | 4 | number |
from version 120.3 ( Makeobj 60.1 ) | |||
steps_per_frame | animation speed | 4 | number |
from version 121.0 ( Makeobj 60.3 ) | |||
intro_month | introduction month | 2 | number |
intro_year | introduction year | 1994 | number |
retire_month | retirement month | 8 | number |
retire_year | retirement year | 2030 | number |
'obj' Parameter
This parameter defines the object type. For being a pedestrian obligatory it's pedestrian.'name' Parameter
This parameter is the name of the object. This name should not correspond with the name of an object file *.pak in the in-use pakset folder.'copyright' Parameter
Used to show who made the object, generally the image. Use whatever you want to identify yourself, name or nickname.'DistributionWeight' Parameter
Determines the frequency the pedestrian will show walking in the streets, higher values means higher probability.'intro_month' Parameter
Vehicle's introduction month, the month the pedestrians will start spawning in the cities. The number used is the corresponding month, 1 (one) for January and 12 (twelve) for December.Default value if ommited is January.
'intro_year' Parameter
Vehicle's introduction year, or year the the pedestrians will start spawning in the cities. Number correspond with the year. Negative numbers are not allowed.Default value if ommited is 0001.
'retire_month' Parameter
Vehicle's retirement month, the month the pedestrians will stop spawning in the cities. The number used is the corresponding month, 1 (one) for January and 12 (twelve) for December.Default value if ommited is January.
'retire_year' Parameter
Vehicle's retirement year, or year the the pedestrians will stop spawning in the cities. Number correspond with the year. Negative numbers are not allowed.This parameter is not obligatory, without it vehicle production will be forever.
PNG image for Pedestrians
Not only the PNG image must be created but parameters must be included in the DAT file so the game can understand it. More general info about the image creation can be viewed in Creating the PNG image.Parameter |
Direction |
Example Value |
---|---|---|
Image[S] | going south | image_name.Y.X |
Image[N] | going north | image_name.Y.X |
Image[E] | going east | image_name.Y.X |
Image[W] | going west | image_name.Y.X |
Image[SW] | going southwest | image_name.Y.X |
Image[SE] | going southeast | image_name.Y.X |
Image[NW] | going northwest | image_name.Y.X |
Image[NE] | going northeast | image_name.Y.X |
from version 120.3 ( Makeobj 60.1 ) | ||
Image[S][0] | Animation graphic 1 for going south | image_name.Y.X |
Image[S][1] | Animation graphic 2 for going south | image_name.Y.X |
Image[S][2] | Animation graphic 3 for going south | image_name.Y.X |
Image[S][3] | Animation graphic 4 for going south | image_name.Y.X |
Examples
Examples are modified versions from the pak64 open-source repository.
Clean. Use to edit. Copy to clipboard
|
PNG Example image Green and red dots show the places to place the pedestrians, being green the pedestrian front. Plugin Image No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src. |
Pedestrian_1 pak64 Copy to clipboard
|
PNG image pedestrian1.png Plugin Image No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src. |
Couple pak64 Copy to clipboard
|
PNG image pedestrian2.png Plugin Image No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src. |
Pedestrian with dog pak64 Copy to clipboard
|
PNG image pedestrian_dog.png Plugin Image No image specified. One of the following parameters must be set: fileId, randomGalleryId, fgalId, attId or src. |
Last wiki comments