SetObjectMaterial Anfragen und Vorstellungen

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Der folgende object sieht ja anders aus,..aber nicht so wie ich das wollte, z.B wollte ich das LVPD interior wand haben, stadtesen kommt irgendwie was anderes....


    Wie in dem Tutorial aus meiner Signatur beschrieben, Objekt doppelklick(Interiors findet man im Editor weit in der Luft) -> txd name kopieren und texturname auswählen
    SetObjectMaterial(objectID, materialindex, 14853, "gen_pol_vegas", "HIER EINS VON UNTEN EINFUEGEN", 0);


    wahrscheinlich ist es "mp_cop_wall" oder "burglry_wall5b" (wall = wand)

  • Ich hätte gerne diese Objekte in der Textur von dem Foto (Wüste LV).


    Spoiler anzeigen
    Boden[1] = CreateObject(8059,828.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[2] = CreateObject(8059,828.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[3] = CreateObject(8059,788.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[4] = CreateObject(8059,788.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[5] = CreateObject(8059,748.5999800,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[6] = CreateObject(8059,748.5999800,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[7] = CreateObject(8059,828.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[8] = CreateObject(8059,788.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[9] = CreateObject(8059,748.5999800,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[10] = CreateObject(8059,828.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[11] = CreateObject(8059,788.5999800,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[12] = CreateObject(8059,748.5999800,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[13] = CreateObject(8059,868.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[14] = CreateObject(8059,868.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[15] = CreateObject(8059,868.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[16] = CreateObject(8059,868.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[17] = CreateObject(8059,908.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[18] = CreateObject(8059,908.5000000,-3496.0000000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[19] = CreateObject(8059,908.5000000,-3528.5000000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[20] = CreateObject(8059,908.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[21] = CreateObject(8059,748.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[22] = CreateObject(8059,788.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[23] = CreateObject(8059,828.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[24] = CreateObject(8059,868.5000000,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[25] = CreateObject(8059,908.5000000,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[26] = CreateObject(8059,908.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[27] = CreateObject(8059,868.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[28] = CreateObject(8059,828.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[29] = CreateObject(8059,788.5999800,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[30] = CreateObject(8059,748.5999800,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);


  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Guck dir doch die Funktion an.
    Dann weißt du was du wo eintragen musst ;)

    "Bevor ich mir Informationen aus der "Bild" hole,
    werde ich anfangen, Wahlergebnisse danach vorauszusagen,
    neben welchen Busch unsere Katze gepinkelt hat."

    Margarete Stokowski

  • Leider ohne Erfolg.


    Boden[1] = CreateObject(8059,828.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[2] = CreateObject(8059,828.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[3] = CreateObject(8059,788.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[4] = CreateObject(8059,788.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[5] = CreateObject(8059,748.5999800,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[6] = CreateObject(8059,748.5999800,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[7] = CreateObject(8059,828.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[8] = CreateObject(8059,788.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[9] = CreateObject(8059,748.5999800,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[10] = CreateObject(8059,828.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[11] = CreateObject(8059,788.5999800,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[12] = CreateObject(8059,748.5999800,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[13] = CreateObject(8059,868.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[14] = CreateObject(8059,868.5000000,-3496.1999500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[15] = CreateObject(8059,868.5000000,-3528.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[16] = CreateObject(8059,868.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[17] = CreateObject(8059,908.5000000,-3463.8000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[18] = CreateObject(8059,908.5000000,-3496.0000000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[19] = CreateObject(8059,908.5000000,-3528.5000000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[20] = CreateObject(8059,908.5000000,-3560.8999000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[21] = CreateObject(8059,748.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[22] = CreateObject(8059,788.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[23] = CreateObject(8059,828.5999800,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[24] = CreateObject(8059,868.5000000,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[25] = CreateObject(8059,908.5000000,-3593.3000500,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[26] = CreateObject(8059,908.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[27] = CreateObject(8059,868.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[28] = CreateObject(8059,828.5000000,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[29] = CreateObject(8059,788.5999800,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    Boden[30] = CreateObject(8059,748.5999800,-3625.6001000,-1.8000000,0.0000000,0.0000000,0.0000000);
    SetObjectMaterial(Boden[30],0,16210,"des_cen","des_dirt1");


  • for(new i;i!=sizeof(Boden);i++) SetObjectMaterial(Boden[i],7,16209,"des_cen","des_dirt1");
    Das sollte es sein :thumbup:

    "Bevor ich mir Informationen aus der "Bild" hole,
    werde ich anfangen, Wahlergebnisse danach vorauszusagen,
    neben welchen Busch unsere Katze gepinkelt hat."

    Margarete Stokowski

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen