//flex table opened by JP

Click to See Complete Forum and Search --> : Anyone whos familiar with alias in Q2


AuraEdge
05-28-1999, 08:21 PM
Q2 command lines (shift= zoom in)
----------------------------------
alias +aim "fov 30; sensitivity 4"

alias -aim "fov 90;wait;wait;wait;wait;wait;wait;wait;wait;wait;wa it; sensitivity 8"

bind shift "+aim"
----------------------------
This line of commands work, but when I quit q2 and go back into it, It sayd "unknown command "+aim"", and when I release, it said "unknown command "-aim""
Its like It doesnr retain alias after quiting. Ive tryed all mods (RA2, CTF 1.5, base) How come It doesnt save aliases?

MikeTheTV
05-28-1999, 11:32 PM
Those *.cfg files are in the baseq2 dir.

BBA
05-29-1999, 12:08 AM
Teh syntax lines are in your autoexec.cfg file in baseq2 right?

Q2 is funny about saving config files. If you play only in teh basic game dir, not playing a mod at all, then put in the command lines, it "might" save it!

It is funny but everytime you play a mod, it creates a new config.cfg in the mod's directory, and these cfg's will overwrite the settings in the games directory.

I usually delete any config.cfg in any directory other than baseq2 when making system changes. This way, the new config cfg created in the 'mods' directory is the same as the one in baseq2 when its created.

You can also type in "exec autoexec.cfg" from the console even while playing to fix it at the last moment!

BBA

AuraEdge
05-29-1999, 02:09 AM
Q2 Autoexec.cfg
---------------------------
set s_primary "0"
set s_mixahead ".14"
set cl_predict "1"
set gun_z "3"
set gun_x "-3"
set gun_y "0"
set cl_particles "1"
set gl_dynamic "0"
set gl_polyblend "0"
set gl_playermip "2"
set gl_keeptjunctions "0"
set gl_flashblend "0"
set gl_ext_swapinterval "1"
set gl_swapinterval "0"
set gl_ztrick "1"
set cd_nocd "1"
set in_mouse "1"
set in_joystick "0"
set in_initjoy "0"
alias +aim "fov 30; sensitivity 4"
alias -aim "fov 90;wait;wait;wait;wait;wait;wait;wait;wait;wait;wa it; sensitivity 8"
-------------------------------
It still doesnt save aliases. Am I doin it wrong? I was playin mod CTF, does that matter?

BBA
05-29-1999, 03:08 AM
It should work. My zoom alias is a little different, nothing major.

I dont have any 'set' commands in mine and my alias is somewhere at the top of the list. Heres mine:set run_roll 0
set run_pitch 0
set bob_up 0
set bob_pitch 0
bind joy1 "+attack"
bind joy2 "+aim"
bind joy3 "+moveup"
bind joy4 "+movedown"
bind aux5 "weapnext"
bind aux29 "+zoom"
bind aux31 "+wide"
bind f "wave 0"
bind s "wave 1"
bind n "wave 2"
bind w "wave 3"
bind p "wave 4"
bind F6 "screenshot"
bind f12 "observe"
bind backspace "ctfmenu"
bind space "use super shotgun"
bind f11 team red
bind f10 team blue
bind d "drop tech"
bind q "use power shield;;use power screen"
bind mouse3 use chaingun
bind mouse2 +hook
bind mouse1 "bweap"
bind mwheelup use railgun
bind mwheeldown use grenade launcher

alias bweap "-aim;use chaingun;use rocket launcher; bind mouse1 bweap2"
alias bweap2 "-aim;use hyperblaster; use rocket launcher; bind mouse1 bweap3"
alias bweap3 "-aim;use rocket launcher; wait; bind mouse1 bweap"
set allow_download "1"
set allow_download_players "0"
set allow_download_models "1"
set allow_download_sounds "1"
set allow_download_maps "1"
alias +wide "set fov 120"
alias -wide "set fov 90"
alias +aim "set fov 40;set joy_yawsensitivity -.75"
alias -aim "set fov 90;set joy_yawsensitivity -1"
m_yaw -.0015
m_pitch -.02
cd_nocd 1
cl_upspeed 800
cl_sidespeed 250
cl_pitchspeed 90
cl_yawspeed 180
cl_particles 1
cl_maxfps 65
gl_modulate 1.8
gl_ztrick 1
gl_round_down 1
gl_polyblend 0
gl_shadows 0
gl_mode 6
in_joystick 1
joy_name "Sidewinder 3d Pro"
joy_advanced 161
joy_advaxisy 161
joy_advaxisx 164
joy_advaxisr 163
joy_advaxisz 162
joy_sidesensitivity -1.5
joy_pitchsensitivity -.3
joy_yawsensitivity -1.2
joy_forwardsensitivity -1.5
joy_forwardthreshold .2
joy_sidethreshold .2
joy_yawthreshold .18
joy_advancedupdate
intensity 1.8
m_filter 1

Of course I use the joystick and mouse together.

BBA

AuraEdge
05-29-1999, 02:55 PM
Is that the config.cfg file or the autoexec.cfg file?