Jump to content

Archived

This topic is now archived and is closed to further replies.

fpretat

"S" key

Recommended Posts

Hello, First sorry for my poor english !I just install C 182RG (c182rg04.zip) (with novc ).Using "S" key I found there is not the virtual cockpit sequence,it's fine.How to get this on my other aircrafts novc .I looked at aircraft.cfg and panel.cfg on that C182RG ,find not my answer.RegardsFrancis

Share this post


Link to post
Share on other sites

Hi!If I understand you well, you want to get rid of virtual cockpits in other planes.The problem is the VC is (or not) built into the model. So you can't change it.Some advanced (usually) payware aircraft have model options to choose (e.g. LVLD or PMDG).In such cases you can decide whetehr you want the VC or not. Otherwise you have to live with it and search for non-vc models only.However I'm not a model developer so there might be a more sophisticated method to get rid of it.If someone knows, he or she may be so kind to share the knowledge here.

Share this post


Link to post
Share on other sites

A thread that may be of some help, provided what you want is to get rid of the VC:http://www.mycockpit.org/forums/showthread.php?p=67272

Here is the specifically relevant text from his post:**********************Yes, you can! As far as removing the VC from the A/C model is concerned, it is perfectly possible and actually quite simple to do, involving only a hex editor and two changes to the aircraft.mdl file.A good hex editor can be found here (Hex Workshop 4.1 - shareware but fully functional for long enough to get the job done and then some):http://www.bpsoft.com/downloads/Open the mdl file you want to edit and search for the following hex value: 0022003900In the first two occurences of that string, simply change the 39 in 0022003900 to 00. It should now look like this: 0022000000. Save the changes, OK the creation of the backup file then exit Hex Workshop to test it out in MSFS.I have found that this works on mdl files created in GMAX, FSDS, and FSDS2. It works on the default FS9 A/C, including the new vintage models. It takes two minutes at the most to complete, and if a computer moron like me can do it, then anyone can, including chimpanzees. If you decide to go this route, be sure you use your new mdl file powers for good, not evil.

Share this post


Link to post
Share on other sites

Ok Thanks for replies.I know how to delete VC in mdl file .(----To keep landing lights on 2D panel the code is to change 00 22 00 39 00 with 00 22 00 38 00----)But I want to delete on "S" key sequence the "virtual cockpit" view that is still maintained present (transparent) after changing the values in mdl file:S key action = cockpit /virtual cockpit/tower/ chase plane/On the C182RG with "S"key it changes directly from "cockpit" to "tower" view .regardsFrancis

Share this post


Link to post
Share on other sites
I want to delete on "S" key sequence the "virtual cockpit" view that is still maintained present (transparent)
I'm afraid THAT is impossible.

Share this post


Link to post
Share on other sites
Ok Thanks for replies.I know how to delete VC in mdl file .(----To keep landing lights on 2D panel the code is to change 00 22 00 39 00 with 00 22 00 38 00----)But I want to delete on "S" key sequence the "virtual cockpit" view that is still maintained present (transparent) after changing the values in mdl file:S key action = cockpit /virtual cockpit/tower/ chase plane/On the C182RG with "S"key it changes directly from "cockpit" to "tower" view .regardsFrancis
Hi Francis,The only way I know how is to add a (invisible) gauge that automatically gives another "S" (or shift-S for reverse) if it detects that the current view is VC.I made such a gauge (in XML) in the past, but I have to look it up.If you PM me your Email address, I'll mail it if I can find it again.RobPS: Found the gauge, here's the code:
<Gauge Name="VCViewSkip" Version="1.0"><Keys>  <On Event="VIEW_MODE">1 (>G:Var1)</On>  <On Event="VIEW_MODE_REV">0 (>G:Var1)</On></Keys><Element>  <Select>	<Value>	  (P:ACTIVE VIEW MODE,enum) 2 ==	  if{		(G:Var1) 		if{ (>K:VIEW_MODE) }		els{ (>K:VIEW_MODE_REV) }	  }	</Value>  </Select></Element></Gauge>

