Jump to content
The Dark Mod Forums


  • Posts

  • Joined

  • Last visited

Everything posted by Nyarlathotep

  1. Sure, if you don't intend to replace the collision code, which is behind the precompiled stuff.
  2. It's not that hard if you know what you're doing, i.e., be a developer or read a strategy guide. Without revealing too much, if you successfully steal one below level 40, you unlock a minigame to learn how to ride horses. I'm actually rather proud of how it turned out.
  3. As a CS major with a background in music, I've often thought about this as a way of making a better transition between different musical pieces, rather than simply (and annoyingly) cross-fading. E.g., if nextBar == barX, use this transition. As an alternative to randomly generating the music, have you ever considered playing short "bursts" corresponding to the player's actions? A long fall could be accentuated by flutes descending chromatically, for example, or every clash of swords punctuated by bass drums. Not necessarily appropriate for a Thief-like game, but it could definitely be fun. Actually, the Thief-style ambient music could probably be easily generated randomly/pseudo-randomly. It's built up pretty simply (sort of like layers of cake), and with a large stock of sounds, it could easily provide hours upon hours of "unique" music.
  4. Oh, silly! That's what a horse is for!
  5. I'm not that old, dammit! Damn whippersnappers calling me old... Why back in my day, you respected your elders! Now the youth only want to drive their MTVs and shoot off their raps!
  6. Holy shit! I'm older than you? I thought I was the youngest on the team!
  7. No. And Wikipedia agrees with me! Edit: Damn! Ninja'd!
  8. Nah, I love hijacking threads!
  9. No, a union of two structs will simply be the size of the larger struct. Pointers allow you to have variable amounts of data (through void pointers or possibly union pointers), but then, that data won't actually be in the node struct. This idea intrigues me, and I would like to learn more. Ah. I thought you had been talking about some sort of race condition or something, not improving cache locality/page utilization over standard, fragmentation-happy malloc. Edit: Hurray for programmer thread-hijacking!
  10. This was in C. How would I have nodes of different sizes? Unions are always the size of the biggest member struct. AFAIK, you can only have variable types/sizes of data in your struct through the use of void pointers. And how the hell do you "beat malloc" in a single-threaded process? In retrospect, I think what caused it was some unwise variable reuse. I can't really check until I get my work back off the school computers, though, and I can't be assed to do that just yet.
  11. Joke, mate. But in all seriousness, I was planning to take a serious look writing the vine arrow script very soon, preferably immediately after my concert tonight. I'd start now, but I stayed up until 06:00 trying to figure out why my list was segfaulting on a double free. As it turns out, I had correctly written my library, but due to a requirement of the assignment, I was mallocing my nodes outside of the list. As an optimization, I was attempting to malloc all the nodes I needed at once. When I would free the head, it would free the entire block, so the next time I removed the head, it would result in a double free. I spent five hours banging my head against the wall in Valgrind until I realized my error. I know it's possible to allocate more than one block at a time and have it work correctly. Could anyone explain to me the right way doing it?
  12. No wonder why I've been having so much trouble; I've been going about this the wrong way! You're going and trying to get your feet wet, and here I've been wearing me Wellies the whole time!
  13. Yes, yes there is. For example, it would be trivial to expose something like rand() from stdlib.h to scripts. Is there already something like rand() exposed to D3's scripts?
  14. Actually, this would be kind of cool to do for a maze within a level. A simpler way for the mapper to make it though would be to have short blocks and randomize portals between them (we'd need to implement portals first, though ). Ooo, would players ever hate you for it though!
  15. Oh! You were talking about spiders! Of course, how silly of me to think you were talking about--well, something else....
  16. I find it slightly ironic that oDDity is the one placing too much faith in humanity's intellect. C'mon, where's the oDDity we know and lov^H^H^Hbegrudingly deal with?
  17. Uh, erm... Well... Ihavenoideapleasestoplookingatmeyou'remakingmenervous.
  18. It had the Dragon Sword alright. It was just near the end of the game ( ), used the same model as the "energy katana," or whatever the fuck it was called, and was only a slight improvement over the base "energy" butterknife. I can't even remember if I bothered keeping it at that point, as I was still trying to avoid killing anyone (until I found out that DX2 didn't make an actual distinction between killing and knocking someone out).
  19. I assume you mean the successor of the Doom 3 engine, Rage, and not its GPL'd predecessor, Quake 3. I think for the most part, other mods just died. There were always less than ten of the really big mods (Recall to Hell, The Dark Mod, Last Man Standing, Ground Zero, Full Metal Jacket, etc). Of those, Ground Zero and Full Metal Jacket are late starters, and the latter started out as a small modification and is slowly spiraling into a total conversion. Of those that died, Sapphire Scar is the only one that I can recall specifically. Note that I define a "really big mod" as being a (near) total conversion that actually stands a chance of being released, disregarding the chances of a cease and desist. In the bigger world of mods, all of these mods except for Recall to Hell and perhaps TDM would be considered small TCs. You know it's a small community when a mod like FMJ is considered a "big mod".
  20. Well, there's this mod: http://www.thedarkmod.com/ Also, this mod: http://groundzero.solitonstudios.com/
  21. SubVersioN. We mostly use TortoiseSVN around here (Linux users use something different). Once NH gets you set up, you'll be able to see what we're talking about and how to get it set up. For repetition's sake, the link you will need to get started on TDM: http://forums.thedarkmod.com/index.php?showtopic=6694
  • Create New...