Ultimate Collision Model Sticky
Posted: Mon Apr 05, 2004 8:42 pm
Since there are so many stickys for collision models, i decided to combine them into one.
Tutorial for stretching the collision Models
ALL CREDIT GOES TO XORANGE FOR THIS
As I said before, the "panels" used to be the log, which is tree_leafy_fallentunk.
I just renamed everything so that it would be all "authentic".
I used the scenery, model, collision model & appropriate bitmaps.
(I used Milkshape3D to modify the model & Photoshop for the textures.)
Here's the deal with the collision model....
I have limited knowledge of the collision models and it took me quite a bit of research and experimentation to get to the point I'm at.
I have not yet been able to modify this much more than I already have,but I am still working on it.
(I recommend extracting the "panel" collision model meta and taking a look at it in a hex editor. It would also be helpful to extract the log collision model meta frrom a clean cache so you can compare the two and see what changes I made.)
Basically, down at the bottom of that meta there are 8 packets of numbers that represent vertices for the collision model.
(Beginning at 0x269EE30)
Here's what the first packet looks like:
9AEBACBF CA6B9DBE 62F58F3E 04000000
The first three numbers are floats, and are x,y,z coordinates, respectively.
The last number is just the number of the point. So, this one is vertice #4.
To stretch the verts out to where I wanted them I multiplied each Y coord 5x for each set of verts.
That almost did the trick.
Now, near the middle of the collision model meta there are 6 more important packets of data (each 0x10 bytes), which I believe are all floats, beginning at offset 0x269EC08.
I believe these numbers are attributes of the collision model.
The one's I changed are at the end of the 3rd & 4th packets.
The specific floats I changed are @ offsets 0x269EC34 & 0x269EC44.
I'm not exactly sure what these are, but I know that they affect the surface of the collision model. I multiplied them 5x.
Done. That's all I did to the collision model. Multiplied 10 floats by 5. Whee!
I have experimented with making the collision model thinner, wider, etc. with some success.
I have not yet been able to stretch it along the X axis, otherwise I would've made some giant flat platforms.
I have obviously successfully stratched it along the Y axis, though for some reason I can't make it as long as I want...there is some sort of limit that I haven't been able to get past yet.
I have also successfully stretched it along the Z axis, which I haven't really found a use for yet. If you stretch it along Y & Z you end up with a big block. woohoo, right.
This is a pretty simple collision model. Most of them are not as simple because they have more parts.
As UberJim mentioned, you could probably use a diff. collision model and get similar results. Yes, you probably could, but keep in mind that diff. collision models have dff. attributes. For example the door_blast_collision allows you to shoot through it but not walk through it. Thus if you used something else like that you might need to modify it further for it to suit your needs.
You could also use this collision model with another flattened model if you want.
Ok..that's about all I can think of to say about that.
I hope it was helpful.
----------------------------------------------------------------------------------------------------------
Simple Tutorial on Getting Flat Square Metal Panels
ill tell you how to get metal looking flat square panels in BG
To get flat square panel edited collision model and metal panel skin download the mod here: http://chariho.org/BGPATCH.rar
your welcome for the flat metal panel tutorial,
-Barber
----------------------------------------------------------------------------------------------------------
New Collision Model Information, Force Planes and Packets
By:Berkano
This tutorial has so much that I am just going to link to it.
http://www.halomods.com/forums/viewtopic.php?t=5655
----------------------------------------------------------------------------------------------------------
Collision Model Numbers
By:chaosking202
Here are the material numbers for Berkano's collision model plug in.
0 - Dirt
1 - Dirt
2 - Pebbles
3 - Snow
4 - Wood
5 - Metal
6 - Metal
7 - Metal
8 - Rubber
9 - Unbreakable Glass
10 - Red Shielding
11 - Grunt Blood
12 - Metal
13 - Hunter Blood
14 - Elite Blood
15 - Elite Blood
16 - Reflective Shield
17 - Engineer Blood
18 - Jack Shield Sparks
19 - ?????
20 - Green Blood
21 - Metal Spark With Blood Splat
22 - Shields
23 - Blood
24 - Blood
25 - Unbreakable Glass
26 - Unbreakable Glass
27 - Unbreakable Glass
28 - Water
29 - Grass
30 - Shields
31 - Glass
32 - Reflective Metal
Anything past 33 they Obsorb all projectiles thrown/shot at it.
------------------------------------------------------------------------------------------------------
Tutorial for stretching the collision Models
ALL CREDIT GOES TO XORANGE FOR THIS
As I said before, the "panels" used to be the log, which is tree_leafy_fallentunk.
I just renamed everything so that it would be all "authentic".
I used the scenery, model, collision model & appropriate bitmaps.
(I used Milkshape3D to modify the model & Photoshop for the textures.)
Here's the deal with the collision model....
I have limited knowledge of the collision models and it took me quite a bit of research and experimentation to get to the point I'm at.
I have not yet been able to modify this much more than I already have,but I am still working on it.
(I recommend extracting the "panel" collision model meta and taking a look at it in a hex editor. It would also be helpful to extract the log collision model meta frrom a clean cache so you can compare the two and see what changes I made.)
Basically, down at the bottom of that meta there are 8 packets of numbers that represent vertices for the collision model.
(Beginning at 0x269EE30)
Here's what the first packet looks like:
9AEBACBF CA6B9DBE 62F58F3E 04000000
The first three numbers are floats, and are x,y,z coordinates, respectively.
The last number is just the number of the point. So, this one is vertice #4.
To stretch the verts out to where I wanted them I multiplied each Y coord 5x for each set of verts.
That almost did the trick.
Now, near the middle of the collision model meta there are 6 more important packets of data (each 0x10 bytes), which I believe are all floats, beginning at offset 0x269EC08.
I believe these numbers are attributes of the collision model.
The one's I changed are at the end of the 3rd & 4th packets.
The specific floats I changed are @ offsets 0x269EC34 & 0x269EC44.
I'm not exactly sure what these are, but I know that they affect the surface of the collision model. I multiplied them 5x.
Done. That's all I did to the collision model. Multiplied 10 floats by 5. Whee!
I have experimented with making the collision model thinner, wider, etc. with some success.
I have not yet been able to stretch it along the X axis, otherwise I would've made some giant flat platforms.
I have obviously successfully stratched it along the Y axis, though for some reason I can't make it as long as I want...there is some sort of limit that I haven't been able to get past yet.
I have also successfully stretched it along the Z axis, which I haven't really found a use for yet. If you stretch it along Y & Z you end up with a big block. woohoo, right.
This is a pretty simple collision model. Most of them are not as simple because they have more parts.
As UberJim mentioned, you could probably use a diff. collision model and get similar results. Yes, you probably could, but keep in mind that diff. collision models have dff. attributes. For example the door_blast_collision allows you to shoot through it but not walk through it. Thus if you used something else like that you might need to modify it further for it to suit your needs.
You could also use this collision model with another flattened model if you want.
Ok..that's about all I can think of to say about that.
I hope it was helpful.
----------------------------------------------------------------------------------------------------------
Simple Tutorial on Getting Flat Square Metal Panels
ill tell you how to get metal looking flat square panels in BG
To get flat square panel edited collision model and metal panel skin download the mod here: http://chariho.org/BGPATCH.rar
your welcome for the flat metal panel tutorial,
-Barber
----------------------------------------------------------------------------------------------------------
New Collision Model Information, Force Planes and Packets
By:Berkano
This tutorial has so much that I am just going to link to it.
http://www.halomods.com/forums/viewtopic.php?t=5655
----------------------------------------------------------------------------------------------------------
Collision Model Numbers
By:chaosking202
Here are the material numbers for Berkano's collision model plug in.
0 - Dirt
1 - Dirt
2 - Pebbles
3 - Snow
4 - Wood
5 - Metal
6 - Metal
7 - Metal
8 - Rubber
9 - Unbreakable Glass
10 - Red Shielding
11 - Grunt Blood
12 - Metal
13 - Hunter Blood
14 - Elite Blood
15 - Elite Blood
16 - Reflective Shield
17 - Engineer Blood
18 - Jack Shield Sparks
19 - ?????
20 - Green Blood
21 - Metal Spark With Blood Splat
22 - Shields
23 - Blood
24 - Blood
25 - Unbreakable Glass
26 - Unbreakable Glass
27 - Unbreakable Glass
28 - Water
29 - Grass
30 - Shields
31 - Glass
32 - Reflective Metal
Anything past 33 they Obsorb all projectiles thrown/shot at it.
------------------------------------------------------------------------------------------------------