Log in to check your private messages

The cat is #1!! (Dooku.net approved)

WORLD'S FATTEST CAT SAVES BABIES FROM BURNING BUILDING

?
CT/t Team-Tracker (concept)

 
Post new topic   Reply to topic    The cat is #1!! Forum Index -> Counter-Strike 1.6 Releases
View previous topic :: View next topic  
Author Message
Q_ball
unb&
Joined: 07 Jan 2007
Posts: 4557
Location: keeps coming back
View user's profile Send private message
Reply with quote

This gives a custom config depending on what team you are on; so for CT activate certain scripts and for Terrorist activate different scripts.

I was reminded of this because I remember a long time ago on some CS forums, someone asked if it was possible with scripting to make it so if they were on Terrorist they would have left-handed gun and if they were Counter-Terrorist it would be right-handed. However, I remember everyone said it wasn't possible at all. They were wrong obviously, it's actually fairly simple.

The cl_righthand 1/0 represents where you would put custom configuration for each team.
Code:
// CT/TER Team-Tracking Script
// By Q-bA11
// scripting.elxDraco.net

alias selectteam   "writecfg Q-bA11_hP8; wait; setinfo _vgui_menus 0; wait; chooseteam; team_choices"
alias team_choices "bind 1 terr; bind 2 ct; bind 5 auto; bind 6 spec; bind 0 cancelteam"

alias terr "menuselect 1; wait; cl_righthand 0; wait; menuselect 5; wait; exec Q-bA11_hP8.cfg"
alias ct   "menuselect 2; wait; cl_righthand 1; wait; menuselect 5; wait; exec Q-bA11_hP8.cfg"
alias auto "menuselect 5; wait; exec Q-bA11_hP8.cfg"
alias spec "menuselect 6; wait; exec Q-bA11_hP8.cfg"
alias cancelteam "menuselect 0; wait; exec Q-bA11_hP8.cfg"

alias .disconnect "selectteam; wait; disconnect"
alias .reconnect "selectteam; wait; reconnect"
alias .retry "selectteam; wait; retry"

bind del "selectteam"


Last edited by Q_ball on Mon Apr 26, 2010 7:43 am; edited 5 times in total
Posted on Sun Mar 18, 2007 5:03 am
AnAkIn
Little Pudding Boy
Joined: 02 Jan 2006
Posts: 2812
View user's profile Send private message
Reply with quote

nice work but i think you can also do it editing .res
Posted on Sun Mar 18, 2007 9:06 am
holymoly
Little Pudding Boy
Joined: 28 Apr 2005
Posts: 39
View user's profile Send private message
Reply with quote

nice, hmm maybe u could implement norecoil script for say guns like ak(T) and colt (CT) ? only problem would be picking up a colt as T etc
Posted on Sun Mar 18, 2007 2:16 pm
Q_ball
unb&
Joined: 07 Jan 2007
Posts: 4557
Location: keeps coming back
View user's profile Send private message
Reply with quote

holymoly wrote:

nice, hmm maybe u could implement norecoil script for say guns like ak(T) and colt (CT) ? only problem would be picking up a colt as T etc

That's where weapon-tracking scripts come in, which of course are more complicated. I've been over the ups and downs of them before (like reasons why they won't be 100% perfect).

The best method for that is probably using JamieMadRox's (editzor: spelt with an x not a cks biatch) Voice Activation Tool. It is very nifty, just try it.

The custom script is for you to implement, I just gave the basic engine.

And yes, *.res editing is also another option, though some may find that more difficult.


Last edited by Q_ball on Wed May 02, 2007 6:13 pm; edited 1 time in total
Posted on Sun Mar 18, 2007 5:50 pm
JamieMadrox
Little Pudding Boy
Joined: 29 May 2006
Posts: 792
View user's profile Send private message
Reply with quote

MadRocks 8) yehaw
Posted on Fri Apr 27, 2007 9:23 am
Display posts from previous:   
Post new topic   Reply to topic    The cat is #1!! Forum Index -> Counter-Strike 1.6 Releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: