Odpowiedź 
 
Ocena wątku:
  • 6 Głosów - 3.83 Średnio
  • 1
  • 2
  • 3
  • 4
  • 5
[OMSI 1 & 2] Budowa pojazdu - video tutoriale
Autor Wiadomość

Król Qla III, Wasz Władca
Użytkownicy
Liczba postów: 112
Dołączył: 02-2013
Podziękowań: 29
Post: #1
Video Budowa pojazdu - video tutoriale
Poradniki jak konwertować swój pojazd do OMSI

Odcinek 1 : Jak konwertować bryłę ?



Odcinek 2 : Koła i wycieraczki



Odcinek 3 : Drzwi
Film


Kod do drzwi
Kod:
[mesh]
drzwi2.o3d  <--- nazwa elementu drzwi <drzwi otwierające się do wewnątrz lewe>

[viewpoint]
0

[visible]
Nothahn_2_sw
0

[illumination_interior]
5
5
5
5

[matl]
N4016_Fenster_int.tga
0

[matl_envmap]
N4016_envmap.bmp
0.3
 
[matl_alpha]
2

[matl_noZwrite]

[matl]
N4016_Regen.tga
0

[matl_alpha]
2

[alphascale]
Rain_Window_Front_Wetness

[newanim]
origin_trans
1.218    <--- dane z miejsca styku widełek z drzwiami
2.122    <--- dane z miejsca styku widełek z drzwiami
0
origin_rot_x
0
origin_rot_y
-90
origin_rot_z
0
anim_rot
door_2
172

[newanim]
origin_trans
1.170    <--- dane z głównej rurki widełek
2.440    <--- dane z głównej rurki widełek
0
origin_rot_x
0
origin_rot_y
-90
origin_rot_z
0
anim_rot
door_2
-83

[mesh]
drzwi3.o3d <--- nazwa pliku drzwi <drzwi otwierające się w prawo do wewnątrz>

[viewpoint]
0

[visible]
Nothahn_2_sw
0

[illumination_interior]
5
5
5
5

[matl]
N4016_Fenster_int.tga
0

[matl_envmap]
N4016_envmap.bmp
0.3
 
[matl_alpha]
2

[matl_noZwrite]

[matl]
N4016_Regen.tga
0

[matl_alpha]
2

[alphascale]
Rain_Window_Front_Wetness

[newanim]
origin_trans
1.208  <-- dane z miejsca styku widełek z drzwiami
1.203  <-- dane z miejsca styku widełek z drzwiami
0
origin_rot_x
0
origin_rot_y
-90
origin_rot_z
0
anim_rot
door_2
-172

[newanim]
origin_trans
1.170  <---- dane z głównej rurki widełek
0.881 <--- dane z głównej rurki widełek
0
origin_rot_x
0
origin_rot_y
-90
origin_rot_z
0
anim_rot
door_2
83

#

Poradnik w formie pisemnej by NickTM : http://strefa-omsi.pl/Watek-Wielki-porad...o-OMSI--79

(Ten post był ostatnio modyfikowany: 04.02.2014 15:49 przez Qla123.)
23.01.2014 16:16
Szukaj postów Cytat
 Podziękowania za post: Kamil 012

Król Qla III, Wasz Władca
Użytkownicy
Liczba postów: 112
Dołączył: 02-2013
Podziękowań: 29
Post: #2
RE: Budowa pojazdu - video tutoriale
Odcinek 4 : Światła
Film


Kod (dziękuję za objaśnienia Agorkowi)
Kod:
################################################################################​
                    ŚWIATŁA ZEWNETRZNE
################################################################################​
$$$ REFLEKTORY (PLAMY ŚWIATŁA OŚWIETLAJĄCE DROGĘ) $$$


### ŚWIATŁA DROGOWE ###

[light_enh_2]
0.750
6.070
0.744
0
1
0
0
0
1
0
0
200
200
255
0.4
50
150
lights_fern
3.0
0.15
1
1
0.1


