Hello There, Guest! Register

Need help with custom script.
Dave
White Lighting - Extra 50% Free


Posts: 4,177
Joined: Jun 2008
#1
06-17-2008, 09:32 AM

Piecing together what i can from tf2wiki, im trying to make my own script for the scout only, so i can attack withy both mouse buttons, doubling my pistol fire rate, all i have so far is:

bind () +attack

()= space for right click




i know this isnt complicated, but i am a retard, whats the bind key for right click?
and also, will this script stop my left click from working to?
would i need to like bind both left and right?

thanks.


Reply
Surf314
Seriously, this week I'll play PS
******

Posts: 12,078
Joined: Mar 2008
#2
06-17-2008, 09:36 AM

Why dont you just make a rapid fire script or something.

Also I think that being able to attack with both mouse buttons is just on option menu thing.


[Image: samjackson-4.png]
Reply
Negate
Born the same day as Linux... poor guy..


Posts: 766
Joined: Apr 2008
#3
06-17-2008, 09:37 AM

This is simple left click is Mouse1 right click is mouse2
so
bind mouse1 +attack
bind mouse2 +attack
Just don't forget to unbind it when you swap classes.



Your in the minority, its supposed to taste like a shit taco
Jon Stewart
[move]ii@.[/move]
Reply
CaffeinePowered
Mad Hatter
*******

Posts: 12,998
Joined: Mar 2008
#4
06-17-2008, 09:38 AM

Right click is mouse2

I dont think you would need a custom script, in your scout.cfg file just bind both mouse 1 and 2 to +attack, and then in every other class config make sure to undo the bind by setting mouse2 to +attack2 again.


[Image: caffsighl7.jpg]Â[Image: 1184299259221.gif]
Sig by Joel
Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#5
06-17-2008, 09:41 AM

Yup.
Scout.cfg
========
bind mouse1 +attack
bind mouse2 +attack


Everyone else
===========
bind mouse2 +attack2

Interesting idea, I might steal this  Smile


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
(This post was last modified: 06-17-2008, 11:48 AM by copulatingduck.)
Reply
Vandamguy
Guest

 
#6
06-17-2008, 10:16 AM

we used to do this with dualies in cs , bind attack1 to mousewheel up and down, then make your mouse wheel hyper sensitive.
Reply
Surf314
Seriously, this week I'll play PS
******

Posts: 12,078
Joined: Mar 2008
#7
06-17-2008, 10:22 AM

(06-17-2008, 10:16 AM)Vandamguy link Wrote: we used to do this with dualies in cs , bind attack1 to mousewheel up and down, then make your mouse wheel hyper sensitive.

Wow this is pretty freaking clever, makes me think of a gatlin gun.  Well played sir, well played.


[Image: samjackson-4.png]
Reply
Dave
White Lighting - Extra 50% Free


Posts: 4,177
Joined: Jun 2008
#8
06-17-2008, 11:30 AM

Well as simple as it may be, i totally fucked up, now i cant shoot at all with scout.

heres what i have in my scout cgf


bind mouse1 +attack1
bind mouse2 +attack1

heres what i have in all my other files:
bind mouse2 +attack2

heres whats in my cgf

unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "b" "lastdisguise"
bind "c" "voice_menu_3"
bind "d" "+moveright"
bind "e" "voicemenu 0 0"
bind "g" "taunt"
bind "i" "showmapinfo"
bind "l" "dropitem"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "say_team"
bind "v" "+voicerecord"
bind "w" "+forward"
bind "x" "voice_menu_2"
bind "y" "say"
bind "z" "voice_menu_1"
bind "'" "+moveup"
bind "`" "toggleconsole"
bind "," "changeclass"
bind "." "changeteam"
bind "/" "+movedown"
bind "-" "sm_admin"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "INS" "+klook"
bind "END" "centerview"
bind "PGUP" "+lookup"
bind "PGDN" "+lookdown"
bind "PAUSE" "pause"
bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "F1" "+showroundinfo"
bind "F3" "askconnect_accept"
bind "F5" "screenshot"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack1"
bind "MOUSE2" "+attack1"
bind "MOUSE4" "+rocketjump"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
cl_rumblescale "1.0"
cl_debugrumble "0"
cl_team "default"
cl_class "default"
hud_takesshots "0"
cl_showhelp "1"
hud_draw_fixed_reticle "0"
cl_chatfilters "31"
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
cc_lang ""
crosshair "1"
cl_observercrosshair "1"
g15_update_msec "250"
cam_snapto "0"
cam_ideallag "4.0"
cam_idealdelta "4.0"
cam_idealyaw "0"
cam_idealpitch "0"
cam_idealdist "150"
cam_collision "1"
c_maxpitch "90"
c_minpitch "0"
c_maxyaw "135"
c_minyaw "-135"
c_maxdistance "200"
c_mindistance "30"
c_orthowidth "100"
c_orthoheight "100"
joy_name "joystick"
joy_advanced "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_forwardthreshold "0.15"
joy_sidethreshold "0.15"
joy_pitchthreshold "0.15"
joy_yawthreshold "0.15"
joy_forwardsensitivity "-1"
joy_sidesensitivity "1"
joy_pitchsensitivity "1"
joy_yawsensitivity "-1"
joy_response_move "1"
joy_response_look "0"
joy_lowend "1"
joy_lowmap "1"
joy_accelscale "0.6"
joy_accelmax "1.0"
joy_autoaimdampenrange "0"
joy_autoaimdampen "0"
joy_diagonalpov "0"
joy_display_input "0"
joy_wingmanwarrior_turnhack "0"
joy_inverty "0"
joy_movement_stick "0"
joy_xcontroller_cfg_loaded "0"
lookspring "0"
lookstrafe "0"
joystick "0"
m_pitch "0.022"
m_filter "0"
sensitivity "3.000000"
m_side "0.8"
m_yaw "0.022"
m_forward "1"
m_customaccel "0"
m_customaccel_scale "0.04"
m_customaccel_max "0"
m_customaccel_exponent "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
cl_mouselook "1"
cl_idealpitchscale "0.8"
net_scale "5"
net_graphpos "1"
net_graphsolid "1"
net_graphtext "1"
net_graphmsecs "400"
net_graphshowlatency "1"
net_graphshowinterp "1"
net_graph "0"
net_graphheight "64"
net_graphproportionalfont "1"
mat_software_aa_strength "0.000000"
mat_software_aa_quality "0"
mat_software_aa_edge_threshold "1.0"
mat_software_aa_blur_one_pixel_lines "0.5"
mat_software_aa_tap_offset "1.0"
mat_software_aa_strength_vgui "1.000000"
voice_modenable "1"
hud_fastswitch "1"
cl_playerspraydisable "0"
muzzleflash_light "1"
hud_classautokill "1"
overview_health "1"
overview_names "1"
overview_tracks "1"
overview_locked "1"
overview_alpha "1.0"
spec_scoreboard "0"
cl_spec_mode "5"
item_medic_weapon_primary "0"
item_medic_weapon_secondary "0"
item_medic_weapon_melee "0"
tf_chargedfriends "35391255:16037603:31565513:10542933"
cl_autorezoom "0"
fov_desired "75"
cl_hud_minmode "0"
tf_hud_num_building_alert_beeps "2"
tf_build_menu_controller_mode "0"
tf_disguise_menu_controller_mode "0"
tf_weapon_select_demo_start_delay "1.0"
tf_weapon_select_demo_time "0.5"
tf_medigun_autoheal "0"
cl_crosshaircolor "0"
cl_dynamiccrosshair "1"
cl_scalecrosshair "1"
cl_crosshairalpha "200"
ifm_steadycam_rotaterate "60"
ifm_steadycam_zoomspeed "1.0"
ifm_steadycam_zoomdamp "0.95"
ifm_steadycam_armspeed "0.5"
ifm_steadycam_rotatedamp "0.95"
ifm_steadycam_mousefactor "1.0"
ifm_steadycam_mousepower "1.0"
ifm_steadycam_2dspringconstant "33.0"
ifm_steadycam_2ddragconstant "11.0"
ifm_steadycam_noise "0.0"
ifm_steadycam_sensitivity "1.0"
r_eyegloss "1"
vgui_message_dialog_modal "1"
cl_showncustomtabhelp "1"
commentary_firstrun "0"
scene_showfaceto "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
npc_height_adjust "1"
sv_pvsskipanimation "1"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
commentary "0"
xbox_throttlebias "100"
xbox_throttlespoof "200"
xbox_autothrottle "1"
func_break_max_pieces "15"
suitvolume "0.25"
option_duck_method "1"
sk_autoaim_mode "1"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_specaccelerate "5"
sv_specspeed "3"
sv_specnoclip "1"
sv_skyname "sky_hydro_01"
sv_backspeed "0.6"
bugreporter_uploadasync "0"
cl_cmdrate "30"
cl_updaterate "20"
closecaption "0"
skill "1"
net_maxroutable "1260"
cl_allowupload "1"
name "Dave -BRB,u-"
password "point"
sv_unlockedchapters "99"
tv_nochat "0"
cl_showpluginmessages "1"
cl_timeout "30"
cl_logofile "materials/vgui/logos/thisisgay.vtf"
cl_soundfile "sound/player/jingle.wav"
cl_forcepreload "0"
cl_allowdownload "1"
cl_downloadfilter "all"
con_enable "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
r_ambientboost "1"
r_ambientmin "0.3"
r_ambientfactor "5"
r_drawmodelstatsoverlaymin "0.1"
r_drawmodelstatsoverlaymax "1.5"
mp_decals "200.000000"
sv_logsdir "logs"
sv_logfile "1"
sv_logflush "0"
sv_logecho "1"
sv_log_onefile "0"
sv_logbans "0"
sv_voiceenable "1"
sv_forcepreload "0"
snd_legacy_surround "0"
snd_pitchquality "1"
volume "0.090000"
snd_musicvolume "0.000000"
snd_mixahead "0.1"
adsp_debug "0"
snd_ducktovolume "0.55"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
dsp_slow_cpu "0"
dsp_volume "1.0"
dsp_enhance_stereo "0"
voice_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
budget_bargraph_background_alpha "128"
budget_peaks_window "30"
budget_averages_window "30"
budget_show_peaks "1"
budget_show_averages "0"
budget_show_history "1"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_bargraph_range_ms "16.6666666667"
budget_background_alpha "128"
budget_panel_x "0"
budget_panel_y "50"
budget_panel_width "512"
budget_panel_height "384"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
texture_budget_panel_width "512"
texture_budget_panel_height "284"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_background_alpha "128"
vprof_graphwidth "512"
vprof_graphheight "256"
vprof_verbose "1"
vprof_unaccounted_limit "0.3"
vprof_warningmsec "10"
mat_monitorgamma_tv_enabled "0"
joy_wingmanwarrior_centerhack "0"
joy_axisbutton_threshold "0.3"


