by murdockq · 5mo ago · 0 comments
The codebase here is so much cleaner and better organized than the version I remember wrestling with on a daily basis, and if you remember how buggy and unstable the DayZ launch was for users it can all be traced back to this since it was never envisioned to live as long and scale as far as it did. Fun fact Poseidon was the original internal game name they were building in 1999 before changing the game name and renaming the engine to Real Virtuality.
It's also easy to forget just how far ahead of its time this was since this shipped large open worlds with maps that were 12.5 km × 12.5 km and that was really easy to mod with a runtime scripting language SQF, not a separate mission editor. This was all in 2001, which is three years before Half-Life 2 would come out.
I worked with a guy at the Research Park in Central Florida who used to work for Bohemia Interactive (I forget on what). That's kind of funny, I remember him noting that it was a PITA to work with the Arma codebase.
It was a total PITA to work with but not due to the engine itself but some choices that were made over time to use IN CODE FEATURE SWITCHES since it was before git and branches. There were thousands of features added and controlled with statements like this:
#define ENABLE_FEATURE
#ifdef ENABLE_FEATURE // New feature implemented #else // Old code that is left around but probabbly won't work if the feature gets disabled #endif
Then multiply this choice by every...single...line...of code that had to be changed for one feature. It was nightmare until we could adopt and transition to Git with branches and clean it up.
That does sound like a nightmare to work with, especially since there's a lot of context switching going on too. Too much mental overhead.