| View previous topic :: View next topic |
| Author |
Message |
Beef

Joined: 08 Aug 2006 Posts: 5
|
Posted: Wed Aug 09, 2006 3:54 am Post subject: Get rid of bodies going stiff and no longer being a ragdoll |
|
|
Follow this to make it so ragdolls stay ragdolls. I tried to make it as simple as possible... good luck.
1) Go to ...Ubisoft\Demo\Techland\Call of Juarez SP Demo
2) Create a folder Data in that Physics and in that create both a Ragdoll and Generic folder
3) Back in your COJ root directory open Data0.Pak with winrar or winzip
4) In there go to Data\Physics\Generic and copy ODEPhysicsRagdoll.scr to the Generic folder you just created
5) Back in Data0.Pak go to Data\Physics\Ragdoll and copy Human.Scr and HumanSimple.phx the Ragdoll folder you created
Now for the fun
Now you have to change things in the files. To do this create a text document on your desktop, open it, and drag the file you want to edit into the writing area.
1) Go to ...Data\Physics\Ragdoll and use the above method to edit Human.phx
2) Replace the ragdoll and physics params with this:
//-------------------------------------------------------------------------------------------------
PhysicsParams()
{
QuickStepNumIterations(10)
AllowContinuousCollisions(1)
SetWaterFloat(0.2)
SetAutoDisableVels(14, 4, 0.5)
SetAbsorbers(1, 1)
SetMaxWatchingTime(9999999)
MaxLifeTime(9999999)
}
RagdollParams()
{
Mass(120)
StiffenStartTime(999999999)
ApplyForceMod(3)
ApplyForceAddUp(400000)
}
//-------------------------------------------------------------------------------------------------
1) Next edit Human.Scr with:
//-------------------------------------------------------------------------------------------------
PhysicsParams()
{
QuickStepNumIterations(15)
AllowContinuousCollisions(1)
SetWaterFloat(0.2)
}
RagdollParams()
{
Mass(90)
StiffenStartTime(9999999999999999999999)
ApplyForceMod(4)
ApplyForceAddUp(400000)
}
//-------------------------------------------------------------------------------------------------
1) Finally go to ...Data\Physics\Generic and edit ODEPhysicsRagdoll.scr
//-------------------------------------------------------------------------------------------------
PhysicsParams()
{
SetPhysicsSurfaceID(SRF_FLESH)
SetMaxVels(5000, 50)
SetAutoDisableVels(10, 2, 0.5)
SetAbsorbers(0.3, 0.7)
SetWaterFloat(0.4)
SetMaxWatchingTime(9999999999)
SetVelsGate(0, 0)
MaxLifeTime(99999999999999)
AllowDepthCompression(1)
TerrainCacheParams(1, 1, 20, 2)
StaticMeshCacheParams(1, 1, 20, 2)
TreesCacheParams(1, 1, 20, 2)
}
//------------------------------------------------------------------------------------------------- |
|
| Back to top |
|
 |
Soulman

Joined: 30 Jul 2006 Posts: 113 Location: Tombstone
|
Posted: Wed Aug 09, 2006 7:22 am Post subject: |
|
|
Ah great stuff.
Im going to try it out when I get home!
EDIT: SO the first things are just to make backup of the files? Not to
edit them? _________________ "So dark the con of man" |
|
| Back to top |
|
 |
Soulman

Joined: 30 Jul 2006 Posts: 113 Location: Tombstone
|
Posted: Wed Aug 09, 2006 7:57 am Post subject: |
|
|
Sad to say but this didn't have any real effect at all.
Sure the bodies stay ragdoll so you can kick them around alittle
but they can't be shot nor will the corpses stay any longer than before.
Well well ... better than nothing I guess. Thx! _________________ "So dark the con of man" |
|
| Back to top |
|
 |
buzznjackal

Joined: 31 Jul 2006 Posts: 113
|
Posted: Wed Aug 09, 2006 10:49 am Post subject: |
|
|
Great work Beef. Can't wait to try it when I get home. This is only a start. Soon we'll be changing everything in the game. We have ourselves a modding community here. Maybe we'll get our own forum yet!  |
|
| Back to top |
|
 |
GusGus2000
Joined: 29 Jul 2006 Posts: 17
|
Posted: Wed Aug 09, 2006 4:55 pm Post subject: |
|
|
| Question, will the corpses with this changes also not disappear? |
|
| Back to top |
|
 |
Beef

Joined: 08 Aug 2006 Posts: 5
|
Posted: Wed Aug 09, 2006 10:45 pm Post subject: |
|
|
They still do... but that is probally in another file.
Soulman, quite your complaining. Find the file yourself to make it so you can shoot bodies or try aiming around the bodies edge to hit them. It is possible. Throw some dynamite at them.
And those first steps are so you can take the files out of the Data0.Cab to edit them... you can do it within it but its a pain. |
|
| Back to top |
|
 |
buzznjackal

Joined: 31 Jul 2006 Posts: 113
|
Posted: Fri Aug 11, 2006 1:39 pm Post subject: |
|
|
| Congratz Beef on making it to the TweakGuide! See page 10. You are mentioned there for your work. |
|
| Back to top |
|
 |
C.TheDuke
Joined: 20 Aug 2006 Posts: 2
|
Posted: Sun Aug 20, 2006 8:44 pm Post subject: |
|
|
| Beef wrote: | They still do... but that is probally in another file.
Soulman, quite your complaining. Find the file yourself to make it so you can shoot bodies or try aiming around the bodies edge to hit them. It is possible. Throw some dynamite at them.
And those first steps are so you can take the files out of the Data0.Cab to edit them... you can do it within it but its a pain. |
I havent found dynamite on thisy yet could some 1 please tell me where ?? |
|
| Back to top |
|
 |
Pound

Joined: 03 Jul 2006 Posts: 45
|
Posted: Mon Aug 21, 2006 4:24 pm Post subject: |
|
|
I am definate when the full games coems out tehre will be very sueful modding tools, in which everyone will make your guys dreams of shootable bodies, that stay forvever. _________________
 |
|
| Back to top |
|
 |
flagstone
Joined: 04 Sep 2006 Posts: 4
|
Posted: Tue Sep 05, 2006 4:03 am Post subject: |
|
|
| I followed the instructions. I think I saw the changes in SP but not in MP. The ragdolls still look rather dodgey in MP. I'm not sure if anyone else can confirm this. |
|
| Back to top |
|
 |
Crow

Joined: 30 Aug 2006 Posts: 932 Location: United States
|
Posted: Tue Sep 05, 2006 3:44 pm Post subject: |
|
|
lol its funny when bodies fly up into the air  _________________ -Mark "TheCrow" Bayless
SBD_TheCrow
www.paleface.net
www.theoutlawdad.com
google warzone for Outlaws multiplayer gaming!
-coj beta tester |
|
| Back to top |
|
 |
GusGus2000
Joined: 29 Jul 2006 Posts: 17
|
Posted: Wed Sep 20, 2006 6:37 pm Post subject: |
|
|
@Beef Thx for this mod, really cool!
A question, did you find a way like this, to make the corpses longer stay? This parameter should be also included in one of these files. |
|
| Back to top |
|
 |
|