Ticketbox to IVU.box

Disclaimer: This mod only works if the Ticketbox (from the Citaro /G, with the login screen) is already in your bus.

Jlnade, Michigamer

--------------------------
HOW TO
--------------------------

Please note: for this tutorial you have to have a basic understanding of tech, Windows and Notepad++/Visual Studio Code

############################################################
Please use Notepad++ or Visual Studio Code for this tutorial
############################################################

Please create a backup before starting.

Step 1

Copy the Model and Textures into the Bus where you want to change the Ticketbox and override if necessary

Schritt 2:

open the model.cfg of the Bus you want to edit

Schritt 3:

In the Texttexture section look for the 12 entrys from the Ticketbox (the first one usually starts with "RouteSel_Time" and the last one ends with "IBIS_Cockpit_Display_anmeldung" auf), and please write down
the numbers from the 12 Text-Textures.

The entrys also dont have to be together, they can be scattered throug the model.cfg

Then you have 12 numbers noted, for this example we will use 10-22, this of course varies from bus to bus.

In the model.cfg you are going to press "STRG+F", then the search-menu will open and in the top there will be a register called "replace", click on that.

In this Menu activate "Match whole word only" and "Match case"

Now we will use our exmaple:

In the "find what" line we Type "x1" and in the "Replace with" line we type "10", then hit the "Replace all" Button, we are going to repeat this until "x12" and "22", but with the numbers you noted. 

If everything worked like it should you should no longer see the "x" numbers, instead you should see the real numbers you noted.

Now you copy the Texttexures below and replace the old ones with these.

x1
[texttexture_enh]
RouteSel_Time
DIN
200
100
0
0
0
0
1
0

x2
[texttexture_enh]
RouteSel_Data
DIN
1500
180
0
0
0
0
1
0

x3
[texttexture_enh]
RouteSel_Data
DIN Narrow
1500
220
0
0
0
0
1
0

x4
[texttexture]
IBIS
test
256
64
0
255
255
255

x5
[texttexture]
IBIS_DelayComplex
DIN
120
45
0
8
8
8

Fahrscheindrucker
x6
[texttexture]
IBIS_Date_Time
DIN Narrow
200
125
0
255
255
255

x7
[texttexture_enh]
IBIS_StopList
DIN
600
550
0
255
255
255
1
0

x8
[texttexture_enh]
IBIS_StopList
DIN
600
550
0
255
255
255
1
0

x9
[texttexture_enh]
IBIS_DepTimes
DIN
115
550
0
255
255
255
1
0

x10
[texttexture_enh]
IBIS
test
256
65
0
255
255
255
1
0

Fahrscheindrucker
x11
[texttexture]
ticketprinter_display
test
256
65
0
0
0
0

x12
[texttexture_enh]
IBIS_Cockpit_Display_anmeldung
test
256
65
0
255
255
255
0
0


Next you seach for the model.cfg entry from the Ticketbox, that shold be found under "Drucker: IVU.ticketbox".

There you will find a entry that looks about like this one(only with the Ticketbox-Mod from Tarik K.):

[mesh]
IVUticketbox\Halterung.o3d

[illumination_interior]
0
1
2
3

[mesh_ident]
Ibox

[newanim]
origin_rot_y
-90
anim_rot
Daueranimation
-4.5

[newanim]
origin_rot_x
-90
anim_trans
Daueranimation
-0.435

[newanim]
origin_rot_z
-90
anim_trans
Daueranimation
0.1

[newanim]
origin_rot_y
-90
anim_trans
Daueranimation
-0.202

Evereyting which is under "Ibox" in this entry, in this case this:

[newanim]
origin_rot_y
-90
anim_rot
Daueranimation
-4.5

[newanim]
origin_rot_x
-90
anim_trans
Daueranimation
-0.435

[newanim]
origin_rot_z
-90
anim_trans
Daueranimation
0.1

[newanim]
origin_rot_y
-90
anim_trans
Daueranimation
-0.202

Copy that from your model.cfg

