Stop passengers boarding in the middle of the Facelift Citaro (1 Viewer)

Advertisement

Road-hog123

An Orange Bus
FF Council
UKDT
Add-on London Team
Dec 10, 2015
2,287
109
3,158
Kent, UK
roadhog123.co.uk
Pronouns
He/Him
The routes that passengers take through the bus are defined in a file called something like "paths.cfg" (there may be several of these for different variants of the bus). This is done with a series of path nodes followed by a series of path links between those nodes. Some of these nodes are defined as places to enter the bus and some as places to exit the bus. This is done in a file called something like "passengercabin.cfg" (again there may be several for the same reason), using [entry] and [exit] entries. These are followed by the zero-based index of the path node that should be an entry or exit. To stop passengers entering where you don't want them to, you should remove the [entry] definitions other than the ones you actually want.
 
  • Like
Reactions: AdventureRock123

Road-hog123

An Orange Bus
FF Council
UKDT
Add-on London Team
Dec 10, 2015
2,287
109
3,158
Kent, UK
roadhog123.co.uk
Pronouns
He/Him
Calm down, people who can help aren't always awake and/or around to answer questions...

You want to look in \Vehicles\MB_O530_Facelift\Model\. Inside you will see:
upload_2017-11-1_15-25-35.png

As you can see there are quite a few of these files because there are a lot of different variants of the bus.

If you look in one of the passengercabin files, you'll see something like this (this is from the 2-door Citaro):
Code:
###################################

[entry]
0

[entry]
1

{noticketsale}

[entry]
2

{withbutton}

[entry]
3

{withbutton}

[exit]
2

[exit]
3

###################################
You want to remove the definitions of entrances with an index higher than 1, so you get this:
Code:
###################################

[entry]
0

[entry]
1

{noticketsale}

[exit]
2

[exit]
3

###################################
Obviously if you do this for a bus with more doors, you'll have more exits to leave in place.
 
This thread is more than 6 years old.

Your message may be considered spam for the following reasons:

Users who are viewing this thread