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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-27-10, 03:08 PM   #1
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Would it be possible to have a random generated Difficulty parameters everytime you restart the game .
Example :
# for non-merchants
VISUAL_DIFFICULTY = 1.0; Random between 0.8 and 1.0
HYDROPHONE_DIFFICULTY = 1.0; Random between 0.8 and 1.0
RADAR_DIFFICULTY = 1.0; Random between 0.8 and 1.0
SONAR_DIFFICULTY = 1.0; Random between 0.8 and 1.0

and also randomly selects which parameters change and which ones stay the same from game restart .

example:
# for non-merchants
VISUAL_DIFFICULTY = 1.0;
HYDROPHONE_DIFFICULTY = 0.9;
RADAR_DIFFICULTY = 1.0;
SONAR_DIFFICULTY = 0.94;

# for non-merchants
VISUAL_DIFFICULTY = 9.2;
HYDROPHONE_DIFFICULTY = 8.1;
RADAR_DIFFICULTY = 9.9;
SONAR_DIFFICULTY = 9.7;

# for non-merchants
VISUAL_DIFFICULTY = 1.0;
HYDROPHONE_DIFFICULTY = 1.0;
RADAR_DIFFICULTY = 8.8;
SONAR_DIFFICULTY = 1.0;
THE_MASK is offline   Reply With Quote
Old 10-27-10, 03:16 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Would it be possible to have a random generated Difficulty parameters everytime you restart the game .
interesting idea I would have to implement such a thing through an application (sort of like an SHCommander thing from SH3) as I cannot put conditional statements in the crewstate AI. The app would be easy enough to write and make...I'll give it a go and send it to ya for testing when it's done

EDIT:

or I define a new value in the init.aix that let's you define the amount of change (%) that can be applied to the base amount. There would be a min and max % change value.....think I'll go this route as it would allow completely different random values each time you started a new mission with the same game (i.e. not quitting the game but after ending patrol you select another mission)

EDIT2:

this % change is the way to go as EACH ship is given a 'copy' of this file and thus each ship would have completely different random values instead of just one base value. I LIKE IT!! Have to test it as I see one possible problem with this approach...
TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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:14 AM.


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