Target Reticle.oxp

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Albee
Deadly
Deadly
Posts: 154
Joined: Wed Apr 25, 2012 9:49 am
Location: Derby

Re: Target Reticle.oxp

Post by Albee »

Eric Walch wrote:
Albee wrote:
No. I'm using NumericHUDv3.
That explains the problem. I starts with a hud without the reticle_sensitive, but on launch it switches to a hud that has it build in. It would be easier for other scripts if this equipment was defined for in all huds so it can be seen on startup.
I see. Thanks for that, and thanks to you too, Wildeblood for spotting it.

Concerning the price, is the wiki simply wrong when it states 7500? If so, I'll change it to 1750.
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

Target Reticle v1.2.1 doesn't seem to work anymore with oolite 1.80.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Target Reticle.oxp

Post by Eric Walch »

Which part is not working, as I didn't see anything wrong when playing yesterday. (Using the default HUD and not a custom one)
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

Eric Walch wrote:
Which part is not working, as I didn't see anything wrong when playing yesterday. (Using the default HUD and not a custom one)
Right after I'd bought it it didn't appear on the equipment list (F5), though it seemed working. After a couple of jumps it stopped working,
the reticle has never changed. I'm not sure but it could be related to buying the integrated targeting system.
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

I have started from scratch and bought scanner targeting enhancement and target reticle at Xexedi. Still doesn't work for me.
Now I don't have it listed neither on the installed equipment list nor on the available for sale one. It didn't work for me
right after I bought it. It changed red only once and stopped working again. I'm on linux btw.
Here's the list of all the oxp's I have installed:

Code: Select all

    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.market_observer.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.BGS.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.Bigships.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.systemfeatures.rings.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.CCL.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.mo_commodity_markets.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.shipset-compatibility.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.CaptMurphy.EscortContracts.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.NavalGrid.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.comms-pack-a.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.Snoopers.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.CaptMurphy.ShipStorageHelper.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Ramirez.BlOombergMarkets.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.behemoth.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.in-system_market_restore.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.start_choices.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.new-cargoes.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.audible_docking_clearance.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.systemfeatures.sunspots.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.HiredGuns.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Switeck.Cargo-Contract-Mod.oxz
    /home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.OXPConfig.oxz
    AddOns/Povray_Planets_Galaxy1_Textures_v1.1.oxp
    AddOns/Griff_Shipset_Replace_v1.34.oxp
    AddOns/galactic_navy_facelift_1.4.oxp
    AddOns/Anarchies2.8.oxp
    AddOns/Povray_Planets_1.0.oxp
    AddOns/Griff_Shipset_Resources_v1.2.25.oxp
    AddOns/Staer9ShipsetShadedv1.2.oxp
    AddOns/ZygoExplosion.oxp
    AddOns/auto_eject1.1.oxp
    AddOns/griff_alloys_and_wreckage_V1.4.oxp
    AddOns/ZygoTraffic V0.5.oxp
    AddOns/RealisticStars 1.1.oxp
    AddOns/griff_station_bundle_fullsize_tex_v1.1.oxp
    AddOns/Povray_Planets_Galaxy2_Textures.oxp
    AddOns/Galactic_Navy 5.4.3.oxp
    AddOns/ZygoRoids_NO_REPLACE v1.2.6.oxp
    AddOns/Staer9ShipsetShadedv1.1roles179.oxz
    AddOns/Target Reticle 1.2.1.oxp
    AddOns/anarchies_facelift_0.5.oxp
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Target Reticle.oxp

Post by Diziet Sma »

Hmm.. nothing in there that should be causing trouble.. can you post your game-save, or give a dropbox or box.com link to it, please?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

Diziet Sma wrote:
Hmm.. nothing in there that should be causing trouble.. can you post your game-save, or give a dropbox or box.com link to it, please?
Here's a link to my oolite-save file at pastebin.com: http://pastebin.com/CuYC316P

I'm not sure what happens. It's not listed on the installed equipment list, but it seems to work sometimes.
Probably <shift>+_ weapon system on/off-line toggle affects the reticle sensitivity.

When I saved it, re-started the game and loaded the file, the reticle started working.
I did a successful jump to Laenin and disabled weapon systems before entering the station.
When I left the station the reticle stopped working again.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Target Reticle.oxp

Post by cim »

vaxon wrote:
I did a successful jump to Laenin and disabled weapon systems before entering the station.
When I left the station the reticle stopped working again.
And that's the final clue needed to solve this. Thank you for your patience so far.

Here's the problem. Target Reticle OXP works by:
1) Installing the equipment
2) Turning on reticle sensitivity, then setting a mission variable so it gets turned on again when you load a game
3) Removing the equipment (which is why it doesn't appear in your list, presumably so it can't be damaged independently of the scanner targeting enhancement)

A consequence of this is that if your HUD changes, reticle sensitivity gets reset to whatever the default value for your HUD is, and doesn't get turned back on by the OXP until the next time you load your game. This OXP

Code: Select all

/home/vaxon/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.spara.market_observer.oxz
does its work on the market screen by rapidly cycling through a range of HUDs, then returning you to your normal HUD.

As a workaround, so long as you always save and reload your game after viewing the F8 screen, you should be able to keep the reticle working. The Market Observer OXP really needs fixing to reload the reticle setting as well as the HUD, however.
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

Thank you vary much, cim!
Your workaround really helps. Hope the market observer can be fixed soon.
Maybe it's possible to adjust the target reticle oxp so that it wouldn't depend on HUD changes done by the market observer or any other oxp?

Thanks!
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Target Reticle.oxp

Post by Diziet Sma »

vaxon wrote:
Hope the market observer can be fixed soon.
Spara is pretty on the ball.. I'm sure he'll be right on it as soon as he sees this.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Target Reticle.oxp

Post by spara »

Now that's debugging! Thanks to all, Market Observer (hopefully) fixed and updated.
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: Target Reticle.oxp

Post by vaxon »

That was fast!
Works for me now, thanks!
User avatar
hoqllnq
Commodore
Commodore
Posts: 154
Joined: Sun Jan 08, 2006 7:32 pm

Re: Target Reticle.oxp

Post by hoqllnq »

(I kind of guess that thread necro is OK in the Expansion Pack forum. If not, sorry.)
Ark wrote:
Eric Walch wrote:
I coded it in a way it does not show as equipment in you inventory to keep the list from growing. (I store the purchase in a mission variable)
God bless you Eric!!!!
Actually, this just caused me some confusion:
If it doesn't show up as equipment, it also doesn't show up as damaged equipment.
I got my [wiki]Scanner Targeting Enhancement[/wiki] damaged. I got it repaired, but then my [wiki]Target Reticle[/wiki] didn't work anymore. It took me a while to figure out that I had to re-purchase it. Especially as it doesn't show up in the menu of most stations.
Post Reply