Page 3 of 4

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 6:43 am
by Capt. Murphy
Double post.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 7:16 am
by another_commander
Capt. Murphy wrote:
In some circumstances you may need to delay the setting with a Timer for it to take (since another-commander recently added some code to defer HUD drawing).
I believe the only case where a timer as described above would be needed is when using the compassTargetChanged handler. This is the only JS handler (so far) that is being queried while HUD drawing is ongoing and would therefore require a small delay to ensure that the entire HUD has been drawn, including any deferred elements.

On other news, why so much hostility lately? Can we not have calm discussions like in the past?

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 7:35 am
by Wildeblood
Capt. Murphy wrote:
CommonSenseOTB wrote:
The last time I used the equipment version of target reticle sensitive over a year ago, it did exactly like you described when using a switching hud that did not have sensitivity enabled and I threw the oxp out in disgust and from that day on I simply make a decision whether to have it enabled in the hud itself, as do alot of other players I'm sure. This relegates it to being a feature of a hud itself and the player could always set it to yes in the hud themselves anyway.

I hope this answers your question, Dragonfire. :D
CSOTB - the equipment version of Target Sensitive Reticle sets (missionVariables.reticleTargetSensitive = "TRUE").

You can make your OXP's / any switching HUD OXP compatible where appropriate by doing a check for this missionVariable and setting player.ship.reticleTargetSensitive = true;

IMHO it is an OXPers duty to at least try and make their releases compatible with existing OXP's.

In some circumstances you may need to delay the setting with a Timer for it to take (since another-commander recently added some code to defer HUD drawing).
He knows all that. It was only a week ago he was trolling through the script of Sniper Sight looking for instances of == he thought should be ===, where he would have seen your code clearly commented.

Read his reply to Dragonfire, he's quite clear: because he personally doesn't like the Reticle Target Sensitive OXP he deliberately breaks it. As you know, Capt. Murphy, I don't like Reticle Target Sensitive OXP either, but I include your code to make it work smoothly in the public version of Sniper Sight OXP. It's not up to me to try to dictate to people what other OXPs they can use alongside mine. CSOTB takes it upon himself to do just that, without warning his victims.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 9:40 am
by Disembodied
another_commander wrote:
On other news, why so much hostility lately? Can we not have calm discussions like in the past?
+1 on that. We've managed a thread on politics, economics and even with a dash of religion thrown in, and no-one's thrown a punch yet ...

I've always felt, personally, that winners of such forum slap-fights are always the first ones to rise above it all. The last post just sits there, ignored and unanswered, doing its author no favours.

Please, people, get a grip.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 1:59 pm
by CommonSenseOTB
I just read through 6 posts since my last and no one has confirmed this views problem. the target reticle I can fix later. Also Wildeblood, give me detailed information or I shall consider your problem nonexistent.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Mon Aug 01, 2011 4:48 pm
by CommonSenseOTB
After some more testing and playing a hunch I have found the problem. The download links are blocked until it's fixed.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Tue Aug 02, 2011 3:01 am
by CommonSenseOTB
The problem is now fixed for good. Turns out I had a badly done check for the existence of a variable. My faus pas. Had this been working properly my testing would have uncovered the real bug that was obvious after this was fixed. The real problem is this: Installing the oxp would be just fine and using it and loading and saving would also be fine. When you go to remove the equipment and/or oxp, everything becomes out of sync and good luck fixing it as it would cause a lot of problems later for a lot of people. I'm not sure why but there is an inconsistency in how the game keeps track of the custom views of the ship. One would expect that the first time adding the oxp would be the same as the second time adding it after it (the shipdata-overrides) was removed once and the game saved and reloaded. I was seeing a difference of 1 in the custom views index in the save file which makes everything out of sync the second time it is loaded. I would not call this a bug in the game but an odd behaviour that prevents a workaround like this oxp from maintaining perfect sync between the views and the huds.

Well I have a fix and it was a fallback position in case I had problems like this. The oxp will now have a zoom adjustment feature that is n/shift+n activated. It works as follows:

