[hlcoders] Finding useful TF2 variables

2008-12-29 Thread cheeseh-bu
Hi, I am trying to find really useful varaibles for TF2 (Using a server plugin), if anyone knows of any, it would really help. At the moment the only way to do this is a sortof reliable hack, see here: http://wiki.alliedmods.net/Entity_Properties#Enumeration E.g. I found to get an ammo list, us

Re: [hlcoders] NPC's One npc for goal

2008-12-29 Thread Christopher Harris
The easiest way is to have the NPC tell the alarm he is attempting to press the alarm and store that in a safe pointer. CHandle. Then anytime someone wants to use the alarm they first must check if there is no other npc trying to use the alarm by checking if the chandle is not NULL. If it is NULL t

Re: [hlcoders] NPC's One npc for goal

2008-12-29 Thread Nick
have each npc ask the alarm if they are the closest ? On Sat, Dec 27, 2008 at 10:12 PM, Mark Chandler wrote: > Hey, got more npcs problems. > > I have an alarm that all npcs can use and the schedule to do that is > defined in a base class for all my npcs. The problem comes from the fact > that th

Re: [hlcoders] hlcoders Digest, Vol 10, Issue 36

2008-12-29 Thread Nick
Well, I would personally advise trying to run a completely vanilla SDK on linux first. If you get the same bug, you can blame valve. If not its probably your fault, probably. http://developer.valvesoftware.com/wiki/Debugging_under_Linux I haven't tried any of that, the best I did a few years ago

Re: [hlcoders] hlcoders Digest, Vol 10, Issue 36

2008-12-29 Thread Andrew Watkins
Hmm, gdb is completely new to me, so thanks for the suggestion. I fear commandline-based debugging through a linux terminal is completely beyond me, but I'll try and stick with it. CMemoryStack is in tier1, and its constructor initialises some things to 0 and NULL, I can't see what this has to do

Re: [hlcoders] Orange Box bot plugin - SVN available - anyone willing to contribute?

2008-12-29 Thread Paul
I will think about altering the license at some point , [rcbot]cheeseh On 28 Dec 2008, at 11:24, "Arne Sikstrom" wrote: > This could be interesting but then the code should be LGPL and not > GPL as it > is today. Due to the license I cant use the Rcbot2 code for our mod, > and I > thin

Re: [hlcoders] Simple question ? on mouse key bindings

2008-12-29 Thread Maarten De Meyer
As said, I'm trying to close the spectator menu. By default it closes with the duck button, but doesnt work if duck is a mouse button. So I capture mouse events in the specgui and see the user hit the right mouse button. So then I need to check if that maps to duck. Tada. > This seems like a very