Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Potential SH3Cmdr Randomisation module - f'back needed!
Goto page 1, 2, 3  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Mar 16, 2006 3:39 am    Post subject: Potential SH3Cmdr Randomisation module - f'back needed! Reply with quote

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! Wink


Last edited by JScones on Fri Mar 17, 2006 2:52 am; edited 7 times in total
Back to top
View user's profile Send private message Visit poster's website
gouldjg



Joined: 17 Mar 2005
Posts: 959
Location: Manchester UK

PostPosted: Thu Mar 16, 2006 4:22 am    Post subject: Reply with quote

You Know where my vote lies on this

Rock Rock Rock Rock Rock Rock Rock The game would be great.

DO It Man Dooooo Ittttt

Thumbs Up Thumbs Up
Back to top
View user's profile Send private message Send e-mail
Der Teddy Bar



Joined: 10 Jan 2002
Posts: 1360

PostPosted: Thu Mar 16, 2006 4:47 am    Post subject: Reply with quote

I am only commenting on this item, not the idea etc

Lost contact time...

this value is already rediculously low, even in 1939 they spent up to 36 hours. Again, not always, it all depended on obligations and the 'yer we killed him'

But to reduce the 40 minutes....
Back to top
View user's profile Send private message
Reece



Joined: 08 Sep 2003
Posts: 467
Location: Australia

PostPosted: Thu Mar 16, 2006 4:54 am    Post subject: Reply with quote

Graphic, Music, Sounds Effects, & Speech! Smile I don't think your numbered directory's should be removed! Surprised
Back to top
View user's profile Send private message Send e-mail
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Mar 16, 2006 5:02 am    Post subject: Reply with quote

Der Teddy Bar wrote:
Lost contact time...

this value is already rediculously low, even in 1939 they spent up to 36 hours. Again, not always, it all depended on obligations and the 'yer we killed him'

But to reduce the 40 minutes....

No disagreement there - but you have to factor in SH3. Set the value to anything much higher than 40 and then the escorts lose contact with the convoy they're guarding, meaning that if you evade them, you'll have a potentially unescorted convoy to pick at while they chug back at their preset speed. That's where the balance between reality and simulation is required.

But, if players want to set the time to between 40|2160, nothing's stopping them, even now... Wink

Anyway, stop highjacking my thread! Razz
Back to top
View user's profile Send private message Visit poster's website
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Mar 16, 2006 5:40 am    Post subject: Reply with quote

Reece wrote:
Graphic, Music, Sounds Effects, & Speech! Smile I don't think your numbered directory's should be removed! Surprised

There's no plan to remove the Random folders - they'll stay. This is just (hopefully) an easier way to randomise the values in already existing game files.
Back to top
View user's profile Send private message Visit poster's website
Clyde00



Joined: 11 Jan 2006
Posts: 32
Location: Derby City in Kentucky

PostPosted: Thu Mar 16, 2006 6:02 am    Post subject: Reply with quote

Sounds like a very good plan indeed!! Yep

It will save me some hard disk space as I have dat and cfg copies everywhere in the random folders.
Back to top
View user's profile Send private message
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Mar 16, 2006 6:23 am    Post subject: Reply with quote

What kind of things do you randomise?
Back to top
View user's profile Send private message Visit poster's website
gouldjg



Joined: 17 Mar 2005
Posts: 959
Location: Manchester UK

PostPosted: Thu Mar 16, 2006 6:37 am    Post subject: Reply with quote

For me there is a list that would have potential

Zones.cfg the whole doc = essential and will probably do for many players, not just the numbers but also the ability to change special effects.

Basic config = essential, medals, renown, fatigues etc etc

Sim cfgs = Highly desired

Airbases = Highly desired

Now if it is possible to do same for the .zon files concerning DC, shells, and sensors = Extra cool

I suppose a logical order would be required,

1. Damage first as it would be the easiest to do (for me anyway). It would also satisfy many players in the random whom just want slight changes.

2. Enemy behaviour second (a bit more thought needed but at least loses the predictability and adds the unkown)

3. Sounds, effects and graphical i.e. waves, sea colours, weather,

The strengh in your system would be the ease of preparing a randomised event.

The potential weakness would be that it may be difficult to add the one of i.e. 1 in 100 chance of a special events I would have liked to have added e.g. rapid flooding, fast sinkings, single hedgehog/dc kills etc and complete set of duds.

If what you propose caould also have a line adding the probability of each change then fine. If not, itmay be best to go via the folders.

Pros and Cons


Last edited by gouldjg on Thu Mar 16, 2006 6:49 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
ref



Joined: 21 Nov 2005
Posts: 252
Location: Mar del Plata, Argentina

