Author Topic: Aircraft crosshair zoom not working  (Read 1053 times)

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Aircraft crosshair zoom not working
« on: 14-09-2009, 19:09:58 »
I was making the Bf-109 G-2 & K-4 models.

I've got everything sorted now, except for one weird thing: The crosshair zoom.

The game is zooming in & out when I click AltFire. Which means everytime I fire the cannons. FlareFire button doesn't zoom.

I noticed the crosshairs were visible in the normal view for some reason.

If I rem out
Code: [Select]
rem ---BeginComp:ToggleCameraComp ---
ObjectTemplate.createComponent ToggleCameraComp
ObjectTemplate.zoom.cameraInput PIFlareFire
ObjectTemplate.zoom.changeCameraId 3
ObjectTemplate.zoom.changeCameraViewMode 1
rem ---EndComp ---
it won't zoom with AltFire.


Changelog:
Import bf109e7_trop.
Remove rear wing struts, make the wings round, remove wing barrells for G-2.
Export as bf109g2 & bf109k4.
Copy-paste the .con & .tweak from bf109e7_trop.
Rename everything except AItemplates & collisionmesh.
Edit the guns.
Change the soundfiles.


Could it be because I made the WingMG's into SingleFireComps as they are now the EngineMG's that the G2 & K4 have. Cause I haven't touched anything else.
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Aircraft crosshair zoom not working
« Reply #1 on: 19-09-2009, 16:09:01 »
Found the problem. Editor had removed one line:
Code: [Select]
rem ---BeginComp:ToggleCameraComp ---
ObjectTemplate.createComponent ToggleCameraComp
ObjectTemplate.zoom.cameraInput PIFlareFire
>>> ObjectTemplate.zoom.zoomInput PIFlareFire  <<<
ObjectTemplate.zoom.changeCameraId 3
ObjectTemplate.zoom.changeCameraViewMode 1
rem ---EndComp ---
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline [130.Pz]S.Lainer

  • FH-Betatester
  • ***
  • Posts: 1.934
    • View Profile
    • 130th
Re: Aircraft crosshair zoom not working
« Reply #2 on: 21-09-2009, 15:09:39 »
You Won't Need A Crosshair Soon! ;D

Get the fuck off my internets!
http://www.bfewaw.com/campaigns/waw24/promo/campaign/waw24banner1.png
The purpose of this deployment was to "annoy and defy the United States ... on her with Bofors 40 mm guns from a range of 650