• 0

Problème alias / bind


moy1789

Question

Posté(e)

Bonjour,

J'ai un petit soucis avec un de mes alias / bind & vu que je ne connais pas trop le domaine il m'est difficile de le résoudre même si ça doit être tout bête :)

Alors j'ai mis dans mon userconfig.cfg un alias qui permet de marcher sans rester appuyer et qui s'arrête lorsque l'on tire. Mais ce dernier ne marche pas.

En effet, dès que je tire une balle il arrête de courir mais ensuite il ne remarche pas une deuxième fois et pire encore je ne peux plus tirer je suis obliger de faire un clic droit (mouse2) pour tirer. Malheureusement ensuite l'arme tire toute seule tout le chargeur.

Je pense que tout cela est assez problématique pour pouvoir jouer dans de bonnes conditions, n'est-ce-pas ? :P

Config.cfg

unbindall

bind "TAB" "+showscores"

bind "ENTER" "messagemode"

bind "ESCAPE" "cancelselect"

bind "SPACE" "+duckjump"

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 "`" "toggleconsole"

bind "a" "+moveleft"

bind "c" "son"

bind "d" "+moveright"

bind "e" "+reload"

bind "f" "lastinv"

bind "p" "messagemode2"

bind "q" "+use"

bind "r" "drop"

bind "s" "+back"

bind "v" "impulse 201"

bind "w" "+forward"

bind "x" "changename"

bind "~" "toggleconsole"

bind "ALT" "marche"

bind "SHIFT" "+duck"

bind "F5" "buy"

bind "F6" "buyammo1"

bind "F7" "buyammo2"

bind "F8" "buyequip"

bind "F9" "chooseteam"

bind "KP_HOME" "flash"

bind "KP_UPARROW" "hegren"

bind "KP_PGUP" "sgren"

bind "KP_LEFTARROW" "m4a1"

bind "KP_5" "vest"

bind "KP_RIGHTARROW" "misc_helm"

bind "KP_END" "deagle"

bind "KP_DOWNARROW" "mp5"

bind "KP_PGDN" "ak47"

bind "KP_ENTER" "hegren; vesthelm; primammo"

bind "KP_MINUS" "defuser"

bind "MWHEELDOWN" "mwd"

bind "MWHEELUP" "mwu"

bind "MOUSE1" "marche2; +attack"

bind "MOUSE2" "+attack2"

bind "PAUSE" "pause"

_cl_autowepswitch "1"

_snd_mixahead "0.1"

ati_npatch "1.0"

ati_subdiv "2.0"

bgmvolume "1.000000"

bottomcolor "6"

brightness "1"

cl_allowdownload "1"

cl_allowupload "1"

cl_backspeed "400"

cl_cmdbackup "2"

cl_cmdrate "101"

cl_corpsestay "600.000000"

cl_crosshair_color "250 50 50"

cl_crosshair_size "auto"

cl_crosshair_translucent "0"

cl_dlmax "128"

cl_download_ingame "1"

cl_dynamiccrosshair "1"

cl_forwardspeed "400"

cl_himodels "0"

cl_idealpitchscale "0.8"

cl_lc "1"

cl_logocolor "#Valve_Blue"

cl_logofile "smiley"

cl_lw "1"

cl_minmodels "1"

cl_radartype "1"

cl_righthand "1"

cl_shadows "1"

cl_timeout "35"

cl_updaterate "101"

cl_vsmoothing "0.05"

cl_weather "1"

con_color "255 180 30"

console "1.000000"

crosshair "1.000000"

fastsprites "0"

fps_max "101"

fps_modem "0"

gamma "3"

gl_dither "1"

gl_flipmatrix "0"

gl_fog "1"

gl_monolights "0"

gl_overbright "0"

gl_polyoffset "0.1"

hisound "1"

hpk_maxsize "4"

hud_capturemouse "1"

hud_centerid "1"

hud_draw "1"

hud_fastswitch "9999"

hud_saytext_internal "1"

hud_takesshots "0"

joystick "0"

lookspring "0.000000"

lookstrafe "0.000000"

m_filter "0"

m_forward "1"

m_pitch "0.022001"

m_side "0.8"

m_yaw "0.022"

model "gordon"

MP3FadeTime "2.0"

MP3Volume "1"

