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 03-03-21, 08:27 PM   #1
Polak2
Weps
 
Join Date: May 2005
Posts: 371
Downloads: 60
Uploads: 0


Default DW Doctrine file language.

Always wanted to ask this: are the Doctrines written in some kind of custom script or they are written in one of the programming languages?
Polak2 is online   Reply With Quote
Old 09-05-21, 08:37 PM   #2
Polak2
Weps
 
Join Date: May 2005
Posts: 371
Downloads: 60
Uploads: 0


Default

324 views but not 1 answer. Maybe, I will be lucky this time!
Polak2 is online   Reply With Quote
Old 01-27-22, 01:54 PM   #3
Alcon2009
Bosun
 
Join Date: Apr 2021
Location: Colombia
Posts: 62
Downloads: 104
Uploads: 1
Default

I know this post is like 999 years old but, i think it is Java language (if im not wrong) i can't promise or confirm it is java but it seems like it
Alcon2009 is offline   Reply With Quote
Old 01-30-22, 05:03 AM   #4
Halcyon
Helmsman
 
Join Date: Feb 2010
Location: West Coast, USA
Posts: 106
Downloads: 104
Uploads: 3
Default

Quote:
Originally Posted by Alcon2009 View Post
I know this post is like 999 years old but, i think it is Java language (if im not wrong) i can't promise or confirm it is java but it seems like it
It's not Java or Javascript.

It's most likely ALGOL 60 or Assembly, since they're using the semicolon ; to write comments, instead of using the semicolon to end statements.
It really looks a lot like the Kernel language though, which shares elements of C and Assembly.
Halcyon is offline   Reply With Quote
Old 01-30-22, 10:13 AM   #5
Alcon2009
Bosun
 
Join Date: Apr 2021
Location: Colombia
Posts: 62
Downloads: 104
Uploads: 1
Default

Oh ok, i've been doubting it is javascript too, it looks similar, thanks.
Alcon2009 is offline   Reply With Quote
Old 04-10-22, 11:06 AM   #6
Hawk66
Samurai Navy
 
Join Date: Sep 2006
Location: Germany
Posts: 597
Downloads: 36
Uploads: 0
Default

I have written a Syntax Checker for the doctrine language but more than 10 years ago, and I fool have not put it to Github or else elsewhere, and I have lost it . Took me quite some time to write it.
__________________
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
- Albert Einstein
Hawk66 is offline   Reply With Quote
Old 05-04-22, 08:59 PM   #7
Polak2
Weps
 
Join Date: May 2005
Posts: 371
Downloads: 60
Uploads: 0


Default

Quote:
I have written a Syntax Checker for the doctrine language but more than 10 years ago, and I fool have not put it to Github or else elsewhere, and I have lost it . Took me quite some time to write it.


What was exactly in this Syntax Checker and do you know what programing language DW doctrines were written in?

Last edited by Polak2; 05-05-22 at 05:07 AM.
Polak2 is online   Reply With Quote
Old 05-05-22, 07:24 AM   #8
Hawk66
Samurai Navy
 
Join Date: Sep 2006
Location: Germany
Posts: 597
Downloads: 36
Uploads: 0
Default

it just checked the syntax . I guess it was just a DSL/scripting language, designed by Sonalysts
__________________
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
- Albert Einstein
Hawk66 is offline   Reply With Quote
Old 12-02-22, 04:06 PM   #9
DBaz
Cadet
 
Join Date: Dec 2022
Posts: 1
Downloads: 0
Uploads: 0
Default

I'm a good way through writing a Doctrine file interpreter. I was making a simulator of a real platforms ASW avionics, and I wanted a way to give my "targets" intelligence. Instead of writing my own, I'm going to use the DW Doctrine files and interpret them.
DBaz is offline   Reply With Quote
Old 12-03-22, 03:11 AM   #10
Hawk66
Samurai Navy
 
Join Date: Sep 2006
Location: Germany
Posts: 597
Downloads: 36
Uploads: 0
Default

sounds cool
__________________
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
- Albert Einstein
Hawk66 is offline   Reply With Quote
Old 02-21-23, 06:14 PM   #11
cburgess
Nub
 
Join Date: Feb 2022
Posts: 3
Downloads: 36
Uploads: 0
Default SCS NavalSimEngine Script

Quote:
Originally Posted by Polak2 View Post
Always wanted to ask this: are the Doctrines written in some kind of custom script or they are written in one of the programming languages?
IIRC - Sonalysts created a custom scripting language so that object behavior can be tweaked and customized as needed. They use this engine in their DoD work. Using Doctrine files made more sense to them rather than hard-coding the Doctrines into the game/engine.

They did provide the modding community with documentation that explains it all.

Note to modders: anything we do in modding ("derivative") any of SCS software belongs to SCS per the EULA. Thus none of us "owns" any of our modding work.

That said, it is a lot of fun and worth the effort.
cburgess is offline   Reply With Quote
Old 02-21-23, 09:26 PM   #12
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 27,709
Downloads: 22
Uploads: 0


Default Welcome aboard!

cburgess!
__________________

"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe"
Aktungbby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:56 PM.


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