UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Config Modification

broken avatar :(
Created 8 years ago
by wundrweapon
0 Members and 1 Guest are viewing this topic.
2,550 views
broken avatar :(
×
broken avatar :(
Location: usSike! You thought!
Date Registered: 22 February 2015
Last active: 3 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Gen VI Breeding Expert
×
wundrweapon's Groups
I know there's a way to change the config.cfg file to run commands at the push of a keybind, but how? And at that, how do you assign a keybind to more than one command?
Specifically, I want to assign F6 to sv_cheats 1, cg_fov 90, and god so that when I just wanna derp around for a while, I don't need to devmap and type the cheats myself

Call me out for cheating if you must, but that doesn't solve the problem.
~wundr
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
bind KEY cmd;cmd2;cmd3

For F6

bind F6 sv_cheats 1;cg_fov 90

Or you can use T4M if you want access to cg_fov dvars w/o having to be in dev/cheat.

Edit: If you're setting it from the config just make sure to put the commands in quotation marks (i.e. bind F6 "cmd;cmd2").
The above statements were for console execution.
Last Edit: November 01, 2015, 11:34:51 pm by DidUknowiPwn
broken avatar :(
×
broken avatar :(
Location: usSike! You thought!
Date Registered: 22 February 2015
Last active: 3 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Gen VI Breeding Expert
×
wundrweapon's Groups
bind KEY cmd;cmd2;cmd3

For F6

bind F6 sv_cheats 1;cg_fov 90

Or you can use T4M if you want access to cg_fov dvars w/o having to be in dev/cheat.

Edit: If you're setting it from the config just make sure to put the commands in quotation marks (i.e. bind F6 "cmd;cmd2").
The above statements were for console execution.

thanks! maybe I'll try T4M? For now config works
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
thanks! maybe I'll try T4M? For now config works
Cool, mark the topic as resolved and select the "best answer".

Here's T4M if you were interested http://ugx-mods.com/forum/index.php/topic,8092.0.html
broken avatar :(
×
broken avatar :(
Location: usSike! You thought!
Date Registered: 22 February 2015
Last active: 3 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Gen VI Breeding Expert
×
wundrweapon's Groups
never mind, that didn't work. I have one line in the file as:
bind F6 "sv_cheats 1;cg_fov 90"
and it doesn't work. perhaps I have the wrong file? what's the correct one?

EDIT: i'm gonna use T4M for what it is and being able to un-cheatlock the FoV commands, but that to me is a quick fix. I need to be able to enable sv_cheats witha keybind, so I'm still looking for an answer to that
Last Edit: November 02, 2015, 01:44:48 am by wundrweapon
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
never mind, that didn't work. I have one line in the file as:
bind F6 "sv_cheats 1;cg_fov 90"
and it doesn't work. perhaps I have the wrong file? what's the correct one?

EDIT: i'm gonna use T4M for what it is and being able to un-cheatlock the FoV commands, but that to me is a quick fix. I need to be able to enable sv_cheats witha keybind, so I'm still looking for an answer to that
Once cheats is on you have to restart the map in order for the commands to be unblocked.
Marked as best answer by wundrweapon 8 years ago
broken avatar :(
×
broken avatar :(
Location: usSike! You thought!
Date Registered: 22 February 2015
Last active: 3 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Gen VI Breeding Expert
×
wundrweapon's Groups
Once cheats is on you have to restart the map in order for the commands to be unblocked.

That doesnt make since. I had this working a few months ago before my controls needed a resst, and that wasnt the case.

Double Post Merge: November 02, 2015, 08:37:34 pm
I dun it!

So fortunately, I guess I gave the line to my friend a while back and he got it to me. What we were missing is an odd little phrase that does the work. This line of code should do the trick:
Code Snippet
Plaintext
bind F6 "selectstringtableentryindvar x x sv_cheats 1;cg_fov 90"

That will set sv_cheats to true and cg_fov to 90. If you want to add more things to the same line, just ike DidUknowiPwn said, separate them with semi-colons and no spaces

Have a nice day, m8z!
Last Edit: November 02, 2015, 08:37:34 pm by wundrweapon

 
Loading ...