PDA

View Full Version : Polishing the spy script


BrotherHarmon
12-07-2009, 03:33 AM
I used to have a pretty comprehensive spy script for TFC that I had been converting to FF. Through uninstalling and reinstalling steam a few times I've lost that script.

The piece that I want to recover allows the class-specific disguises triggered on the numpad to be set as friendly or enemy using another two keys. I had used 1-9 for the classes as well as 0 and delete to alter the team set by those number keys.

I'm sure if I think over it for a good while I can relearn how to program the alias settings this way, but the easy way out is delicious. If anyone has that knowledge on hand, I'd appreciate it.

Dr.Satan
12-07-2009, 08:49 AM
gimme a few days to find it, but yeah I've got almost that exact thing scripted somewhere. I'll pull it up and fix for you.

Dr.Satan
12-07-2009, 05:27 PM
...delete to alter the team set by those number keys...

do you mean delete on the key pad or the actual delete button?

EDIT: Also do you want this for just red/blue or would you like it to be set for all four teams? The script I have now is set for all four (red/blue/yellow/green) but I can trim it down to red/blue if you like.

And what classes should be where? I currently have it:


kp_end = scout
kp_downarrow = sniper
kp_pgdn = soldier
kp_leftarrow = demoman
kp_5 = medic
kp_rightarrow = hwguy
kp_home = pyro
kp_uparrow = spy
kp_pgup = engi


but can change if you like.

lemme know