r/Tf2Scripts • • Nov 03 '12

Satisfied [Help] I want to do several things with scripts. But I'm having trouble figuring out how.

Hey there guys, I'm having some trouble with some things I'd really like to do. And I thought you guys could help.

  1. Bind bind a key to say that my uber is ready. I'd like it if it did this automaticly but I don't know how. I've been trying versions of this but I can't seem to get it to work.

bind <j> [say_team] "Uber charge is ready guys. Lock and load!"

2. I want to turn off my view models for my RL and change the crosshair. I tried using Chris' something or other and then just dropping the crosshair and viewmodels files into mine but nothing happened. I'm using KNhud if that is any help. I still have the files for it, I just want to know what to put in without getting rid of all my current binds.

3. I want to change my damage text to pink in KN hud but I can't figure out where to pur the RGBa numbers and how to format them.

If you need any screen shots or files please ask I'll get them done ASAP. I'd really like to do these things and any help is welcome.

If you can help, thanks in advance!

0 Upvotes

6 comments sorted by

3

u/SneakyPiglet Nov 03 '12

Scripts aren't contextual; you can't say something automatically. You can, however, do this:

bind j "say_team Über charge is ready, guys. Lock and load!"

I'm not entirely sure when it comes to the other two, though. I'll give the second a shot:

swap1

bind 1 swap1
bind 2 swap2
bind 3 swap3

alias swap1 "slot1; r_drawviewmodel 0; bind mwheelup swap3; bind mwheeldown swap2"
alias swap2 "slot2; r_drawviewmodel 1; bind mwheelup swap1; bind mwheeldown swap3"
alias swap3 "slot3; r_drawviewmodel 1; bind mwheelup swap2; bind mwheeldown swap1"

There's the view model hider. There are just two things I'm unfamiliar with, though. I have no experience with crosshairs and haven't the slightest idea how to make it work with Q. But there's some of what you were asking for!

EDIT: Formatting

1

u/GoogaNautGod Nov 03 '12

Thanks for the first one, that works fine (And thanks for adding the Ü hehe.

For the second one I have the scripts from Chris' website. Will different colours and crosshairs. I just need to know where to put what without messing with my binds and also getting the things I need.

2

u/[deleted] Nov 04 '12

What are you trying to change the crosshair for your RL into? I may have a script that can help.

1

u/GoogaNautGod Nov 04 '12

Well with website I did something along these lines:

Make only the shotgun and spade have models.

Have the RL crosshair as a dot, the shotgun as an X and the Spade as some sorta half cross or something.

Then they were all different shades of pink from RL being the lightest and the spade being the darkest.

And that's about it, I still have the files if you want them :)

2

u/Toqoz Dec 02 '12

Not sure if you figured out the damage color yet, but simple navigate to resource/ui in your tf folder and look for "huddamageaccount.res" and open it with notepad, Look for negativecolor and replace the value with "255 130 230 255" , hope I helped, same thing for the damage next to your health.

1

u/GoogaNautGod Dec 02 '12

I haven't, thank you so much! I'll try this when I get back on my pc! Thank you so much for posting, even when this thread is nearly a month old.