Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
Changing of Weapon Panel (Shift+X) (Read 3779 times)
YoYo
Full Member
*
Offline



Posts: 24
Location: EPWA
Joined: Feb 6th, 2011
Gender: Male
Changing of Weapon Panel (Shift+X)
Oct 31st, 2012 at 3:41pm
Print Post  
Hi,

Id like to change a Weapon panel, from the first shortcut to the last (deleating too HUD panels - its a old era jet, so no need it). But I have a problem. As default (just only after used a CS Loader) works ok, but when Id like to change position I see the panel too (Shift+5) but without ammo (0000) - so it doesnt work.

Default it was:

[Window Titles]
Window00=
Window01=Weapon Control Panel
Window02=HUD
Window03=HUD Glass
Window04=Aircraft Config
Window05=Checklist
Window06=AoA Logic

[Window01]
Background_color=0,0,0
no_luminous=1
size_mm=1024, 170
position=7
visible=0
window_size=1.000, 0.170
ident=10901
zorder=2
gauge00=CSWeapon_panel!CSWeapon_panel, 0, 0, 1024, 170

I changed to the last position (Shift+5) and looks like this:

[Window Titles]
Window00=
Window01=Aircraft Config
Window02=Checklist
Window03=AoA Logic
Window04=Weapon Control Panel

[Window04]
Background_color=0,0,0
no_luminous=1
size_mm=1024, 170
position=7
visible=0
window_size=1.000, 0.170
ident=10901
zorder=2
gauge00=CSWeapon_panel!CSWeapon_panel, 0, 0, 1024, 170




Any ideas why?
  

webmaster of YoYosims&&&&Vista 64 bits, i7 930 3.56 Ghz (OC), Gigabyte GA-EX58-UD3R ( Intel X58 ), 2x2GB=4Gb Patriot Viper II Sector5, Asus Radeon HD6970 2Gb DDR5, Creative X-Fi Extreme Music + Logitech 5.1 model X-530, TrackIR 5, TH Warthog, Throtlle Quadrant CH Products, CH Pedals USB, Go Flight GF-P8, Saitek Pro Flight Radio Panel, Saitek Pro Flight Switch Panel, Saitek Pro Flight Multi Panel
Back to top
WWW  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12370
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Changing of Weapon Panel (Shift+X)
Reply #1 - Oct 31st, 2012 at 4:11pm
Print Post  
You have changed the panel correctly in the panel.cfg, so that is not the reason you have no ammo (0000).
However. If there is a syntax error in the CSWeapon.xml file, that will give you no ammo (0000).
So I would say something is wrong with the CSWeapon.xml file. It could be missing altogether if you did it manually. You may have forgotten to copy it from some other aircraft that has Weapon added to it and pasted it into the aircraft you are working with.

I often remove the HUD Glass from the panel.cfg but not the HUD itself. It works fine like that.
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
YoYo
Full Member
*
Offline



Posts: 24
Location: EPWA
Joined: Feb 6th, 2011
Gender: Male
Re: Changing of Weapon Panel (Shift+X)
Reply #2 - Oct 31st, 2012 at 4:32pm
Print Post  
Not modify yet xml file but ok, will try xml file from F-18 for example.

Thx for fast reply  Smiley. I give a feedback.
  

webmaster of YoYosims&&&&Vista 64 bits, i7 930 3.56 Ghz (OC), Gigabyte GA-EX58-UD3R ( Intel X58 ), 2x2GB=4Gb Patriot Viper II Sector5, Asus Radeon HD6970 2Gb DDR5, Creative X-Fi Extreme Music + Logitech 5.1 model X-530, TrackIR 5, TH Warthog, Throtlle Quadrant CH Products, CH Pedals USB, Go Flight GF-P8, Saitek Pro Flight Radio Panel, Saitek Pro Flight Switch Panel, Saitek Pro Flight Multi Panel
Back to top
WWW  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12370
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Changing of Weapon Panel (Shift+X)
Reply #3 - Nov 1st, 2012 at 2:29am
Print Post  
I did a test where i remove the HUD and the HUD Glass. My Weapon Control Panel is transparent and it also showed no ammo (0000). So there is not a problem with the CSWeapon.xml file. Wink

The [Window Titles] looked like this:

[Window Titles]
Window00=Main Panel
Window01=Weapon Control Panel
Window02=Radio Stack
Window03=GPS
Window04=IFR Panel
Window05=Landing View
Window06=Mini Panel

And the result was this:



Once I put the 2D HUD back in the panel.cfg, it returned to normal with ammo (200). So it is a case of you must have the HUD included or it won't work. What I did was make the HUD as the last Window entry. I was testing with the C172, and so I put them in this order:

[Window Titles]
Window00=Main Panel
Window01=Weapon Control Panel
Window02=Radio Stack
Window03=GPS
Window04=IFR Panel
Window05=Landing View
Window06=Mini Panel
Window07=HUD
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top