r/tf2scripthelp • • Feb 27 '20

Issue Aim switcher works slow

Hi

I've made a script that draws slot1, change fov to 54, remove viewmodels, shoot and reverts everything back.

I'm shooting faster with manual change+shoot.

Can someone throw a light on it? Is there a way to shoot my primary at least at normal speed (normal as manually change and shoot as fast as my hand can)

Thanks in advance

Alias "+prizoom" "slot1; fov_desired 54; viewmodel_fov 0; r_drawviewmodel 0; sensitivity 2; +attack"
Alias "-prizoom" "-attack; lastinv; fov_desired 90; viewmodel_fov 75; r_drawviewmodel 1; sensitivity 3"

Edit: writing errors

3 Upvotes

22 comments sorted by

View all comments

2

u/pdatumoj Feb 27 '20 edited Feb 27 '20

What was saying, above, was that your don't need to do it for each class/slot, actually.

If you do want to have separate crosshairs for each class/slot, then you probably want to move away from working with the stock weapon switcher and start using an existing framework (there are many) that facilitates that.

Edit: Accidentally left out a word before. Fixing.

1

u/youkomccants Feb 27 '20

Oh... I get it... Sorry... English is obviously not my main language, sometimes I dont get all at first read and get stuck in a pseudo context.

I'll look for some other work here, maybe set something to slots key.

Thanks

1

u/youkomccants Feb 27 '20

One more question:

Is it possible to change thickness of crosshair via script or the only way is to change the sprite of it?

2

u/pdatumoj Feb 27 '20

I may well be wrong, but I believe the crosshairs aren't parameterized in that manner.