How to make a destructuible stone as a scenery tutorial

Finish a new model/mesh? Got something you're working on? Finish a new map? Here's the place to post it for feedback and whatnot.
Post Reply
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

How to make a destructuible stone as a scenery tutorial

Post by Patrickssj6 »

1.Texture

Create your texture in paintshop or download it right here:
http://textures.forrest.cz/

2. Directory

Go to your haloce dircetory.Under data create a folder "scenery" in this folder create these folders:"bitmaps","models" and "physics".
Into the bitmaps folder you paste your textures for the stone.

3. Modeling in 3ds max

Create a sphere with a radius of 50.Rename it to stone.Now go under the modify panel and select from the modifier list "Noise".
Turn on "fractal" and under strength set this values:
Scale:30
X to 25
Y to 10
Z to 20.

You can chang the seed value if you want.

Now hit the "M" key to open up the material editor click on "standard" choose "Multi\Sub-Object"
discart the old material and click on delete until you have 1 material.Name (not the material) to "stone"
and the material to name as your bitmap has.Under the first material click the button "show map in viewport"
and click on the box next to diffuse.Choose bitmap and select your bitmap.Click "go to parent" 2 times and
click "assign material to selection".Go under the modifier lis and use uvw map and set the values you want.The stone have now
the texture apply to it.Create a box and name it "frame: (without quotes) and then select the stone and click the "link" button
and link it to the frame.Save it in your haloce\scenery\stone dircetory as "stone.max" and export it into your models folder as stone.jms.
Now change the name from stone to collision geometry.In the material editor rename it to collision geometry
and under your first material rename it to collision geometry.
Now save your file as "collision geometry" in your haloce\scenery\stone dircetory.
Now export it again into your physics folder as stone.jms.
Now go under "file" and the under "open recent" and open up your stone.max.

Now you can change the seed value like you want or do what you like to looks like it is destroyt.You can
scale with it around...blablabla...
When your stone looks destroyt save it in your haloce\scenery\stone dircetory as stone_~damaged.max
Now export it in you models folder as ~damaged.jms
Rename all thing to collision geometry as before (Now change the name from stone to collision geometry.
In the material editor rename it to collision geometry
and under your first material rename it to collision geometry) and save it
in your haloce\scenery\stone dircetory as collision geometry_~damaged.max and export it into your physics folder
as ~damaged.jms.

4.Tool.exe

Open up the "command promt" and open up the tool.exe.Now type:

tool.exe bitmaps scenery\stone\bitmaps (then set the shaders in guerilla)

tool.exe model scenery\stone (for the scenery model)

tool.exe collision-geometry scenery\stone (for the collision geometry)

4.Guerilla

Open up guerilla and open up the stone.model_collision_geometry and
change the "indirect damage material" from none to whatever is there.
then scroll down and set the maximum body vitality to 50.
Under materials choose the one as above(indirect damage material) and check
the box "dies when objekt dies" and set the body damage multiplier to 1.
Save your changes and create a new scenery tag and set the bounding radius to 30 and the model will be your stone.gbxmodel and the
collision model your stone.model_collision_geometry
Save it in you tags\scenery\stone directory as stone.scenery.

Finish!!!

Hope that help some people out 8) .
Its my firs tut and sorry for the bad english :oops:


Patrickssj6
Image
Last edited by Patrickssj6 on Mon Aug 30, 2004 3:28 am, edited 1 time in total.
...left for good
Pie





Posts: 2690
Joined: Wed Mar 10, 2004 8:46 am
Location: Bedford \ Nashua, New Hampshire
Contact:

Post by Pie »

This is nice dude :wink:

Good Job
Image
Thank You, SHOUTrvb, For This Fantastic Signature :mrgreen:
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

thanks man i thought now1 would care
8)
...left for good
Post Reply