Mod compile issue, changes not applying. Help?

Grab your favourite IDE and tinker with the innards of game engines

Mod compile issue, changes not applying. Help?

Postby M2k3 on Sun May 13, 2007 11:43 pm

I am currently trying to learn about Halflife 2 modding and I need some help with compiling the code. I am following this tutorial: http://developer.valvesoftware.com/wiki/My_First_Mod and I am using MS Visual Studio 2003 to compile but when I start up the mod none of the modifications I've made in the code (the rocket speed) apply. When compiling I get no errors and both client and server DLLs are in the right directory. What gives? Is there some kind of setting I am missing? I have followed the tutorial step by step and the changes simply don't work, it just acts like the normal rocket launcher. Anyone know what is going on?

When I double click the "run_mod.bat" in the mod code directory (C:\mymod) it works but when I run it in Steam none of the changes apply, yes both the DLLs are in the bin directory in the /sourcemods/mymod/bin, what am I doing wrong?
M2k3
Member
Member
 
Joined: Sun Oct 02, 2005 4:08 am

Postby Mr. Happy on Sun May 13, 2007 11:58 pm

Make suer your gameinfo.txt's steamappid is set to 215
Image
-You've just been happified!?
User avatar
Mr. Happy
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sat Dec 30, 2006 9:20 am
Location: Flyin' thru "da cloud" in the MotherShip

Postby M2k3 on Mon May 14, 2007 12:19 am

Double checked, the SteamAppId is set to 215. Anything else that could be messing it up?
M2k3
Member
Member
 
Joined: Sun Oct 02, 2005 4:08 am

Postby ScarT on Mon May 14, 2007 1:37 pm

You could be editing the wrong files. What did you base your mod on? Singleplayer or multiplayer mod?
User avatar
ScarT
Senior Member
Senior Member
 
Joined: Sat Apr 02, 2005 7:33 pm
Location: Denmarkian Land

Postby M2k3 on Mon May 14, 2007 9:43 pm

Thanks for the help, I figured it out though. I guess when compiling it didn't overwrite the DLLs properly or something (from a previous compile), in short I thought the problem was more complex than it was. All I have to do was delete the DLLs and recompile.
M2k3
Member
Member
 
Joined: Sun Oct 02, 2005 4:08 am

Return to Programming

Who is online

Users browsing this forum: No registered users