6 ms·
Hello, video creator here. This is indeed the actual code, and it is written in QuakeC, a language created specifically for the game logic in Quake. The part
by kipi 3y ago
Hello, video creator here. This is indeed the actual code, and it is written in QuakeC, a language created specifically for the game logic in Quake. The part I'm not sure about is why the creators wanted to add in extra side beams at all.
- somedude895 3y agoProbably just to make the gun more powerful, so you get some area of effect damage and not just hit the target right under your crosshair.
- 2c2c2c 3y agoin the era of arrow keys and ball mice, lg probably felt like trash. who knew it would end up so iconically broken :-)
- eps 3y agoOh, didn't know about QuakeC. Shame on me. So both the "normalize" and the improper swap are the part of the original source?
- tecleandor 3y agoYep, right here: https://github.com/id-Software/Quake/blob/bf4ac424ce754894ac8f1dae6a3981954bc9852d/qw-qc/weapons.qc#L508 https://github.com/id-Software/Quake/blob/bf4ac424ce754894ac... :)
- klaussilveira 3y agoCheck this out: https://fabiensanglard.net/quakeSource/index.php https://fabiensanglard.net/quakeSource/index.php
- Sakos 3y agoBtw, I love this type of video where you breakdown and explain code like this and I've subscribed. Looking forward to seeing more of your videos. Especially with games, I think the video format lends itself well to demonstrating the effects of the code organically.
- simias 3y agoI think your guess seems plausible, although maybe it was simply an effort to widen the beam to better match the graphics? The lightning effect is rather wide and it may have been surprising for the player if the hitbox ended up too narrow. 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).
- squeek502 3y agoI wrote a breakdown of a different Quake engine quirk (rampsliding) that might be a fun topic for a video if you're looking for new topics: https://www.ryanliptak.com/blog/rampsliding-quake-engine-quirk/ https://www.ryanliptak.com/blog/rampsliding-quake-engine-qui...