How to add a Blood Effect?

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
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

How to add a Blood Effect?

Post by thelegend »

Hey all,
i have a small question: How I can add a blood effect. If you shoot someone he should lose a little bit blood. Is that possible?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: How to add a Blood Effect?

Post by MileHighGuy »

ImpactEffectSoft = "com_sfx_ord_exp"

This goes in your _ord odf. Change the effect to a blood effect that you make. This is for all units, even droids.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How to add a Blood Effect?

Post by Marth8880 »

You'll most likely have to just go with setting the ImpactEffectSoft value for your ordnance to a custom 'blood spatter' particle effect.

Edit: Oup, ninja'd. :o And it took me like, an hour to notice, LOL
Last edited by Marth8880 on Tue Jul 22, 2014 12:54 pm, edited 2 times in total.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: How to add a Blood Effect?

Post by Noobasaurus »

I have a bloodspray effect laying around if you want it. Just paste this into your .fx file.
Hidden/Spoiler:
[code]ParticleEmitter("Drops")
{
MaxParticles(20.0000,20.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.0010, 0.0010);
BurstCount(1.0000,1.0000);
MaxLodDist(50.0000);
MinLodDist(10.0000);
BoundingRadius(5.0);
SoundName("")
NoRegisterStep();
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Spread()
{
PositionX(-0.2000,0.2000);
PositionY(0.6000,1.2000);
PositionZ(-0.2000,0.2000);
}
Offset()
{
PositionX(0.0000,0.0000);
PositionY(0.0000,0.0000);
PositionZ(0.0000,0.0000);
}
PositionScale(0.0000,0.0000);
VelocityScale(1.5000,2.2500);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 0.2000, 0.2500);
Red(0, 255.0000, 255.0000);
Green(0, 0.0000, 0.0000);
Blue(0, 0.0000, 0.0000);
Alpha(0, 10.0000, 40.0000);
StartRotation(0, 0.0000, 360.0000);
RotationVelocity(0, 0.0000, 0.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(0.6000);
Position()
{
LifeTime(0.6000)
Accelerate(0.0000, -4.0000, 0.0000);
}
Size(0)
{
LifeTime(0.6000)
Scale(2.5000);
}
Color(0)
{
LifeTime(0.6000)
Reach(255.0000,0.0000,0.0000,0.0000);
}
}
Geometry()
{
BlendMode("NORMAL");
Type("PARTICLE");
Texture("com_sfx_dirt1");
}
}
[/code]
Post Reply