Page 6 of 6

Posted: 2008-02-11 12:52
by Mosquill
Ok, since you asked, here's a piece of code that creates gunner bar in the pilot's seat.

Code: Select all

hudBuilder.createCompassNode 			Ah1zCoPilotHud Ah1zGunnerBarView 3 335 384 123 16 1 0
hudBuilder.setCompassNodeTexture 		1 Ingame\Vehicles\Icons\Hud\Air\Attack\Ah1z\Ah1z_gunnerwiew.tga
hudBuilder.setCompassNodeTextureSize		128 16
hudBuilder.setCompassNodeBorder			0 0 0 22
hudBuilder.setCompassNodeValueVariable  	GunnerAngle
hudBuilder.setCompassNodeOffset			-61
If I just apply this code to CoPilot's seat, gunnerBar will be created but it won't update itself, probably because the GunnerAngle variable only updates when you are in the Pilot's seat.

But there is another variable, called VehicleTurretAngle. If I use it instead of GunnerAngle the gunnerBar works, but incorrectly. It shows reversed direction, for example when gunner is looking left the gunnerBar moves right. If I could only do something like this:

setCompassNodeValueVariable -VehicleTurretAngle

it would most likely solve the problem. But I can't use "-", "+" or any other operator or expression.


Btw speed indicator also doesn't update itself. Alt-meter works fine though.

Posted: 2008-02-11 14:41
by Mora
Speed indicator isn't really important it doesn't even show the real speed.. alt is handy and it works :D for the gunner bar :( well maybe there is away to connect the pilot with the gunner so that the gunner bars works.. i don't know you should ask a dev that. But i don't really care if it works inverted as long its there and shows where to aim when the pilot says target on the right. But i assume a dev disagree with me cuz who whats a defect gunner bar.. and well i hope you add the other things that makes it look better.

Posted: 2008-02-23 11:44
by Mora
So any updates? ;)

Posted: 2008-02-25 15:37
by Mosquill
Well, it's almost done. I just have some font problems that need to be handled.

Posted: 2008-02-25 17:34
by Mora
Sweet :-D post some screens when your ready.

Posted: 2008-03-08 15:07
by Mora
Mosquill wrote:Well, it's almost done. I just have some font problems that need to be handled.
And, how far are you? I mean fonts aren't that hard to handle right?
I am just curious :)

Posted: 2008-03-08 20:21
by Mosquill
Mora wrote:And, how far are you? I mean fonts aren't that hard to handle right?
I am just curious :)
All the photoshop drawing is 95% done, I just have to make a bunch of .dds texture files, compile it into an atlas, tweak the HUD's .con files and then make custom font and configure it's .dif file. But I was either too busy or too lazy ( :-D ) to do that. Also, I was busy working with animations and zeroing of weapons (https://www.realitymod.com/forum/f18-pr-suggestions-feedback/36310-scope-lines).

But don't worry, since I've almost done the photoshop part, I'm not going to just leave it there.

Oh and btw, if you have any pictures of apache/cobra/z10/havoc's pilot/gunner hud in high resolution and quality, that would be very usefull.

Posted: 2008-03-08 21:39
by Mora
I know but i cant find those pictures. The only thing i can find is the videos. But those are not from a havoc or wuzhuang zhisheng-10 or simply the WZ-10 those are all from ether the apache or the cobra.

Posted: 2008-03-09 22:02
by Mora

Posted: 2008-03-10 12:32
by Mora
Okey so i asked lewis896 on youtube if he was a real gunner of the apache and if he could make some photos of the screen and such, this is his response.
lewis896 wrote:Yea, I'm real, but no, we're not aloud to divulge aircraft specific photos. Especially of the cockpit. Sorry.
:sad: so the chance you get a high quality photo is really small

Posted: 2008-03-10 13:04
by Fatal-M
TOTALY AGREE !!! small changes do make a difference !!

and im sure its changeable but like bloodbane said , depends on the experts :)

Posted: 2008-03-10 21:13
by HughJass
yeah, and for .8 we can make a sweet part of the trailer being appache gunner footage like in .5 :D DDD

Posted: 2008-03-11 13:43
by Mora
Yeah that will be sweet. I hope we will get a video like that.

Posted: 2008-04-12 00:33
by Mora
Ive been thinking, the tank gunner can see a image on where the barrel is pointing at.
So maybe we can get the same to work on the chopper. Instead of a bugged gunner-view bar we can have that :) .
Of course the image will need a change but you'll get the point.