Moin liebe Communtiy,
Ich baue zurzeit an einer Werbetafel, die verschieden "Rahmenfarben" und Werbetexturen haben soll. Damit ich immer das gleiche Mesh nutzen kann, habe ich das über [matl_freetex] lösen wollen.
Für die Rahmenfarbe sind 1x1-Pixel-Große Farb-Dateien vorhanden, die getauscht werden können, und für die Werbefläche ebenfalls verschieden Texturen.
Ich habe mich an den Rumpelhans-Verkehrsschildern orientiert, d.h. ich habe eine stringvarlist erstellt, dort zwei Varialen (Farbe und Textur) eingegeben, diese in der SCO eingefügt und den [matl_freetex]-Eintrag hinzugefügt.
Hier meine komplette SCO-Datei:
[friendlyname]
Infotafel
[groups]
2
Kiel
Infotafel
[stringvarnamelist]
1
script\stringvarlist.txt
[mesh]
Infotafel.o3d
[matl]
White.dds
0
[matl_freetex]
White.dds
Farbe
[matl]
Infotafel_Inhalt.dds
1
[matl_freetex]
Infotafel_Inhalt.dds
Textur
[matl_envmap]
envmap.bmp
0.25
[NightMapMode]
0
Alles anzeigen
So sieht der Texturordner aus:
Wenn ich das Objekt nun in OMSI spawne, funktioiert aber nur die Rahmenfarbe, ich kann beides eingeben, aber für die Werbetextur bleibt mein Dummy:
Wisst ihr, wo das Problem ist, oder kann man in OMSI nur einen [matl_freetex]-Eintrag pro Mesh nutzen?
====================
Start logging
====================
Date: 28.02.2021
Time: 14:55:01
Version: 2.3.004
0 14:55:01 - - Information: OMSI is working in edit mode
1 14:55:04 - - Information: TIR - looking for DLL path...
2 14:55:04 - - Information: TIR - DLL path not found - TIR disabled [0]
3 14:56:17 - - Information: Options dialog created
4 14:56:17 - - Information: Weather dialog created
5 14:56:17 - - Information: Profiles dialog created
6 14:56:17 - - Information: Time table running dialog created
7 14:56:17 - - Information: Start dialog created
8 14:56:17 - - Information: Menu 2 created
9 14:56:18 - - Information: Menu 3 created
10 14:56:18 - - Information: Tut dialog created
11 14:56:18 - - Information: Menu pos set
12 14:56:18 - - Information: Bro initialized
13 14:56:18 - - Information: Human engine initialized
14 14:56:18 - - Information: Forms set
15 14:56:18 - - Information: Captions set
16 14:56:18 - - Information: Screen ration set
17 14:56:18 - - Information: Init3D: BackBufferFormat = 22
18 14:56:18 - - Information: Init3D: Hardware vertex processing
19 14:56:18 - - Information: Init3D: Max iso = 16
20 14:56:18 - - Information: Init3D: Hal active
21 14:56:18 - - Information: Creating 3D device procedure finished
22 14:56:18 - - Information: 3D initialized
23 14:56:18 - - Information: Direct sound initialized
24 14:56:18 - - Information: Create main manager...
25 14:56:18 - - Information: Veh array created
26 14:56:18 - - Information: CS initialized
27 14:56:18 - - Information: Station manager created
28 14:56:18 - - Information: OBB created
29 14:56:18 - - Information: Tex managers created
30 14:56:18 - - Information: Tex manager started
31 14:56:18 - - Information: Tutorial manager created
32 14:56:18 - - Information: Material manager created
33 14:56:18 - - Information: Scenery object manager created
34 14:56:18 - - Information: Human manager created
35 14:56:18 - - Information: RV type manager created
36 14:56:18 - - Information: RV lists created
37 14:56:18 - - Information: Spline manager created
38 14:56:18 - - Information: Time table manager created
39 14:56:18 - - Information: Currency manager created
40 14:56:18 - - Warning: Did not find texture file "30er_reihensiedlung01.bmp"!
41 14:56:18 - - Warning: Did not find texture file "SD_Rad_v.bmp"!
42 14:56:18 - - Warning: Did not find texture file "reifen.bmp"!
43 14:56:18 - - Information: Visual helpers created
44 14:56:18 - - Information: Audio Mixer erstellen...
45 14:56:19 - - Information: ---
46 14:56:19 - - Information: Download Internet Textures...
47 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_1.tga
48 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_2.tga
49 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_3.tga
50 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_4.tga
51 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_5.tga
52 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_6.tga
53 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_7.tga
54 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_8.tga
55 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_9.tga
56 14:56:19 - - Information: Problem while getting file http://arnej-productions.de/OMSIiTex/TFT_Werbung_10.tga
57 14:56:20 - - Information: Input Manager erstellen...
58 14:56:20 - - Information: Tastaturbefehle laden...
59 14:56:20 - - Information: Game Controller laden...
60 14:56:20 - - Information: Progman initialisieren...
61 14:56:20 - - Information: Partikelvertices initialisieren...
62 14:56:20 - - Information: Lichtquellen initialisieren...
63 14:56:20 - - Information: System-Scriptvariablen initialisieren...
64 14:56:20 - - Information: Redline initialisieren...
65 14:56:20 - - Information: Traffic Path Manager initialisieren...
66 14:56:20 - - Information: Plugins initialisieren...
67 14:56:20 - - Information: Spline-Helper initialisieren...
68 14:56:20 - - Warning: Did not find texture file "path_car_1.bmp"!
69 14:56:50 - - Information: Loading Situation situations\laststn_editor.osn...
70 14:56:50 - - Information: Date: 1988 0628, Time: 113500
71 14:56:50 - - Information: Load maps\Kiel\global.cfg map...
72 14:56:50 - - Information: Load Cloud and Snowfall objects...
73 14:56:50 - - Warning: Did not find texture file "texture.tga"!
74 14:56:50 - - Warning: Did not find texture file "Snow_1.bmp.001"!
75 14:56:50 - - Information: Load Precip. Part. System...
76 14:56:50 - - Information: Load Precip. Sound...
77 14:56:50 - - Information: Sound erstellen...
78 14:56:50 - - Information: Sound laden...
79 14:56:50 - - Information: Set Weather System vars...
80 14:56:50 - - Information: Sky and Weather created
81 14:56:50 - - Information: Date: 1988 0728, Time: 100000
82 14:56:59 - - Information: Fonts initialized
83 14:56:59 - - Information: Map created
84 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
85 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
86 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
87 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
88 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
89 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
90 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
91 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
92 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
93 14:57:00 - - Warning: Did not find texture file "Fahrscheine_80er.bmp"!
94 14:57:00 - - Information: Map Global File loaded
95 14:57:00 - - Information: Registrations loaded
96 14:57:00 - - Information: Parked Cars loaded
97 14:57:00 - - Information: Map AILists loaded
98 14:57:00 - - Information: New Centerkachel set
99 14:57:00 - - Information: VarParents loaded
100 14:57:00 - - Information: Special Objects refreshed
101 14:57:00 - - Information: Object and Spline Matrices refreshed
102 14:57:00 - - Information: Map loaded
103 14:57:00 - - Information: Humans created
104 14:57:00 - - Information: Date: 1988 0728, Time: 100000
105 14:57:00 - - Information: Editor refreshed
106 14:57:00 - - Warning: Cloudtype "-1" could not be found!
107 14:57:00 - - Information: Weather loaded
108 14:57:00 - - Information: Map camera loaded
109 14:57:00 - - Information: maps\Kiel\global.cfg map loaded!
110 14:57:01 - - Warning: Did not find texture file "text.bmp"!
111 14:57:05 - - Warning: Did not find texture file "text.bmp"!
112 14:57:06 - - Warning: Did not find texture file "text.bmp"!
113 14:57:06 - - Warning: Did not find texture file "text.bmp"!
114 14:57:07 - - Warning: Did not find texture file "text.bmp"!
115 14:57:08 - - Warning: Did not find texture file "text.bmp"!
116 14:57:11 - - Information: Refresh Tile: 50, maps\Kiel\tile_1835_11812.map ...
117 14:57:11 - - Information: Refresh Tile: 51, maps\Kiel\tile_1834_11812.map ...
118 14:57:11 - - Information: Refresh Tile: 52, maps\Kiel\tile_1834_11811.map ...
119 14:57:11 - - Information: Refresh Tile: 54, maps\Kiel\tile_1833_11812.map ...
120 14:57:11 - - Information: Refresh Tile: 55, maps\Kiel\tile_1832_11812.map ...
121 14:57:11 - - Information: Refresh Tile: 57, maps\Kiel\tile_1832_11811.map ...
122 14:57:11 - - Information: Refresh Tile: 58, maps\Kiel\tile_1833_11811.map ...
123 14:57:11 - - Information: Refresh Tile: 59, maps\Kiel\tile_1834_11810.map ...
124 14:57:11 - - Information: Refresh Tile: 60, maps\Kiel\tile_1833_11810.map ...
125 14:57:11 - - Information: Refresh Tile: 63, maps\Kiel\tile_1833_11809.map ...
126 14:57:11 - - Information: Refresh Tile: 64, maps\Kiel\tile_1834_11809.map ...
127 14:57:11 - - Information: Refresh Tile: 65, maps\Kiel\tile_1835_11810.map ...
128 14:57:11 - - Information: Refresh Tile: 66, maps\Kiel\tile_1835_11811.map ...
129 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
130 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
131 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
132 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
133 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
134 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
135 14:57:11 - - Warning: Did not find texture file "Splines\BS_ADDON_CreativeStreets\Gehwege\texture\BS_Gehweg_Allgemein1.bmp"!
136 14:57:21 - - Information: Date: 1988 0728, Time: 100000
137 14:57:21 - - Information: Date: 1988 0728, Time: 100000
138 14:57:22 - - Information: Date: 1988 0728, Time: 100000
139 14:57:22 - - Information: Reset Passengers...
140 14:57:22 - - Information: Initialize Scheduled AI...
141 14:57:22 - - Information: Refresh All Vehicle Indices...
142 14:57:22 - - Warning: Direct3D-Device lost!
143 14:57:22 - - Information: Direct3D-Device resetted!
144 14:57:22 - - Information: Reset State Matrices...
145 14:57:22 - - Information: Start Tex Thread...
146 14:57:22 - - Information: Init Red Line...
147 14:57:22 - - Information: Set Initial Render States...
148 14:57:26 - - Information: Menu pos set
149 14:58:59 - - Warning: File Sceneryobjects\Kiel\Strassenobjekte\Infotafel\Infotafel.sco: texture filename Infotafel_Inhalt.dds not found in mesh file Sceneryobjects\Kiel\Strassenobjekte\Infotafel\model\Infotafel.o3d!
150 14:58:59 - - Information: Date: 1988 0728, Time: 131254
151 14:59:01 - - Warning: Could not lock light map of tile 50 for getting ambient light for objects! Error: texture load
152 14:59:01 - - Warning: Could not lock light map of tile 51 for getting ambient light for objects! Error: texture load
153 14:59:02 - - Warning: Could not lock light map of tile 52 for getting ambient light for objects! Error: texture load
154 14:59:02 - - Warning: Could not lock light map of tile 54 for getting ambient light for objects! Error: texture load
155 14:59:02 - - Warning: Could not lock light map of tile 55 for getting ambient light for objects! Error: texture load
156 14:59:02 - - Warning: Could not lock light map of tile 57 for getting ambient light for objects! Error: texture load
157 14:59:02 - - Warning: Could not lock light map of tile 58 for getting ambient light for objects! Error: texture load
158 14:59:03 - - Warning: Could not lock light map of tile 59 for getting ambient light for objects! Error: texture load
159 14:59:03 - - Warning: Could not lock light map of tile 60 for getting ambient light for objects! Error: texture load
160 14:59:04 - - Warning: Could not lock light map of tile 63 for getting ambient light for objects! Error: texture load
161 14:59:04 - - Warning: Could not lock light map of tile 64 for getting ambient light for objects! Error: texture load
162 14:59:05 - - Warning: Could not lock light map of tile 65 for getting ambient light for objects! Error: texture load
163 14:59:05 - - Warning: Could not lock light map of tile 66 for getting ambient light for objects! Error: texture load
164 14:59:05 - - Information: Date: 1988 0728, Time: 131256
165 14:59:06 - - Warning: Could not lock light map of tile 50 for getting ambient light for objects! Error: texture load
166 14:59:06 - - Warning: Could not lock light map of tile 51 for getting ambient light for objects! Error: texture load
167 14:59:06 - - Warning: Could not lock light map of tile 52 for getting ambient light for objects! Error: texture load
168 14:59:06 - - Warning: Could not lock light map of tile 54 for getting ambient light for objects! Error: texture load
169 14:59:06 - - Warning: Could not lock light map of tile 55 for getting ambient light for objects! Error: texture load
170 14:59:06 - - Warning: Could not lock light map of tile 57 for getting ambient light for objects! Error: texture load
171 14:59:06 - - Warning: Could not lock light map of tile 58 for getting ambient light for objects! Error: texture load
172 14:59:06 - - Warning: Could not lock light map of tile 59 for getting ambient light for objects! Error: texture load
173 14:59:06 - - Warning: Could not lock light map of tile 60 for getting ambient light for objects! Error: texture load
174 14:59:06 - - Warning: Could not lock light map of tile 63 for getting ambient light for objects! Error: texture load
175 14:59:06 - - Warning: Could not lock light map of tile 64 for getting ambient light for objects! Error: texture load
176 14:59:06 - - Warning: Could not lock light map of tile 65 for getting ambient light for objects! Error: texture load
177 14:59:06 - - Warning: Could not lock light map of tile 66 for getting ambient light for objects! Error: texture load
178 14:59:06 - - Information: Date: 1988 0728, Time: 131257
179 14:59:06 - - Information: Date: 1988 0728, Time: 131258
180 14:59:10 - - Information: Date: 1988 0728, Time: 131301
181 14:59:24 - - Warning: Could not lock light map of tile 50 for getting ambient light for objects! Error: texture load
182 14:59:24 - - Warning: Could not lock light map of tile 51 for getting ambient light for objects! Error: texture load
183 14:59:24 - - Warning: Could not lock light map of tile 52 for getting ambient light for objects! Error: texture load
184 14:59:24 - - Warning: Could not lock light map of tile 54 for getting ambient light for objects! Error: texture load
185 14:59:24 - - Warning: Could not lock light map of tile 55 for getting ambient light for objects! Error: texture load
186 14:59:24 - - Warning: Could not lock light map of tile 57 for getting ambient light for objects! Error: texture load
187 14:59:24 - - Warning: Could not lock light map of tile 58 for getting ambient light for objects! Error: texture load
188 14:59:24 - - Warning: Could not lock light map of tile 59 for getting ambient light for objects! Error: texture load
189 14:59:24 - - Warning: Could not lock light map of tile 60 for getting ambient light for objects! Error: texture load
190 14:59:24 - - Warning: Could not lock light map of tile 63 for getting ambient light for objects! Error: texture load
191 14:59:24 - - Warning: Could not lock light map of tile 64 for getting ambient light for objects! Error: texture load
192 14:59:24 - - Warning: Could not lock light map of tile 65 for getting ambient light for objects! Error: texture load
193 14:59:24 - - Warning: Could not lock light map of tile 66 for getting ambient light for objects! Error: texture load
194 14:59:24 - - Information: Date: 1988 0728, Time: 131314
195 14:59:25 - - Information: Date: 1988 0728, Time: 131315
196 14:59:32 - - Warning: Could not lock light map of tile 50 for getting ambient light for objects! Error: texture load
197 14:59:32 - - Warning: Could not lock light map of tile 51 for getting ambient light for objects! Error: texture load
198 14:59:32 - - Warning: Could not lock light map of tile 52 for getting ambient light for objects! Error: texture load
199 14:59:32 - - Warning: Could not lock light map of tile 54 for getting ambient light for objects! Error: texture load
200 14:59:32 - - Warning: Could not lock light map of tile 55 for getting ambient light for objects! Error: texture load
201 14:59:32 - - Warning: Could not lock light map of tile 57 for getting ambient light for objects! Error: texture load
202 14:59:32 - - Warning: Could not lock light map of tile 58 for getting ambient light for objects! Error: texture load
203 14:59:32 - - Warning: Could not lock light map of tile 59 for getting ambient light for objects! Error: texture load
204 14:59:32 - - Warning: Could not lock light map of tile 60 for getting ambient light for objects! Error: texture load
205 14:59:32 - - Warning: Could not lock light map of tile 63 for getting ambient light for objects! Error: texture load
206 14:59:32 - - Warning: Could not lock light map of tile 64 for getting ambient light for objects! Error: texture load
207 14:59:32 - - Warning: Could not lock light map of tile 65 for getting ambient light for objects! Error: texture load
208 14:59:32 - - Warning: Could not lock light map of tile 66 for getting ambient light for objects! Error: texture load
209 14:59:32 - - Information: Date: 1988 0728, Time: 131322
210 15:06:24 - - Information: Date: 1988 0728, Time: 131949
211 15:06:29 - - Information: Date: 1988 0728, Time: 131953
Weiß jemand zufällig, wo de Haken ist?
Liebe Grüße
SGTVP