You can find out if a command button (eg. attack, strafe, crouch, etc)
is being press, has been pressed, or has been released by using the
following bit flags:
m_nButtons
m_afButtonPressed
m_afButtonReleased
The code for these puppies would be like this:
if ( m_afButtonPressed IN_ATTACK )
Hope
I spent the weekend digging through the HL2 vehicle code and
experimented with steering and throttle a little.
Now I noticed one big problem with the airboat:
m_VehiclePhysics.SetSteeringDegrees() - no matter how big or low I set
these degrees the boat always turns at the same speed, only
Hello,
Friday, February 25, 2005, 2:41:42 PM, you wrote:
MvdZ You pass an integer to the constructor of the second, it should be a
MvdZ string, like the first one.
Thanks, fixed it. Tho i'm still disappointed with the plugin API,
especially concommands not getting unregistered when plugins are
Mike I think I know why it gives me that error message. It's because
it's an 800 meg directory, do you know any programs that will get rid
of the IDE helper files that intellisense uses? And all the other
random junk? So I just get a clean 30MB directory?
On Fri, 25 Feb 2005 16:53:20 -0800,
I have made a plugin for CSSource
and whenever I run srcds.exe I get 3 or 4 of these:
First-chance exception in srcds.exe (KERNEL32.DLL): 0xE06D7363: Microsoft
C++ Exception.
If I do a spawn kill (against a bot and maybe with humans) 3 or 4 times or
more then Ill
get that exception repeated
because it's annoying to play a game of CS and have it sound like UT,
q3, and a mash of a few movies and TV shows.
Seriously, how often will the sound be used, and would it _really_ add
something useful to the game? Every server adds the same damn doh
and multikill sound sets, but they invariably
I setup an event to fire round_start (maybe my event is being overriden by
something else in the sdk?) in hl2dm_gamerules.cpp
(Traced an this is getting called)
//sends the round_start event to the clients
IGameEvent * event = gameeventmanager-CreateEvent( round_start );
if ( event ) // will be
Hello,
Monday, February 28, 2005, 12:38:06 AM, you wrote:
BAS http://www.sourcewiki.org/wiki/index.php/Compiling_Debian
actually i just adjusted the paths in the main Makefile and i'm
using that to compile my plugin. the only other thing i had to do was
to change the order of some #include
Hello,
the correct syntax would be like this:
Plugin
{
file ../cstrike/addons/serverplugin_empty
}
if the .so/.dll file is located in cstrike/addons/
or you can just use
file serverplugin_empty
and place the file in mainsourcedir/bin/
btw, my plugin won't load if i don't
I figured this out...
Now if the timer would show in game all is well :P
r00t 3:16
CQC Gaming
www.cqc-gaming.com
- Original Message -
From: r00t 3:16 [EMAIL PROTECTED]
To: hlcoders@list.valvesoftware.com
Sent: Sunday, February 27, 2005 9:25 PM
Subject: [hlcoders] Event firing but.
A few things to check:
- What's the path to the source code in your previously-existing project
(and am I reading what you wrote correctly - you said it was 800 megs?)
- What's the path to the new code?
- Is there anything on the Perforce site about this error?
- Have you emailed Perforce
I created a hud timer which the timer starts with a round_start event.
Everything looks fine, and when tracing looks fine as well.
However the hud will only show 0 it will not actually show the round
counting down..
This is the code below, I wanted to make sure mins, secs were not 0 and they
are
I like perforce but the license thing for 2 people is kind of a pain. I
guess it uses more then 1 connection to get files and such.
I am now currenlty using subversion and http://tortoisesvn.tigris.org/
Took me a little to figure it out but it is kind of simple...
If anyone needs help setting
13 matches
Mail list logo