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 |

Editing Log (sdf etc)

 
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 -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
Merneo



Joined: 25 Dec 2001
Posts: 479
Location: UK

PostPosted: Fri Sep 26, 2003 7:13 am    Post subject: Editing Log (sdf etc) Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Merneo



Joined: 25 Dec 2001
Posts: 479
Location: UK

PostPosted: Sat Sep 27, 2003 9:07 pm    Post subject: Reply with quote

Horsa/Fa what you recon better to keep seperate or not ?

M
Back to top
View user's profile Send private message Send e-mail MSN Messenger
codmander



Joined: 14 Mar 2001
Posts: 573
Location: cape cod mass.

PostPosted: Sun May 30, 2004 8:47 am    Post subject: sdf Reply with quote

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 Embarassed
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CB..



Joined: 30 Apr 2002
Posts: 2306
Location: UK

PostPosted: Sun May 30, 2004 10:17 am    Post subject: Reply with quote

click

File (top left of notepad screen on the task bar_)

then

save

then

exit
Back to top
View user's profile Send private message Send e-mail Visit poster's website
codmander



Joined: 14 Mar 2001
Posts: 573
Location: cape cod mass.

PostPosted: Sun May 30, 2004 9:29 pm    Post subject: sdf Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Chad



Joined: 13 Jun 2004
Posts: 152

PostPosted: Mon Jun 14, 2004 11:54 am    Post subject: Reply with quote

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 Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Sgt AA



Joined: 10 Aug 2004
Posts: 1
Location: Sweden

PostPosted: Fri Aug 13, 2004 6:30 am    Post subject: Where to find "KLH's guide"? Reply with quote

"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
View user's profile Send private message Send e-mail Visit poster's website
FAdmiral



Joined: 21 Sep 2001
Posts: 3043
Location: Atlanta, GA, USA

PostPosted: Fri Aug 13, 2004 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
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 -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
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