Not to sure if this has anything to do with it
I copied this text from
http://vbus.rulez.pl/index.php?la=en&pg=431
Hmmm havent read it fully but it explains tags for games and objects…
May be someone with more brains can work it…
to put an object into game world you have to use M1 tag.
example:
M1 596,1589,0,90,1,1,1,“scene\st_1.3ds”
line has to start with M1 tag,
1st, 2nd and 3rd parameters are position of the object
4th is rotation around vertical axis, in degrees.
5th,6th,7th are scale factors.
8th is name of file which contains the object.
(in example - ‘st_1.3ds’ is file with bus stop)
you can use 3DS files (3d studio, 3ds max and many others).
textures should be put in the same folder that contains 3DS file.
you can also put flat rectangular object using P2 and B2 tags.
example:
P2 787,1734,0,22,4,7,“scene\drzewo.bmp”
parameters 1-3 are position ,
4th parameter is rotation about vertical axis,
5th and 6th are dimensions of rectangle.
last is name of file with picture to be displayed.
B2 puts opaque rectangle, P2 puts fragmentary transparent one. (transparency is set by topleft pixel)
to put a roadways object file you have to use U1 tag.
U1 0,0,0,0,1,1,1,“scene\ulice.3ds”
Parameters are same with M1 tag parameters.
There should be only one U1 tag in *.ms1 file.
NOTES:
1st - shape of the roadways has to be FLAT.
2nd - game is scaled in meters, so one unit in modeler equals one meter in the game
3rd - DO NOT put any other objects in this file besides roadways. Object like builings and busstops chould be put in a *.ms1 file.
BUS STARTING POSITION
You can set bus start position with A1 tag.
example:
A1 10,200,90
1st and 2nd parameters are position, 3rd is rotation around vertical axis.
- SETTING UP THE TIMETABLE *
most of information about map and route is stored in *.ms1 files in game main folder. first part of the file contains information about object like buildings, trees etc. then goes part that sets up positions od bus stops. these lines begin with ‘ST’ tag and look like this:
ST 2,798,1748,0,0,“os. Swoboda 02”
first parameter is unique number of this bus stop.
2nd,3rd,4th is position of the bus stop.
5th is rotation about vertical axis.
6th parameter is name of the stop.
ATTN :4th and 5th parameters are ignored in current version
ATTN2:ST tag DOES NOT put visible object into game world , you have to put in other way (i.e. with M1 tag)
then you have to define a timetable.
timetable begins with RB tag, with parameter - start of simutation time.
every stop in the timetable starts with RS tag
1st parameter is number of busstop (previously defined with ST tag) 2nd is arrival time.
3rd is number of passangers who want to get out at this stop (’-1’ empties the bus)
4th if number of passangers waiting to step into the bus.
ATTN the programm does not use equal numbers from 3rd and 4th parameters but numbers from range 50%-150% of them.
timetable ends with RE tag
Ostatnia aktualizacja strony 16.10.2003