Recent content by rkef

  1. R

    Mysterious registry key (relating to Steam AFAICT)

    When running msconfig earlier, I noticed an unlabeled checkbox, which referenced the registry key (HKCU\software\microsoft\windows\currentversion\run). Running regedit, I see two keys within there, one unlabeled default and one called "Steam". While this probably doesn't cause problems, I'm...
  2. R

    HUD Icons: wherefore art they?

    I'm looking through the SDK code (day #2 for me) and I've put together a basic CHudElement class. Where does the GetIcon() function of the CHud class actually look for the icons? I understand that it checks m_Icons, the "Global list of known icons", which is defined in hud.h, but where on the...
  3. R

    Learning C++

    Well, if x and y must both be ints, for whatever reason, you can achieve the desired result with a cast of one of the two: #include <iostream> using namespace std; int main() { int x = 5; int y = 4; float total = 0.0; cout << "The answer to " << x << " / " << y << " is "...
  4. R

    HL2 and the War

    Except the civilians in the game aren't part of a cheesy (though effective) psyops ploy. But this is possibly for a different forum :).
  5. R

    Significant update to SDK docs and possible blip

    Check out the new sections of the SDK docs. Also, the Steam graph shows something which looks familiar from more recent updates, though it could be nothing. It's too late for me to actually read the graph and verify what it represents, if anything. So umm, hopefully tomorrow for the full...
  6. R

    func_???

    There is indeed a reason :). You've not made the distinction between point-based entities (those created with the entity tool) and brush-based entities (those applied or "tied" to a brush). To create a func_buyzone, draw a brush to cover the area you want to use for the buyzone, and set its...
  7. R

    Lights aren't working

    Never done it, but I remember seeing env_beam somewhere. Give that a shot.
  8. R

    Half-Life 2 update (SDK next week! Plus a surprise.)

    Also not really a surprise if that's the case: Well maybe a half-surprise, if it's a full game (Riccochet? :(). edit: BTW WhiteZero, I just happened to open Steam up at 5:02 PST, to get some Hammering done :)!
  9. R

    Half-Life 2 update (SDK next week! Plus a surprise.)

    http://www.steampowered.com/index.php?area=news
  10. R

    Lights aren't working

    Are you compiling with VIS and RAD?
  11. R

    basic shortcuts

    If you want a room which is just a box, you know all the dimensions you want, and you don't use some obscure value for the wall width, nothing. I don't bother because it doesn't save much time and I prefer working with one dimension at a time. And I'm going to have to ungroup it and resize...
  12. R

    basic shortcuts

    I also use shift-[abesx] constantly. ctrl-L duplicates stuff. There are likely more; these are just from memory. And for anyone who doesn't know: space-mouseleft (look around) space-mouseright (longitudinal shift) space-mouseleftright (lateral shift) Those are great for zooming...
  13. R

    basic shortcuts

    You can shift + drag objects to duplicate them. Ctrl-T brings up the transform window; great for quickly rotating an existing wall 90deg. to give you a perpendicular wall, which can be re-sized as needed.
  14. R

    [Request] How to make a staircase/ramp

    There's a texture called "dev_measurestairs01a" which has dimensions of "8 rise, 12 run", which seems good. That's what was used in de_cbble too. The "run" can vary, depending on location, but 8 seems perfect for height. Max vertical obstacle is 18 units btw, which gives another clue.
  15. R

    ARGH. Error'ed

    It compiled and ran without any errors (unless you count it being unlit). Sorry. I don't know where you saw that error!
Back
Top