Peršokti į turinį

nesusitexturina


Recommended Posts

Sveiki, senai labai texturinai pamėginau dabar bet nesusiteksturina nors objektas atsiranda va kods:

Dėjau po ongamemodeinit


new objektas1 = CreateObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1 = CreateObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1 = CreateObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1 = CreateObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1 = CreateObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas1, 0, 8306, "vegassland562", "brickred", 0);

new objektas2 = CreateObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2 = CreateObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas2, 0, 8068, "hseing04_lvs", "frate64_yellow", 0);

new objektas3 = CreateObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3 = CreateObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3 = CreateObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3 = CreateObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas3, 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);





Nuoroda į komentarą
Dalintis per kitą puslapį

taip pabandžiau: vistiek nieks nepasikeicia

objektas1[1] = CreateDynamicObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[2] = CreateDynamicObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[3] = CreateDynamicObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[4] = CreateDynamicObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[5] = CreateDynamicObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetDynamicObjectMaterial(objektas1[1], 0, 8306, "vegassland562", "brickred", 0);
SetDynamicObjectMaterial(objektas1[2], 0, 8306, "vegassland562", "brickred", 0);
SetDynamicObjectMaterial(objektas1[3], 0, 8306, "vegassland562", "brickred", 0);
SetDynamicObjectMaterial(objektas1[4], 0, 8306, "vegassland562", "brickred", 0);
SetDynamicObjectMaterial(objektas1[5], 0, 8306, "vegassland562", "brickred", 0);