PostPosted: Thu Mar 16, 2006 6:46 am    Post subject: Re: Potential SH3Cmdr Randomisation module - f'back needed! Reply with quote

JScones wrote:
...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! Wink


Perhaps you should add groups

[My mod]

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

[SCENE.DAT]
FileType=B
691=I|256|480 ;Randomises wave height between 1 and 2 times.

[/My Mod]

Ref
Back to top
View user's profile Send private message Send e-mail
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Mar 16, 2006 6:51 am    Post subject: Reply with quote

gouldjg wrote:
Now if it is possible to do same for the .zon files concerning DC, shells, and sensors = Extra cool

Yeah, why not? As long as you know the offset you will be able to randomise the values stored in the binary files as if you had manually changed them via one of TT's tools.
Back to top
View user's profile Send private message Visit poster's website
Clyde00



Joined: 11 Jan 2006
Posts: 32
Location: Derby City in Kentucky

PostPosted: Thu Mar 16, 2006 6:58 am    Post subject: Reply with quote

I don't go radically overboard when randomizing anything. Little changes on some of the files don't seem like alot till you get in the game.

I randomize crew visual ranges, not big changes but little ones to simulate "off" or bad mood days (don't go too far cause crew morale and efficiency can really mess with these)

The wave amplitude and attenuation, the lost contact time, and the detection time\sensitivity in the sim.cfg

Small changes in the airstrike.cfg for probabilities and logic steps for attacking.

Ranges in the ai_senors.dat

Bomb damage in the bomb.sim

Ranges in the sensors.dat

Different smoke effects (found in forums for MiniTweaker) in the particles sections of Tweaker. A little randomization of the smoke effects makes the game seem a little more real.

Have tried to change the flooding speed in the submarine sim files but have weird behavior or no noticeable effects in the sim.

Factors in the sensors.cfg

Taking away and adding different .ogg messages for the crew to speak. (msgogg)

Different loadout for the planes (bombs, lights, etc...)

And the usual graphics tga's and sounds.

Most changes are very slight, but the difference of a couple hundred yards in game adds a little element of surprise and a human factor to it I guess.
Back to top
View user's profile Send private message
gouldjg



Joined: 17 Mar 2005
Posts: 959
Location: Manchester UK

PostPosted: Thu Mar 16, 2006 7:14 am    Post subject: Reply with quote

Brilliant,

What about the 1 in 100/0 chance examples, could you devise a method in your method that would allow probability also or would that be unrealistic?

Also could you make this date specific i.e. occur within timeframes set in game i.e. 1943 settings.

With regards to you being able to do zon files,

I would definitely like to have the ability to offset certain sensors for DD's.

Just small changes that mean I am detected earlier than thought through hydrophones or have managed to slip the screen of visual spotters for a surface night attack (Im sure you get the picture).



My key to a good game is one that forces the me to ask myself the following questions:-

Do I or do I not take the chance, If so what consequences/payoffs will happen to me?.

I do not want to know exact rules i.e. ranges, responses and damage taken apart from the basic rules of reasonableness for that time period. If it was reasonably foreseeable for something to happen then it should have a probability of it happening.

Everything else is down to luck and fate and I like that part the most.
Back to top
View user's profile Send private message Send e-mail
VonHelsching



Joined: 16 Aug 2005
Posts: 666
Location: Athens, Greece

PostPosted: Thu Mar 16, 2006 8:21 am    Post subject: Reply with quote

I was thinking more of a seperate application (probably within the SH3Cdr GUI) and not SH3Cdr handling directly radnomisations (if I understood correct from your first post). This application I am thinking would be the equivalent of JSGME, FOR the random folders of SH3. It would help modders to organise dates and folders and remove / install any Random (c) Mods.

This "application / functionality" would just support the modders in hectic tasks, not actually assuming / performing any randomisation of values. Also the choice of variables to be randomised and the variables mix (ie. strong planes, weak subs, normal DDs vs. weak planes, normal subs , uber DDs) has to be made by modders.

"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".

Trying to think ahead, I imagine Random (c) Mods for every aspects of the game. This probably requires groups of similar variables to be changed in the same "direction" game-wise.
Back to top
View user's profile Send private message
HEMISENT



Joined: 01 Feb 2003
Posts: 766
Location: Northern Illinois

PostPosted: Thu Mar 16, 2006 1:04 pm    Post subject: Reply with quote

gouldjg wrote:
You Know where my vote lies on this

Rock Rock Rock Rock Rock Rock Rock The game would be great.

DO It Man Dooooo Ittttt

Thumbs Up Thumbs Up


DITTO!!!

Right now my brain is fried attempting to come up with believable ratios for the Sabotage thing-People had problems with a simple 10 folder setup in the Thermal layer mod. I cannot imagine what will happen if I have to write it for 40, 50 or even 60 folders.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group