Jump to content

Home

Is there anything like autoexec.cfg in JK2


Darth Xviar

Recommended Posts

Guest HertogJan

Whats wrong with my autoexec.cfg. I made a change model script, but it doesn't work :(

 

 

seta chmodel chmodel1

seta chmodel1 "model reborn/red; seta chmodel chmodel2"

seta chmodel2 "model reborn/forceuser; seta chmodel cdmodel3"

seta chmodel3 "model reborn/acrobat; seta chmodel chmodel4"

seta chmodel4 "model reborn/fencer; seta chmodel chmodel5"

seta chmodel5 "model reborn/red; seta chmodel chmodel6"

seta chmodel6 "model reborn/blue; seta chmodel chmodel7"

seta chmodel7 "model reborn/boss; seta chmodel chmodel1"

 

 

 

And this is a status script, which shows you wour framerate and the lagometer...

 

 

seta lagom lagomon

seta lagomon "cg_lagometer 1; cg_drawfps 1; seta lagom lagomoff"

seta lagomoff "cg_lagometer 0; cg_drawfps 0; seta lagom lagomon"

 

 

Why doesn't it work? I like scripting in Counter-Strike, but this SUCKS!

Link to comment
Share on other sites

I use "set" NOT "seta". I'm not sure what the difference is.

Otherwise it looks like it should work.

You need to use the "vstr" command to execute aliases in the Q3 engine.

Example: /bind x "vstr chmodel"

 

Here's a sample config to change your saber color in MP.

 

bind c "vstr colorRE"

set colorRE "color1 0;bind c vstr colorOR"

set colorOR "color1 1;bind c vstr colorYE"

set colorYE "color1 2;bind c vstr colorGR"

set colorGR "color1 3;bind c vstr colorBL"

set colorBL "color1 4;bind c vstr colorPU"

set colorPU "color1 5;bind c vstr colorRE"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...