| View previous topic :: View next topic |
| Author |
Message |
Rubini
Joined: 13 May 2005 Posts: 1149 Location: São Paulo Brazil
|
Posted: Wed Mar 15, 2006 12:47 pm Post subject: |
|
|
Hemisent,
Check your PM again.
Rubini. |
|
| Back to top |
|
 |
HEMISENT
Joined: 01 Feb 2003 Posts: 766 Location: Northern Illinois
|
Posted: Wed Mar 15, 2006 1:35 pm Post subject: |
|
|
Rubini
The file you requested is on the way |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Mar 16, 2006 2:36 am Post subject: |
|
|
I was thinking last night during the Commonwealth Games opening ceremony (did that actually make sense to *anyone*???) about creating an SH3Cmdr module 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]
ValueType=[I for integer, F for float]
Section=[For text files, the section that the value sits under]
[KeyName if text file, offset if binary file]=[lowerboundaryvalue^upperboundaryvalue]
So, using live examples:
[SIM.CFG]
;Sets Lost Contact Time between 15 and 45 mins
FileType=T
ValueType=I
Section=AI Detection
Lost contact time=15|45
[SCENE.DAT]
;Randomises wave height between 1 and 2 times. 691 is the MaxWaveHeight offset value - obtained from any TT tool
FileType=B
ValueType=I
691=256|480
These are just my initial thoughts - I'm sure the concept will expand as I think of more ways to use it, like allowing text/label randomisation...
To see whether this is worth it, and at the risk of highjacking hemisent's thread (I'll happily start a new one), would people see value with this approach? Ideas for use welcome!
Bugger it, I've started a new thread for this part. Back to your topic now, Hemisent!  |
|
| Back to top |
|
 |
sober
Joined: 07 Jan 2006 Posts: 184 Location: australia
|
Posted: Fri Mar 17, 2006 6:49 pm Post subject: |
|
|
| Whats going on here . |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Sat Mar 18, 2006 2:04 am Post subject: |
|
|
| @Hemisent, I got your PM. See my other thread for response. |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Mar 23, 2006 9:49 pm Post subject: |
|
|
OK, I've near completed building the new "Randomisation events" function into SH3Cmdr. It works perfectly for text files.
But now I need some help incorporating the Thermal Layers mod as standard. I need the AI_Sensors.dat file offset values for the changed values, ie the:
AI_Hydrophone MinHeight
AI_Sonar
QGAP
QCIP
QCeP
Type144P
Type138P
Type128P
Type123P
QGAA
QCIA
QCeA
Type147A
Type144A
Type128A
Type123A
labels. Hex or numeric, I don't care. Anyone with one of TT's tools installed able to give them to me?
TIA. |
|
| Back to top |
|
 |
HEMISENT
Joined: 01 Feb 2003 Posts: 766 Location: Northern Illinois
|
Posted: Thu Mar 23, 2006 10:20 pm Post subject: |
|
|
| JScones wrote: | OK, I've near completed building the new "Randomisation events" function into SH3Cmdr. It works perfectly for text files.
But now I need some help incorporating the Thermal Layers mod as standard. I need the AI_Sensors.dat file offset values for the changed values, ie the:
TIA. |
Jscones
Are you talking about the alpha numeric code located in the small box upper right of TT's Minitweaker labelled "Displacement" looks like x044d
or the longer code at the bottom labelled "current hex file" looks like 00007a44
Please advise |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Mar 23, 2006 10:26 pm Post subject: |
|
|
| The Displacement value thanks. |
|
| Back to top |
|
 |
HEMISENT
Joined: 01 Feb 2003 Posts: 766 Location: Northern Illinois
|
Posted: Thu Mar 23, 2006 11:00 pm Post subject: |
|
|
Ok.
For the sake of clarity and because my brain is really fried tonight You need the edited displacement values for each listed AI sensor and I'm assuming you would need those edited values x 5 for the five different depths? If so then this will take a bit of time to put together. |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Mar 23, 2006 11:08 pm Post subject: |
|
|
| As there's only one file - viz AI_Sensors.dat - there'll only be one set of offsets. They'll be the same for each of the variations. |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Fri Mar 24, 2006 7:30 am Post subject: |
|
|
Hey, can you pls confirm that it is just the MinHeight value that you are changing for each "item"?
If so, I have the offset values. |
|
| Back to top |
|
 |
