[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » Countermeasure Bug Fix
Author Countermeasure Bug Fix
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-04 06:24   
Hi All

I'm not sure how many of you have noticed, or are aware of the 'bug' in the Countermeasure deployment.

By default....if you don't specify that the CM go 'shallow' or 'deep' either via voice command, or by right-clicking on the Nav Map....then the CM should remain at the depth it was launched at.... i.e. if you just click on 'Launch' or 'Fire' in the Countermeasure Panels, in the 'Fire Control' screens.

Well, it don't....it just floats to the surface......where, it's visible to basically everything with a 'Visual' sensor....not to mention the fact that it is doing very little to 'decoy' or 'jam' an incoming Torp.

Anyway, it was simple enough to fix....so I thought I would just post the new 'SubCM.txt' file here.

So, just copy everything between the CODE lines. (please do not include the CODE lines)....and create a 'New' SubCM.txt and paste this info into it. Place it in your Doctrines folder.

If you don't trust this fix...then make sure that you make a backup of your existing 'SubCM.txt' file.

Code:


; Countermeasure expire timer (Modified by Thomasew to fix Depth bug)

var ExpireTimer
var OrderedDepth

; Init
IF INIT THEN {

ExpireTimer = ( TIME + 300 + RND 300 )
} ENDIF

; Expire
IF Time > ExpireTimer THEN {
Shutdown

} ELSE {

SetSpd 0
IF OrderedDepth == 0 THEN {
SetAlt OwnAlt
} ELSE {
SetAlt OrderedDepth
} ENDIF

} ENDIF





Hopefully this will help you evade those 'Never Elusive' Torps.

BTW, this will not affect any other CM commands. e.g. voice commands etc.


Cheers
Tom


_________________
He Who Will Not Risk Cannot Win


[ This Message was edited by: Thomasew on 2002-04-04 08:42 ]


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


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-04 06:54   
Hi

Sorry about having to use that 'Code' thing. It was the only way I could preserve the formatting.

Perhaps you guys that have websites, can create this file, and post it on your site....for those who don't want to 'Copy' and 'Paste'.


Thanks


Cheers
Tom

_________________
He Who Will Not Risk Cannot Win

[ This Message was edited by: Thomasew on 2002-04-04 07:14 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Madcowz


Joined: Feb 28, 2002
Posts: 574
From: Cambridge (UK)
Posted: 2002-04-04 07:01   
Thomasew,

Post the zip to me with the SubCM.txt and a readme and I will add it to the site tonight.

Good work, no wonder I always get hit!

Madcowz
_________________

Comsa

'When the hunter comes, the tiger runs with the deer'


  View Profile of Madcowz   Goto the website of Madcowz   ICQ status       Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-04 07:09   
Hi Madcowz

It works just fine with the 'copy' and 'paste' thing. It doesn't worry about spaces like the 'Filters.ini'.

I was just apologising because it looked a little untidy....plus the text got smaller.

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-04 09:57   
Excellent, Thomasew!
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
DreadKnot


Joined: Mar 03, 2002
Posts: 50
Posted: 2002-04-04 13:25   
Will this work in MP games?



  View Profile of DreadKnot      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-04 13:36   
Hi Dreadknot

All Doctrines used in a multi-player game are controlled by the host.

Therefore, if you JOIN a game, and the HOST is not using this bugfix, then the CMs will still be bugged......'Even' if you are using it......i.e. your CMs will not work properly.

Cheers
Tom

_________________
He Who Will Not Risk Cannot Win

[ This Message was edited by: Thomasew on 2002-04-04 13:37 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Three14


Joined: Feb 27, 2002
Posts: 313
Posted: 2002-04-04 14:54   
Good to know about the MP games...I didn't want to be a "cheater."



  View Profile of Three14      Edit/Delete This Post   Reply with quote
555


Joined: Mar 08, 2002
Posts: 124
From: Vienna, Austria
Posted: 2002-04-05 09:13   
hi,
just wondering how to determine when joining a MP game (never tried so far), which doctrines and mods are used by the HOST ? saying, HOST is using Tom's torp mode, I'm not (i.e. I'm new and have no idea about updated mod's), the HOST has a clear advantage...or will my mod somehow be modified even if i don't know, because i'm new )? totally lost now, who controls what and what will be controlled...
thanks, harald



  View Profile of 555   Email 555      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-05 09:21   
Hi 555

Yep!...it's a bit of a problem...it would seem. The doctrines, in play, will default to the ones on the Host. Those doctrines will affect you too.

I guess you guys, who play online, would have to agree to a set of rules? A Gentlemans agreement.....so to speak.

Not sure how this will all be affected once the SCP is released......will that be accepted as the de facto standard....or will there still be those who would prefer to play without it?

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
555


Joined: Mar 08, 2002
Posts: 124
From: Vienna, Austria
Posted: 2002-04-05 10:17   
thanks Tom, for your always very quick and comprehensive replies ! so, fact is, that my doctrines will be same as the HOST, although i even don't know, which doctrines the HOST is currently using...hm...anyhow good to know about it ! I'm really already very curious, what SCP will bring us...cheers, harald

  View Profile of 555   Email 555      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.045011 seconds.