Abend Leute,
wie die Überschrift bereits verrät, habe ich heute eine Frage bezüglich des Texturieren´s von Objeken!
Vorab schon mal, ich mache das ganze immer so:
Code: -Map-
//Großes Bild
new bild1 = CreateObject(19366, 1309.9462, -891.7198, 42.1750, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(bild1, 0, 8399, "vgs_shops", "vegasclub02_128", 0xFFFFFFFF);
//Toiletten
new wand1 = CreateObject(19362, 1320.5771, -878.0583, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand1, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand2 = CreateObject(19362, 1320.5771, -881.2683, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand2, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand3 = CreateObject(19362, 1320.5771, -884.4783, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand3, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand4 = CreateObject(19435, 1321.4683, -886.1731, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand4, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand5 = CreateObject(19391, 1323.8760, -886.1732, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand5, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand6 = CreateObject(19362, 1327.0876, -886.1746, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand6, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand7 = CreateObject(19391, 1327.0020, -884.4805, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand7, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand8 = CreateObject(19391, 1327.0020, -881.2695, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand8, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand9 = CreateObject(19391, 1327.0020, -878.0585, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand9, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand10 = CreateObject(19362, 1327.0876, -876.3626, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand10, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand11 = CreateObject(19408, 1323.8759, -876.3617, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand11, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand12 = CreateObject(19435, 1321.4683, -876.3621, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand12, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand13 = CreateObject(19435, 1327.8939, -879.5748, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand13, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand14 = CreateObject(19435, 1327.8939, -882.7868, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand14, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand15 = CreateObject(19362, 1328.7852, -884.4803, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand15, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand16 = CreateObject(19362, 1328.7852, -881.2703, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand16, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand17 = CreateObject(19362, 1328.7852, -878.0583, 40.3257, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand17, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand18 = CreateObject(19362, 1323.8594, -881.2674, 38.0177, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand18, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand19 = CreateObject(19362, 1323.8594, -880.6074, 38.0177, 0.0000, 0.0000, 0.0000);
SetObjectMaterial(wand19, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
new wand20 = CreateObject(19435, 1327.8939, -885.9968, 40.3257, 0.0000, 0.0000, 90.0000);
SetObjectMaterial(wand20, 0, 4570, "stolenbuild03", "sl_dtbuild2wall1", 0xFFFFFFFF);
Alles anzeigen
Meine Frage ist jetzt, ob man das ganze Vereinfachen kann. Zum einen kostet es immer sehr viel Zeit in jede Zeile die Koordinaten rein zu kopieren und zum anderen Verbraucht man damit auch sehr viele Zeilen im Script.
Falls jemand eine passende Lösung parat hat, so würde ich diesen bitten, eine Art Tutorial zu erstellen. Danke im voraus!
MfG
Wetschi