Log in

View Full Version : DW Doctrine file language.


Polak2
03-03-21, 08:27 PM
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
09-05-21, 08:37 PM
324 views but not 1 answer. Maybe, I will be lucky this time!

Alcon2009
01-27-22, 01:54 PM
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

Halcyon
01-30-22, 05:03 AM
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.

Alcon2009
01-30-22, 10:13 AM
Oh ok, i've been doubting it is javascript too, it looks similar, thanks.

Hawk66
04-10-22, 11:06 AM
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.

Polak2
05-04-22, 08:59 PM
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.
:wah:

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

Hawk66
05-05-22, 07:24 AM
it just checked the syntax :D. I guess it was just a DSL/scripting language, designed by Sonalysts

DBaz
12-02-22, 04:06 PM
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.

Hawk66
12-03-22, 03:11 AM
sounds cool

cburgess
02-21-23, 06:14 PM
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.

Aktungbby
02-21-23, 09:26 PM
cburgess!:Kaleun_Salute: