Yes, the source does use a set for bullet holes, I am working on editing the code atm,
but it doesn't seem to work, the mp5 still fires the random old "{shot" decals, what i
have done is in weapons.cpp,
void DecalGunshot( TraceResult *pTrace, int iBulletType )
, I have changed the mp5 case statement definitions from the default case of the
'DMG_BULLET' specific decal, to my custom decal(defined in decals.h, and the actual
sprite in world.cpp)
so in weapons.cpp the custom case statement looks like this:
case BULLET_PLAYER_MP5:
case BULLET_MONSTER_MP5:
//mp5 green custom decal for
poltergeist
UTIL_GunshotDecalTrace( pTrace,
DECAL_GUNSHOT6 );
break;
where, "DECAL_GUNSHOT6" replaces a call to the DamageDecal function.
in summary i have edited the world.cpp to add the actaul sprite name, decals.h to add
the name DECAL_GUNSHOT6, and weapons.cpp for the case statement, personally i don't
see where DECAL_GUNSHOT6 is set to equal the actual sprite defined in world.cpp, and i
guess that's the main prob.
-----Original Message-----
From: "Chris 'Tal-N' Blane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 2 Dec 2002 23:10:53 -0000
Subject: Re: [hlcoders] impact decal
The source uses a single set of decals for all bullet holes. I've been using
a colour decal for my bullet holes for DT so it'll be available in the next
build. It's part of one of the wads' but I can't remember exactly which one
atm. Probably decals i think.
---- Original Message -----
From: brian c.strider <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 4:46 PM
Subject: [hlcoders] impact decal
> hello folks,
>
> I was curious if anyone knew where the impact decals for the mp5 were
referenced? I have searched but haven't been able to find them. I am trying
to a custom decal to replace the impact decal for the mp5.
> proubably fairly easy to find, but oh well, thanks
>
> Brian "Striker2" Strider
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders