• Home
  • General
  • Mapping
  • Modelling
  • Programming
  • Publicity
RSS

Jailbreak: Source

Source SDK Development Blog
14
Apr
Snippets: Find Nearest Ally
By Dogmeat, under Programming. Tagged: snippet, util

Just some useful code I came accross; I’ve no idea if I wrote this or if I found it somewhere, so if it’s not mine, credit to whoever’s it is.
If it is mine, credit to Me
123456789101112131415161718192021222324252627//JB: find the nearest ally
CHL2MP_Player* CHL2MP_Player::FindNearestAlly()
{
    const Vector &  vAbsOrigin      = GetAbsOrigin();
    float   [...]

No Comments

Search Blog

  • Recent Posts

    • XSI Basic Modelling Part 4: Compiling!
    • XSI Basic Modelling Part 3: Skinning
    • XSI Basic Modelling Part 2: UV Mapping
    • XSI Basic Modelling Part 1: Primitives
    • Gameplay: Balancing
  • Tags

    ammo batch files blend bug character modeling code compiling config cubemaps debug demo smoother deployment design fix hammer hud installer lighting Modelling mod making networking obsdk optimisation particles player primitives sdk server setup shaders snippet sound srcds testing textures tools tracefilter traceline trailers user interface util uv mapping weapons XSI
  • Popular Posts

    • Textures: Refraction - Bioshock Style
    • Weapon Modelling Part 1: Outline Curves
    • SRCDS: Orange Box Mod Dedicated Server
    • Character Modeling Part 7: UV Mapping
    • Source Mod: Main Menu Background
  • Pages

    • About
    • Programming Tutorial Index
  • Blogroll

    • Interlopers.net
    • Jailbreak Forums
    • Jailbreak on ModDB
    • Jailbreak: Source
    • JB Developers Group
    • ModDB.com
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Powered by WordPress
Using the DarkZen Theme