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 03-16-06, 03:39 AM   #1
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default Potential SH3Cmdr Randomisation module - f'back needed!

With Hemisent's progress on the Thermal Layer and Sabotage mods, I got to thinking last night during the Commonwealth Games opening ceremony (did that actually make sense to *anyone*???) about creating a module for SH3Cmdr that will allow modders to add any randomisation events that they want. I envisaged the structure to be like:

[FILENAME]
FileType=[B for Binary or T for Text]
Section=[For text files, the section that the value sits under]
[KeyName if text file, offset if binary file]=[I for integer, Fx for float, where x is the number of decimal places|LowerBoundaryValue|UpperBoundaryValue|Y for randomise mid patrol, N for not]

So, using live examples:

[SIM.CFG]
FileType=T
NbSections=1
0_Section=AI Detection
0_Lost contact time=I|15|45|Y ;Randomises the time Escorts spend looking for U-Boats after losing contact

[SCENE.DAT]
FileType=B
691=I|256|480|N ;Randomises wave height between 1 and 2 times. 691 is the MaxWaveHeight offset value - obtained from any TT tool - this is just an example and not a feature of SH3Cmdr
975=I|0|20|N ;Randomises water density between 0 and 20. 975 is the UnderwaterFogEnd(Fog) offset value - again, just an example

This will remove the need to use the Random folders for (hopefully) everything other than graphics.

Anyway, these are just my initial thoughts - I'm sure the concept will expand as I (nay, we) think of more ways to use it, like allowing text/label randomisation...

To see whether this is worth it, would people see value with this approach? What other events could you see it being used for? Or what other events would you *like it* to be used for? My view is basically *any* value in *any* file could be randomised. The one limitation I see at the moment is that randomisation would be independant. That is, there'd be no connection between the randomisation of one value and another. Although, I'm sure I can come up with a solution if I actually think about it!
JScones 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:29 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.