Tach Leute,
undzwar hab ich das Problem dass bei den CreateDynamicObject die Objekte komisch angezeigt werden.
hier ein Bild dazu:
Der Codeausschnitt:
Code
//Wände
Kart[1] = CreateDynamicObject(18766, 2474.98, -546.37, 1183.38, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(18766, 2474.98, -537.37, 1183.38, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2465.20, -545.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2460.70, -536.46, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2460.70, -546.00, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2469.90, -533.05, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2455.97, -531.60, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2469.90, -523.45, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2464.97, -527.10, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2460.20, -522.37, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2460.20, -512.77, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2450.48, -506.87, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2455.20, -511.77, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2455.20, -501.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2451.20, -521.37, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2451.20, -531.00, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2446.40, -516.65, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2442.00, -512.23, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2442.00, -502.64, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2442.00, -493.04, 1180.13, 0.00, 0.00, 0.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2447.70, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2457.30, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2466.90, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2476.50, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2486.00, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2438.07, -496.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2464.80, -501.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2474.40, -501.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Kart[1] = CreateDynamicObject(19377, 2484.00, -501.96, 1180.13, 0.00, 0.00, 90.00, -1, -1, -1, 100.00);
SetDynamicObjectMaterial(Kart[1], 0, 8390, "vegasemulticar", "ws_mixedbrick", 0xFFFFFFFF);
Alles anzeigen
Danke im Vorraus
mfg Kaiserle