Jump to content
Official BF Editor Forums
Sign in to follow this  
FVxSF

Help In Adding Blood Please

Recommended Posts

Yes I did do a search, and yes I followed the advice and tips of others. There's just one little problem. I'm missing some files to create the blood, or I can't find them.

I was reading some posts in the BF2 threads about tweaking the tweak files to add blood but I'm not finding those files in 2142. For an example, I can't find "e_bhit_s_sold_head.con/tweak" in my effects folder.

I figure a sniper deserves the visual sensation of a blood mist after pulling a head shot.

Getting the blood to show after a bullet impact is my main goal and my second. Is there a way to add a blood trail on the ground?

Thanks

Share this post


Link to post
Share on other sites

hey, i am on my way to the hospital because my best friend's dad had a heart attack, but I have to ask a stupid question. Did you check both effects files? There are two of them. One server one client. I apologize if it's a stupid question.

Share this post


Link to post
Share on other sites
hey, i am on my way to the hospital because my best friend's dad had a heart attack, but I have to ask a stupid question. Did you check both effects files? There are two of them. One server one client. I apologize if it's a stupid question.

Well shit man! I hope your friend's dad is all right.

And yeah, I looked in both Server archives... nothing. I know the is collision reaction because if you shoot a soldier in the head he seems to smack his face. But I never see any kind of dust that shows up when you shoot them.

Edited by FVxSF

Share this post


Link to post
Share on other sites

I can't help much with BF2142 but there should be a file in the materials section where the collision effects are coded.

By finding the collision cells for projectiles <> human you should at least know what effects are played for those impacts.

In BF2 the material properties can be found in /common/material/materialmanagerdefine.con ( in the common_server.zip )

and the cells are defined in /common/material/materialmanagersettings.con

You'll perhaps find the effect files in /objects/effects/impacts/bhits, at least thats the location in BF2.

Share this post


Link to post
Share on other sites

first you need to create the bullet impact effect for the soldiers.

Next you need to manually edit your MaterialManagerSettings.con. I recommend to also open the MaterialManagerDefine.con to see what you need ill list them though mine look way different.

Material.active 23
Material.name "Human_bodyarmour"
Material.type 1
Material.friction 1.1
Material.elasticity 0
Material.resistance 0.01
Material.overrideNeverPenetrate 1
Material.isSeeThrough 1

Material.active 24
Material.name "Human_body"
Material.type 1
Material.friction 1.1
Material.elasticity 0
Material.resistance 0.01
Material.penetrationDeviation 0.05

Material.active 25
Material.name "Human_head"
Material.type 1
Material.friction 1.1
Material.elasticity 0
Material.resistance 0.01
Material.penetrationDeviation 0.05

Material.active 77
Material.name "Human_limbs"
Material.type 1
Material.friction 0.6
Material.elasticity 0
Material.resistance 0.01
Material.penetrationDeviation 0

Material.active 126
Material.name "Human_body_upper"
Material.type 1
Material.friction 1.1
Material.elasticity 0
Material.resistance 0.01
Material.penetrationDeviation 0.05

Material.active 27
Material.name "Bullet_LMG"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.55

Material.active 38
Material.name "Bullet_small_arms"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.2

Material.active 39
Material.name "Bullet_50caliber"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.1

Material.active 40
Material.name "Bullet_minigun"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.1

Material.active 41
Material.name "Bullet_shotgun"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.01

Material.active 121
Material.name "Bullet_SMG" (mainly used by apc's)
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.55

Material.active 131
Material.name "Bullet_Heavy_Sniper"
Material.type 2
Material.friction 1
Material.elasticity 0
Material.resistance 0.01
Material.projectileCollisionHardness 0.001

when you do CTRL+F in the ...settings.con youll type Createcell 131 126 for example then all you need to do is add the code

MaterialManager.createCell 131 126

MaterialManager.damageMod 1

MaterialManager.setEffectTemplate 0 e_bhit_s_sold_limb

MaterialManager.setSoundTemplate 0 S_Impact_Flesh

Edited by dtneter

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...