Forum Thread
  Posts  
what language is used for coding brutal doom v21 ? (Forums : Coding & Scripting : what language is used for coding brutal doom v21 ?) Locked
Thread Options
Oct 17 2018 Anchor

Hi everyone

first I like to thank all who have taken part in creating brutal doom . it is the best game ever .

I am new to this mod . maybe 1 month . and I have spent many hours on this great game . I like to know what language is brutal doom written in . I have opened the Pk3 file with slade , but I don't know exactly what language is used for this mod .

for example consider this part taken from player.txt which is about rolling , which i couldn't understand what language is used for writing it .

RollRight:
NULL A 0 A_TakeInventory("RollLeft", 1)
NULL A 0 A_TakeInventory("RollRight", 1)
NULL A 0 A_ChangeFlag ("NOPAIN", 1)

NULL A 0 ACS_ExecuteAlways(400, 0, 0, 0, 0)//Start Camera//Start Camera
NULL A 0 ThrustThing(angle*256/360+192,20,0,0)//Thrust Right
TNT1 AAAA 1 A_SpawnItemEx("PROLSpriteE", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
TNT1 AAAA 1 A_SpawnItemEx("PROLSpriteD", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
TNT1 AAAA 1 A_SpawnItemEx("PROLSpriteC", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
TNT1 AAAA 1 A_SpawnItemEx("PROLSpriteB", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
TNT1 AAAA 1 A_SpawnItemEx("PROLSpriteA", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
MARN A 0 ACS_ExecuteAlways(402, 0, 0, 0, 0)//Disable Camera.
NULL A 0 A_JumpIfInventory("GoFatality", 1, "FatalityChecker")
NULL A 0 A_TakeInventory("RollLeft", 1)
NULL A 0 A_TakeInventory("RollRight", 1)
NULL A 0 A_JumpIfInventory("GoSpecial", 1, "SpecialChecker")
MARN A 4

and I also like to know if there is any tutorials available for those who want to learn to mod and edit brutal doom . if so where can I find them ?

thanks everyone

Nightshade
Nightshade Senior Technical Artist
Oct 21 2018 Anchor

I haven't taken a look at Brutal Doom but if it really is a mod running on the Doom engine then I can say this:
-Doom was written in C, but the level tools were written in Objective-C
-Pak files are the same as Pk3 files (Pak is basically a zip).
-The code you posted does not look like C at all - it looks like some scripting language for cut-scenes or events or something (possibly some config or other data storage for scripted events)

If you are new to programming I do not recommend starting with C or C++. C is very low-level - meaning you work close to the hardware - while also lacking the huge evolution that C++ have gone through out history. On top of that: it's not object-oriented (you don't have classes in C).

C# and Unity is much more approachable for someone just starting out programming.

Edited by: Nightshade

--

Senior Technical Artist @ Massive - a Ubisoft studio
Portfolio | LinkedIn

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.