417 points · by henning · 3y ago · 202 comments
* https://fabiensanglard.net/quakeSource/index.php
I recommend checking it out.
EDIT: i was thinking of the analysis done on Quake 2, which is more about the engine:
* https://fabiensanglard.net/quake2/index.php
while the one about is regarding the multiplayer system, which is still an amazing bit of dev.
Github:
Carmack is great but you can't really say he's better than say some guy you've never heard of who wrote a bunch of absolutely brilliant algorithms inside a missile defense system and it's all super secret. Or someone who did amazing work on a compiler Carmack used or brilliant work in an OS kernel that you're never going to know about, or some AI code, or something deep within a stock exchange's platform.
Carmack's perceived greatness is elevated because almost 100% of what he has worked on is directly visible to the average consumer.
I spend so much time trying to do a good job which I can be proud of and yet I always know there are bugs and I just hope not too many players notice and get annoyed by them.
And here we are, pointing out poorly written code in practically ancient software and attributing it to one particular programmer. Of course, Carmack has more than shown his worth throughout his career. But I dread the thought of a forum post pointing out mistakes I've made at work like this.
It's part of why it took me so long to dare publish articles about fun stuff I've done at work.
By what metric?
Popularity? PR? Net worth? Complex software? Competitive programming? Impact?
For every "top" SE there are tens of similarly skilled engineers that you have never heard of
Where would you rank Linus Torvalds?
Modifying Quake to run on the Occulus Rift was a breeze[2], compared to the mountains of garbage I have to wade through with wipEout.
[1] https://twitter.com/phoboslab/status/1653707447586922498
That's really cool, will you share your efforts anywhere? Love a bit of anti-gravity racing myself. I recommend you listen to the OST whilst coding it for maximum immersion.
That's most indie game devs of the period, but more so at id Software which splintered the team during Quake's development due to internal squabbles, causing John Romero and others to leave id.
You can even tell that from the quality of Quake's levels which start with beautifully crafted and intricate levels, and as you approach the end, progress into "whatever, let's just ship it, this is gonna sell" kind of levels that were mostly just boring repetitive filler to pad the play time.
IIRC (this is well-documented if you want to double check), Tim Willits made most of the Episode 1 maps, John Romero made most of the episode 2 maps, American McGee made most of the Episode 3 maps, Sandy Peterson made most of the episode 4 maps, and John Romero made most of the level 1, military base themed maps in each episode.
The episode 4 maps are often barren, lacking in details, and missing much of the beautiful interconnections of earlier maps... but this is also true of Peterson's maps from Doom (he did a lot of episode 3 in the original Doom, IIRC). So I think it's more of "this guy might be a strong game designer in a lot of other contexts, but the specific needs of making cutting edge Doom/Quake style maps isn't a great fit for him".
I was at Raven Software at the transition from the Doom engine and other 2.5D engines to Quake (and then Quake 2, and then Quake 3, and then Doom 3), and there were a number of existing designers who were fine game designers in earlier, 2d contexts who found their skills severely out of sync with the changing demands of 3d map making, and most of them eventually had to transition to other roles or leave the industry.
Also, the distinct style of the last episode is easily explained by the fact that all of its maps were built by Sandy Petersen. E3 was mostly American McGee, while John Romero and Tim Willits worked on E1 and E2.
I'm not a fan of Petersen's maps either, but they are regarded (and liked) as quite unique, compared to the rest of the game.
The only real complaint I have is the use of the Spawn enemy, which is generally considered the worst designed enemy in the game. But the enemy placement in episode 4 has the advantage that it makes relatively little use of the Ogre, which I consider the second worst enemy, because it has too much HP for something so common, and is too predictable on Nightmare difficulty (to the point that some people say Hard difficulty is actually more difficult than Nightmare).
afaik Romero was fired for not working. Cubicle walls came down because Romero was playing Doom on the clock instead of making the game(his form of protest for not making an RPG or something). If you look at Quake code most broken/lazy stuff was done by him. Example https://www.youtube.com/watch?v=DEkjDkr0Qmc
This rings really true to me. I only had played the shareware version of quake and only recently played the full game, and the second half really felt like padding.
Some gimmicks in particular were really overused later on (I specifically recall that at a certain point I could just tell "There's going to be an ogre hidden in this corner").
I'm not sure if there was also some other reasons - maybe they decided to use some of the best designs for the shareware, maybe ran out of space for more enemies or maybe there's just way more nostalgia for the first levels - but I'm happy to see that some people share a similar opinion.
I still find vector programming hard though, so if I was writing anything like this I'd always visualise it as part of my testing. i.e temporarily render out the other beams and possibly the intermediate vector as necessary (pretty much what they did in this video). That makes testing easier to verify and debugging way more intuitive.
The atmosphere was brilliant though.
Back in the 90s John Carmack was asked "If you could just hire anybody from the 3D world, who would you hire?", and he named Ken http://advsys.net/ken/carmken.htm
The three legends / rivals of their time (but with mutual respect)
Doom 2016 however made the right move. It wasn't out to replicate the old games but take the essence of it and re-imagine it in newer faster terms. It is not a sequel but something that stands next to the original. The focus is almost entirely on the fights but they are stacked that you actually have to plan your attack (figure out which enemy tier is most problematic) while in the middle of near absolute chaos. I get why people didn't like it but I thought it was such a brilliant homage to the original. The sequel, I wasn't too keen on.
Check out
PavlovVR (CS:GO ripoff): https://www.youtube.com/watch?v=OPMllOHfxCc
Serious Sam VR: https://www.youtube.com/watch?v=3-Qgx70_P8EBunny hopping is fun until you encounter stairs. They fixed that mechanic in Quake 2 but then everything else about this game is crap. Q3 was OMG, simply amazing
Movement wise, CPM/CQ3 or QuakeLive is where things became fun again
The performance was complete dogshit. Just simply awful. I had modern hardware at the time which ran both the original Q3A and ioquake3 at hundreds of fps if uncapped but QuakeLive in browser burned my computer up for sub-60 fps even with the graphics turned down. Unplayable. Not to mention they dropped Linux support. QuakeLive made me quit playing Quake. If I sound bitter about it now, you should have heard me then.
1. Movement is weird. Teleports suck immensely.
2. Weapons are slow to fire, and somehow, even slower to recharge/change. The 15km/h rocket projectiles don't make any sense.
3. Stock maps are crap. Thank God for ZTN
4. Has the worst community. Clients and mods are horrible. Zero quality of life stuff
On the backroom (where there is Red Armor and Mega Health) there is a teleport that goes to the main (BIG) room of the map.
If you jump just before the teleport and "aim" your jump so you go in the top left corner of the teleport, you'll get stuck inside the teleport but not go through until you move a bit.
Also, staying stuck for too long on that teleport during a game, will drown your player, which should definitely confuse your opponent as there is no water deep enough to drown players on DM2.
Good times! Long live QuakeWorld!
I was really confused when I hit that.
It could have been solved by limiting the two side vectors lengths to less distance (maybe even tuned by speed) and fixed it enough if the reason was for side damage. If it was to fix some other issue like maybe floats losing precision far out that would not be a good idea.
I’d guess that the feature was tested manually in such a view, and seemed to work OK. And that the feature was subtle enough of a behavior tweak that no one noticed that it didn’t work correctly in most other situations, since the main, visible beam worked correctly, and no one could see it killing enemies behind walls.
This code is not C or C++, so it's not actually from Quake. So what's with "this is how this was coded" and "here are the bugs, but it's only my guess"? The code is avaialble, why guess at all?
So both the "normalize" and the improper swap are the part of the original source?
https://github.com/id-Software/Quake/blob/bf4ac424ce754894ac...
:)
I haven't played Quake in the better part of 20 years so I can't comment from first hand experience, but judging by your top-down view at around 41 seconds, the single beam visually seems to intersect with a bunch of enemies while not dealing any damage (probably as a combination of narrow hitboxes on both the beam and the enemies).
https://www.ryanliptak.com/blog/rampsliding-quake-engine-qui...
Especially with games, I think the video format lends itself well to demonstrating the effects of the code organically.
That was back when he posted dev updates in his .plan file.
I recently started playing Q1 again and it's amazing: the community still supports a number of derivative engines, as well as numerous amazing mods and maps. Arcane Dimensions are insane!