Jump to content
Sign in to follow this  
koKo_

HELP WITH MEDIC CFG

Recommended Posts

Hey guys, so i was putting in some medic configs a few days ago, and it looked like this :

exec crosshairswitcher/switcher; medic                                       

//Uber Fake 
 
bind "f1" "voicemenu 1 7; say_team ~~Uber Faked~~"
 
//TEAM UBER ALERT
bind MOUSE1 +attack
bind MOUSE2 "+attack2; uber"
alias uber "say_team ~~Uber Booped~~"
 
//UBER MASK
bind "f2" "voicemenu 2 7; say_team ~~Uber Masked~~
 
 
 
And then my m1 button wouldn't work on every class, so I went ahead and put this into every other class cfg:
//Settings
bind "MOUSE1 +attack"
bind "MOUSE2 +attack2"
 
 
but then everyone time i pressed m2 on any other class, such as demo or sniper, i would get the Uber Booped message. Anyone know how to fix this?
Val, i know you have a similar config, could you help me out if you're even reading this? :P

 

Share this post


Link to post
Share on other sites

Don't have quotes around the binds. Unnecessary and is what is most likely causing the problems.

 

bind mouse1 +attack1
bind mouse2 +attack2
Though from what val said, you are using Chris' Medic Config, and there should already be an alias "resetmedcfg" created with that, that does the job for you.

Share this post


Link to post
Share on other sites

Don't have quotes around the binds. Unnecessary and is what is most likely causing the problems.

 

bind mouse1 +attack1
bind mouse2 +attack2
Though from what val said, you are using Chris' Medic Config, and there should already be an alias "resetmedcfg" created with that, that does the job for you.

 

no im not using chris's configs anymore but ill try deleting the quotes

after much hassling and much hair pulling, i still haven't fixed ze problem. Anyone else have any ideas?

YES I HAVE FIXED ZE PROBLEM VALPOTATO IS BEST POTATO

Share this post


Link to post
Share on other sites

When you switch to med, these binds will be actually bound to a key. If you switch to an other class it doesn't go back to what it was like before, so you need to bind the keys normal functions in the other class configs.

unbind mouse1

unbind mouse2

bind mouse1 +attack

bind mouse2 +attack

(Same for the F2 binds of course, no idea if you have other binds for these on other classes.)

That way when you switch classes the previous class binds will be deleted and what you put in the class.cfg will be bound.

  • Upvote 1

Share this post


Link to post
Share on other sites

im crying again, my cfg broke again. I give up

Share this post


Link to post
Share on other sites

im crying again, my cfg broke again. I give up

PasteBin the entire script, and post the link here.

Share this post


Link to post
Share on other sites
exec crosshairswitcher/switcher; medic

 

//Uber Fake

bind "f1" voicemenu 1 7;say_team *Uber Faked*

 

//Uber Alert

bind MOUSE1 +attack

bind MOUSE2 +attack2;uber

alias "uber"say_team *UBER BOOPED*

 

//Uber Mask 

bind "f2" voicemenu 2 7;say_team *UBER MASKED* (CHARGE ALMOST READY YOU FAT RUSSIAN)

 

 

 

 

every other class looks like this

 


exec crosshairswitcher/switcher; pyro

 

//Settings

 

unbind MOUSE1

unbind MOUSE2

bind MOUSE1 +attack

bind MOUSE2 +attack2

unbind "f1"

unbind "f2"

Share this post


Link to post
Share on other sites

What exactly doesn't work?

the entire med cfg doesnt work

Share this post


Link to post
Share on other sites

the entire med cfg doesnt work

Inb4 he edited it and saved it as medic.cfg.txt

  • Upvote 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...