Log in

View Full Version : [REL] Remove Lock/Break Lock and Switch Target in UZO/Periscopes


dotChuckles
03-06-10, 03:21 PM
This is my first ever mod of any sort, so be kind :-) All I need to do now is figure out how to get this uploaded to the downloads section.

I was very frustrated by the potential for SH5 and what was actually delivered out of the box. I recognised that SH5 can be the best subsim after it's been moded and patched.

So - instead of staying frustrated I decided, rather then bitch and moan I should contribute instead.

The unfinished state and crazy UI of this game prompted me to learn something new and do something I've never done before, which is make mods.

So for your consideration I present!

No Lock Text Mod
----------------
Version 1.0
06-Mar-2010
JSGME Compatible

This mod removes the annoying and immersion ruining "Lock/Break Lock/Switch Target" text that appears in all the optics.

You will nedd to use the space bar to lock and to keep track of which target you have locked in your head, or using the tactical map, if plot targets are enabled. A far more realistic way of doing things in my opinion.

Note: The "Take Photo" text "should" still appear when it's required by a mission (if it actually ever is).

Disclaimer: As I have never done this before... if it crashes your game, ruins your computer, breaks in to your house, steals your money and leaves you in a bathtub of ice minus a kidney... I take no responsibility!

dotChukles

Downlaod 1.0: http://www.mediafire.com/?ergwzjtl3mn

sergei
03-06-10, 03:33 PM
steals your money and leaves you in a bathtub of ice minus a kidney

Oh man, I hate it when that happens!

Cheers, I'll give it a go. :up:
That 'lock' text is a major annoyance.

wetwarev7
03-06-10, 04:25 PM
Awesome, i was looking for something like this! :up:

As a request, do you think it would be possible to move the tag off to the side or something instead of removing it completely? It can get real hard to remember which one is locked on in a convoy sometimes!

dotChuckles
03-06-10, 04:29 PM
Awesome, i was looking for something like this! :up:

As a request, do you think it would be possible to move the tag off to the side or something instead of removing it completely? It can get real hard to remember which one is locked on in a convoy sometimes!

That shouldn't be too hard to impliment :-)

I'm away from my gaming machine now, but I'll get on to that in the next couple of days.

dC

ddrgn
03-06-10, 04:48 PM
Very nice! It compliments my NO XO face in the scope very nicely ;]

gutted
03-06-10, 07:12 PM
Awesome, i was looking for something like this! :up:

As a request, do you think it would be possible to move the tag off to the side or something instead of removing it completely? It can get real hard to remember which one is locked on in a convoy sometimes!


I agree

etheberge
03-06-10, 07:52 PM
Thanks, I was hoping someone would take that out! Good job!

To upload to subsim, you need to request upload access from Neal, just send him a PM -->http://www.subsim.com/radioroom/private.php?do=newpm&u=209959

Then after he approves you should have a button near the top in the download section called "add files" that allows you to upload files.

Soviet_Warlord
03-06-10, 10:45 PM
Very nice! It compliments my NO XO face in the scope very nicely ;]

Whereabouts can that be found?

basti107
03-07-10, 03:56 AM
wow! big thank you!

no i can start my campaign!

vote for sticky.

Silent Steel
03-07-10, 06:00 AM
You rescued my nerves
Regards

basti107
03-08-10, 07:54 AM
how did you do this mod?
did you start the menue-editor and then run script-editor?
how do i browse the files?

reaper7
03-08-10, 08:08 AM
Maybe its possible to script in a Lock light to indicate that there is a lock.

dotChuckles
03-08-10, 11:20 PM
It was, quite simple. I used the menu editor as per the stickied tutorial to move the lock button outside the screen render area. Removing it from the page file causes a crash.

It was a quick and dirty way of doing it as I don't know anything about python scripting.

My day job is a video producer and editor, not a modder or programmer, so I'm sure someone else will have a more elegant way of doing it :-)

But I needed rid of it as it was right up there on the top 10 things that annoy me in this game.

But thank you all for the kind comments!

TopCat
03-09-10, 01:19 AM
Hey, nice work, mate! :yeah:

Can you remove the green/yellow/red arrows as well? They're still there, when you tell the 1WO to turn off the TDC. That would be cool!

Sgtmonkeynads
03-09-10, 01:34 AM
Has anyone figured out what the triangle is there for this time? I think it is a bug, because it seems to do nothing in the aspects of aiming anything.

Stormfly
03-20-10, 01:38 PM
...

Note: The "Take Photo" text "should" still appear when it's required by a mission (if it actually ever is).



Hi dotChuckles

great find with that mod Thanks !

using it if no photomission is requested, because there is an issue:

The "take photo box" isnt appearing while in range of photo mission location and targeting the required object. Tested that with the Bergen Harbor recon mission, wich was my first ordered mission inside "Opeartion Weserübung". If your mod is deactivated, the "take photo box" is directly added right of the "lock target box". After klicking that box, a photo of your targeted object is shown and mission is compleded.

No big deal, as this photo missions seams to be rare, its also possible to activate / deactivate this mod while in patrol mode.

BowfinSS287
03-23-10, 09:30 PM
yes i ran into the same problem while on the photo recon mission
first i have to say this is one best mods and i didn't want to lose
it for recon missions..........................this is what i did to fix it

open commands.cfg located in C:\Ubisoft\Silent Hunter 5\data\Cfg

look for :
[Cmd350]
Name=WP_Take_photo
Contexts=1
Key0=0x4A,s,"SHIFT J" <----add this line

now just lock onto a ship and press shift j......photo taken

p.s. make sure you have the mouse pointer active,or you will
have to use Esc to remove the photo image from the screen

Sailor Steve
03-24-10, 10:31 AM
This All I need to do now is figure out how to get this uploaded to the downloads section.
On the Downloads page you will see a notice on the left side "Become one of the MODMEN". Click on the link and you will be taken to Neal's PM page (or you can click on his avatar and PM him from there).

Either way, he can set you up to do it.

ddrgn
04-07-10, 10:45 AM
Hello dotChuckles,

For future compatibility with other mods that edit the GUI, can you show us how you made this mod, which files to edit and how?

Would be greatly appreciated as its a great mod, just not compatible with the heavier interface mods available.

Thanks!

java`s revenge
04-07-10, 11:00 AM
Thank you for this mod :yeah:

I didn`t already lock onto a target. Made my measurements with
the map and maptools.