1) Find a stationary object like a nav buoy and set your range at between 5km and 7km. Now stop.
2)engage the custom views. Press v until you can see the object. You now are in the 5km zoom setting as it is the only zoom that can see the object at that range.
3)Is the zoom setting listed as 5km? If not, activate the zoom adjustment repeatedly until it says 5km. This simply moves the huds and not the views themselves. When the hud says 5km you are in synchronization. Stop adjusting and it should stay synchronized until you remove the oxp or sell the equipment. If not, simply adjust it when needed. Will probably only need adjustment when the sniper camera equipment is added to the ship you are flying.

Most sights and aiming devices need periodic adjustment in the real world. I guess this will be no different.

I'm going to hold off releasing this updated version of the Sniper Camera System until I have had a few more days of playtesting to ensure all is truly well. I have also put in compatibility with the Target Reticle Sensitive oxp. Please excuse the inconvenience this may have caused you. Mistakes can be made. Things can be overlooked or forgotten. And I am only human. We'll see yah in a few days. :)

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Tue Aug 02, 2011 3:08 am
by RyanHoots
Good to know it's working, at least in the test version. :) I've sold the equipment until the new version is out.
another_commander wrote:
On other news, why so much hostility lately? Can we not have calm discussions like in the past?
I agree. I thought this was the Friendliest Board this side of Riedquatâ„¢? :?
I vote for keeping it friendly. My friend Dragonfire has already abandoned the BB. it's been a bit lonelier without him :(
Wildeblood wrote:
Ryan has already confirmed that he has seen the same fault. Perhaps you should list the people you consider credible, and the rest of us won't waste our time any more.
:shock:

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Tue Aug 02, 2011 10:20 pm
by OSH
"This file is currently set to private."

:shock:

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Wed Aug 03, 2011 5:49 am
by Wildeblood
OSH wrote:
"This file is currently set to private."

:shock:
Moderator: Link removed at CommonSenseOTB's request.

If you're really eager to try it out, check to make sure your ship's external view is showing the first external view before you install it, as CSOTB didn't include any way to synchronize the game's view counter with his OXP's view counter.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Wed Aug 03, 2011 6:18 am
by CommonSenseOTB
Wildeblood wrote:
OSH wrote:
"This file is currently set to private."

:shock:
Moderator: Link removed at CommonSenseOTB's request.

If you're really eager to try it out, check to make sure your ship's external view is showing the first external view before you install it, as CSOTB didn't include any way to synchronize the game's view counter with his OXP's view counter.
Take this download link off IMMEDIATELY. I did not authorize you or give permission to distribute my work and especially not a broken work that I am fixing and have disabled my own download link so none may load until it is fixed.

Moderators, this is not acceptable. this must be removed now.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Wed Aug 03, 2011 6:30 am
by another_commander
The link to the download in Wildeblood's post has been removed. I believe that there was no bad intention here. What I think happened was that Wildeblood thought that the setting to private was unintentional or a box.net glitch and just tried to help. Sometimes it happens that a part of a post may be missed and probably the part in CSOTB's post where it is said that the release is held off did get missed.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Wed Aug 03, 2011 6:33 am
by CommonSenseOTB
Thank you moderators. The Sniper Camera System oxp is currently broken and is being fixed and that is why my download link is suspended. When it is fixed it will be made available by myself only. That is all.

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Thu Aug 04, 2011 2:23 pm
by CommonSenseOTB
Sniper Camera Systemv1.1.oxp is now available.

Download here:
http://wiki.alioth.net/index.php/Sniper ... System_HUD

Re: (NEW RELEASE) SniperCameraSystemv1.oxp

Posted: Thu Aug 04, 2011 2:24 pm
by RyanHoots
CommonSenseOTB wrote:
Sniper Camera Systemv1.1.oxp is now available.

http://www.mediafire.com/?ssrwbbp68y6tx9n
Downloading now! :D