Switch to Best Weapon Solution

rpgprog

Newbie
Joined
Jan 13, 2005
Messages
691
Reaction score
1
Well I cant actually promise that but, I found out what VALVe needs to do
Code:
virtual bool SwitchToNextBestWeapon( CBaseCombatCharacter *pPlayer, CBaseCombatWeapon *pCurrentWeapon ); // Switch to the next best weapon
virtual CBaseCombatWeapon *GetNextBestWeapon( CBaseCombatCharacter *pPlayer, CBaseCombatWeapon *pCurrentWeapon ); // I can't use this weapon anymore, get me the next best one.
that is a public which means its accessible to everyone, all they need to do is put these to false through something else
 
Are you saying that you found the solution to the auto switch bug/feature/annoyance?
 
i found out how VALVe could do it, and could turn it off in a mod, but I dont think there is a consol command linked to this variable, so we have to wait till VALVe does it.
 
Considering how many Emails Valve has received on the issue, my guess is that it'll be fixed in an update pretty soon.. until then, we must suffer.

I don't know much about programming at the moment, so would you mind putting those lines of code into normal English? Like "virtual bool" and what not.
 
Of course vALVE can fix it, they had an option for it in HL1. I think they just overlooked it in HL2. It's incredibly annoying. I hate when I have the shotgun out in a firefight and I step over crossbow or something and it makes me use that instead. No purpose and totally annoying.
 
justmatt said:
Of course vALVE can fix it, they had an option for it in HL1. I think they just overlooked it in HL2. It's incredibly annoying. I hate when I have the shotgun out in a firefight and I step over crossbow or something and it makes me use that instead. No purpose and totally annoying.

I get that so much, go to alt fire the sg in someones back, suddenly you're looking at the floor zoomed in, running around like an idiot.
 
Or worse yet, step over a rocket launcher nad blow yourself to peices.
 
Worst one for me happened just recently. I was in overwatch playing team DM in the middle level of the building, and I had the shotgun. 5 people ran in at once (?!), 2 on my team and 3 on the enemy, my 2 pals get killed, 1 of the others gets killed, so I'm left there alone with the shotgun, so I'm running forwards and shooting, then I decide to do a double-barrel because that should finish one guy off.

But no. One of the people who had just been killed was carrying a crossbow for some unknown reason (it was a fast and furious firefight, why use a crossbow?). So I run over the crossbow, think I'm still holding the shotgun, right-click and it zooms in, while I'm running forwards. Completely disorientates me and I end up dead before I even realised what happened.
 
Back
Top