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

Reply
 
Thread Tools Display Modes
Old 11-18-2008, 04:26 PM   #1
KuRouZu
 
Guest
Posts: n/a
Default reload weapon

Hi,

in hl2mp(OB), the game reload automatically all not equiped weapons after a few seconds.. somebody knows how i can deactivate this or where i should looking for in source code?

thx.

PD: sorry about my english
 
Reply With Quote
Old 11-19-2008, 01:12 AM   #2
Winston
 
Join Date: Jul 2007
Reputation: 84
Posts: 2,170
I don't have the source code here, but do a find in files (control + shift + f) for "FinishReload" - I think the auto-reloading will call this, but I'm not certain.
Winston is offline   Reply With Quote
Old 11-19-2008, 03:09 AM   #3
Mangr0v3
 
 
 
Join Date: Sep 2008
Reputation: 4313
Posts: 13,608
from http://developer.valvesoftware.com/w..._style_reloads:
Quote:
Ever noticed, that the game auto-reloads your gun if you holster it? This is not so good, if you have this clip system. To remove this go to the weapon_hl2mpbasehlmpcombatweapon.cpp and find the ItemHolsterFrame procedure. Comment out the
FinishReload();
line and you are good.
Mangr0v3 is offline   Reply With Quote
Old 11-19-2008, 05:30 PM   #4
KuRouZu
 
Guest
Posts: n/a
really thx
  Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
our servers are not listed under "Internet servers" ?? bizarre_urban Half-Life DS (Linux) 6 08-27-2004 01:43 AM


All times are GMT -7. The time now is 10:53 AM.


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