Jump to content
  • 0
cAke

Class cfg

Question

Hey everyone , i made a cfg simple thing just for class selection , i exec it says exec'ed but doesnt work , any thoughts? 

class.cfg

Share this post


Link to post
Share on other sites

29 answers to this question

Recommended Posts

  • 0

Which mod? Some mods have different numbers for different class. 

Share this post


Link to post
Share on other sites
  • 0

i play on recruiting server , jaymod i guess , also after i exec it i press the binded keys and it says "unknown cmd class"

Share this post


Link to post
Share on other sites
  • 0

and u did /exec class.cfg ??

and ur class.cfg is in ur jaymod folder ??

 

Edited by Leatherface

Share this post


Link to post
Share on other sites
  • 0

no , its on etmain next to the default cfg 😅

 i guess thats my mistake? xD

Share this post


Link to post
Share on other sites
  • 0

Yes.. u need to put it into jaymodfolder 🙂

Share this post


Link to post
Share on other sites
  • 0

Ok gonna test and get back to you

Share this post


Link to post
Share on other sites
  • 0

Hum , did that but its still the same =/ also i did /exec class.cfg , pressed binded keys and still says "unknown cmd class"

Edited by cAke

Share this post


Link to post
Share on other sites
  • 0

i tryed the same with ur cfg, and got same result as u... so dunno whats wrong

Share this post


Link to post
Share on other sites
  • 0

Damn , thats wierd right?

Share this post


Link to post
Share on other sites
  • 0

maybe, maybe not ... must be an logical reason 🙂

Share this post


Link to post
Share on other sites
  • 0

Any thoughts on what shud i do?

Share this post


Link to post
Share on other sites
  • 0

maybe the codes are different for jaymod?

Share this post


Link to post
Share on other sites
  • 0

Try to remove the "cmd" from that cfg.

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, RendeL said:

Try to remove the "cmd" from that cfg.

still not work

Share this post


Link to post
Share on other sites
  • 0

Ah the class command, I could never get that thing to work so I had to work around it in my config. Maybe it just doesn't work on Jaymod.

 

I use the - key to select a team which execs either Allies.cfg or Axis.cfg which have the class select with weapons. Here's what the files look like:

 

In class.cfg:

Quote

bind - "vstr teamtoggle"
set teamb "set teamtoggle vstr teamr;exec scripts/allies.cfg; echo Allies"
set teamr "set teamtoggle vstr teamb;exec scripts/axis.cfg; echo Axis"
set teamtoggle "vstr teamb"

 

In allies.cfg

Quote

bind 8 "vstr medic; play sound/menu/select; echo Medic"
bind 9 "vstr eng1; play sound/menu/filter; echo Engineer"
bind 0 "vstr cov3; play sound/menu/cancel; echo Covert Ops"
set medic "team b 1 8 37"
set eng1 "team b 2 8 37"
set cov3 "team b 4 10 37"

In axis.cfg

Quote

bind 8 "vstr medic; play sound/menu/select; echo Medic"
bind 9 "vstr eng1; play sound/menu/filter; echo Engineer"
bind 0 "vstr cov3; play sound/menu/cancel; echo Covert Ops"
set medic "team r 1 3 38"
set eng1 "team r 2 3 38"
set cov3 "team r 4 10 38"

 

There's probably a much easier way to do what I did but oh well 😛. I sometimes forget it's even there so i'll just manually type in /team b 1 for example.

 

I think Daredevil posted a class selector script a few years ago but I can't seem to find it, maybe that will help you out more than mine does.

 

Edit: Found it

 

Edited by ElEl

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


About Us

We are glad you decided to stop by our website and servers. At Fearless Assassins Gaming Community (=F|A=) we strive to bring you the best gaming experience possible. With helpful admins, custom maps and good server regulars your gaming experience should be grand! We love to have fun by playing online games especially W:ET, Call of Duty Series, Counter Strike: Series, Minecraft, Insurgency, DOI, TF2 & Battlefield Series and if you like to do same then join us! Here, you can make worldwide friends while enjoying the game. Anyone from any race and country speaking any language can join our Discord and gaming servers. We have clan members from US, Canada, Europe, Sri Lanka, India, Japan, Australia, Brazil, UK, Austria, Poland, Finland and many other countries. It doesn't matter how much good you are in the game or how much good English you speak. We believe in making new friends from all over the world. If you want to have fun and want to make new friends join up our gaming servers and our VoIP servers any day and at any time. .

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.