Few Questions , Help needed.
#1

1. Why should i place SetObjectMaterial ?
2. When i make some objects with um https://sampforum.blast.hk/showthread.php?tid=334736 ([HLF]Southclaw's Texture Workshop V1.0 )
its becomes like this
pawn Код:
SetObjectMaterial(objectid, 1, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 2, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 3, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 4, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 5, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 6, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 7, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 8, 3908, libertyfar, Grass_128HV, 0);
SetObjectMaterial(objectid, 9, 3908, libertyfar, Grass_128HV, 0);
Why its libertyfar on all objects (textures)
3. when i compile i get this error?
Код:
******\********\**********\mygm.pwn(10023) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10024) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10025) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10026) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10027) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10028) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10029) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10030) : error 017: undefined symbol "libertyfar"
******\********\**********\mygm.pwn(10031) : error 017: undefined symbol "libertyfar"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.
Help will be much appriciated , Thanks in advance.
Reply
#2

Probably a bug in the Texture Workshop script, but they should be like this

pawn Код:
SetObjectMaterial(objectid, 1, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(objectid, 2, 3908, "libertyfar", "Grass_128HV", 0);
...
Reply
#3

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Probably a bug in the Texture Workshop script, but they should be like this

pawn Код:
SetObjectMaterial(objectid, 1, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(objectid, 2, 3908, "libertyfar", "Grass_128HV", 0);
...
Alright it compiled with no errors , but um object was not placed in right place and not all textures changed on it :S
here is my code
pawn Код:
new fctest;
pawn Код:
//fctest
fctest = CreateObject(16212, -377.35, 1302.91, 3.13,   356.86, 0.00, 3.14);
SetObjectMaterial(fctest, 1, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 2, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 3, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 4, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 5, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 6, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 7, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 8, 3908, "libertyfar", "Grass_128HV", 0);
SetObjectMaterial(fctest, 9, 3908, "libertyfar", "Grass_128HV", 0);
Reply
#4

Define It
Reply
#5

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
Define It
define what be more specific please
Reply
#6

here is a screenshot of the object buggs + not all textures i replaced are showing only one replaced texture showing
please help me


Uploaded with ImageShack.us
Reply
#7

Are you using the latest version of 0.3e? (RC7-3)
Reply
#8

Still not all textures that i changed loading only on few parts on object even tho i can change then in texture workshop but wont appear in the code
Reply
#9

Bump , not all changed textures work on the loaded object
Reply
#10

#define libertyfar
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)