Writing my first mod

Sandman

Newbie
Joined
Jul 13, 2003
Messages
318
Reaction score
0
Well, not really, but it still doesn't work! I bought MSVC .Net 2003 so that I could compile and run the HL2 source code, however, after a successful compilation ( i only changed RPG_SPEED in the weapon_rpg.cpp file to 400 as in the "first mod" tutorial ), the game gives me an error...

Here's a console dump of what happens when I try to load d1_canals_01.

Code:
Spawn Server d1_canals_01
Begin loading faces (loads materials)
End loading faces (loads materials)
execing skill.cfg
PrecacheScriptSound 'NPC_CScanner.DeployMine' failed, no such sound script entry
CResponseSystem:  scripts/talker/nags_canals.txt (8 rules, 8 criteria, and 8 responses)
npc_furniture has no sequence for act:ACT_IDLE
Invalid file size for motd.txt
Warning: Spawning AI script conditions (beat_cop_conditions) associated with an non-existant NPC
CInstancedSceneResourceManager:  1139 .vcds total 1.50 Mb, 71.69 % of capacity
Created class baseline: 30 classes, 5814 bytes.
Game started

Half-Life 2
Map: d1_canals_01
Players:  1 / 1
Build 2313
Server Number 1
Initializing renderer...
Missing RecvProp for DT_BasePlayer - DT_LocalPlayerExclusive/m_hObserverViewModel
Host_EndGame: CL_ParseClassInfo_EndClasses: CreateDecoders failed.

Dropped unnamed from server
Reason:  Disconnect by user.
CreateEvent: event 'break_prop' not registered.
CreateEvent: event 'break_prop' not registered.

Any help on getting this to run would be greatly appreciated, as I am eager to begin learning how to write code for games.
 
Thanks. I thought it would compile both projects when I hit build. I'll try compiling both this time.
 
Ah! It works. Great stuff. I will be doing a lot of reading in the next few days about modifying other parts of the source code and understanding how some parts of this stuff work.
 
Back
Top