Turning radius of turrets

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




Literarian 500

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

Turning radius of turrets

Post by Snaku »

One of the things I'm working on for my current project is a flying warthog. It's pretty nice and helps to balance out the other flying vehicles I've added, but it has a major flaw: the warthog's turret isn't capable of aiming down very far. Like maybe 5 degrees down or so. I thought I'd switch it out for a ground-mounted turret, since they're usually in elevated positions and they're built for aiming down. Problem there is they only turn 180 degrees laterally. How do I go about making the warthog turret able to aim further down or give the land one a 360 turning radius?
Doom




Articulatist 500

Posts: 1063
Joined: Mon May 09, 2005 7:31 am
Location: DHA , SA Team: Liquid Metal Knowledge: Excellent Your Mom?: Yes
Contact:

Post by Doom »

You could give it autoaim...=D

-Doom
Image
Sig over three lines of text. <--- lik wtf? mods make my sig 4 lines of text, then they letz tis slide as GTAF says, and den dey delete it? likwtf?
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

Doom2 wrote:You could give it autoaim...=D

-Doom
NO

it must be possible, so have a look in dev mode for a likely variable, compare the human turret with the covenant turret since it can turn 360
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Snaku




Literarian 500

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

Post by Snaku »

Autoaim sucks. I freakin' hate autoaim. I usually turn it down if I even touch it at all... with one exception: I made the ghost fly, gave it a sentinel beam (slightly powered down) and gave it about a 90 degree autoaim, but supershort range. It's meant to fly in really close to the flying tank and cook the pilot right out of it. My buds and I have had some pretty epic battles between the ghost and tank: it's got auto, but it's still not easy to kill a tank with it before it kills you.
Tried comparing the two turrets. Couldn't find anything. :( I changed the turning angle, but that's just for the camera. Now I can look in 360, but still can only shoot in 180.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

i have another idea, rather than trying to make the turret turn 360, put a human turret on it and turn it around so that you can shoot out the back, then give the driver some knid of weapon and make the hog really speedy
Last edited by xzodia on Wed Apr 05, 2006 11:10 am, edited 1 time in total.
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Doom




Articulatist 500

Posts: 1063
Joined: Mon May 09, 2005 7:31 am
Location: DHA , SA Team: Liquid Metal Knowledge: Excellent Your Mom?: Yes
Contact:

Post by Doom »

snaku wrote: Couldn't find anything. :( I changed the turning angle, but that's just for the camera. Now I can look in 360, but still can only shoot in 180.
Hahaha thats funny.

By the way I am still attempting my project that I pmed you about =P. The Dock_attractor didn't seem to work =P. I am going to try it agian but with a thruster marker, so I can tell what each premunition does, i think I have it switched around right now.

-Doom
Image
Sig over three lines of text. <--- lik wtf? mods make my sig 4 lines of text, then they letz tis slide as GTAF says, and den dey delete it? likwtf?
Snaku




Literarian 500

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

Post by Snaku »

xzodia wrote:i have another idea, rather than trying to make the turret turn 360, put a human turret on it and turn it around so that you can shoot out the back, then give the driver some knid of weapon and make the hog really speedy
Yeah, I read your post. That's why I mentioned that I'd tried comparing them.
I appreciate the suggestion, but I really, REALLY don't want to give the warthog driver a weapon. Do that and it's just like any other vehicle: it spoils the team dynamic. Besides, if it was speedy AND the driver could shoot it would be too powerful. You have to understand: every minor change I make has huge implications in how the level plays. For example, I moved the Stingray's weapon down to where it was coming out the front of the tank instead of three feet above it: turned it into a freakin' deathtrap--it couldn't hit anything once it got too close, so the shocker ghost slaughtered it every time.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

Do a hex search in the vehicle tag for a range of float values close to the amount of degrees that specific turret lets you turn. For example, if you noticed that a turret turned about 90 degrees (~1.57 radians), search for values close to that. Since it's an angular value, the chances of it being an even number are slim to none because bungie wasn't looking at hex or a radians when they made the game, they just picked an angle ;)
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

i just remembered, every time i tried to make a ghost or any vehi apart from the hog fly it didnt work. how did you do it?

if you dont want the driver to have a weapon, try what i said only without the driver weapon. think about it, it would mean that the driver is just trying to avoid fire and not go straight towards anything while the guy in the turret shoots stuff. i reckon that would be fun as hell
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

xbox7887 wrote:Do a hex search in the vehicle tag for a range of float values close to the amount of degrees that specific turret lets you turn. For example, if you noticed that a turret turned about 90 degrees (~1.57 radians), search for values close to that. Since it's an angular value, the chances of it being an even number are slim to none because bungie wasn't looking at hex or a radians when they made the game, they just picked an angle ;)
it would still be a number though

edit: oops double post
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Post Reply