HELP?!?


Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#9
06-17-2008, 11:34 AM

(06-17-2008, 11:30 AM)Dave link Wrote: Well as simple as it may be, i totally fucked up, now i cant shoot at all with scout.

HELP?!?

NO WAI, NOW YOU CAN'T KILL ME ANYMORE!  (:<

What's in your autoexec.cfg? Also, you could try just deleting your config.cfg. That will remove all custom binds, but the game should then force creation of a new config so you can start fresh.

Also, maybe it's just +attack, and not +attack1, but I'm not sure, nor am I in a position to test it right now.

edit: Yes, I think it's just +attack, not +attack1. Sorry, I fail, I know  Sad


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
(This post was last modified: 06-17-2008, 11:45 AM by copulatingduck.)
Reply
Surf314
Seriously, this week I'll play PS
******

Posts: 12,078
Joined: Mar 2008
#10
06-17-2008, 11:35 AM

(06-17-2008, 11:34 AM)copulatingduck link Wrote: [quote author=Dave link=topic=543.msg13358#msg13358 date=1213720245]
Well as simple as it may be, i totally fucked up, now i cant shoot at all with scout.

HELP?!?

NO WAI, NOW YOU CAN'T KILL ME ANYMORE!  >Smile
[/quote]

All is according to plan?


[Image: samjackson-4.png]
Reply
Negate
Born the same day as Linux... poor guy..


Posts: 766
Joined: Apr 2008
#11
06-17-2008, 11:38 AM

its +attack
thats what you get for listening to duck instead of me.



Your in the minority, its supposed to taste like a shit taco
Jon Stewart
[move]ii@.[/move]
(This post was last modified: 06-17-2008, 11:42 AM by Negate.)
Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#12
06-17-2008, 11:47 AM

(06-17-2008, 11:38 AM)negate link Wrote: its +attack
thats what you get for listening to duck instead of me.

shuddup  Sad


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
Negate
Born the same day as Linux... poor guy..


Posts: 766
Joined: Apr 2008
#13
06-17-2008, 11:49 AM

you don't want to get into this with me. The server map changing commands still don't work for me even on my normal PC. Fix kthxbai.



Your in the minority, its supposed to taste like a shit taco
Jon Stewart
[move]ii@.[/move]
Reply
Dave
White Lighting - Extra 50% Free


Posts: 4,177
Joined: Jun 2008
#14
06-17-2008, 11:50 AM

Fixed


Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#15
06-17-2008, 12:03 PM

(06-17-2008, 11:49 AM)negate link Wrote: you don't want to get into this with me. The server map changing commands still don't work for me even on my normal PC. Fix kthxbai.

What doesn't work, changelevel, or the change map from the admin shortcuts menu? You could've told me sooner you know.

edit: See if it works now crybaby.


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
(This post was last modified: 06-17-2008, 12:10 PM by copulatingduck.)
Reply
Negate
Born the same day as Linux... poor guy..


Posts: 766
Joined: Apr 2008
#16
06-17-2008, 12:06 PM

the change map one we talked about this a week or so ago and I just got back use of my PC on friday.



Your in the minority, its supposed to taste like a shit taco
Jon Stewart
[move]ii@.[/move]
Reply
Wedge
I make Reavers my Bitch


Posts: 2,704
Joined: Apr 2008
#17
06-17-2008, 02:58 PM

Huh, this sounds like it might be nice to put on engy, I <3 the engy pistol.


(09-11-2008, 05:11 PM)Dave link Wrote:i would totaly ride that gay ass dragon thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)