Blood effects.. how? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
=BloodyRoses=
Private Recruit
Posts: 24
Joined: Sat Jan 17, 2009 4:39 pm

Blood effects.. how? [Solved]

Post 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:
Last edited by =BloodyRoses= on Mon Mar 16, 2009 11:48 pm, edited 1 time in total.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: blood effects.. how?

Post 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?
Ty294
Sergeant Major
Sergeant Major
Posts: 247
Joined: Thu Mar 12, 2009 10:28 pm
Projects :: Various
Location: Minnesota

Re: blood effects.. how?

Post 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".
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: blood effects.. how?

Post 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
:)
User avatar
=BloodyRoses=
Private Recruit
Posts: 24
Joined: Sat Jan 17, 2009 4:39 pm

Re: blood effects.. how?

Post 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
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: blood effects.. how?

Post 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....
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: blood effects.. how?

Post 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"
User avatar
=BloodyRoses=
Private Recruit
Posts: 24
Joined: Sat Jan 17, 2009 4:39 pm

Re: blood effects.. how?

Post 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"
User avatar
=BloodyRoses=
Private Recruit
Posts: 24
Joined: Sat Jan 17, 2009 4:39 pm

Re: blood effects.. how?

Post 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
Post Reply