Re: [hlcoders] (no subject)

2014-12-13 Thread Tom Schumann
Have you been able to instantiate an instance of it?
I played with it a while ago - I can't remember if what I did worked but I
didn't use the Mount method, I used the the AddPath (I think) method. The
default search-path is just the mod's root directory I think.

On 11 December 2014 at 21:49, Sam Vanheer duo...@hotmail.com wrote:

  Yes, it is indeed the GoldSource version, included with the github SDK
 version that i’m referring to.

 *Van:* Tom Schumann schumann@gmail.com
 *Verzonden:* ‎donderdag‎ ‎11‎ ‎december‎ ‎2014 ‎10‎:‎56
 *Aan:* hlcoders@list.valvesoftware.com

 Is it the GoldSource VFileSystem009 you're referring to?

 On 11 December 2014 at 08:53, Sam Vanheer duo...@hotmail.com wrote:

  Hello,

 I’m just wondering if there is any documentation on how to use
 IFileSystem version VFileSystem009.
 I can’t seem to find anything that explains things like whether there are
 default search paths, the purpose of Mount and Unmount, how to add paths,
 etc.

 Any help would be appreciated.



 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders




 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



Re: [hlcoders] (no subject)

2014-12-13 Thread Sam Vanheer



We got it to work, the github SDK version creates an instance, so we got the 
code from there.

It turns out that the GoldSource engine already instances a copy, so we’re 
using the same instance,

and the engine initializes the filesystem, so we didn’t need to add anything.

There was a slight oddity though: FindFirst wouldn’t find files in the mod 
directory when using the MOD path id.

We had to use the GAME id to find files.





Van: Tom Schumann
Verzonden: ‎zaterdag‎ ‎13‎ ‎december‎ ‎2014 ‎10‎:‎02
Aan: hlcoders@list.valvesoftware.com





Have you been able to instantiate an instance of it?
I played with it a while ago - I can't remember if what I did worked but I 
didn't use the Mount method, I used the the AddPath (I think) method. The 
default search-path is just the mod's root directory I think.



On 11 December 2014 at 21:49, Sam Vanheer duo...@hotmail.com wrote:



Yes, it is indeed the GoldSource version, included with the github SDK version 
that i’m referring to.






Van: Tom Schumann
Verzonden: ‎donderdag‎ ‎11‎ ‎december‎ ‎2014 ‎10‎:‎56
Aan: hlcoders@list.valvesoftware.com





Is it the GoldSource VFileSystem009 you're referring to?



On 11 December 2014 at 08:53, Sam Vanheer duo...@hotmail.com wrote:




Hello,




I’m just wondering if there is any documentation on how to use IFileSystem 
version VFileSystem009.

I can’t seem to find anything that explains things like whether there are 
default search paths, the purpose of Mount and Unmount, how to add paths, etc.




Any help would be appreciated.







___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders




___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



[hlcoders] GetWeapon and SetWeapon in takedamageinfo

2014-12-13 Thread David Buckley
Hi,

I've been trying to record the weapon used on damage (using OnTakeDamage in
basecombatcharacter.cpp). Unfortunately, the CTakeDamageInfo object doesn't
seem to return a valid weapon with GetWeapon (it's NULL). It's possible the
m_hWeapon variable in CTakeDamageInfo is never set?

Is this the case, and if so, how do I figure out which weapon was used to
cause damage?

Many thanks
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



Re: [hlcoders] (no subject)

2014-12-13 Thread Tom Schumann
Hm, okay. I think I only tried using AddPath so I didn't run into any
quirks like that.

On 13 December 2014 at 20:35, Sam Vanheer duo...@hotmail.com wrote:


 We got it to work, the github SDK version creates an instance, so we got
 the code from there.
 It turns out that the GoldSource engine already instances a copy, so we’re
 using the same instance,
 and the engine initializes the filesystem, so we didn’t need to add
 anything.
 There was a slight oddity though: FindFirst wouldn’t find files in the mod
 directory when using the MOD path id.
 We had to use the GAME id to find files.

 *Van:* Tom Schumann schumann@gmail.com
 *Verzonden:* ‎zaterdag‎ ‎13‎ ‎december‎ ‎2014 ‎10‎:‎02
 *Aan:* hlcoders@list.valvesoftware.com

 Have you been able to instantiate an instance of it?
 I played with it a while ago - I can't remember if what I did worked but I
 didn't use the Mount method, I used the the AddPath (I think) method. The
 default search-path is just the mod's root directory I think.

 On 11 December 2014 at 21:49, Sam Vanheer duo...@hotmail.com wrote:

  Yes, it is indeed the GoldSource version, included with the github SDK
 version that i’m referring to.

 *Van:* Tom Schumann schumann@gmail.com
 *Verzonden:* ‎donderdag‎ ‎11‎ ‎december‎ ‎2014 ‎10‎:‎56
 *Aan:* hlcoders@list.valvesoftware.com

 Is it the GoldSource VFileSystem009 you're referring to?

 On 11 December 2014 at 08:53, Sam Vanheer duo...@hotmail.com wrote:

  Hello,

 I’m just wondering if there is any documentation on how to use
 IFileSystem version VFileSystem009.
 I can’t seem to find anything that explains things like whether there
 are default search paths, the purpose of Mount and Unmount, how to add
 paths, etc.

 Any help would be appreciated.



 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders




 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders