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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-01-11, 09:39 AM   #11
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

This just requires a few lines in the randomized events folder (SH3CMRD\CFG\Randomized events)

"~~~~~~~~~~~~~~~~~~~~~~
;This file contains details of events where randomisation of values are to occur.
;The section is the name of the file containing the event, including the full path
;from the "data\" level. Prefix each section name with #: to ensure that the name
;is unique. There are two types of randomisation available:
;1. A simple randomisation where a random value is selected from a set range. Usage:
; <SectionName>|<KeyName>=<Integer or Float+precision>|<Lower>|<Upper>|<Randomise mid patrol Y/N?> for text files OR
; <Offset value>=<Integer or Float+precision>|<Lower>|<Upper>|<Randomise mid patrol Y/N?> for binary files
;2. A "ChooseFrom" randomisation where one set of values are chosen from any number of sets
; Set ChooseFrom to equal the number of different sets of data, or a higher number if you want to simulate percentage chance
; Set RndMidPat to 1 if you want randomisation to occur mid-patrol, 0 if not
; Prefix each dataset with #_
;
;Include ApplyToPeriod=<Start date as YYYYMMDD>|<End date as YYYYMMDD> as the first
;entry in the section to set the date range for settings to apply.
;
;If you are adding more malfunction or sabotage effects, please prefix the section
;name with either Mal or Sub respectively so that SH3 Commander can include or
;exclude appropriately based on user selection under SH3 Options.
;
;This file or entries can be deleted if feature unwanted.
;
;==VERSION FOR GWX 3.0 ONLY=="

and not separate files for each event.

If one uses the random folder (SH3CMDR\Random) then separate files are needed, and the process is much more complicated.
__________________
Irish1958
irish1958 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 12:28 PM.


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.