| Author |
Doctrine Errors in SCX 1.1B |
jsteed
Joined: Apr 08, 2002 Posts: 253 | Posted: 2002-08-03 12:37  
Tom,
I found 2 errors in the doctrine files.
1. Disengage.txt line 13 needs a bracket at the end.
IF TIME > CrsChangeTimer THEN
2.Torp_AI_Gen.txt line 97 this will never evaluate to True since "TermWake" is not of TgtSource class. I think you want to use "Visual" here.
IF TgtSource $= "TermWake" THEN {
Otherwise, great job on your latest creation!
Cheers, jsteed
 
|
Thomasew
Joined: Feb 28, 2002 Posts: 1898 From: Bluewater Bay, South Africa
| Posted: 2002-08-03 13:02  
Hi John
Thanks ... I did in fact fix that one in my own doctrine folder. Normally nothing that is specific to SCX is supplied with the download ... but, after SCX 1.0, some people assumed that it supplied all the Doctrines, which it didn't. Consequently some folk were missing a few doctrines. So, I thought it best to provide the balance of the 1.05 (Non-SCX) doctrines. So, I just copied them from a default 1.05 Doctrines folder ... and disengage.txt was one of them.
I must remember to change and fix all the 1.05 Doctrines as well.
I'll check on the TermWake one as well. Nothing actually uses this as yet. TermWake is for the WakeFollowing Torps ... and they have their own Doctrine ... i.e. Wakefollow.txt
I think that this was part of some experiment or other that I was performing. It does no harm there, so it is not important.
I'll check on it's viability though, because I do remember running some tests on the SensorClass, and TgtSource, and as long as the 'Unique Name' was specific to the class, it would still be true. I'll test it again ... it's about 2 months since I last worked with the Torp Doctrines and stuff.
It's much like the TgtMissileClass issue you were talking about .... it actually works in more than one way ... just depends how you use it.
Thanks Again
Cheers
Tom
_________________ He Who Will Not Risk Cannot Win
 
|
jsteed
Joined: Apr 08, 2002 Posts: 253 | Posted: 2002-08-03 15:26  
Hi Tom,
Actually the first way I thought TgtMissileClass worked was wrong. It is not a string variable as is written in the doctrine document. It is a boolean function. It works just like it is written in the doctrine files.
It doesn't appear that disengage is used in any of the doctrines. If it is used internally by SC, that might explain why missiles go flying off to Mars if they loose their target. That was one of the many effects I saw when I was writing the ballistic missile doctrine and would make a typo.
By the way, I like the the lower dB of the subs in this release. I can actually use sprint and drift tactics with my sub and not eat a torpedo for my troubles. From my perspective you're definitely on the right track.
Cheers, jsteed
 
|
|