[light_enh_2]
-0.744
6.084
0.744
0
1
0
0
0
1
0
0
200
200
255
0.4
50
150
lights_fern
3.0
0.15
1
1
0.1

### ŚWIATŁA MIJANIA ###

[light_enh_2]
1.066
6.013
0.800
0
1
0
0
0
1
0
0
255
255
200
0.4
50
190
lights_abbl
1.5
0.15
1
1
0.1

[light_enh_2]
-1.056
6.029
0.794
0
1
0
0
0
1
0
0
255
255
200
0.4
50
190
lights_abbl
1.5
0.15
1
1
0.1

### ŚWIATŁA STAŁE PRZEDNIE ###

[light_enh_2]
1.158
5.984
0.813
0
1
0
0
0
1
0
0
255
230
140
0.1
150
190
lights_stand
0.4
0.15
1
0
0.03


[light_enh_2]
-1.165
5.970
0.800
0
1
0
0
0
1
0
0
255
230
140
0.1
150
190
lights_stand
0.4
0.15
1
0
0.03

[light_enh_2]
1.069
5.901
2.739
0
1
0
0
0
1
0
0
200
200
255
0.1
150
190
lights_stand
0.8
0.1
1
0
0.03

[light_enh_2]
-1.089
5.901
2.739
0
1
0
0
0
1
0
0
200
200
255
0.1
150
190
lights_stand
0.8
0.1
1
0
0.03


### ŚWIATŁA STAŁE BOCZNE ###

[light_enh_2]
1.268
4.220
0.647
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
1.268
1.485
0.647
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
1.268
-0.968
0.647
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
1.268
-3.076
0.647
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
1.268
-5.396
0.647
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
-1.293
-5.398
0.647
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
-1.293
-3.079
0.647
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
-1.293
-0.974
0.649
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
-1.2393
1.751
0.649
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

[light_enh_2]
-1.293
4.222
0.647
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_stand
0.8
0.1
1
1
0.03

### ŚWIATŁA STAŁE TYLNE ###

[light_enh_2]
1.010
-5.676
2.673
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_rueck
2.0
0.1
1
1
0.03

[light_enh_2]
-1.020
-5.679
2.673
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_rueck
2.0
0.1
1
1
0.03

[light_enh_2]
-0.944
-5.673
0.835
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_rueck
2.0
0.1
1
1
0.03

[light_enh_2]
0.948
-5.680
0.835
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_rueck
2.0
0.1
1
1
0.03



### KIERUNKOWSKAZY (MIGACZE) PRZEDNIE ###

[light_enh_2]
1.188
5.966
0.853
1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_blinker_r
2.0
0.1
1
1
0.03

[light_enh_2]
-1.184
5.982
0.847
-1
0.3
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_blinker_l
2.0
0.1
1
1
0.03

### KIERUNKOWSKAZY (MIGACZE) BOCZNE ###

[light_enh_2]
-1.303
4.336
1.285
-0.5
1
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_blinker_l
1.0
0.1
1
1
0.03

[light_enh_2]
1.277
4.336
1.285
0.5
1
0
0
0
1
0
2
200
130
0
0.2
150
200
lights_blinker_r
1.0
0.1
1
1
0.03


### KIERUNKOWSKAZY (MIGACZE) TYLNE ###

[light_enh_2]
1.121
-5.674
0.871
0
-1
0
0
0
1
0
0
200
130
0
0.25
180
210
lights_blinker_r
1.5
0.1
1
1
0.03


[light_enh_2]
1.058
-5.675
2.545
0
-1
0
0
0
1
0
0
200
130
0
0.25
180
210
lights_blinker_r
1.0
0.1
1
1
0.03


[light_enh_2]
-1.127
-5.668
0.871
0
-1
0
0
0
1
0
0
200
130
0
0.25
180
210
lights_blinker_l
1.5
0.1
1
1
0.03


[light_enh_2]
-1.056
-5.676
2.543
0
-1
0
0
0
1
0
0
200
130
0
0.25
180
210
lights_blinker_l
1.0
0.1
1
1
0.03