Please paste what you just copied where it says "Please Paste here" (a few lines below here")

 
Then you copy everythingfrom "IVU.box" until:

[mouseevent]
pause

***********************

and replace it with the old ticketbox entry in your model.cfg, which should also end with:

[mouseevent]
pause

***********************

Copy from here:

*********************************
IVU.box
*********************************
 
[mesh]
Jlnade\IVU.box\sales_fm.o3d
 
[illumination_interior]
0
1
2
3

[mesh_ident]
Ibox

[matl]
IVU_logo.png
0

[matl_alpha]
2

###################################
PLEASE PASTE HERE
###################################

[mesh]
Jlnade\IVU.box\IBISautoRoute.o3d

[viewpoint]
3

[animparent]
Ibox

[mouseevent]
IBIS_RouteSelect

[visible]
IBIS_SelectIndex
1

[matl]
textfeld.bmp
0

[matl_alpha]
1

[useTextTexture]
x1

[matl]
textfeld2.bmp
0

[matl_alpha]
2

[useTextTexture]
x2

[matl]
textfeld3.bmp
0

[matl_alpha]
2

[useTextTexture]
x3

***********************

[mesh]
Jlnade\IVU.box\IBISAbfahrt.o3d

[viewpoint]
3

[animparent]
Ibox

[mouseevent]
IBIS_DepartureOkay

[visible]
IBIS_DepartureTime
1

***********************

[mesh]
Jlnade\IVU.box\Rot.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
Delay_State_Colour
0

***********************

[mesh]
Jlnade\IVU.box\Gruen.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
Delay_State_Colour
1

***********************

[mesh]
Jlnade\IVU.box\Blau.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
Delay_State_Colour
2

***********************

[mesh]
Jlnade\IVU.box\Verspaetung.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
elec_busbar_main
1

***********************

[mesh]
Jlnade\IVU.box\Verspaetung_1.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
elec_busbar_main
1

[matl]
textfeld2.bmp
0

[matl_alpha]
2

[useTextTexture]
x4

***********************

[mesh]
Jlnade\IVU.box\Verspaetung_2.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
elec_busbar_main
1

[matl]
textfeld3.bmp
0

[matl_alpha]
2

[useTextTexture]
x5

***********************

[mesh]
Jlnade\IVU.box\Verspaetung_3.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
elec_busbar_main
1

[matl]
textfeld.bmp
0

[matl_alpha]
2

[useTextTexture]
x6

***********************
[mesh]
Jlnade\IVU.box\IBISMonitor.o3d

[viewpoint]
3

[animparent]
Ibox

[visible]
elec_busbar_main
1

[matl]
textfeld.bmp
0

[matl_alpha]
2

[useTextTexture]
x7

[matl]
textfeld2.bmp
0

[matl_alpha]
2

[useTextTexture]
x8

[matl]
textfeld3.bmp
0

[matl_alpha]
2

[useTextTexture]
x9

[mesh]
Jlnade\IVU.box\LinieKurs.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_setmode_linie_kurs

***********************

[mesh]
Jlnade\IVU.box\Ziel.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_setmode_ziel

***********************

[mesh]
Jlnade\IVU.box\Route.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_setmode_route

***********************

[mesh]
Jlnade\IVU.box\Ansage.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_Sonderansagen

***********************

[mesh]
Jlnade\IVU.box\IBIS_vorwaerts.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_vorwaerts

***********************

[mesh]
Jlnade\IVU.box\IBIS_rueckwaerts.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
elec_busbar_main
1

[mouseevent]
IBIS_rueckwaerts

***********************

[mesh]
Jlnade\IVU.box\Ansagenscreen.o3d

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

***********************

[mesh]
Jlnade\IVU.box\Ansage1.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

[mouseevent]
IBIS_Sonderansage1

***********************

[mesh]
Jlnade\IVU.box\Ansage2.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

[mouseevent]
IBIS_Sonderansage2

***********************

[mesh]
Jlnade\IVU.box\Ansage3.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

[mouseevent]
IBIS_Sonderansage3

***********************

[mesh]
Jlnade\IVU.box\Ansage4.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

[mouseevent]
IBIS_Sonderansage4

***********************

[mesh]
Jlnade\IVU.box\Ansage5.o3d

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[visible]
IBIS_SonderansagenMode
1

[mouseevent]
IBIS_Sonderansage5

***********************

[mesh]
Jlnade\IVU.box\Linie.o3d

[animparent]
Ibox

[visible]
IBIS_mode
1

[matl]
IBIS-Textfeld.tga
0

[matl_alpha]
2

[useTextTexture]
x10

[matl_noZwrite]

***********************

[mesh]
Jlnade\IVU.box\IBISZiel.o3d

[animparent]
Ibox

[visible]
IBIS_mode
3

[matl]
IBIS-Textfeld.tga
0

[matl_alpha]
2

[useTextTexture]
x10

[matl_noZwrite]

***********************

[mesh]
Jlnade\IVU.box\IBIS_1.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_1

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_2.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_2

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_3.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_3

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_4.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_4

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_5.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_5

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_6.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_6

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_7.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_7

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_8.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_8

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_9.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_9

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_0.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_0

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\IBIS_enter.o3d

[viewpoint]
2

[animparent]
Ibox

[mouseevent]
IBIS_eingabe

[visible]
IBIS_Eingabetasten
1

***********************

[mesh]
Jlnade\IVU.box\Kurs.o3d

[animparent]
Ibox

[visible]
IBIS_mode
2

[matl]
IBIS-Textfeld.tga
0

[matl_alpha]
2

[useTextTexture]
x10

[matl_noZwrite]

***********************
[mesh]
Jlnade\IVU.box\IBISTicket.o3d

[animparent]
Ibox

[visible]
verkauf
1

[matl]
IBIS-Textfeld.tga
0

[matl_alpha]
2

[useTextTexture]
x11

[matl]
IBIS-Textfeld.tga
1

[matl_alpha]
2

[useTextTexture]
x11
***********************

[mesh]
Jlnade\IVU.box\Drucker_enter.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_enter

***********************

[mesh]
Jlnade\IVU.box\ITCS.o3d
 
[illumination_interior]
0
1
2
3

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[mouseevent]
Taste_ITCS

[visible]
verkauf
1

***********************
 
[mesh]
Jlnade\IVU.box\Verkauf.o3d

[mouseevent]
Printer_Taste_Verkauf

[visible]
IBIS_frei
1

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[matl]
IBIS.jpg
0
 
[matl_lightmap]
IBIS.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\Drucker_Ticket_0.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_ticket_0

***********************

[mesh]
Jlnade\IVU.box\Drucker_Ticket_1.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_ticket_1

***********************

[mesh]
Jlnade\IVU.box\Drucker_Ticket_2.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_ticket_2

***********************

[mesh]
Jlnade\IVU.box\Drucker_Ticket_3.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_ticket_3

***********************

[mesh]
Jlnade\IVU.box\Drucker_Ticket_4.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_ticket_4

***********************

[mesh]
Jlnade\IVU.box\Drucker_cancel.o3d

[visible]
verkauf
1


[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[animparent]
Ibox

[mouseevent]
ticketprinter_button_cancel

***********************

[mesh]
Jlnade\IVU.box\Fahrschein.o3d

[animparent]
Ibox

[viewpoint]
3

[mouseevent]
ticketprinter_getticket

[newanim]
origin_trans
-0.01038
5.56795
1.44987
 
origin_rot_y
90
 
anim_trans
ticketprinter_ticket_pos
0.04

[mesh]
Jlnade\IVU.box\Object.o3d

################
Anmeldebildschirm und Bootscreen
################

***********************

[mesh]
Jlnade\IVU.box\Boot1.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
Boot
1

[matl]
IBISBoot1.jpg
0

[matl_lightmap]
IBISBoot1.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\Boot2.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
Boot
2

[matl]
IBISBoot2.jpg
0

[matl_lightmap]
IBISBoot2.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\Boot3.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
Boot
3

[matl]
IBISBoot3.jpg
0

[matl_lightmap]
IBISBoot3.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\Boot4.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
Boot
4

[matl]
IBISBoot4.jpg
0

[matl_lightmap]
IBISBoot4.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\Boot5.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
Boot
5

[matl]
IBISBoot5.jpg
0

[matl_lightmap]
IBISBoot5.jpg
elec_busbar_main

***********************

[mesh]
Jlnade\IVU.box\ID.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
atron_ideingabe
1

[matl_change]
IBIS_ID_eingabe.jpg
0
elec_busbar_main


***********************

[mesh]
Jlnade\IVU.box\PIN.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
atron_pineingabe
1

[matl_change]
IBIS_Pin_eingabe.jpg
0
elec_busbar_main


***********************

[mesh]
Jlnade\IVU.box\Anmeldung_txt.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[visible]
atron_display_anmeldung
1

[matl]
textfeld.bmp
0

[useTextTexture]
x12

[matl_alpha]
2

[visible]
Anzeige
1

***********************

[mesh]
Jlnade\IVU.box\abmelden.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[mouseevent]
abmelden

***********************

[mesh]
Jlnade\IVU.box\pause.o3d

[animparent]
Ibox
 
[illumination_interior]
0
1
2
3

[matl]
IVU-Transparenz.tga
0

[matl_alpha]
2

[mouseevent]
pause

***********************


Until here

If you followed the tutorial completely and the right way, please save the model.cfg and then start Omsi


Have fun!

Please report any bugs in the Webdisk