Thanks mate!
But still, it is not very clear to me, where should I parent the emitter?
Is there something like npcragdoll thing? And I still don't know how to 
attach it only on every deadly hit.
If you are not busy at the moment, could you help me maybe on steam talk or 
something? I did some lua coding and C++, but mainly by copy and pasting.

Thanks for this fast reply.




----- Original Message ----- 
From: "Minh" <[email protected]>
To: "Discussion of Half-Life Programming" <[email protected]>
Sent: Monday, June 01, 2009 4:28 PM
Subject: Re: [hlcoders] [SPAM] Editting blood and it's effects in HL2 
engine.


>    All of this is very possible. If you want to make a blood fountain
> shooting out of his head, the best way to do it is to attach a spray
> emitter and parent it to his head.  You can attach entities to certain
> parts of the player by using a SetParent()
> If you want to spray blood on the walls based on the blood fountain,
> you'll need to do a series of tracelines eminating from the spray
> emitter to a spot that the emitter is pointing at. You'll need to make a
> think function for your blood spray entity and then spray out the blood
> decals every 1/10th of a second (or however frequent you want it).
>    Oh, and you should do all of this on the client side.
>
>
> adriank wrote:
>> Hi there :D
>>
>> I need help with making a decent blood spray particle for my HL2 mod 
>> being made on ep1 engine.
>>
>> The problem is, I don't know how to make NPC pill or make blood fountain, 
>> there where the last bullet hit him.
>> I mean, If I shoot combine soldier 5 times, and the fifth shell hit him 
>> in the head and this killed him, make npc long spray blood from head, if 
>> the last deadly bullet did hit him into the stomach, make it pill too.
>>
>> Another problem is, how can I change ammount of blood decals when npc is 
>> damaged/killed?
>> Also is there an option to make every particle from previous blood 
>> fountain, create blood decal on touch with any surface?
>>
>>
>> Thanks a lot.
>> _______________________________________________
>> 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

Reply via email to