OHM Spotlight 2

Can this be attached to a building for example, or is it only for vessels?.

If the building is in the scenario file then yes. For example, prelude bases work if UCD is used.

Also presumably it is scenario related, so I cant add it directly to Brighton Beach.

You can if it's a building declared in the scenario.
 
Thanks Garyw, you have been a great help. So would the building would need an attachment point?
 
Last edited:
Only if you need it above the ground.
 
Anyone have problems with using Spotlight2 with the D3D9Client version R12? All my attempts to use Spotlight2 in D3D9 results in CTD (scenario to be posted later).

P.S. The original Spotlight add-on does work.
 
Hi,
I only use the standard Orbiter 2010-P1, so not sure I can help much. Any clues in your orbiter.log? Can you post the scenario?

Take the Spotlight2 test scenario included in the add-on for example:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.10529e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module EnergyConfigurator.dll  [Build ******, API 060425]
Module ProjectOutpostsConfig.dll  [Build 120604, API 100830]
Module AutoFCS.dll ........... [Build ******, API 050206]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module BurnTimeCalculator.dll  [Build 110301, API 100830]
Module CSSC_Spawner.dll ...... [Build 120331, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module GS2.dll ............... [Build 130106, API 100830]
Module GPCMFD.dll ............ [Build 111222, API 100830]
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module LaunchMFD.dll ......... [Build 120519, API 100830]
Module LunarTransferMFD.dll .. [Build 100621, API 100603]
Module Meshdebug.dll ......... [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module ScnEditorTLE.dll ...... [Build ******, API 060425]
Module ScreenCapture.dll ..... [Build ******, API 060425]
Module Themis_MFD.dll ........ [Build 130317, API 100830]
Module transx.dll ............ [Build 110130, API 100830]
Module HCLV_MFD.dll .......... [Build 130722, API 100830]
Module AeroBrakeMFD.dll ...... [Build ******, API 100830]
Module D3D9Client.dll ........ [Build 130709, API 100830]
Module uap.dll ............... [Build 110613, API 100830]
Module LuaConsole.dll ........ [Build 100830, API 100830]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 3.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
BaseObject: Parse error
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Atlantis.dll .......... [Build 100830, API 100830]
Module spotlight2.dll ........ [Build 110421, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
Orbiter Version 100830
D3D9Client Build [Jul  9 2013]
Exception Code=0xC0000005, Address=0x64223F05
EAX=0x8F001980 EBX=0x0E95A890 ECX=0x009FF328 EDX=0x009FF27C ESI=0x009FF328 EDI=0x02AE7A40 EBP=0x009FF258 ESP=0x009FF258 EIP=0x64223F05
C:\Users\Ivan\Desktop\Orbiter 2010\Modules\d3dx9_42.dll EntryPoint=0x64225E96, Base=0x64080000, Size=1986560
Critical exception in Scene::AddVisualRec(0xD748868) (Spotlight2)(10)
VesselClass Name = spotlight2
!!! Abnormal Program Termination !!!
 
Hmm, just given a quick look at the D3D9 forum thread - looks like it could be something to do with use of oapiMeshMaterial() in the code.

If you have a minute, try the replacement module attached to this post, let me know if it works.

Thanks,
Brian
 

Attachments

Hmm, just given a quick look at the D3D9 forum thread - looks like it could be something to do with use of oapiMeshMaterial() in the code.

If you have a minute, try the replacement module attached to this post, let me know if it works.

Thanks,
Brian

Unfortunately that didn't work:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.10529e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module EnergyConfigurator.dll  [Build ******, API 060425]
Module ProjectOutpostsConfig.dll  [Build 120604, API 100830]
Module AutoFCS.dll ........... [Build ******, API 050206]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module BurnTimeCalculator.dll  [Build 110301, API 100830]
Module CSSC_Spawner.dll ...... [Build 120331, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module GS2.dll ............... [Build 130106, API 100830]
Module GPCMFD.dll ............ [Build 111222, API 100830]
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module LaunchMFD.dll ......... [Build 120519, API 100830]
Module LunarTransferMFD.dll .. [Build 100621, API 100603]
Module Meshdebug.dll ......... [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module ScnEditorTLE.dll ...... [Build ******, API 060425]
Module ScreenCapture.dll ..... [Build ******, API 060425]
Module Themis_MFD.dll ........ [Build 130317, API 100830]
Module transx.dll ............ [Build 110130, API 100830]
Module HCLV_MFD.dll .......... [Build 130722, API 100830]
Module AeroBrakeMFD.dll ...... [Build ******, API 100830]
Module D3D9Client.dll ........ [Build 130709, API 100830]
Module uap.dll ............... [Build 110613, API 100830]
Module LuaConsole.dll ........ [Build 100830, API 100830]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 3.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
BaseObject: Parse error
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Atlantis.dll .......... [Build 100830, API 100830]
Module spotlight2.dll ........ [Build 131120, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
Orbiter Version 100830
D3D9Client Build [Jul  9 2013]
Exception Code=0xC0000005, Address=0x5CA33F05
EAX=0x0000218A EBX=0x0E196938 ECX=0x009FF328 EDX=0x009FF27C ESI=0x009FF328 EDI=0x0E070B20 EBP=0x009FF258 ESP=0x009FF258 EIP=0x5CA33F05
C:\Users\Ivan\Desktop\Orbiter 2010\Modules\d3dx9_42.dll EntryPoint=0x5CA35E96, Base=0x5C890000, Size=1986560
Critical exception in Scene::AddVisualRec(0xD34D0D0) (Spotlight2)(10)
VesselClass Name = spotlight2
!!! Abnormal Program Termination !!!
 
Maybe a stupid question, but have you tried eliminating some of the other modules you are using?
 
If you are asking if this works with 2010P1 and D3D9 version 12, then YES it does. It works fine for me using the original download and the included test scenario.
 
Last edited:
OK it seems that re-downloading the add-on and re-installing fixed whatever the problem was. Thanks!
 
Hmm this add-on seems to be not working again under D3D9client R15....can someone report if the default testing scenario works?

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.10529e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module EnergyConfigurator.dll  [Build ******, API 060425]
Module ProjectOutpostsConfig.dll  [Build 120604, API 100830]
Module BaseSyncMFD.dll ....... [Build 100616, API 100603]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module BurnTimeCalculator.dll  [Build 110301, API 100830]
Module CSSC_Spawner.dll ...... [Build 120331, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module GS2.dll ............... [Build 130106, API 100830]
Module GPCMFD.dll ............ [Build 111222, API 100830]
Module InterMFD55.dll ........ [Build 100826, API 100704]
Module LaunchMFD.dll ......... [Build 120519, API 100830]
Module LunarTransferMFD.dll .. [Build 100621, API 100603]
Module Meshdebug.dll ......... [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module ScnEditorTLE.dll ...... [Build ******, API 060425]
Module ScreenCapture.dll ..... [Build ******, API 060425]
Module Themis_MFD.dll ........ [Build 130317, API 100830]
Module transx.dll ............ [Build 131115, API 100830]
Module HCLV_MFD.dll .......... [Build 130722, API 100830]
Module AeroBrakeMFD.dll ...... [Build ******, API 100830]
Module uap.dll ............... [Build 110613, API 100830]
Module LuaConsole.dll ........ [Build 100830, API 100830]
Module D3D9Client.dll ........ [Build 150111, API 100830]
Module AttitudeMFD.dll ....... [Build ******, API 060425]

**** Creating simulation session
D3D9Client: [DirectX 9 Initialized]
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
BaseObject: Parse error
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Atlantis.dll .......... [Build 100830, API 100830]
Module spotlight2.dll ........ [Build 131120, API 100830]
Finished initialising status
Finished initialising camera
Finished initialising panels
 
Works fine for me (as long as you don't go internal view of spotlight - but then, why would you! ;))
 
Thank You!
In meantime I found out that SLC 41 from LRO addon works with all lights (turning on automatically) in new BETA.
 
Last edited:
Updated on OH
Re-compiled for compatibility with Orbiter2016 v160828
 
Afraid not, you'll need to keep hold of the older version if you want to use it with Orbiter 2010.

I recommend that you leave the Orbiter 2010 version as a separate d/l on O-H.
 
Back
Top