Jump to content

Recommended Posts

Posted

hello First of all ^.^

 

I have a question that has been bothering me for quite some time and it is about the following

I've got used to writing many things in separate cfg's such as:

 

- Name & Vsay Binds
- Graphics
- controls
- tweaks
- Watch a special player die

 

These things are usually set up for me in such a way that I have created these things specifically for each game so that I have several graphics with binds and names cfgs that belong together

I have to load each one individually into the console if I want the setup

I would like to have a kind of load cfg's that load the respective cfgs that belong together with a single one

 

for example like this:

 

load.cfg
/exec name1
/exec Graphics1
/exec binds1
/exec Control1
/exec tweaks1

load2.cfg
/exec name2
/exec Graphics2
/exec binds2
/exec control1
/exec Tweaks2


Now I've found the following problem that I can't do it at all and the respective cfgs in etmain are not loaded, so I wanted to ask if anyone knows how to do it

 

I handle it like this because I also have a kind of test cfg series to make minor adjustments, but I don't want to have the entire build in one and because otherwise I would have too large cfgs

  • Like 1
Posted

You need to put the other cfg's you want them to load, inside a "main" cfg.

 

Example: you /exec load1.cfg, so you put these lines inside it, so it loads the needed cfg's from there:

 

exec name1
exec Graphics1
exec binds1
exec Control1
exec tweaks1

 

And like this you can put your needed cfg's. You can also bind the main cfg's to a key or have a vstr bind that you go through and exec the wanted cfg.

  • 100 1
Posted (edited)

Rendel is on point but don't forget to write exec name.cfg for each one.  Are you trying to run two separate cfg's?

 

If that's the case I'd do it like this...

 

/exec First.cfg  (using console to execute the cfg/cfg's) Then in this "First.cfg" file add these lines below. Make sure the "First.cfg" or whatever you name it, contains just these lines and make sure it and all other cfg's below are also in etmain.

 

Example, in console type /exec First.cfg and that's it.  Everything should load after that if these commands are in the executed file and all in etmain.

 

exec name1.cfg

exec Graphics1.cfg

exec binds1.cfg

exec Control1.cfg

exec tweaks1.cfg

vid_restart

 

Same thing for the second cfg, if that's what you're going for.

 

/exec Second.cfg    //In this Second.cfg add these lines.

 

exec name2.cfg
exec Graphics2.cfg
exec binds2.cfg
exec control1.cfg
exec Tweaks2.cfg

vid_restart

 

If you're having any trouble after that, make sure all files are actually.cfg file types and not just named .cfg.

 

Next issue that could happen, when executing too much at once ET can sometimes mess up so you have to use the "wait" command.  ex. wait 5.  The number is dependent on frame rate. 

 

If this seems like an issue just type out a cfg like this...

 

/exec First.cfg

 

exec name2.cfg

wait 5; exec Graphics2.cfg

wait 5; exec binds2.cfg

wait 5; exec control1.cfg

wait 5; exec Tweaks2.cfg

wait 5; vid_restart

 

Edited by Haruhi Suzumiya
  • Thanks 2
  • 100 1
Posted

thank you so much for replying so quickly.

 

I was thinking too complicated the whole time, laugh

great 😄

 

 

I thank

  • Like 1

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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.

×
×
  • Create New...

Important Information

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