objektas2[1] = CreateDynamicObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[2] = CreateDynamicObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[3] = CreateDynamicObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[4] = CreateDynamicObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[5] = CreateDynamicObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[6] = CreateDynamicObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[7] = CreateDynamicObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[8] = CreateDynamicObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetDynamicObjectMaterial(objektas2[1], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[2], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[3], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[4], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[5], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[6], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[7], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetDynamicObjectMaterial(objektas2[8], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);


objektas3[1] = CreateDynamicObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[2] = CreateDynamicObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[3] = CreateDynamicObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3[4] = CreateDynamicObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
SetDynamicObjectMaterial(objektas3[1], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetDynamicObjectMaterial(objektas3[2], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetDynamicObjectMaterial(objektas3[3], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetDynamicObjectMaterial(objektas3[4], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
Nuoroda į komentarą
Dalintis per kitą puslapį

Nu pabandžiau pagal tą vistiek nieks nepasikeitė, objektas yra bet taip pat atrodo kaip orginalas...

new objektas1[10];
new objektas2[10];
new objektas3[10];
objektas1[1] = CreateObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[2] = CreateObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[3] = CreateObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[4] = CreateObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[5] = CreateObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas1[1], 2, 8306, "vegassland562", "brickred", 0);
SetObjectMaterial(objektas1[2], 2, 8306, "vegassland562", "brickred", 0);
SetObjectMaterial(objektas1[3], 2, 8306, "vegassland562", "brickred", 0);
SetObjectMaterial(objektas1[4], 2, 8306, "vegassland562", "brickred", 0);
SetObjectMaterial(objektas1[5], 2, 8306, "vegassland562", "brickred", 0);

objektas2[1] = CreateObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[2] = CreateObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[3] = CreateObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[4] = CreateObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[5] = CreateObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[6] = CreateObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[7] = CreateObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[8] = CreateObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas2[1], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[2], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[3], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[4], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[5], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[6], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[7], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
SetObjectMaterial(objektas2[8], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);


objektas3[1] = CreateObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[2] = CreateObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[3] = CreateObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3[4] = CreateObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
SetObjectMaterial(objektas3[1], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetObjectMaterial(objektas3[2], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetObjectMaterial(objektas3[3], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
SetObjectMaterial(objektas3[4], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
Nuoroda į komentarą
Dalintis per kitą puslapį

Mano variantas:

new tOB[8], c;
tOB[0] = CreateObject(8947, -2232.46, 58.71, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(8947, -2232.46, 34.14, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(8947, -2217.72, 34.14, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(8947, -2217.72, 58.71, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[4] = CreateObject(8947, -2218.95, 49.24, 31.27, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 5; c++) SetObjectMaterial(tOB[c], 0, 8306, "vgssland01", "brickred", 0);

tOB[0] = CreateObject(19380, -2202.03, 70.89, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(19380, -2202.03, 41.90, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(19368, -2206.75, 69.22, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(19393, -2206.75, 66.02, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[4] = CreateObject(19380, -2206.75, 59.60, 29.97, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[5] = CreateObject(19380, -2206.75, 46.76, 32.55, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[6] = CreateObject(19368, -2206.75, 53.18, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[7] = CreateObject(19380, -2201.95, 54.69, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 8; c++) SetObjectMaterial(tOB[c], 0, 8068, "vgsswrehse03", "frate64_yellow", 0);

tOB[0] = CreateObject(9339, -2193.78, 70.84, 38.45, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(9339, -2193.76, 41.95, 38.45, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(9339, -2206.71, 57.65, 38.45, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(9339, -2206.70, 55.05, 38.45, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 4; c++) SetObjectMaterial(tOB[c], 0, 8068, "vgsswrehse03", "gnhotelwall02_128", 0);
Klaida dėl kurios neužsideda tekstūra - vietoj objekto txdname rašai model.
Nuoroda į komentarą
Dalintis per kitą puslapį

Mano variantas:

new tOB[8], c;
tOB[0] = CreateObject(8947, -2232.46, 58.71, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(8947, -2232.46, 34.14, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(8947, -2217.72, 34.14, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(8947, -2217.72, 58.71, 31.28, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[4] = CreateObject(8947, -2218.95, 49.24, 31.27, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 5; c++) SetObjectMaterial(tOB[c], 0, 8306, "vgssland01", "brickred", 0);

tOB[0] = CreateObject(19380, -2202.03, 70.89, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(19380, -2202.03, 41.90, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(19368, -2206.75, 69.22, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(19393, -2206.75, 66.02, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[4] = CreateObject(19380, -2206.75, 59.60, 29.97, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[5] = CreateObject(19380, -2206.75, 46.76, 32.55, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[6] = CreateObject(19368, -2206.75, 53.18, 36.04, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[7] = CreateObject(19380, -2201.95, 54.69, 32.55, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 8; c++) SetObjectMaterial(tOB[c], 0, 8068, "vgsswrehse03", "frate64_yellow", 0);

tOB[0] = CreateObject(9339, -2193.78, 70.84, 38.45, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[1] = CreateObject(9339, -2193.76, 41.95, 38.45, 0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
tOB[2] = CreateObject(9339, -2206.71, 57.65, 38.45, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
tOB[3] = CreateObject(9339, -2206.70, 55.05, 38.45, 0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 4; c++) SetObjectMaterial(tOB[c], 0, 8068, "vgsswrehse03", "gnhotelwall02_128", 0);
Klaida dėl kurios neužsideda tekstūra - vietoj objekto txdname rašai model.

 

Nesupratau vistiek, gali aiškiau?

Nuoroda į komentarą
Dalintis per kitą puslapį

Nesupratau vistiek, gali aiškiau?

Aiškiau ką?

Sukuriu masyvą, į jį įrašau objektų ID, paleidžiu ciklą kuris sutexturina visus objektus.

Redaguota , nario ES.^
Nuoroda į komentarą
Dalintis per kitą puslapį

new objektas1[10];
new objektas2[10];
new objektas3[10];
new c;
objektas1[1] = CreateObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[2] = CreateObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[3] = CreateObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[4] = CreateObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[5] = CreateObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 6; c++) SetObjectMaterial(objektas1[c], 2, 8306, "vegassland562", "brickred", 0);

objektas2[1] = CreateObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[2] = CreateObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[3] = CreateObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[4] = CreateObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[5] = CreateObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[6] = CreateObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[7] = CreateObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[8] = CreateObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 9; c++) SetObjectMaterial(objektas2[c], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);


objektas3[1] = CreateObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[2] = CreateObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[3] = CreateObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3[4] = CreateObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 5; c++) SetObjectMaterial(objektas3[c], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);

Taip padariau vistiek nieks nesusiteksturina

Nuoroda į komentarą
Dalintis per kitą puslapį

new objektas1[10];
new objektas2[10];
new objektas3[10];
new c;
objektas1[1] = CreateObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[2] = CreateObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[3] = CreateObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[4] = CreateObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[5] = CreateObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 6; c++) SetObjectMaterial(objektas1[c], 2, 8306, "vegassland562", "brickred", 0);

objektas2[1] = CreateObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[2] = CreateObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[3] = CreateObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[4] = CreateObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[5] = CreateObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[6] = CreateObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[7] = CreateObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[8] = CreateObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 9; c++) SetObjectMaterial(objektas2[c], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);


objektas3[1] = CreateObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[2] = CreateObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[3] = CreateObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3[4] = CreateObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 5; c++) SetObjectMaterial(objektas3[c], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);

Taip padariau vistiek nieks nesusiteksturina

 

Manau kad ne ten ieškai tų objektų...

Nuoroda į komentarą
Dalintis per kitą puslapį

new objektas1[10];
new objektas2[10];
new objektas3[10];
new c;
objektas1[1] = CreateObject(8947, -2232.46, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[2] = CreateObject(8947, -2232.46, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[3] = CreateObject(8947, -2217.72, 34.14, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[4] = CreateObject(8947, -2217.72, 58.71, 31.28,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas1[5] = CreateObject(8947, -2218.95, 49.24, 31.27,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 6; c++) SetObjectMaterial(objektas1[c], 2, 8306, "vegassland562", "brickred", 0);

objektas2[1] = CreateObject(19380, -2202.03, 70.89, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[2] = CreateObject(19380, -2202.03, 41.90, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas2[3] = CreateObject(19368, -2206.75, 69.22, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[4] = CreateObject(19393, -2206.75, 66.02, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[5] = CreateObject(19380, -2206.75, 59.60, 29.97,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[6] = CreateObject(19380, -2206.75, 46.76, 32.55,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[7] = CreateObject(19368, -2206.75, 53.18, 36.04,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas2[8] = CreateObject(19380, -2201.95, 54.69, 32.55,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 9; c++) SetObjectMaterial(objektas2[c], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);


objektas3[1] = CreateObject(9339, -2193.78, 70.84, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[2] = CreateObject(9339, -2193.76, 41.95, 38.45,   0.00, 0.00, 90.00); //object(concrete10mx1mx5m) (8)
objektas3[3] = CreateObject(9339, -2206.71, 57.65, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
objektas3[4] = CreateObject(9339, -2206.70, 55.05, 38.45,   0.00, 0.00, 0.00); //object(concrete10mx1mx5m) (8)
for(c = 0; c < 5; c++) SetObjectMaterial(objektas3[c], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);

Taip padariau vistiek nieks nesusiteksturina
Aš tau ką tik paaiškinau tavo klaidą...

ne:

SetObjectMaterial(objektas1[c], 2, 8306, "vegassland562", "brickred", 0);
o:

SetObjectMaterial(objektas1[c], 2, 8306, "vgssland01", "brickred", 0);
ne:

SetObjectMaterial(objektas2[c], 0, 8068, "hseing04_lvs", "frate64_yellow", 0);
o:

SetObjectMaterial(objektas2[c], 0, 8068, "vgsswrehse03", "frate64_yellow", 0);
ne:

SetObjectMaterial(objektas3[c], 0, 8068, "hseing04_lvs", "gnhotelwall02_128", 0);
o:

SetObjectMaterial(objektas3[c], 0, 8068, "vgsswrehse03", "gnhotelwall02_128", 0);
ZwtuxcI.png Redaguota , nario ES.^
Nuoroda į komentarą
Dalintis per kitą puslapį

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti Å¡ioje temoje...

×   Ä®klijuotas tekstas turi teksto formatavimą.   PaÅ¡alinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiÅ¡kai įterpta.   Ä®terpti nuorodą paprastai

×   JÅ«sų ankstesnis praneÅ¡imas buvo atkurtas.   IÅ¡valyti redaktorių

×   JÅ«s negalite įkelti nuotraukas tiesiogiai.Ä®kelkite arba įdėkite nuotraukas iÅ¡ URL.

  • Å iame puslapyje narÅ¡o:   0 nariai

    • Nėra registruotų narių peržiÅ«rinčių šį forumą.

×
×
  • Sukurti naują...