![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]()
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! ![]() |
![]() |
![]() |
|
|