Jump to content

potatoes

Members
  • Posts

    2
  • Joined

  • Last visited

File Comments posted by potatoes

    2Pits Warehouse

       70    3
    3 hours ago, Circa said:

    Looks cool! I'm curious why the map bsp, pk3, and zip are named "dragame" or "dra_map" but the map's name is 2Pits Warehouse?

    Hey, thanks! I'm glad you liked it.

    Well, the name of the map is 2Pits Warehouse because it's basically some kind of warehouse with 2 giant pits, that's the best name I could come up with. 2Pits is kind of inspired by 2fort from the game Team Fortress, so there's that.

    The whole "dra_" stuff is basically for namespacing reasons, and is a habit that comes from programming in C and C++. Any code that I make, I always use dra:: or dra_ as namespaces, to make sure that any code that I write does not collide with code from other libraries, so that people who use what I make do not have to worry about having to fix it by renaming literally every single symbol in my code. I guess it does not make that much sense in modding for Jedi Academy, but it's still a habit that I've carried over just to be safe.

    Also I initially did not really know what I was going to name the map, so dra_map_0 was the best I could come up with lol.

    If you're curious as for what dra_ means, it's basically the initials of my name, inspired by the stb_ libraries, whose creator did the same to make sure that his code's symbols did not collide with other libraries. You can find the rationale explained here in one of his repositories on github https://github.com/nothings/stb?tab=readme-ov-file#why-stb-is-this-something-to-do-with-set-top-boxes

    Circa likes this
×
×
  • Create New...