### ŚWIATŁA HAMOWANIA ###

[light_enh_2]
0.948
-5.680
0.835
0
-1
0
0
0
1
0
0
255
0
0
0.25
180
210
lights_brems
1.0
0.1
1
1
0.03


[light_enh_2]
-0.944
-5.673
0.835
0
-1
0
0
0
1
0
0
255
0
0
0.25
180
210
lights_brems
1.0
0.1
1
1
0.03


[light_enh_2]
1.010
-5.676
2.673
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_brems
1.0
0.1
1
1
0.03


[light_enh_2]
-1.020
-5.679
2.673
0
-1
0
0
0
1
0
0
150
0
0
0.25
180
210
lights_brems
1.0
0.1
1
1
0.03

### ŚWIATŁA COFANIA ###

[light_enh_2]
0.824
-5.686
0.835
0
-1
0
0
0
1
0
0
255
240
160
0.25
180
210
lights_rueckfahr
1.0
0.1
1
1
0.03

[light_enh_2]
-0.826    x
-5.683    y
0.835     z
0
-1
0
0
0
1
0
0
255
240
160
0.25
180
210
lights_rueckfahr
1.0
0.1
1
1
0.03

### ŚWIATŁA PRZECIWMGIELNE TYLNE ###

[light_enh_2]
0.701    x
-5.696    y
0.835   z
0
-1
0
0
0
1
0
0
255
10
5
0.25
180
210
lights_nebelschluss
2.0
0.1
1
1
0.03


[light_enh_2]
-0.707   x
-5.693   y
0.835    z
0
-1
0
0
0
1
0
0
255
10
5
0.25
180
210
lights_nebelschluss
2.0
0.1
1
1
0.03

### ŚWIATŁA PRZECIWMGIELNE PRZEDNIE ###

[light_enh_2]
0.915    x
6.044     y
0.770     z
0
1
0
0
0
1
0
0
250
250
200
0.4
50
150
lights_mgla
2.0
0.1
1
1
0.1

[light_enh_2]
-0.907    x
6.056      y
0.761      z
0
1
0
0
0
1
0
0
250
250
200
0.4
50
150
lights_mgla
2.0
0.1
1
1
0.1

Odcinek 5 : Lustra
Film


Kod
Kod:
************************************************************

-------lustra---------
[mesh]
szklolusterkoprawe.o3d

[matl]
reflexion1/2/3.bmp
1

[matl_envmap]
envmap.bmp
0.1
------------------


Odcinek 6 : Obsługa tekstur
Film



Kody :
Plik CTI
Kod:
***************************************
Tekstura testowa
***************************************

[item]
Stargard
farbschema_tex1
Stargard\stargardtyl.bmp

[item]
Stargard
farbschema_tex2
Stargard\stargardfront.bmp

[item]
Stargard
farbschema_tex3
Stargard\stargardright.bmp

[item]
Stargard
farbschema_tex4
Stargard\stargardleft.bmp

[item]
Stargard
farbschema_tex5
Stargard\frontb.bmp

[item]
Stargard
farbschema_tex6
Stargard\frontbok.bmp

[item]
Stargard
farbschema_tex7
Stargard\frontpl.bmp

***************************************
Tekstura testowa 2
***************************************

[item]
Stargard
farbschema_tex1
Fikcyjne\Fikcyjnetyl.bmp

[item]
Stargard
farbschema_tex2
Fikcyjne\stargardfront.bmp

[item]
Stargard
farbschema_tex3
Fikcyjne\stargardright.bmp

[item]
Stargard
farbschema_tex4
Fikcyjne\stargardleft.bmp

[item]
Stargard
farbschema_tex5
Fikcyjne\frontb.bmp

[item]
Stargard
farbschema_tex6
Fikcyjne\frontbok.bmp

[item]
Stargard
farbschema_tex7
Fikcyjne\frontpl.bmp
Plik CFG
Kod:
################################################################################​####################
                     MALOWANIA
