Need help with custom script. - Printable Version +- Be Right Back, Uninstalling (https://www.brbuninstalling.com) +-- Forum: Old Boards (https://www.brbuninstalling.com/forumdisplay.php?fid=8) +--- Forum: TF2 (https://www.brbuninstalling.com/forumdisplay.php?fid=45) +--- Thread: Need help with custom script. (/showthread.php?tid=532) |
Need help with custom script. - Dave - 06-17-2008 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. Re: Need help with custom script. - Surf314 - 06-17-2008 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. Re: Need help with custom script. - Negate - 06-17-2008 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. Re: Need help with custom script. - CaffeinePowered - 06-17-2008 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. Re: Need help with custom script. - copulatingduck - 06-17-2008 Yup. Scout.cfg ======== bind mouse1 +attack bind mouse2 +attack Everyone else =========== bind mouse2 +attack2 Interesting idea, I might steal this Re: Need help with custom script. - Vandamguy - 06-17-2008 we used to do this with dualies in cs , bind attack1 to mousewheel up and down, then make your mouse wheel hyper sensitive. Re: Need help with custom script. - Surf314 - 06-17-2008 (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. Re: Need help with custom script. - Dave - 06-17-2008 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?!? Re: Need help with custom script. - copulatingduck - 06-17-2008 (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. 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 Re: Need help with custom script. - Surf314 - 06-17-2008 (06-17-2008, 11:34 AM)copulatingduck link Wrote: [quote author=Dave link=topic=543.msg13358#msg13358 date=1213720245] NO WAI, NOW YOU CAN'T KILL ME ANYMORE! > [/quote] All is according to plan? Re: Need help with custom script. - Negate - 06-17-2008 its +attack thats what you get for listening to duck instead of me. Re: Need help with custom script. - copulatingduck - 06-17-2008 (06-17-2008, 11:38 AM)negate link Wrote: its +attack shuddup Re: Need help with custom script. - Negate - 06-17-2008 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. Re: Need help with custom script. - Dave - 06-17-2008 Fixed Re: Need help with custom script. - copulatingduck - 06-17-2008 (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. Re: Need help with custom script. - Negate - 06-17-2008 the change map one we talked about this a week or so ago and I just got back use of my PC on friday. Re: Need help with custom script. - Wedge - 06-17-2008 Huh, this sounds like it might be nice to put on engy, I <3 the engy pistol. |