SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   DW Mod Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=196)
-   -   DW Doctrine file language. (https://www.subsim.com/radioroom/showthread.php?t=248700)

Polak2 03-03-21 08:27 PM

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 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

Quote:

Originally Posted by Alcon2009 (Post 2790240)
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

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.
: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

SCS NavalSimEngine Script
 
Quote:

Originally Posted by Polak2 (Post 2733858)
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

Welcome aboard!
 
cburgess!:Kaleun_Salute:


All times are GMT -5. The time now is 02:48 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.