################################################################################​####################

[CTC]
Colorscheme
Texture\Malowania
0

[CTCTexture]
farbschema_tex1
back.bmp

[CTCTexture]
farbschema_tex2
front.bmp

[CTCTexture]
farbschema_tex3
right.bmp

[CTCTexture]
farbschema_tex4
left.bmp

[CTCTexture]
farbschema_tex5
frontb.bmp

[CTCTexture]
farbschema_tex6
frontbok.bmp


[CTCTexture]
farbschema_tex7
frontpl.bmp

(Ten post był ostatnio modyfikowany: 01.03.2014 19:52 przez Qla123.)
04.02.2014 15:50
Szukaj postów Cytat

Król Qla III, Wasz Władca
Użytkownicy
Liczba postów: 112
Dołączył: 02-2013
Podziękowań: 29
Post: #3
RE: Budowa pojazdu - video tutoriale
Odcinek 7 : Odcinek zbiorczy
Film :


Kod 1 - kod przykładowy : dla każdego modelu inny
Kod:
***************************************
Kodziy
**************************************


###WAGENNUMMER###

0
[texttexture_enh]
number
Czci_tab
330
330
1
0
0
0
3
1

1
[texttexture_enh]
number
test3
64
64
1
0
0
0
3
1


###COMPUTER###

2
[texttexture]
IBIS
IBIS-2_5x7
256
64
0
50
50
50

***Fahrplanlage Minuten***
3
[texttexture]
IBIS_Delay_min
RGw
50
50
0
50
50
50

***Fahrplanlage Zehntelminuten***
4
[texttexture]
IBIS_Delay_sec
RGw
40
40
0
50
50
50

***Fahrplanlage Zehntelminuten***
5
[texttexture]
IBIS_Delay_state
RGw
40
40
0
50
50
50


###FlipDot###

***Ziel vorne und seite - normal***
6
[texttexture]
Vollmatrix_Inhalt
Flipdot_Font_N4016
405
65
0
255
255
0

***Ziel vorne und seite - invertiert***
7
[texttexture]
Vollmatrix_Inhalt_invert
Flipdot_Font_N4016_invert
405
65
0
255
255
0

***Linie hinten - nur normal***
8
[texttexture]
Vollmatrix_Linie_Inhalt
Flipdot_Font_N4016
105
75
0
255
255
0


###THERMOMETER###

9
[texttexture]
cockpit_temperatur
LCD_7-Segment
256
64
0
50
50
50


###INNENANZEIGE###

10
[texttexture_enh]
IBIS_cabindisplay
LCD-Innenanzeige
2048
128
0
255
220
20
3
1


###FAHRSCHEINDRUCKER###

11
[texttexture]
ticketprinter_display
IBIS-2_5x7
256
32
0
0
0
0


###UHR###

12
[texttexture]
cockpit_godzina2
VA_LCD
240
100
0
255
252
140

Kod 2 - wyświetlacze (kod zbiorczy)
Kod:
*****************************
Wyswietlacze
*****************************

[mesh]
wyswietlacze.o3d

[viewpoint]
0

[illumination_interior]
-1
-1
-1
-1

[matl]
N4016_FlipDot_2.png
0

[useTextTexture]
6

[matl_alpha]
2

[matl_lightmap]
N4016_FlipDot_2_L.png
lights_stand

[viewpoint]
0

[illumination_interior]
-1
-1
-1
-1

[matl]
N4016_FlipDot_2.png
1

[useTextTexture]
6

[matl_alpha]
2

[matl_lightmap]
N4016_FlipDot_2_L.png
lights_stand

[viewpoint]
0

[illumination_interior]
-1
-1
-1
-1

[matl]
N4016_FlipDot_1.png
0

[useTextTexture]
8

[matl_alpha]
2

[matl_lightmap]
N4016_FlipDot_1_L.png
lights_stand

Kod 3 - szyby
Kod:
*************************************************************************
Szyby
*************************************************************************
[mesh]
nazwapliku.o3d
-----------------------------
[matl]
Regen.tga // nazwa tekstury deszczowej
0