mp_decals "300.000000"

name "mOy < no sound >"

net_graph "3"

net_graphpos "2"

net_scale "5"

r_bmodelhighfrac "5.0"

r_detailtextures "0"

s_a3d "0.0"

s_automax_distance "30"

s_automin_distance "2"

s_bloat "2.0"

s_distance "60"

s_doppler "0.0"

s_eax "1"

s_leafnum "0"

s_max_distance "1000"

s_min_distance "5"

s_numpolys "200"

s_polykeep "1000000000"

s_polysize "10000000"

s_refdelay "4"

s_refgain "0.4"

s_rolloff "1.0"

s_verbwet "0.25"

sensitivity "4.810000"

skin ""

spec_autodirector_internal "1"

spec_drawcone_internal "1"

spec_drawnames_internal "1"

spec_drawstatus_internal "1"

spec_mode_internal "4"

spec_pip "0"

suitvolume "0.250000"

sv_aim "0"

sv_voiceenable "1"

team ""

topcolor "30"

viewsize "110"

voice_enable "1"

voice_forcemicrecord "1"

voice_modenable "1"

voice_scale "0.940000"

volume "0.030000"

setinfo "_vgui_menus" "0"

setinfo "_ah" "0"

+mlook

exec userconfig.cfg

Userconfig.cfg

***********************

** Userconfig de mOy **

***********************

//Changer de nom

alias changename "chgename1"

alias chgename1 "exec nom1.cfg; alias changename chgename2"

alias chgename2 "exec nom2.cfg; alias changename chgename1"

//Switch molette sans clique

alias mwu "invprev; +attack; wait; -attack"

alias mwd "invnext; +attack; wait; -attack"

//Saut accroupi

alias +duckjump "+jump ; +duck ; slot10"

alias -duckjump "-duck ; -jump ; slot10"

//Microphone sans rester appuyer

alias son son1

alias son1 "+voicerecord; alias son son2"

alias son2 "-voicerecord; alias son son1"

//Arrêter la fonction marche dès qu'on tire

alias marche marche1

alias marche1 "+speed; alias marche marche2"

alias marche2 "-speed; alias marche marche1"

Merci d'avance pour votre aide

14 réponses à cette question

Messages recommandés

Posté(e)

bonjour,

voilà ce que je ferais dans tin userconfig.cfg :

alias walk_t "walk_on"

alias walk_on "alias walk_t walk_off; +speed"

alias walk_off "alias walk_t walk_on; -speed"

Ensuite, tu fais bind mouse1 "+attack; walk_off"

Posté(e)

Vu que vous êtes rapides ! Personne n'aurez un lien vers un site donnant la totalité (ou presque) des commandes à CS mais en français

exemple:

+alt1 developer extra commands for mod authors; not currently used in HL or TFC

+attack controls fire

+attack2 controls alternate fire (Special Ability Menu in TFC) see special

+back controls move backward

+break unknown ?

+camdistance controls move chase cam away from player (only works if thirdperson activated)

+camin controls move chase cam in (forward) only works if thirdperson activated

+cammousemove controls allow mouse motion to control chase cam while held down (only works if thirdperson activated)

+camout controls move chase cam out (back) only works if thirdperson activated

+campitchdown controls decrease chase cam pitch (aim down) only works if thirdperson activated

+campitchup controls increase chase cam pitch (aim up) only works if thirdperson activated

+camyawleft controls yaw (tilt) chase cam left (only works if thirdperson activated)

+camyawright controls yaw (tilt) chase cam right (only works if thirdperson activated)

+commandmenu controls open the command menu

+det20 controls set detpack to explode in 20 sec (must hold until it says ok) TFC Demo class only [Flags]

J'ai un fichier de toutes les commandes mais en anglais & suis pas très bon en anglais ;)

Posté(e)
Tu avais oublié de préciser le bind "ALT" "walk_t" mais ça marche !!

MERCI BEAUCOUP !!

ps : j'ai posté le message sur Vossey, CSFusion & ESFrance bah ... Vossey 1er, gg :)

[/quotemsg]

[#ff1c00]Situ pouvais etre un peu plus precis et mettre le bind en entier se serait gentil merci!!! et me dire pk le bind de auto switch souris marche pas pourtant g recopier ce ke tu as mis...[/#ff1c00]

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.