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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


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 04:19 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.