Quote:
Originally Posted by Liz Shaw
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.