The A2A Simulations Community

"Come share your passion for flight"
It is currently Sat Feb 16, 2019 5:48 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Sep 15, 2018 9:16 pm 
Offline
Airman Basic

Joined: Tue Sep 11, 2018 7:17 pm
Posts: 1
If anybody is interested, I posted a macro for Notepad++ at AVSIM and FlightSim to install your A2A Shockwave 3D Lights Redux to any aircraft with FSX default lights. I did my entire Airplane/Helicopter folders and Traffic 360 and Ultimate Traffic Live AI aircraft folders. Just takes a few quick mouse clicks for each aircraft!

Version 2 - Improved the light replacement

AVSIM
https://library.avsim.net/esearch.php?CatID=fsxutil&DLID=206858


Last edited by Mach 2 on Wed Sep 19, 2018 12:18 am, edited 6 times in total.

Top
 Profile  
 
PostPosted: Sun Sep 16, 2018 7:51 am 
Offline
Senior Airman

Joined: Sun Feb 14, 2016 6:35 am
Posts: 146
Location: Wales
This looks like a very interesting and useful solution for what otherwise can be a somewhat tedious installation process for individual aircraft. I think the Shockwave lights are great but I personally have only installed them to very few of my (many) payware aircraft because of the somewhat cumbersome installation process so this should be a huge help - thank you!

Although I am very familiar with Notepad, I have never worked with Notepad++ and didn't even notice that it existed until I read the install information but when I checked my ....AppData\Roaming folder, I see that it is already there, having last been modified in 2014! However I wonder if you could you clarify a couple of points from the installation instructions?

Firstly, I am however a little unclear about step 4 of the installation instructions specifically with regard to exactly which two lines you are referring to below which I should paste the separate "A2A Shockwave 3D Lights Redux Aircraft CFG installer MACRO.txt"?

Secondly I assume the text to be pasted from step 5 replaces the data from my default shortcuts.xml but should it be pasted above or below the "A2A Shockwave 3D Lights Redux Aircraft CFG installer MACRO.txt"?

I apologise if these questions sound a bit stupid but, although I always make backups of everything I change, I don't want to mess up the installation of what really seems to be a really useful utility that you have created.

Many thanks,
Bill


Top
 Profile  
 
PostPosted: Sun Sep 16, 2018 12:49 pm 
Offline
Airman Basic

Joined: Tue Sep 11, 2018 7:17 pm
Posts: 1
Hi Bill,

Thank you for the kind words.

First of all, I created this macro with version 7.5.8 (latest at time of posting this), so I don't know if it would even work with a version from 2014. So I would suggest you update to this version. Also I just learned of Notepad++ myself and there was a definite learning curve for it. Don't try to use any of the advanced features of it yet otherwise you might end up scratching your head like I did :?. I use to mess around with BASIC programming when I was a kid, so the macro part came easy.

To clarify your other questions, this is what the shortcuts.xml would look like when the Shockwave installer macro is properly inserted...

EDIT: This is version 2

<NotepadPlus>
<InternalCommands />
<Macros>
<Macro name="Trim Trailing Space and Save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
</Macro>
<Macro name="01 INSTALLER A2A Shockwave 3D Lights Redux" Ctrl="no" Alt="no" Shift="no" Key="0">
<!-- Copyright © 2018 Jack XXXXXXX. ALL RIGHTS RESERVED -->
<!-- SINGLE USER LICENSE ONLY - DO NOT DISTRIBUTE --->
<!-- XXXXXXXXXXXXXXXXXXX -->
<!-- ALWAYS make a copy of ORIGINAL Aircraft.cfg BEFORE using -->
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="1=beacon, 2=strobe, 3=navigation" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1" sParam="" />
<Action type="0" message="2453" wParam="0" lParam="0" sParam="" />
<Action type="2" message="0" wParam="42020" lParam="0" sParam="" />
<Action type="0" message="2451" wParam="0" lParam="0" sParam="" />
<Action type="2" message="0" wParam="42020" lParam="0" sParam="" />
<Action type="0" message="2180" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="^" />
<Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing, 6=taxi, 7=recognition, 8=wing, 9=logo, 10=cabin" />
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1608" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_beacon" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_beacon" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_beaconb" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_beaconB" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_beaconh" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_beaconH" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_landing" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_landing_light" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navgre" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navgre" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navgreh" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navgre" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navgrem" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navgre" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navred" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navred" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navredh" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navred" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navredm" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navred" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navwhi" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navwhi" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_navwhih" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_navwhi" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_strobe" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_strobe" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_strobeh" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_strobe" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_vclight" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_vclight" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_vclighth" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_vclight" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="fx_vclightwhi" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1602" wParam="0" lParam="0" sParam="fx_shockwave_vclight" />
<Action type="3" message="1702" wParam="0" lParam="769" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
<Action type="0" message="2316" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="[Lights]" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1702" wParam="0" lParam="768" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1" sParam="" />
</Macro>
</Macros>
<UserDefinedCommands>
<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="65">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/$(CURRENT_WORD)</Command>
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
<Command name="Open file in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
<Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command>
</UserDefinedCommands>
<PluginCommands />
<ScintillaKeys />
</NotepadPlus>

Notice my 01 INSTALLER macro is nested after the first Trim Trailing Space and Save macro and BOTH are between <Macros> </Macros>. This must be correct or it might cause Notepad++ to crash or at least not show up in the Notepad++ Macro drop down list.

You could even copy and paste the above into a notepad text file, save it as "shortcuts.txt" and then change the .txt extension to .xml to get a working copy to place in the Notepad++ folder.

Version 2 Revision - If the macro finds any FSX default lights with extension "h", "m", or "whi", the A2A Shockwave 3D Lights Redux "BASE" light will be used. No other action is required on your part.

Jack


Last edited by Mach 2 on Sat Sep 22, 2018 8:58 am, edited 8 times in total.

Top
 Profile  
 
PostPosted: Mon Sep 17, 2018 7:25 am 
Offline
Senior Airman

Joined: Sun Feb 14, 2016 6:35 am
Posts: 146
Location: Wales
Hi Jack,

That is a really helpful explanation! I will have a go at setting it up later today but just to be on the safe side in case I mess something up I will create backups of everything first.

Many thanks for your help,
Bill


Top
 Profile  
 
PostPosted: Mon Sep 17, 2018 11:27 am 
Offline
Airman Basic

Joined: Tue Sep 11, 2018 7:17 pm
Posts: 1
OK Bill,

Take note I have uploaded a Version 2 macro at AVSIM and FlightSim that remove the need to edit any "NO x" from the Version 1 macro and just use the A2A Shockwave BASE light. That way you don't have to do any typing at all! Just open Aircraft.cfg, Click macro installer, Verify installation is OK, Save Aircraft.cfg

Jack


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group