SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop
Forget password? Reset here

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-22-05, 06:45 PM   #1
Amizaur
Sonar Guy
 
Join Date: Nov 2002
Location: Poland
Posts: 398
Downloads: 0
Uploads: 0
Default

Aha, I think I'm close to catching the bug by the balls , now I have few versions of most simple doctrine like this:

var A

If Init then {
A = 45
} ELSE {
Debugout "A"
Debugvalueout A
SetPitch A
} ENDIF

which works or not with a change of single line, or even THE SAME doctrine that sometimes works, and another time fails, and another time works 50% :-/. Tested on RAM missiles (don't know if this matters, same problem was with MANPADs but was easily fixed).

For example the first doctrine usually fails (A = 0.0000), but this one:

var A
var B

If Init then {
A = 15
B = 45
} ELSE {
Debugout "A, B:"
Debugvalueout A
Debugvalueout B
SetPitch B
} ENDIF

usually works. What changed ? Added second variable B and that's all...

And in some cases even this doesn't work:

var A

If Init then {
A = 15
} ELSE {
Debugout "A"
Debugvalueout A
SetPitch 45
} ENDIF

debugout gives 0.0000 and missile fly in level and doesn't pull up - after direct command setpitch 45 !!!
If this isn't bug then I don't know what's up :-/

I'll ask you Luftwolf to try this, maybe it's on my computer only, but if you find them not working (or sometimes working, sometimes not) then I'll send it to patch suggestions & Battlefront's technical problems forums...
Amizaur is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.