More Scripting Help....
BizZy_9mm_Messiah
Old School Member Join Date: 2003-07-25 Member: 18411Members, Constellation
<div class="IPBDescription">Non-Trolling Topic :)</div> I need help with getting 2 seperate configs binded to two different keys. Like say if I joined aliens, I could load my alien config or if I joined marines I could load my marine config. I have keys binded to joining a team, so if I joined a team, could I get the config to automatically load for that team? How would these binds be made and where would they be made? In my autoexec? Please help me.
Comments
bind F2 "jointeam2; exec alien.cfg"
Put them in userconfig.cfg... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
GET OUT
but make shure you config.cfg is calling userconfig.cfg
like gazOzz said:
bind F1 "jointeam1; exec marine.cfg"
bind F2 "jointeam2; exec alien.cfg"
Put them in userconfig.cfg...
Can someone explain to me why it is that Nemesis always says this? Is it because the post is relevant to the one that was nuked first? If so maybe "Related post" would be a little more clear...
<span style='color:white'>Actually, I was quoting Coils default line. Good point, though.</span>
post 1: fine
post 2: nuked
post 3: about post 1, so fine
post 4: About post 2... It's relevant to post 2 only, and since post 2 is gone... =P
post 5: about post 2, relevant to post 2 only, and since post 2 is gone...
You could create a gigantic metabind that goes something like this in your autoexec:
alias marines "bind r +reload; bind mouse1 +attack; bind e +use; ETC"
alias aliens "more of the same"
And bind those to your special mode-swapping keys. Of course, it's long and really easy to screw up somewhere in there.
bind F2 "jointeam2; exec alien.cfg"
Put them in userconfig.cfg... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
You don't even have to put them in userconfig.cfg, i have this in my regular config.cfg and it works fine:
bind "F1" "jointeamone;exec marine.cfg"
bind "F2" "jointeamtwo;exec alien.cfg"
Just make sure when you made those config files, you saved them as "All Files.." so it doesn't make it a text file called alien.cfg because that won't work.