osvaldo
Account Details
SteamID64 76561198088600319
SteamID3 [U:1:128334591]
SteamID32 STEAM_0:1:64167295
Country France
Signed Up August 4, 2014
Last Posted February 29, 2024 at 8:18 PM
Posts 197 (0.1 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input 1
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
1 ⋅⋅ 11 12 13 14
#3 Viewmodel Script for a specific case in Customization

Hmm , so the way my thing works is :

If Mouse5 is pressed and the weapon showing isn't slot1, it switches to slot1. If I repress it, it switches to slot2; if y press it a third time it comes back to primary ect ect.

Same with mouse4 for the melee.

Not sure of what the script you have does, and how this would work with my binds.

EDIT: After testing your script, I concluded that it doesn t work with my config :/

posted about 8 years ago
#1 Viewmodel Script for a specific case in Customization

Hey guys,

So I've been using the following binds to switch between my 3 weapons.

bind "mouse5" "slot1; slot2"
bind "mouse4" "slot1; slot3"

But lately, I've started to look for a way to turn my primary viewmodels off and leave the secondary and melee ones on.

The problem beeing that the script that everybody uses can't aplly to the switching system that I use without messing it all up. In the following script which I"m refering to, the VM hides when the keen bound to a certain slot is pressed; but in my case, the same key (mouse4 or Mouse5) is used for different weapons depending on how many times y press it.

The script :
alias "weaponone" "slot1;r_drawviewmodel 0"
alias "weapontwo" "slot2;r_drawviewmodel 0"
alias "weaponthree" "slot3;r_drawviewmodel 1"

bind 1 weaponone
bind 2 weapontwo
bind 3 weaponthree

So I've been searching around for a way to do this for my kind of configuration but I haven't really found anything useful.
Any help appreciated, ty .

Talik

PS: Also, I'm using transparent vm, I guess I could specify it too even if I don t think this as any impact.

posted about 8 years ago
1 ⋅⋅ 11 12 13 14