Jump to content

Featured Replies

Posted

I am TOTALLY new to programming and i havnt been able to do this

 

http://articles.thewavelength.net/649/

 

so i have tried and tried but i havnt gotten it to work, and here below is the sdk_gamemovement.cpp

 

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================
#include "cbase.h"
#include "gamemovement.h"
#include "sdk_gamerules.h"
#include "sdk_shareddefs.h"
#include "in_buttons.h"
#include "movevars_shared.h"


#ifdef CLIENT_DLL
#include "c_sdk_player.h"
#else
#include "sdk_player.h"
#endif


class CSDKGameMovement : public CGameMovement
{
public:
DECLARE_CLASS( CSDKGameMovement, CGameMovement );

CSDKGameMovement();
};


// Expose our interface.
static CSDKGameMovement g_GameMovement;
IGameMovement *g_pGameMovement = ( IGameMovement * )&g_GameMovement;

EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CGameMovement, IGameMovement,INTERFACENAME_GAMEMOVEMENT, g_GameMovement );


// ---------------------------------------------------------------------------------------- //
// CSDKGameMovement.
// ---------------------------------------------------------------------------------------- //

CSDKGameMovement::CSDKGameMovement()
{
//m_vecViewOffsetNormal = SDK_PLAYER_VIEW_OFFSET;
}

I'm assuming this is for a half-life mod. But it looks to me (with no expirence in coding mods or the like) that you don't even look for a jump in the code you provided. Is it in one of the source files somewhere? (Sorry to sound dumb sir)

 

EDIT: It doesn't even look like you followed the provided tutorial son.

  • Author
so its for a hl2 mod and i havnt posted the things i have done by myself, so that is the original sdk_gamemovement.cpp
so its for a hl2 mod and i havnt posted the things i have done by myself, so that is the original sdk_gamemovement.cpp

 

how about this.

 

1- take computer, unplug

2- find a tall building

3- proceed to throw computer from the building

4- proceed to wall jump off of the building and race the computer.

  • Author

how about this.

 

  1. help me with this
  2. do not try to be a "smart ass"
  3. post something thats even related to programming
  4. put some pants on.

Guest
This topic is now closed to further replies.