Home   Help Search Login Register  

Author Topic: SetObjectTexture  (Read 2135 times)

0 Members and 1 Guest are viewing this topic.

mikeb

  • Guest
SetObjectTexture
« on: 24 Aug 2002, 23:47:00 »
Can anyone please explain how the setobjecttexture command to me.

I looked at the BIS forum and put.....

 this setobjecttexture [0,"rus_vlajka.pac"]

... into the init of a 5t truck but nothing happened.

Any idea what's going wrong and what other vehicles can be used with the command.

seanver

  • Guest
Re:SetObjectTexture
« Reply #1 on: 25 Aug 2002, 00:00:02 »
what are you trying to do?

mikeb

  • Guest
Re:SetObjectTexture
« Reply #2 on: 25 Aug 2002, 00:02:11 »
I'm not actually  that sure!

I was just trying to test what the command did.  Apparently it adds the specified jpg or whatever as a texture on the side of the vehicle, and apparently it works on the 5t truck, but I don't see anything when I try it.

tai mai shu

  • Guest
Re:SetObjectTexture
« Reply #3 on: 25 Aug 2002, 00:03:43 »
it sets the texture of the flags lol, usa_vlajka.pac makes it a usa flag
while rus_vlajka.pac sets it russian

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:SetObjectTexture
« Reply #4 on: 25 Aug 2002, 00:04:50 »
yep, it does.... this is taken from an init field of my truck with a medic patch on

this setobjectexture [0, "\flags\redcross.jpg"

im using the offical flag pack.... just replace the flags bit with the russian one...

:thumbsup:
Proud Member of the Volunteer Commando Battalion

mikeb

  • Guest
Re:SetObjectTexture
« Reply #5 on: 25 Aug 2002, 00:05:31 »
So are the flags meant to appear on the side of the truck?  Because I still don't see them

mikeb

  • Guest
Re:SetObjectTexture
« Reply #6 on: 25 Aug 2002, 00:06:47 »
Messiah, did you use the normal west 5t truck?

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:SetObjectTexture
« Reply #7 on: 25 Aug 2002, 00:07:12 »
they only work on certain trucks - 5t covered, civil truck, URAL
Proud Member of the Volunteer Commando Battalion

mikeb

  • Guest
Re:SetObjectTexture
« Reply #8 on: 25 Aug 2002, 00:11:19 »
Working now!

God knows what was going wrong..

Cheers all