Page 1 of 1

Heh.. projectile swapping & physics

Posted: Wed Dec 10, 2003 4:07 pm
by UnN4m3d
Alright, I have changed most of the weapons. The shotgun shoots a tons of plasma pistol bolts, pistol fires charged bolts, Warhog shoot plasma rifle bolts, banshee shoots mp turrent bolts and secondary shoots a rocket...

Now what I'd like to do is change some physics on a few things. I've tried with the warhog (Trying to make it fly) but all it did was make the back end of the hog sit in the ground and it would only move forward.

Do I need to change more than its physic value? Value + meta + Ident?
Or am I all wrong...

-Frustrated Novice

Posted: Wed Dec 10, 2003 4:47 pm
by staticx57
its not in the physics you are looking to change. i forget how to make it fly, there was a post a while back.

Re: Heh.. projectile swapping & physics

Posted: Wed Dec 10, 2003 5:06 pm
by WaLKa
UnN4m3d wrote:Alright, I have changed most of the weapons. The shotgun shoots a tons of plasma pistol bolts, pistol fires charged bolts, Warhog shoot plasma rifle bolts, banshee shoots mp turrent bolts and secondary shoots a rocket...

Now what I'd like to do is change some physics on a few things. I've tried with the warhog (Trying to make it fly) but all it did was make the back end of the hog sit in the ground and it would only move forward.

Do I need to change more than its physic value? Value + meta + Ident?
Or am I all wrong...

-Frustrated Novice
using hmt, try swaping the physics with the banshee

I did

Posted: Wed Dec 10, 2003 10:20 pm
by UnN4m3d
I tryed that, it gave me a slow warhog that dosent turn

Posted: Thu Dec 11, 2003 12:07 pm
by dalecooper
You can't just swap physics, it messes things all up. You have to swap out a particular string in the vehicle meta. I did this for ghosts in my most recent mod.

In any map, go to the meta offset for the banshee + 2F4. That should take you to a string starting with 0500 0000. You need to write down the whole string, 18 groups of 4 digits long. Then go to the meta offset for the vehicle you want to fly, again +2F4. You should see a string starting with 0100 0000 CDCC (for a warthog), 0400 0000 6666 (for a ghost), or 0000 0000 295C (for a scorpion). Replace this all the way through with the banshee string you wrote down earlier.

Footnotes: meta offsets for vehicles can be had from IronForge's list. To add 2F4 to an offset, use your Windows calculator and make sure you're in Hex mode.

Additional note: some vehicles don't fly well, particularly as you start messing further with their speed and handling. I was trying to make very fast flying ghosts for my mod, but I ran into an issue that the ghost's heavy front end was making it hard to fly without crashing into the ground. Here's where I would suggest getting into HMT3 and messing with the physics a bit. I solved that particular issue by relocating the center of weight (x axis) more towards the back - i.e. a smaller value. On the std banshee, the center of weight on that axis is actually a negative number; it has a tendency to want to climb in the air, whereas the ghost wants to fall.