Collision for custom models

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
Dark_Floodz_One





Posts: 75
Joined: Mon Nov 07, 2005 8:20 pm
Contact:

Collision for custom models

Post by Dark_Floodz_One »

how could you add collision to your custom models? i added stuff onto the smg, but when you shoot the addon, the bullets go through it and dont effect it....
XxSilencedDeathxX





Posts: 486
Joined: Wed Apr 27, 2005 2:14 pm
Location: ;_;
Contact:

Post by XxSilencedDeathxX »

Wait...what do you mean? What did you "addon" to?
Snaku




Literarian 500

Posts: 956
Joined: Thu Nov 10, 2005 9:40 am

Post by Snaku »

He means he added to the model. As of right now there is no way to give collision to custom models, or even to give it to ingame models that don't already have it.
User avatar
WaywornMmmmm




Coroner

Posts: 1341
Joined: Sat Nov 05, 2005 5:17 am
Location: U.S.A

Post by WaywornMmmmm »

well if you want to change where the bullet comes out of the gun, just open up a program with xml plugins, go to the weap tag, and then change the x y and z of your weapon(this will move where the proj is spawned) to where you want to.
User avatar
Dark_Floodz_One





Posts: 75
Joined: Mon Nov 07, 2005 8:20 pm
Contact:

Post by Dark_Floodz_One »

i know how to change the x,y,z values. im not a newb. lol
i was just getting mad at not being able to have collision for my custom models.

edit: although after looking at my first post, i could have summarized it better. eh?
Snaku




Literarian 500

Posts: 956
Joined: Thu Nov 10, 2005 9:40 am

Post by Snaku »

There seem to be two types of collision: bullet collision, and character/object collision. An example is v1 of the Sentinel Base mod. If you look out to the side you see some kinda' bridge like structures. Shoot them and there is impact. A rocket will hit it and explode. Yet, if you walk on it, you fall through. Also, there was a place where you could get up high and actually go inside the model. You could fire bullets, rockets, nades, whatever out of it, but they couldn't be fired in, suggesting that the collision is one-sided just like the faces of a model. This seems to suggest it would be easy to edit... if we could figure out how. The other collision, which I believe is under phmo (I've heard that from a few people) will stop you, or vehicles, or other objects from going through. It seems to be two sided (it will block you from both sides).
A lot of that may have been unnecessary to this topic, but I think it helps to understand the stuff.
So what were you trying to do? Add some kind of shield-type thing to the smg? The best suggestion I can think of is to find something in the game somewhere that is at least semi-close to what you made your smg look like, inject your new model over that, and then swap its hlmt with the smg. You might have to alter your design to accomodate it, though, if you can't find something close enough.
User avatar
Dark_Floodz_One





Posts: 75
Joined: Mon Nov 07, 2005 8:20 pm
Contact:

Post by Dark_Floodz_One »

i added a chamber for the bullets sort of like the tommy guns from mafia groups... the thin cylinder shaped ones.
Post Reply