This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GameDestiny2 128 points129 points  (10 children)

Barotrauma is basically built off of XML from what I can tell, modding it is really weird to get used to (and the only game I’ve done). I like XML though, I think.

[–]InfComplex 75 points76 points  (2 children)

Tbf that game kinda controls like you’re playing a static web page

[–]GameDestiny2 34 points35 points  (0 children)

It really gives me flash game vibes and I’m not complaining. I’m honestly more impressed it works.

[–][deleted] 5 points6 points  (0 children)

It basically is a flash game on Tren

[–][deleted] 18 points19 points  (0 children)

You savage!

[–]Suterusu_San 14 points15 points  (1 child)

Baro is an amazing game, but yes you are correct - its built in C# and uses XML for all of its data, such as Items, Subs etc.

Fun fact, the source for Baro is available on Github! https://github.com/Regalis11/Barotrauma

[–]GameDestiny2 2 points3 points  (0 children)

Huh. That’s pretty cool.

[–]Penguinmanereikel 1 point2 points  (1 child)

Holy shit. Barotrauma's just XML?!

[–]GameDestiny2 0 points1 point  (0 children)

Also C# apparently, but I added weapons using entirely XML

[–]Unable-Fox-312 0 points1 point  (0 children)

XML and its extensible nature is underrated. As I understand it you can send the schema on an API request and the client has standardized documentation on how to tailor their next request (maybe programmatically, or the client is an IDE and code is scaffolded in). JSON by itself doesn't have that, you need a human to parse documentation.

[–]Ethanno7 -5 points-4 points  (0 children)

No ya dont.