Page 1 of 1

Blood effects.. how? [Solved]

Posted: Sun Mar 15, 2009 3:16 pm
by =BloodyRoses=
ive looked all over and i can't find how you put the bf1 blood effects in when a character is damaged by bullets
I have the files but i need to know what the ODF code is, i believe its secondary ordinance but im not sure.
if this has been mentioned before sorry for bringing it up again but i seriously cant find it, ive been searching all day :runaway:

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 3:48 pm
by Fiodis
Look in the ordance odf in the Common folder, you'll see lines for it. I've done this before for BrutalFront.


But I didn't know BF1 had a blood effect. I've been trying to make my own; if there's a shipped one out there all ready for use, that'd be really useful. Where'd you find it, exactly?

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 3:55 pm
by Ty294
Yah, there's one I tried to add it to my middle ages map. (Unsuccesfully)

It's located in assets/shipped effects. It's called "Bloodspray".

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 3:56 pm
by theultimat
@Fiodis: Skyhammer also made one... it's in his effects pack. But I warn you - don't apply it to a shotgun... it goes a bit over the top...
Hidden/Spoiler:
Image
:)

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 4:17 pm
by =BloodyRoses=
This was apparently used in the +123 for the pirates in jabbas palace but i cant find how they coded it or anything about the devs

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 5:23 pm
by Fiodis
theultimat wrote:@Fiodis: Skyhammer also made one... it's in his effects pack. But I warn you - don't apply it to a shotgun... it goes a bit over the top...
Hidden/Spoiler:
Image
:)
I saw that one and ripped it apart to make my own. I think it goes a bit over the top whatever you use.


And all the code you need is in the parent ordance ODF files.


And Ty, I'm curious - what does it look like? When I open it up in PE, it's a bunch of red squares. Why squares? It's as if PE can't open it fully, or is missing something....

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 5:35 pm
by Taivyx
Assuming you've got the Bloodspray effect in your side's effects folder, add this line to your weapon's ordnance odf:

Code: Select all

ImpactEffectSoft    	= "Bloodspray"

Re: blood effects.. how?

Posted: Sun Mar 15, 2009 6:17 pm
by =BloodyRoses=
i put the code in com_weap_inf_rifle_ord.odf , also in the specific weapon's ordinance odf, and the bloodspray.fx file is in the sides effects folder, which i had to create since there wasnt one
BUT... nothing is happening. i put a reference to the effect in the ingame.req but that made no difference. (im doing all of this on a test map with the alliance side and no other modding)
Hidden/Spoiler:
ImpactEffectSoft = "bloodspray"
ImpactEffectRigid = "com_sfx_ord_exp"
ImpactEffectStatic = "com_sfx_ord_exp"
ImpactEffectTerrain = "com_sfx_ord_exp"
ImpactEffectWater = "com_sfx_watersplash_ord"
ImpactEffectShield = "com_sfx_ord_exp"
ExpireEffect = "com_sfx_ord_exp"

OrdnanceSound = "com_weap_inf_ord_hum_sm"
CollisionSound = "imp_weap_ord_exp"

Re: blood effects.. how?

Posted: Mon Mar 16, 2009 11:46 pm
by =BloodyRoses=
never mind... fixed it
turns out i was missing the dirtspray.tga and various dirtspray related .fx's, added those and it works