Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Clothing colour?  (Read 3743 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Clothing colour?
« on: 12 Oct 2011, 14:06:47 »
I've had a bit of a search but cannot find anything about this, and there don't appear to be any related commands in the COMREF.

Each time I place certain units (civilians mainly) their clothes are a different colour. How can I control this?

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Clothing colour?
« Reply #1 on: 12 Oct 2011, 16:11:39 »
setObjectTexture

The command in question works on a lot of the OA civilians/militia-type OPFOR/Independent units via an init eventhandler in their configs. I'm not entirely sure what the name for all of the possible combinations are, but that's what pbo-openers are for! Go forth and explore.

To stop it, find the name of one of the textures that you lik, and just setObjectTexture it yourself (or give them crazy-cool neon-green jackets for the heck of it).

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Clothing colour?
« Reply #2 on: 12 Oct 2011, 19:38:07 »
Aha - I thought you could only do that to tanks to get your clan decals on the side. Interesting.

Many thanks.  :good: