SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-27-08, 11:41 PM   #1
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
[TEC] UPC.cfg File

This is an e-mail from Dan (aka elanaiba) about how the UPC.cfg file works. I figured the rest of you would like to know this info as well:

Quote:
RenownValuesUS=-400,-100,100,800,1600,2500:

Defines the values the renown should have to be in one of the following categories: Criminal, deplorable, poor, average, good, excellent, outstanding.

The rating also has a numerical value: which goes from -3 to +3:


Obviously the current version of the game NO LONGER has these hardcoded and they’re taken from the UPC.cfg file, in the specific nation line.


So basically when you’re done with the patrol, the game checks your renown and gives you a rating according to that values table.


This is also used to adjust the campaign rating:


Initial Campaign Rating should be equal to 0


After Each patrol something like this should take place:


New_Campaign_Rating = Old_Campaign_Rating + Last_Patrol_Rating / 2


Now, the americans have 2 ranks available for the player, while the Germans have 4. This is hardcoded, but the requirements to promote you (errr, the player) are mostly not.

-----

**RankPatrolsRatingsUS=0,1 -> last(?) patrols rating to be considered for promotion; 0 (Average) for the first promotion, 1 (Good) for the second promotion

**RankCampaignRatingsUS=0,1 -> current campaign rating to be considered for promotion; 0 (Average) for the first promotion, 1 (Good) for the second promotion
--------


The original design I wrote for promotions in the US campaign was this:

*Player starts as Lieutenant Commander (rank 13)
To be promoted to Commander (rank 14)
-At least 6 months since last Promotion
- At least 4 succesfull patrols (rating 0 or more), including the last one
- Campaign rating 0 or more

*To be promoted to Captain (rank 15)
- At least 5 months since last Promotion (to rank 14)
- At least 5 patrols of rating 1 or more, including the last one
- Campaign rating 1 or more
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF is offline   Reply With Quote
Old 11-28-08, 02:13 PM   #2
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

Thanks for sharing.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 11-30-08, 02:17 PM   #3
hyperion2206
Ace of the Deep
 
Join Date: Jul 2006
Location: Cologne, Germany
Posts: 1,227
Downloads: 8
Uploads: 0
Default

So, you could be promoted from Commander to Captain?! That's awesome!
__________________
Career of Captain Jack Shaftoe:


hyperion2206 is offline   Reply With Quote
Old 11-30-08, 09:36 PM   #4
LukeFF
Silent Hunter
 
Join Date: Apr 2005
Location: Riverside, California
Posts: 3,610
Downloads: 41
Uploads: 5
Default

Quote:
Originally Posted by hyperion2206
So, you could be promoted from Commander to Captain?! That's awesome!
Yep, I didn't know that either until I read the description. There's some really nice tweak settings in this file.
__________________


ROW Sound Effects Contributor
RFB Team Leader
LukeFF is offline   Reply With Quote
Old 12-03-08, 06:15 PM   #5
hyperion2206
Ace of the Deep
 
Join Date: Jul 2006
Location: Cologne, Germany
Posts: 1,227
Downloads: 8
Uploads: 0
Default

I've just noticed that I was promoted to Captain! I wish the devs would have made a nice big screen telling you about it.:p
__________________
Career of Captain Jack Shaftoe:


hyperion2206 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:54 PM.


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