SetObjectMaterial Anfragen und Vorstellungen
- Akino Kiritani
- Geschlossen
- Erledigt
-
-
for(new i;i!=sizeof(Boden);i++) SetObjectMaterial(Boden[i],7,16209,"des_cen","des_dirt1");
Das sollte es sein
Funktioniert nicht mehr, hab neue Objekte gewählt.Spoiler anzeigen Boden[0] = CreateObject(8661,1616.6992200,-3814.5996100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[1] = CreateObject(8661,1576.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[2] = CreateObject(8661,1536.6992200,-3814.5996100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[3] = CreateObject(8661,1496.6992200,-3814.5996100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[4] = CreateObject(8661,1456.6992200,-3814.5996100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[5] = CreateObject(8661,1416.6992200,-3814.5996100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[6] = CreateObject(8661,1376.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[7] = CreateObject(8661,1336.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[8] = CreateObject(8661,1296.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[9] = CreateObject(8661,1256.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[10] = CreateObject(8661,1216.6999500,-3814.6001000,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[11] = CreateObject(8661,1616.6699200,-3794.6142600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[12] = CreateObject(8661,1576.6699200,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[13] = CreateObject(8661,1536.6699200,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[14] = CreateObject(8661,1496.6699200,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[15] = CreateObject(8661,1456.6700400,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[16] = CreateObject(8661,1416.6700400,-3794.6147500,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[17] = CreateObject(8661,1376.6700400,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[18] = CreateObject(8661,1336.6700400,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[19] = CreateObject(8661,1296.6700400,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[20] = CreateObject(8661,1256.6700400,-3794.6149900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[21] = CreateObject(8661,1216.6699200,-3794.6142600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[22] = CreateObject(8661,1216.7294900,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[23] = CreateObject(8661,1256.7294900,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[24] = CreateObject(8661,1296.7294900,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[25] = CreateObject(8661,1336.7294900,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[26] = CreateObject(8661,1376.7294900,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[27] = CreateObject(8661,1416.7265600,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[28] = CreateObject(8661,1456.7265600,-3834.5839800,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[29] = CreateObject(8661,1496.7265600,-3834.5839800,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[30] = CreateObject(8661,1536.7270500,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[31] = CreateObject(8661,1576.7265600,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[32] = CreateObject(8661,1616.7280300,-3834.5849600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[33] = CreateObject(8661,1216.7578100,-3854.5693400,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[34] = CreateObject(8661,1256.7569600,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[35] = CreateObject(8661,1296.7580600,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[36] = CreateObject(8661,1336.7580600,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[37] = CreateObject(8661,1376.7559800,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[38] = CreateObject(8661,1416.7559800,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[39] = CreateObject(8661,1456.7550000,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[40] = CreateObject(8661,1496.7559800,-3854.5690900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[41] = CreateObject(8661,1536.7559800,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[42] = CreateObject(8661,1576.7559800,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[43] = CreateObject(8661,1616.7559800,-3854.5700700,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[44] = CreateObject(8661,1616.6409900,-3774.6296400,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[45] = CreateObject(8661,1576.6411100,-3774.6293900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[46] = CreateObject(8661,1536.6419700,-3774.6289100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[47] = CreateObject(8661,1496.6419700,-3774.6289100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[48] = CreateObject(8661,1456.6429400,-3774.6289100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[49] = CreateObject(8661,1416.6420900,-3774.6286600,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[50] = CreateObject(8661,1376.6419700,-3774.6293900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[51] = CreateObject(8661,1336.6419700,-3774.6293900,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[52] = CreateObject(8661,1296.6419700,-3774.6289100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[53] = CreateObject(8661,1256.6409900,-3774.6291500,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[54] = CreateObject(8661,1216.6409900,-3774.6291500,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[55] = CreateObject(8661,1176.7580600,-3854.5688500,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[56] = CreateObject(8661,1176.7299800,-3834.5839800,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[57] = CreateObject(8661,1176.6992200,-3814.5986300,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[58] = CreateObject(8661,1176.6700400,-3794.6140100,4.4000000,0.0000000,0.0000000,0.0000000);
Boden[59] = CreateObject(8661,1176.6409900,-3774.6298800,4.4000000,0.0000000,0.0000000,0.0000000);
for(new i;i!=sizeof(Boden);i++) SetObjectMaterial(Boden[i],7,16209,"des_cen","des_dirt1"); -
Suche auch! -
Suche die Textur für die Bank in LS
so wie im Nemesus Script.? hat einer
-
Suche die Textur für die Bank in LS
so wie im Nemesus Script.? hat einer
Weiß nicht wie die Bank aussieht aber yolo schau mal hier vielleicht ist die Textur dabei.
http://textures.future-elife.c…=1&limit=100&search=floor -
D
Weiß nicht wie die Bank aussieht aber yolo schau mal hier vielleicht ist die Textur dabei.
http://textures.future-elife.c…=1&limit=100&search=floorDanke ist dabei gewesen
-
Bei mir funktionierts ebenfalls nicht
Hab es so gescriptet:SHInt[0] = CreateObject(19379, 1470.90283, -1796.85522, 4004.26343, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[1] = CreateObject(19379, 1470.90540, -1806.48218, 4004.26343, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[2] = CreateObject(19379, 1460.40344, -1796.85474, 4004.26343, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[3] = CreateObject(19379, 1470.90283, -1796.85522, 3999.98584, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[4] = CreateObject(19379, 1481.39905, -1787.23389, 3999.98584, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[5] = CreateObject(19379, 1481.39905, -1796.85474, 3999.98584, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0);
SHInt[6] = CreateObject(19379, 1470.90540, -1787.23389, 3999.98584, 0.00000, 90.00000, 0.00000);
SetObjectMaterial(SHInt[0],3,6322, "law2_roadsb", "rodeo3sjm",0); -
Wenn man beim SetObjectMaterial überall SHInt[0] hat statt den Index im Array dem anzupassen, ist es kein Wunder das es nicht funktioniert.
-
-
8496
lowbuild03_lvs
vgshopwall05_64ist etwas heller, schau mal ob ich es auch in dunkler finde.
-
-
Hey Leute brauche mal eure Hifle bevor ich verzweifle
Habe ein Objekt:
Ich möchte der umkreisten "Sandstraße" eine andere Textur zuweisen.
Ich habe alle materialindexe ausprobiert und es hat sich immer etwas geändert doch nicht das was ich wollte.
Laut SA:MP Mapeditor gibt es Index 18 (18 Tex: des_dirttrack1), was eigentlich diese Straße sein sollte doch es ändert sich nix.CodeOBJEKT = CreateObject( 16178, 407.16409, 2622.96875, 48.88280, 0.00000, 0.00000, 0.00000 );SetObjectMaterial( OBJEKT, 18, 18303, "cs_mountain", "cw2_mounttrail", 0 );
kann wer helfen? -
Weiß einer ab es diese object als Tür gibt?
Finde es nirgens wo auch net in der K-DST
-
Ein Türobjekt mit der textur gibt es nicht.
Musst dann schon selber machen...
(Mein Problem besteht noch immer :D) -
Hay,
Kennt wer diese Modelid? bzw die Texture id. Brauche sie für ein Boden.
-
hey kannst du mir vllt sagen wie du das machst`?
-
@Mike.Franklyn:
Wie er was macht ? -
-
Wäre es theoretisch möglich die Farbe des Daches (Model ID: 8841):
In die Farbe von diesem Tor (Model ID: 9482) zu ändern: -
Wäre es theoretisch möglich die Farbe des Daches (Model ID: 8841):
In die Farbe von diesem Tor (Model ID: 9482) zu ändern:Hay schick mir die Map und ich mach es dir
-
@Joana_Malone Das wär super, danke