HEMISENT
Joined: 01 Feb 2003 Posts: 766 Location: Northern Illinois
|
Posted: Fri Mar 24, 2006 11:26 am Post subject: |
|
|
| JScones wrote: | Hey, can you pls confirm that it is just the MinHeight value that you are changing for each "item"?
If so, I have the offset values. |
Yes. The AI_Sensors.dat/MinHeight= settings is the only line that is edited.
As you know each one of the sensors (your list above)has an individual edit and you already have that list.
**Be advised that the number you install after the=is always preceded by a - for negative height. I made this mistake on more than a few files after I got cocky and figured I had the whole thing down pat.**
I was just going to get back to you and let you know that I would get your displacement numbers to you after I finish with my work. Glad you already have them.
On another note I am just finalizing the testing on the Sabotage folder structure-should I hold off or continue with the next step. |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Fri Mar 24, 2006 11:30 pm Post subject: |
|
|
@Hemisent:
Thanks - I've added your Thermal Layers mod to the next SH3Cmdr release...
| Code: | [data\Library\AI_Sensors.dat]
;
;Only MinHeight values are changed
FileType=B
ChooseFrom=10
RndMidPat=1
0_x470=-105 ;AI_Hydrophone
0_x5FC=-90 ;AI_Sonar
0_x784=-105 ;QGAP
0_x90C=-105 ;QClP
0_xA94=-105 ;QCeP
0_xC20=-108 ;Type144P
0_xDAC=-105 ;Type138P
0_xF38=-100 ;Type128P
0_x10C4=-100 ;Type123P
0_x124C=-90 ;QGAA
0_x142B=-88 ;QClA
0_x160A=-93 ;QCeA
0_x17ED=-95 ;Type147A
0_x19D0=-98 ;Type144A
0_x1BB3=-85 ;Type128A
0_x1D96=-88 ;Type123A
1_x470=-150
1_x5FC=-130
1_x784=-145
1_x90C=-155
1_xA94=-145
1_xC20=-150
1_xDAC=-155
1_xF38=-144
1_x10C4=-145
1_x124C=-130
1_x142B=-135
1_x160A=-125
1_x17ED=-135
1_x19D0=-130
1_x1BB3=-128
1_x1D96=-132
2_x470=-180
2_x5FC=-180
2_x784=-200
2_x90C=-195
2_xA94=-195
2_xC20=-215
2_xDAC=-215
2_xF38=-190
2_x10C4=-190
2_x124C=-195
2_x142B=-190
2_x160A=-180
2_x17ED=-200
2_x19D0=-190
2_x1BB3=-180
2_x1D96=-180
3_x470=-235
3_x5FC=-220
3_x784=-238
3_x90C=-235
3_xA94=-230
3_xC20=-235
3_xDAC=-238
3_xF38=-230
3_x10C4=-235
3_x124C=-225
3_x142B=-220
3_x160A=-215
3_x17ED=-228
3_x19D0=-225
3_x1BB3=-218
3_x1D96=-215
4_x470=-270
4_x5FC=-260
4_x784=-275
4_x90C=-270
4_xA94=-268
4_xC20=-275
4_xDAC=-265
4_xF38=-263
4_x10C4=-265
4_x124C=-260
4_x142B=-257
4_x160A=-255
4_x17ED=-263
4_x19D0=-260
4_x1BB3=-255
4_x1D96=-253 |
Can you pls just double check the values and the ratio (I've kept your 1 in 2 chance of randomisation). Randomisation will also occur mid-patrol. Is this OK?
Also, can you pls do me a small favour and send me a brief one line or so description of the mod, so I can add it to the comments and SH3Cmdr readme.
When I clean it all up a bit, I'll let you know and ask if you'd test it for me just to make sure it's 100% right! gouldjg, let me know if you also want a "play". |
|
| Back to top |
|
 |
mikaelanderlund
Joined: 20 Apr 2005 Posts: 57
|
Posted: Sat Mar 25, 2006 6:33 am Post subject: |
|
|
Hi Jscone,
When do you plan to release your next version?
Mikael |
|
| Back to top |
|
 |
mikaelanderlund
Joined: 20 Apr 2005 Posts: 57
|
Posted: Sat Mar 25, 2006 6:34 am Post subject: |
|
|
Hi Jscone,
When do you plan to release your next version?
Mikael |
|
| Back to top |
|
 |
|