[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Silent Hunter II » » enhanced 1024-TDC screen; scripting question
Author enhanced 1024-TDC screen; scripting question
carbon


Joined: Mar 25, 2002
Posts: 22
From: Germany
Posted: 2002-03-25 14:23   
Hello everyone,

I'm new to SH2 but quickly found my way here in order to see if the community has any enhancements for this game and to get some tips from the forum. I'm glad that there are many fine people out there working on their spare time to expand the experience for games/sims and as I can notice it ain't any different for SH2 - big thanks from me to all the moders out there!

ok, back to the topic - I wasn't very happy with the default layout of the dials in the TDC screen, so I made a few changes for the one to be found in xis's 1024-mod (hope that team doesn't mind using it's initial graphic). It should also work with Orzel's 1024 mod, although I've only checked this via graphic-prg.

Bearing-, Speed- and Range-dial have been modified to show new increments:

Bearing-dial: now uses increments of 5 degrees (previously 7.5 degrees)
Speed-dial: now uses increments of 1 knot (previously 1.667 knots)
Range-dial: now uses increments of 100m (previously 333.333m)

get it at:
1024-TDC

--------------

Modifying the dials I've noticed slight geometric iregularities, generatic new tic's I've notice some of the original increments vary in their angles (just a few arcmin). Now that doesn't seem like much but together with slight errors while reading/using the dials, unnecessary error sources develop. IMHO subsims should challenge the player in tactics and solving mathematical/geometric problems and it would sure help if one would be equipped with the right tools (even if in real life they used dials, you can bet that they could read those better then we can due to the lack of zooming onto a single dial). Now I'm aware that one can enter text on screens (by modifing SimDSFTDC.dsf for instance), what I do not know is how to read variables and placing their values into an output (if it can be done). What I'm getting at is, would it be possible to create a small 'HUD-display' showing all TDC input with alpha-numerical values (just like the ammo readout on the lower left for the AA-guns)?
Do any of the scripting/moding experts in here can tell me how I could optain for example the range input and display it on the lower left corner (eg. show me how variables work)?

[ This Message was edited by: carbon on 2002-03-25 14:24 ]


  View Profile of carbon      Edit/Delete This Post   Reply with quote
carbon


Joined: Mar 25, 2002
Posts: 22
From: Germany
Posted: 2002-03-26 20:21   
*bump*
nobody has an answer to my question?
(... Do any of the scripting/moding experts in here can tell me how I could optain for example the range input from the TDC and display it on the lower left corner ...)


  View Profile of carbon      Edit/Delete This Post   Reply with quote
Lanzfeld


Joined: Mar 08, 2002
Posts: 277
From: Winchester, VA
Posted: 2002-03-26 20:52   
CAn anyone do a TDC mod for 800X600?

  View Profile of Lanzfeld      Edit/Delete This Post   Reply with quote
carbon


Joined: Mar 25, 2002
Posts: 22
From: Germany
Posted: 2002-03-26 21:12   
Lanzfeld, check the download section of this site .

  View Profile of carbon      Edit/Delete This Post   Reply with quote
FAdmiral


Joined: Feb 28, 2002
Posts: 1401
From: Atlanta, GA, USA
Posted: 2002-03-26 21:31   
Check with Orzel, he is the leader in the
mods section...

JIm
_________________
Contrary to popular belief, most people do possess a photographic memory. The problem is most of them are simply out of film.


  View Profile of FAdmiral   Email FAdmiral   Goto the website of FAdmiral      Edit/Delete This Post   Reply with quote
OrzelSH2DC


Joined: Feb 27, 2002
Posts: 124
Posted: 2002-03-26 22:29   
Carbon,

Unfortunately most of the dsf files have hard-coded functions. There is little that you can change and you have to stay within the dsf format. For example you can rename the image, location and size (somewhat), but to design new dsf requires adding this to the source code and compiling it back so it will work in game and making new dsf for that code.

You can use existing dsf files for gun or other similar dsf and try to change some original dsf. I was able to design new dsf using other code for other dsf files but you have to use existing dsf as your base for that new dsf. This will allow you to use existing values for your new dsf. To be honest it may mess-up your game and you’ll probably end up with something you don’t like

I see two ways that you can try to do it . 1 is to have the source code and 2 is to hack the SH2 and prey In any case this little change you want add without the source code is hell of a work to make but not impossible to do

PS. I can’t tell you 100% that this mod what you want to do is hard-coded but it is my good guess that it is hard-coded. Try using existing dsf and build on it using existing code from other dsf.

Orzel

[ This Message was edited by: OrzelSH2DC on 2002-03-26 22:31 ]


  View Profile of OrzelSH2DC   Email OrzelSH2DC   Goto the website of OrzelSH2DC   ICQ status       Edit/Delete This Post   Reply with quote
FAdmiral


Joined: Feb 28, 2002
Posts: 1401
From: Atlanta, GA, USA
Posted: 2002-03-26 22:46   
See, whatd I tell you.....

JIm
_________________
Contrary to popular belief, most people do possess a photographic memory. The problem is most of them are simply out of film.


  View Profile of FAdmiral   Email FAdmiral   Goto the website of FAdmiral      Edit/Delete This Post   Reply with quote
carbon


Joined: Mar 25, 2002
Posts: 22
From: Germany
Posted: 2002-03-26 23:24   
Orzel,
thanks for the answer and explaining the difficultiest to me. I have no plans on hacking in to the hard coded stuff, I was under the impression this could be done with some quick *.dsf manipulation.
I'm still new to SH2, but after installing some mods, I couldn't help myself doing a little snooping of my own . After noticing how easy it was to place some text on the screen I thought - 'hey' why not make some sort of easy to read 'HUD' and starting to experiment with the TDC.dsf but failed to deal with the 'variables' so I wanted some expert opinion on the matter ...
To bad since I suspect some little flaws in the current displays and input dials (minor angle ofsets on the dials, periscope bearings differing slightly from the bearings I get from the UZO at times).
Oh well, was worth a try, maybe I'll try again if I get bored, for now I still have the original missions and campain to explore


  View Profile of carbon      Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.035823 seconds.