Page 1 of 1
Turning radius of turrets
Posted: Wed Apr 05, 2006 10:13 am
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?
Posted: Wed Apr 05, 2006 10:37 am
by Doom
You could give it autoaim...=D
-Doom
Posted: Wed Apr 05, 2006 11:02 am
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
Posted: Wed Apr 05, 2006 11:03 am
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.
Posted: Wed Apr 05, 2006 11:06 am
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
Posted: Wed Apr 05, 2006 11:08 am
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
Posted: Wed Apr 05, 2006 11:15 am
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.
Posted: Wed Apr 05, 2006 12:00 pm
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

Posted: Wed Apr 05, 2006 12:12 pm
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
Posted: Wed Apr 05, 2006 12:13 pm
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