| View previous topic :: View next topic |
| Author |
Message |
Merneo
Joined: 25 Dec 2001 Posts: 479 Location: UK
|
Posted: Fri Sep 26, 2003 7:13 am Post subject: Editing Log (sdf etc) |
|
|
Well I was going include some of the bits horsa had posted in to the FAQ
But i think this needs a separate log of the accumulated knowledge on the subject
I don't think its going to have much form except I still like using the question (bold) and answer format - if you can post the apropriate question it will help - its just a record of what people find and find of use
So if you see a bit in a thread thats imortant not to lose in the fog of the posts then
log it here.
M
EDITING LOG
Are there any guides to editing the files
Editing guides can be found at the following locations:
http://207.44.164.159/subsim_files/patches/SH2_EDIT_v1.zip
also
KLH has worked very hard on publishing an updated guide for scripting missions (writing an SDF file).
It's available on Col7777's website:
http://colinreece0.tripod.com/col/
Is there a way to both make the AI surface ships open fire at you instead of just sailing past you
Add either of these two lines to the group/subgroup orders.
Order1.3 = ROE,ALL,UNLIMITED,DESTROY,BEST,FULL
This is a general Rules of engagement type order
Order1.3 = ATTACK,21,MAIN,UNIT where 21=the unit number you want to open fire on
Can I make the AI fire a little less accurate
Al there's a full set of units in SeaLordsWW1 and WW2 which have "inaccurised " guns so their hit rate avoids the problems mention.
available at:
http://www.amberphotography.co.uk/tempsealords.htm
If you want to do this yourself use the lines
ElevationError = 1.0
TraversalError = 1.0
Add them into your gun system files. The numbers can be varied either side of 1.0 to your own taste.
Below 1.0 = more accurate
Above 1.0 = more inaccurate
I've arrived at 1.0 by trial and error.
Oh BTW It only really works in CLEAR weather. Put a hint of cloud in, down goes the visibility and with it the enemy's ability to open fire at descent ranges.
Another useful thing ( but more work ) if you increase the max range in the ammo ( system) file they'll open up before 20,000yds which was another of the games own ( infuriating) limitations.
How can I replace ships in missions with my own ships ??
Open relevant Mission file (SDF) in a Text editor.( eg notepad)
Locate the unit you want to replace ( UNIT1, UNIT2 etc)
Locate the command line CLASS= ( Eg NDDFletcher )
Overwrite with the Unit file of your prefered ship ( eg NBBBismarck)
so CLASS = NDDFlecher becomes CLASS = NBBBismarck
Save
Close your text editor
Go to game and play the mission. |
|
| Back to top |
|
 |
Merneo
Joined: 25 Dec 2001 Posts: 479 Location: UK
|
Posted: Sat Sep 27, 2003 9:07 pm Post subject: |
|
|
Horsa/Fa what you recon better to keep seperate or not ?
M |
|
| Back to top |
|
 |
codmander
Joined: 14 Mar 2001 Posts: 573 Location: cape cod mass.
|
Posted: Sun May 30, 2004 8:47 am Post subject: sdf |
|
|
i have a question after i opened and adjusted a sdf file how do you close it in other words get rid of notepad?? please be detailed cause im a dumb ass  |
|
| Back to top |
|
 |
CB..
Joined: 30 Apr 2002 Posts: 2306 Location: UK
|
Posted: Sun May 30, 2004 10:17 am Post subject: |
|
|
click
File (top left of notepad screen on the task bar_)
then
save
then
exit |
|
| Back to top |
|
 |
codmander
Joined: 14 Mar 2001 Posts: 573 Location: cape cod mass.
|
Posted: Sun May 30, 2004 9:29 pm Post subject: sdf |
|
|
| cb thats not what i mean before i can open a file i need to open with notepad hmm how can i explain this how do i get the file back to let say fresh out of game status --as if i never even touched it--------not whats inside the file -but the file itself |
|
| Back to top |
|
 |
Chad
Joined: 13 Jun 2004 Posts: 152
|
Posted: Mon Jun 14, 2004 11:54 am Post subject: |
|
|
The .sdf (format) you mean Codmander, after saving it, right click and rename it to whatever.sdf not whatever.txt which notepad saves it as. Hope this works  |
|
| Back to top |
|
 |
Sgt AA
Joined: 10 Aug 2004 Posts: 1 Location: Sweden
|
Posted: Fri Aug 13, 2004 6:30 am Post subject: Where to find "KLH's guide"? |
|
|
"KLH has worked very hard on publishing an updated guide for scripting missions (writing an SDF file).
It's available on Col7777's website:
http://colinreece0.tripod.com/col/ "
Unfortunatly the link seems to be dead!?
Regards/ |
|
| Back to top |
|
 |
FAdmiral
Joined: 21 Sep 2001 Posts: 3043 Location: Atlanta, GA, USA
|
Posted: Fri Aug 13, 2004 9:05 pm Post subject: |
|
|
Sometimes it can be rather sticky to get a new notepad (I use wordpad)
.sdf file to save to anything other than reg. text. In this case, I usually
build a new mission in an old copied sdf. file and then just delete the
old entries...
JIM
BTW, what ever happened to Merneo? |
|
| Back to top |
|
 |
|