To use it:1. copy the code into a textfile (like with Notepad) and save the file as e.g. SkipVC.xml2. In your \gauges folder (or aircraft \panel folder) create a subfolder \ViewSkip\ and move the .xml file there.3. Add the gauge to your panel.cfg asgauge**==ViewSkip!SkipVC,0,0TIP: Assuming that the panel doesn't have a VC section LoL, create one by:[Vcockpit01]texture=DummyFile.bmpgauge00=ViewSkip!SkipVC,0,0This ensures that the gauge is loaded (active) immediately after you load the aircraft (irrespective in what view you are in).Because if you add the gauge to a 2D window, it won't be loaded untill you have cycled through Cockpit view at least once.Rob

Share this post


Link to post
Share on other sites

Hi Rob,Many thanks.Just test it ,it's working but looks like it's a little erratic for "tower" view not switched every time by "S" key? ?But sure there is no vcview anymore .I look at panel.cfg from Chuck Dome C182RG (c182rg04.zip) didn't fine any hidden gauge .And sure on that plane no vc by "S" key press ?regardsFrancis

Share this post


Link to post
Share on other sites
Hi Rob,Many thanks.Just test it ,it's working but looks like it's a little erratic for "tower" view not switched every time by "S" key? ?But sure there is no vcview anymore .I look at panel.cfg from Chuck Dome C182RG (c182rg04.zip) didn't fine any hidden gauge .And sure on that plane no vc by "S" key press ?regardsFrancis
Sorry, I don't understand what you mean with "" it's a little erratic for "tower" view not switched every time by "S" key?""Can you please explain in more words what happens exactly ???About the C182RG model: the reason that the "S" key works differently there (ie. skips VC view), probably is that this basically is an FS2002 model (or even older) ! And I guess FS2000/2002 models without VC behave that way in FS9.Rob

Share this post


Link to post
Share on other sites

Well Rob my english is surely incomprehensible,I try to explain:On "cockpit"view ,pressing "S" key => "Chase plane"view "S" press again =>"Cockpit"view"S" press again =>"Chase plane"view"S" press again => "cockpit" viewsometimes =>"tower"viewIt looks like the common sequence by pressing "S"key is not well done?Sure "vc"view is deleted.I looked at D18novc (Milton Shupe) and L049 FsDzign the "vc"view (useless) is transparent but not deleted.Thanks

Share this post


Link to post
Share on other sites
Guest dogknot

My thanks, too, Rob! I've had your noVC xml code in my files for quite some time and had no idea who wrote it. Now I do!Just for the sake of an alternate source... Doug Dawson wrote a gauge that allows the user to choose between no2D or noVC.I know it's included in Tom Kohler's Thunderbolt package, among others. It is obviously very easy to port the gauge over for use in other aircraft.==============================FS2004 Republic P-47M-1 Base Package by Tom Kohlerp47m_923.zipLocate the "_DSD" folder located in "Aircraft/_GY_P-47M-1-RE".written by Doug DawsonGauge name: dsd_view_skip.gauquote from: dsd_view_skip.txtThis gauge will allow the user to prevent either the 2D Panel or the VC from being visited as views are scrolled. There are two separate gauge elements, one for each view to be skipped. It is not suggested that both gauge elements be used on the same panel - results will be unpredictable.===============================

Share this post


Link to post
Share on other sites
My thanks, too, Rob! I've had your noVC xml code in my files for quite some time and had no idea who wrote it. Now I do!Just for the sake of an alternate source... Doug Dawson wrote a gauge that allows the user to choose between no2D or noVC.I know it's included in Tom Kohler's Thunderbolt package, among others. It is obviously very easy to port the gauge over for use in other aircraft.==============================FS2004 Republic P-47M-1 Base Package by Tom Kohlerp47m_923.zipLocate the "_DSD" folder located in "Aircraft/_GY_P-47M-1-RE".written by Doug DawsonGauge name: dsd_view_skip.gauquote from: dsd_view_skip.txtThis gauge will allow the user to prevent either the 2D Panel or the VC from being visited as views are scrolled. There are two separate gauge elements, one for each view to be skipped. It is not suggested that both gauge elements be used on the same panel - results will be unpredictable.===============================
Unfortunately that package is one the "missing" files in the library here. Can you suggest an alternate source?

Share this post


Link to post
Share on other sites
Guest belga1

Hello,Flightsim have the same P47 package

