Jump to content

Home

worked out how to define saber color for sp levels


patchx

Recommended Posts

if anyone wants to know u need to make a text file and write;

 

bind 1 "weapon 1;devmapall;sabercolor red"

 

replacing red with whatever color u want

 

then name it autoexec.cfg and put it into the pk3 that your sp levels

 

this will change the sp saber to whatever u want but when the player stops playing ur level unless they go and change their jkconfig.cfg file to remove that line (which gets put into their joconfig.cfg file when it gets executed automatically) they will always have that color in sp

 

kinda ok... isnt it ?

 

-patch

Link to comment
Share on other sites

yeah i know and even after they take the pk3 file out of their base directory the line will have been added to their joconfig.cfg file i think

 

but still... u can just say that in the readme with instructions on how to change it back

 

that what im gonna do unless a better solution becomes known

 

-patch

Link to comment
Share on other sites

ok, i know this is a total newb question, but where exactly do autoexec.cfg's need to be in order to be automatically executed at game startup? i've tried it, and mine never automatically execute...i still have to exec them from the console.

 

anyway, i thought of that solution to the SP saber color problem, but it didn't seem totally appealing to me because of the player having to go back and edit their jk2config.cfg file to change the saber color back.

 

Jeff Dischler and M Gummelt sent me the same emails that they sent to AKPiggott about the ability to stuff a console command in a script being removed, which obviously shot my attempts at scripting it in (we must have been asking the same thing at the same time..heh).

 

there's one other way i can think of that would actually be perfect. however, i messed with it for a couple of hours and it never worked, but here's what i was thinking: create a new shortcut to JK2sp.exe and add "+exec myconfig.cfg" at the end of the command line (without quotes). i figured since you can exec configs in the jk2mp.exe command line, you should be able to with the JK2sp.exe. however, this is wrong. i tried all kinds of combinations (+exec, -exec, exec, naming the file autoexec.cfg, etc.), and none of them worked. i thought this would be perfect because then you could have a shortcut to your SP level and it would exec whatever configs you wanted, and they would only be in effect for that game. if this is old news or already been suggested, i apologize for the redundancy.

 

Irimi-Ai

 

*edit* there's already an email sent to JD and MG about this, i'll let you know what i hear on monday morning.

Link to comment
Share on other sites

the autoexec.cfg would go straight in ur base directory

 

i thought of maybe including another deistallation autoexec.cfg in the download pack (but not in the pk3) that the user could put in his base directory when hes finished with the user made sp level and would turn the edited line in the JOconfig.cfg file back to normal

 

 

after the first time of it being executed (after he next plays JO) it could be removed and would have automatically reverted their configs the way they were

 

-patch

Link to comment
Share on other sites

ummmm

 

really?

 

thats wierd

 

there should be only one autoexec.cfg file that u make urself

with the line;

 

bind 1 "weapon 1;devmapall;sabercolor red"

 

in it and thats all

it just adds that line automatically to the players JOconfig.cfg file

is that what you've got?

 

-patch

Link to comment
Share on other sites

well, i've got different commands/options in mine, but yeah...it's the same thing pretty much. i mean, i know how to make configs (i'm not that much a newb :) ). i have all sorts of configs (but only one autoexec), i just have to exec them from the console all the time because the autoexec never automatically loads. it's actually really frustrating, especially because it works for everyone else but me, apparently.

 

Irimi-Ai

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...