View Single Post
  #27  
Old 09-26-2009, 09:03 AM
forlik's Avatar
forlik forlik is offline
Approved Member
 
Join Date: Nov 2008
Location: Minsk, Belarus
Posts: 450
Default

Quote:
Originally Posted by Liz Shaw View Post
I also had a go at placing a German soldier's winter uniform in "Winter Cold", but I encountered a problem - Strogov wears TWO hats in the same uniform (the cap protrudes a little bit from the helmet).
About German winter uniform, see Cowboy.lua:

Level.AddActionHandler( Level.AH_FINISH_CHANGECLOTH, 'WRFB', "OnChangeFbiCloth" );
...
function Level.OnChangeFbiCloth()
local player = Level.GetPlayer();
if ( player != nil ) then
Actor.EnableMesh( player, "mesh_hat" , false );
Actor.EnableMesh( player, "mesh_glasses" , false );
end;
end;

This part of code removes hat and glasses from Semen in FBI uniform. I think, you can apply this solution to helmet/cap of the German uniform.
Reply With Quote