Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Closed Thread
 
Thread Tools Display Modes
Old 06-28-2008, 03:11 PM   #1
Tony Sergi
 
Tony Sergi's Avatar
 
Join Date: Mar 2008
Reputation: 46
Posts: 646
Scratch SDK - Fix for client until SDK Is updated.

Until the SDK is updated, here's the 2 things you need to do to make the scratch source run properly (so the network tables are accurate!)

#1) Right click the client and add existing file, pick hl2\c_waterbullet.cpp

#2) open up clientmode_sdk and modify the top so these are added:

Code:
-----snip----
#include "c_sdk_player.h"
#include "c_weapon__stubs.h"		//Tony; add stubs

class CHudChat;

ConVar default_fov( "default_fov", "90", FCVAR_CHEAT );

IClientMode *g_pClientMode = NULL;

//Tony; add stubs for cycler weapon and cubemap.
STUB_WEAPON_CLASS( cycler_weapon,   WeaponCycler,   C_BaseCombatWeapon );
STUB_WEAPON_CLASS( weapon_cubemap,  WeaponCubemap,  C_BaseCombatWeapon );

//-----------------------------------------------------------------------------
// HACK: the detail sway convars are archive, and default to 0.  Existing CS:S players thus have no detail
-----snip----
Tony Sergi is offline  
Closed Thread

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.