FS2004 (ACOF) - FS2004 Warbirds FS2004 Republic P-47M-1 Thunderbolt[ Download | View ] Name: p47m_926.zip Size: 14,574,855 Date: 02-13-2008 Downloads: 871 FS2004 Republic P-47M-1 Thunderbolt. Additional 3D model option and revised base pack livery (high and& low resolution) texture sets for P-47M-1-RE base pack file P47M_923.ZIP. Package also contains production gauges and revised panel.cfg's. By Tom Kohler.
Note:I suggest allway made a extra search on Flightsim.com library when something fail in Avsim.Regards.bye.gifGus.

Share this post


Link to post
Share on other sites
Guest dogknot

Yep. Thanks for stepping up, Gus.note: The p47m_926.zip doesn't include the gauge mentioned, but the original Thunderbolt package does. Same file name at flightsim, p47m_923.zip

Share this post


Link to post
Share on other sites
Yep. Thanks for stepping up, Gus.note: The p47m_926.zip doesn't include the gauge mentioned, but the original Thunderbolt package does. Same file name at flightsim, p47m_923.zip
Now that gauge is just toooooooooooo COOL !!I happen to prefer the 2d cockpit but I know many other prefer VC - you can set it up either way and it works like a charm.Thanks for the heads up on this!! :( :( :(

Share this post


Link to post
Share on other sites
Well Rob my english is surely incomprehensible,I try to explain:On "cockpit"view ,pressing "S" key => "Chase plane"view "S" press again =>"Cockpit"view"S" press again =>"Chase plane"view"S" press again => "cockpit" viewsometimes =>"tower"viewIt looks like the common sequence by pressing "S"key is not well done?Sure "vc"view is deleted.I looked at D18novc (Milton Shupe) and L049 FsDzign the "vc"view (useless) is transparent but not deleted.Thanks
Hmmm.. that's funny.On my FS9 system I can NEVER get into Chase plane view using the S ("views (cycle)") command; with or without my gauge.Only by using the specific ChaseView commands.Must be something different on your system, but I don't have a clue what ..Rob

Share this post


Link to post
Share on other sites
Guest belga1

Hello,

ChaseView
I wonder if the poster confuse "chase view" with another view option.Regards.bye.gifGus.

Share this post


Link to post
Share on other sites
Now that gauge is just toooooooooooo COOL !!I happen to prefer the 2d cockpit but I know many other prefer VC - you can set it up either way and it works like a charm.Thanks for the heads up on this!! :( :( :(
Absolutely agree David.Have just tried it in a Meljet 777 and indeed is just what the doctor ordered.I could have done with this a few years ago when i went almost potty trying to remove the Meljet virtual cabin/cockpit(not realising at the time that you could not remove it by deleting textures etc)I will use it on other aircraft as the VC view is unnecessary for me if there isn't one,and I don't like most of them (performance wise) if there is.Good stuff Rob You have been hiding this gauge under a bushel you naughty fellow. B) Andy

Share this post


Link to post
Share on other sites

Straight out of the FS9 help file

To change views * Press S to cycle through Cockpit, Virtual Cockpit, Tower, and Spot plane views. (Press SHIFT+S to cycle backwards.) * Press CTRL+S to turn Top-down view on or off.
I think he means spot plane when he says chase.Not to wander too far off-thread, can that gauge be written to exclude the tower view? That's the view I can do without 98% of the time.thanks,Joe

Share this post


Link to post
Share on other sites
Good stuff Rob You have been hiding this gauge under a bushel you naughty fellow. :( Andy
Actually, I did release it in some addon; I just can't remember in which one ..LoLCheers, Rob

Share this post


Link to post
Share on other sites
Well Rob my english is surely incomprehensible,I try to explain:On "cockpit"view ,pressing "S" key => "Chase plane"view "S" press again =>"Cockpit"view"S" press again =>"Chase plane"view"S" press again => "cockpit" viewsometimes =>"tower"viewIt looks like the common sequence by pressing "S"key is not well done?Sure "vc"view is deleted.I looked at D18novc (Milton Shupe) and L049 FsDzign the "vc"view (useless) is transparent but not deleted.Thanks
Ignore my post about not understanding ...LoL .. I do now (I think).First of all, the order is:CockpitView -- TowerView -- SpotView -- etc ..What you call ChaseView is actually TowerView.It may look like a ChaseView if the Tower position is a long distance away.Now, what can actually happen at low framerates (less then 15 fps), is that my gauge gives a S command twice.Causing not only the VCView, but also the TowerView to be skipped as well.This is caused by FS not updating XML variables (ie. the ViewMode variable) fast enough at low framerates, compared to the schedule-rate of the gauge.A well-known fenomenon, which I forgot to protect myself to in this gauge.You can solve it by adding to the gauge code, after the first line:
<Update Frequency="4"/>

so it becomes

<Gauge Name="VCViewSkip" Version="1.0"><Update Frequency="4"/><Keys>etc ....

That should solve what I think your problem is. Right ?Cheers, Rob

Share this post


Link to post
Share on other sites
Straight out of the FS9 help fileI think he means spot plane when he says chase.Not to wander too far off-thread, can that gauge be written to exclude the tower view? That's the view I can do without 98% of the time.thanks,Joe
Hi Joe,Yes, actually very easy..In the line
(P:ACTIVE VIEW MODE,enum) 2 ==

replace the 2 by 3, and name the gauge SkipTower.xml or so.Now the TowerView is skipped instead of the VCView.Cheers, RobPS: Note the remark about adding UpdateFrequency in the previous post.

Share this post


Link to post
Share on other sites
Now that gauge is just toooooooooooo COOL !!I happen to prefer the 2d cockpit but I know many other prefer VC - you can set it up either way and it works like a charm.Thanks for the heads up on this!! :( :( :(
Just so there is no confusion - the gauge I am so happy with is the one by Douglas S. Dawson which is found in the p47m_923.zip package from Flightsim.The gauge name is: dsd_view_skip.gauHis syntax is:gaugeXX=dsd_view_skip!no_2d, 0,0,5,5orgaugeXX=dsd_view_skip!no_vc, 0,0,5,5

Share this post


Link to post
Share on other sites
Just so there is no confusion - the gauge I am so happy with is the one by Douglas S. Dawson which is found in the p47m_923.zip package from Flightsim.The gauge name is: dsd_view_skip.gauHis syntax is:gaugeXX=dsd_view_skip!no_2d, 0,0,5,5orgaugeXX=dsd_view_skip!no_vc, 0,0,5,5
Ah!First my apologies to Rob.David I keep getting my Dawson's,Dowson's and Berendregt's mixed up.The gauge I have installed is indeed the one you describe above,BUT! I am sure Rob's is just as good,and if it is then they are both VERY good indeed and that makes everything jolly good all-round.Andy :(

Share this post


Link to post
Share on other sites
Just so there is no confusion - the gauge I am so happy with is the one by Douglas S. Dawson which is found in the p47m_923.zip package from Flightsim.The gauge name is: dsd_view_skip.gauHis syntax is:gaugeXX=dsd_view_skip!no_2d, 0,0,5,5orgaugeXX=dsd_view_skip!no_vc, 0,0,5,5
Hi Dave,There's more then one way leading to Rome ...(if you know the expression ..LoL)I can remember we had this discussion on ViewSkipping a few years back in the Aircraft/Panel design forum (with Doug, and, I believe, Bill) and I'm fairly sure Dougs gauge does exactly the same as my XML gauge above ....Doug usually programs gauges in "C/C++" , me in XML.I surely don't want to turn this in a "C/C++" vs. "XML" designer discussion. Both have their advantages/disadvantages.Although I'm the first to admit that you simply cannot do everything in an XML gauge that you can do in a C/C++ coded .gau gauge.With Dougs gauges for XML Sound play, and interfacing to FSUIPC (which I use in my VTOL gauges) as good examples; and for which I'm eternally gratefull to Doug creating those.For what it's worth ....LoLEuhhh... who said "off-topic" ... -:-)Cheers, Rob

Share this post


Link to post
Share on other sites

Don't get me wrong Rob - I have always admired (and used) many of your gauges and I have often referred to you as the "guru of gauges".I just had never run across Doug's work before and was impressed with the "skip" idea.Without guys like you and Doug we would be probably still be flying paper airplanes.

Share this post


Link to post
Share on other sites

×
×
  • Create New...