SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Master Engineer (https://www.subsim.com/radioroom/showthread.php?t=237455)

Berserker 05-07-18 12:22 AM

Master Engineer
 
Seems to only work in the engine room or the command room....Anyway to have him active in the damage control section???:hmmm:

rein1705 05-07-18 06:46 AM

He only works in the engine or control room. It would make more since if he worked in Damage control as well. Im sorry to say, i dont know how to add that to him. It is probably something very simple like adding a line of text, but i dont know to what. :hmmm:

aanker 05-07-18 01:25 PM

Quote:

Originally Posted by rein1705 (Post 2552157)
..... It is probably something very simple like adding a line of text, but i dont know to what. :hmmm:

There is a file called SpecialAbilities.upc in \Data\UPCData\UPCCrewData that can be opened with a text editor like Notepad.

Your Master Engineer is in this file. If you do this, work on a Copy of SpecialAbilities.upc in case you get unexpected results that you don't like. Save the original file in a safe place or change the *.upc to *.bak so it looks ike this: SpecialAbilities.bak. SH4 should ignore the*.bak file and use the one you modded with the *.upc extension: SpecialAbilities.upc.

So, the Master Engineer edit you could try is to change or add where he works to ALL like this:

[SpecialAbility 1]
ID=Ability-Master-Engineer
NameDisplayable=Ability-Master-Engineer-Name
Description=Ability-Master-Engineer-Description
AbilityType= CanRepairDestroyedItems, RepairSpeed, PumpSpeed
AbilityValue= 1, 75, 75
AbylityActsIn= PropulsionRoom <---------
SkillRequiredLeadership= 0
SkillRequiredMechanical= 0.7
SkillRequiredElectrics= 0.7
SkillRequiredGuns= 0
SkillRequiredWatchman= 0

Change to:

[SpecialAbility 1]
ID=Ability-Master-Engineer
NameDisplayable=Ability-Master-Engineer-Name
Description=Ability-Master-Engineer-Description
AbilityType= CanRepairDestroyedItems, RepairSpeed, PumpSpeed
AbilityValue= 1, 75, 75
AbylityActsIn= ALL <----------- (remove this arrow if you paste this block in)
SkillRequiredLeadership= 0
SkillRequiredMechanical= 0.7
SkillRequiredElectrics= 0.7
SkillRequiredGuns= 0
SkillRequiredWatchman= 0

Be careful and see what happens. I don't know if I'd put him in Damage Control, he should be able to work everywhere even if he is in the Propulsion Room. You could try putting him in Damage Control and see what happens.

If it doesn't work out, you have your original file you can swap back in.

Edit: just to be safe, make this edit or file swap when you are in your Home Port between patrols.

Good luck & Happy Hunting!

BarracudaUAK 05-07-18 08:27 PM

Quote:

Originally Posted by aanker (Post 2552222)
...
change the *.upc to *.bak so it looks ike this: SpecialAbilities.bak.
...


I remember this working on Win XP, as well as working on Linux now.
It should also work on 7/8/8.1/10...

Instead of changing the extension, add ".bak" to the end of the file.
So it looks like this: SpecialAbilities.upc.bak

I keep my files sorted by "type", so all of my "backup files" will be grouped together.
Sorting by "name" will keep the backup right next to the original.

This removes the need to remember the extension of the file you are making the backup of.
Restoring the file: Delete the current/modded file, then "Rename" the backup by deleting the ".bak".

Making multiple, incremental backups can be achieve by adding ".1.bak", ".2.bak", etc.
Always allowing you to "rollback" your last change.

Barracuda

Berserker 05-08-18 03:42 PM

Quote:

Originally Posted by aanker (Post 2552222)
There is a file called SpecialAbilities.upc in \Data\UPCData\UPCCrewData that can be opened with a text editor like Notepad.

Your Master Engineer is in this file. If you do this, work on a Copy of SpecialAbilities.upc in case you get unexpected results that you don't like. Save the original file in a safe place or change the *.upc to *.bak so it looks ike this: SpecialAbilities.bak. SH4 should ignore the*.bak file and use the one you modded with the *.upc extension: SpecialAbilities.upc.

So, the Master Engineer edit you could try is to change or add where he works to ALL like this:

[SpecialAbility 1]
ID=Ability-Master-Engineer
NameDisplayable=Ability-Master-Engineer-Name
Description=Ability-Master-Engineer-Description
AbilityType= CanRepairDestroyedItems, RepairSpeed, PumpSpeed
AbilityValue= 1, 75, 75
AbylityActsIn= PropulsionRoom <---------
SkillRequiredLeadership= 0
SkillRequiredMechanical= 0.7
SkillRequiredElectrics= 0.7
SkillRequiredGuns= 0
SkillRequiredWatchman= 0

Change to:

[SpecialAbility 1]
ID=Ability-Master-Engineer
NameDisplayable=Ability-Master-Engineer-Name
Description=Ability-Master-Engineer-Description
AbilityType= CanRepairDestroyedItems, RepairSpeed, PumpSpeed
AbilityValue= 1, 75, 75
AbylityActsIn= ALL <----------- (remove this arrow if you paste this block in)
SkillRequiredLeadership= 0
SkillRequiredMechanical= 0.7
SkillRequiredElectrics= 0.7
SkillRequiredGuns= 0
SkillRequiredWatchman= 0

Be careful and see what happens. I don't know if I'd put him in Damage Control, he should be able to work everywhere even if he is in the Propulsion Room. You could try putting him in Damage Control and see what happens.

If it doesn't work out, you have your original file you can swap back in.

Edit: just to be safe, make this edit or file swap when you are in your Home Port between patrols.

Good luck & Happy Hunting!

Tried it but system will not allow me to make changes....:hmmm:

aanker 05-08-18 06:53 PM

Quote:

Originally Posted by Berserker (Post 2552341)
Tried it but system will not allow me to make changes....:hmmm:

Are you running as Administrator? Doing so may work (the easiest possibility).

Another possibility is that SH4 may be installed in Program Files (x86). Program Files and Program Files (x86) are protected folders and Microsoft's Operating systems since XP: Win 7, Win 8.1, & Win 10 make changing files in these folders difficult to impossible. JSGME doesn't like to run in this folder either. It is best to make a folder on your C: or D: drive called \GAMES or \Ubisoft whatever name you like and install SH4 in the folder you create.
C:\GAMES\Silent Hunter Wolves Of The Pacific

You should be able to copy your install from Program Files (86) to a folder off your C: or D:drive that you create. I did it the long way, meaning I created the destination folder and copied everything in Silent Hunter Wolves of the Pacific over to the new folders I created: C:\GAMES\Silent Hunter 4 - except the Data folder first. Then I copied the Data folder over. That computer wasn't that powerful and I wanted to go easy copying 4 Gigs of files. (actually I was making copy's of my install so I could use Multi-SH4 but it's the same principle)

The 3rd thing I can think of is you may have a Steam install. Here is a little tutorial on how to move a Steam install out of the protected folder:
Moving Steam From A Protected Directory To A File Folder.
http://www.subsim.com/radioroom/show...21&postcount=3

Peter aka THEBERBSTER, the guy who manages the Tutorials & How to Topics here is a nice guy and is very helpful with his Topics forum:
http://www.subsim.com/radioroom/showthread.php?t=219029

He keeps an eye out for posts in his Topic Sticky.

Try running as Administrator first. Post back how you are doing. Sorry this jumped up and bit you. When I installed SH4 I had dumb luck, I'd been installing Silent Hunter versions to \GAMES for years.

Good luck.


All times are GMT -5. The time now is 07:49 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.