[matl_alpha]
2

[alphascale]
Rain_Window_Norm_Wetness

[matl_noZwrite]
-----------------------------
[matl]
Dreck.tga / nazwa tekstury brudnej
0

[alphascale]
Dirt_Norm

[matl_alpha]
2

[matl_noZwrite]

-----------------------------
[matl]
Fenster.tga /nazwa tekstury zwyklej
0
 
[matl_noZwrite]

[matl_envmap]

Kod 4 - szyba przesuwana
Kod:
*********************************************************************
szyby przesuwana
*********************************************************************

### DRIVER WINDOW / OKNO KIERWOCY / FAHRERFEBSTER ###


[mesh]
szybakierowcy.o3d

[viewpoint]
0

-----------------------------
[matl]
N4016_Regen.tga
1

[matl_alpha]
2

[alphascale]
Rain_Window_Norm_Wetness
-----------------------------
[matl]
N4016_Schmutz.tga
2

[alphascale]
Dirt_Norm

[matl_alpha]
2

[mouseevent]
cp_fahrerfenster_opn

[newanim]
origin_rot_z
90
anim_trans
cp_fahrerfenster_pos
0.45

(Ten post był ostatnio modyfikowany: 06.04.2015 17:34 przez Qla123.)
01.03.2014 20:00
Szukaj postów Cytat

Król Qla III, Wasz Władca
Użytkownicy
Liczba postów: 112
Dołączył: 02-2013
Podziękowań: 29
Post: #4
RE: Budowa pojazdu - video tutoriale
Poza odcinkowe kody
1: Kod na sterownik temperaturą <leżący>
Kod:
################################################################################​################
Panel ogrzewania
################################################################################​################

[mesh]
PanelOgrzewania/Galka1.o3d

[mouseevent]
cp_heizregler_umluft

[viewpoint]
3

[newanim]
origin_trans
-1.213
5.185
1.371

origin_rot_x
0
origin_rot_y
90
origin_rot_z
0

anim_rot
cockpit_heizregler_umluft
280

[mesh]
PanelOgrzewania/Galka2.o3d

[mouseevent]
cp_heizregler_temp

[viewpoint]
3

[newanim]
origin_trans
-1.213
5.218
1.371

origin_rot_x
0
origin_rot_y
90
origin_rot_z
0

anim_rot
cockpit_heizregler_temp
280

[mesh]
PanelOgrzewania/Galka3.o3d

[mouseevent]
cp_klimator_sw

[viewpoint]
3

[newanim]
origin_trans
-1.213
5.248
1.371

origin_rot_x
0
origin_rot_y
90
origin_rot_z
0

anim_rot
cp_klimator_sw
280

2: Plama światła na jezdni
Aby plama światła wyświetlała się na jezdni należy dodać ten kod (aby wszystko było przejrzyście zaleca się by kod był pod wpisami od świateł) :
Kod:
**************
Plama światła na jezdni
****************


[spotlight]
0
4.7
0.6
0
1
-0.3
233
233
255
500
30
70

Abblendlicht:

[spotlight]
0
4.7
0.6
0
1
-0.3
255
255
233
250
30
70

[spotlight]
0
4.7
0.6
0
1
-0.3
250
250
200
530
30
70

(Ten post był ostatnio modyfikowany: 31.07.2014 18:00 przez Qla123.)
29.07.2014 13:22
Szukaj postów Cytat
 Podziękowania za post: TajfunPL
Odpowiedź 




Użytkownicy przeglądający ten wątek: 1 gości

Forum Strefa-OMSI.pl

Tematyczne Forum dotyczące najpopularniejszego symulatora autobusu - OMSI. Zapraszamy do rejestracji i aktywnego udziału w Społeczności.

Strona wykorzystuje pliki cookies. Korzystanie z witryny oznacza zgodę na ich zapis lub odczyt wg ustawień przeglądarki.

Współpracujemy z:

Polecamy także: