Forums | Hello Guest, Login or Register | > > L4Y Files: No longer here! < <
  Max Payne 2 : Site Feedback : is this noobish? [Forum Rules]  


Back to Forum Thread List

oppo56   Posted 22nd Sep 2005 10:03pm
L4Y Member
Post 17 / 59

Ok I'm not sure if this is noobish or not because I don't know how hard it is to do. You know in cinema2.0 and BadCop3.0 when you kill an enemy? Well whenever they hit the floor loadsa blood decals appear, and I've been looking everywhere for an FAQ. PLEASE HELP!
I like you. I'll kill you last.    
dD4679   Posted 22nd Sep 2005 11:41pm
L4Y Member
Post 7 / 17

i cant really explain it but i can give the code for it:

In your decals.txd
Quote

[ragdollcollision]
{
     [Message]
     String = "this->A_PlayFloating3DSound( physical, bodyfall, \"\");";


     [Message]
     String = "this->PS_StartEffect( bodyfall, \"\");";

//     [NoDecalMaterial] Name = "Default";
     [NoDecalMaterial] Name = "Character";
     [NoDecalMaterial] Name = "Flesh";
     [NoDecalMaterial] Name = "Leaves";
//     [NoDecalMaterial] Name = "MirrorWater";
     [NoDecalMaterial] Name = "Nodecals";
     [NoDecalMaterial] Name = "Skybox";
     [NoDecalMaterial] Name = "Water";
     [NoDecalMaterial] Name = "Wireframe";
//     [NoDecalMaterial] Name = "Woodframe";

     [Materials]
     {
          [Default]
          Filename               = "bitmaps\blood1.jpg";
          AlphaFilename          = "bitmaps\blood_alpha1.jpg";
          MinimumRadius          = 0.7;
          MaximumRadius          = 0.9;
          RotationRandom          = 360;
          BitmapFlipRandom     = TRUE;
          DualSided               = FALSE;

          [Glass]
          Filename               = "bitmaps\blood1.jpg";
          AlphaFilename          = "bitmaps\blood_alpha1.jpg";
          MinimumRadius          = 0.7;
          MaximumRadius          = 0.9;
          RotationRandom          = 360;
          BitmapFlipRandom     = TRUE;
          DualSided               = TRUE;
     }
}

maybe someone can help explain how this works..
I Died for This?    
oppo56   Posted 23rd Sep 2005 4:00pm
L4Y Member
Post 18 / 59

THANKS PAL! I've been wanting to do that for ages!
I like you. I'll kill you last.    



Copyright © 2000-2025 Levels-4-You
Your request was handled in 0.07 seconds.