Ämne: Virtual Bus
Visa ett inlägg
Gammal 2003-03-09, 20:57   #37
vbus
Junior Member
 
Reg.datum: Mar 2003
Ort: , , Poland.
Inlägg: 5
Standard

Hej
vr98olli asked how to build a route so here goes a short tutorial.

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 'alfa40' version of programm
ATTN2:ST tag DOES NOT put visual 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

to put an object info 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.

finally, a few words about game performance. if the bus jumps like a
kongaroo or you have to few FPS you can improve game performance by
reducing graphics quality. you can try to uncheck few or all
checkboxes in 'opcje' tab.

translation of labels:
1. mgla = fog
2. antyaliasing = antialiasing
3. rozmywanie tekstur = mipmapping
4. trawa teksturowana = grass texture
5. mozliwosc podejrzenia lusterek = possibility of viewing rear
mirrors
6. oswietlenie = ligths (does take effect on scene ambient light, not
on bus stop lights)
7. polprzezroczystosc czesci obiektow = partial transparency of some
objects. (turn it off and see how funny bus dashboard looks )

mirrors - i do know, rearviews look like cameras and monitors , not
like real mirrors. i am going to correct this bug in future version.

btw. how have you find vbus-site ?

greetings

hej da

hope that you understand my English.

vbus besöker inte forumet just nu