Handy Binds Thread - NEWEST, Lag script explained + extras!

k4far

Banned
Donator
Posts
866
Likes
774
INTRODUCTION...​
Having a keyboard of insignificant size and no additional buttons on Your mouse. It is pretty bothersome... what if You would like to have everything in an easily accesible place. So, when the time comes You are not wasting time looking for it. It must be annoying being killed just because of the time lost by looking for that one power / ability You wanted to use at just right moment. Hence...





Binding multiple separately used weapons, powers and abilities on to a single button:
Code:
/bind <key> "+force_lightning; +force_grip; force_distract; force_speed; weapon 10"

Used separately yet, commonly (Lightning, Grip, Mind Trick, Speed, Granade) under one single button. The end of panicking and wasting time.


Get all of the weapons under first 4 numeric buttons. Rocket Launcher and Sniper Rifles to 4 and all other guns like Bowcaster, E11, Clone Rifle to 3, Pistol like to 2, Lightsaber and Fists under 1.


Code:
/bind 1 "weapon 1"
/bind 2 "weapon 2"
/bind 3 "weapon 3; weapon 5; weapon 6"
/bind 4 "weapon 4; weapon 9"








Special moves:
Saber, force & melee"]FORCE:
Speed Lunge
Code:
/bind <key> "+forward;  force_speed; +moveup"
│ Player will dash forward at high speed.

Requires Jump 3 and Speed 2, having Speed 3 allows You to swing Your sword. Cost of this move is currently 35 Force Points it is being plotted the Developers might change the energy used for it from Force Points (blue points) to Block Points (red points). No idea if it will still drain the Force Points for activating Force Speed.




MELEE:
Forward Air Kick
Code:
/bind <key> "+use; +forward; +altattack"
│ Perform a jump forward pushing or even knocking down Your target. Useful for moving people... blocking corridors.

Requires melee level 2 as a Soldier class. Other classes capable of doing swifty moves do not have to worry about it. SBD and Droideka are excluded. During cooldown it will server as kicking button. As a Jedi/Sith You can not have the saber in hand for it to work.



SWORD:
Saber Extended Forward Air Kick
Code:
/bind <key> "+use; +forward; +button14"
│ Perform a jump without switching to melee push or even knock-down Your target. Useful for clearing pathways.

The main difference between: Forward Air Kick and Saber Extended (...) is the need to have the sword extended - not just in hand! During a cooldown it will work as button for walking forward. I highly do not recommend binding it as a whole.










When it comes to, settings.
Most of the variables can take only two values: "0" and "1". In such cases you may use the word "toggle" between them to change the current state to the other.

Let us explain the purpose of certain words:

  • ping (if you are familiar with disabled for 'malicious reasons'.
  • wait is used to wait given ammount of miliseconds
  • seta is used to give values to variables permanently. You can as well use /<command> and game will remember it anyway.
  • set is used to give values to variables for the short time (untill you shut the game down).
  • semicolon ; - used to separate commands.


Idea is fairly simple. You bind two values for cl_maxfps and switch between them quickly. If they are people constantly abusing it while you are trying to snipe them to mess your accuracy compiling it out entire cvar would solve the problem...

│ Quick solution: It can be patched by setting the lowest value not to exceed 30.
Code:
/bind <key> toggle cg_teamchatsonly
│ For turning all messages visible on left side except for team.
Code:
/bind <key> toggle cg_disableChatSound
│ Turn off chat sounds.
Code:
/cg_chatbox <value>
│ If You have a sudden urge for hiding the chat entirely set it to 0, if you want to extend the time you can see the messages go beyond 12000 (default) it's in milliseconds.
Code:
/bind <key> toggle cg_disablechatsound
| Disable sound that plays everytime new message is sent.
Code:
/bind <key> toggle  cg_drawRadar
│ Hide the map visible in right top corner. You can still use the one under "M" button.
Code:
/bind <key> toggle cg_showmiss
│ Everytime you miss to hit an enemy you are going to get 'prediction error' notification.
Code:
r_we clear
| Get rid of annoying rain on Kamino for example. Improve your FPS or other reasons...
Code:
/bind <key> toggle cl_freelook
│ For locking the crosshair at the height of average head. On tight space it might allow to score a lot of headshots without breaking a sweat. It is not easy to use, unless with a Pistol or...
Code:
/bind <key> centerview
│ It will move Your crosshair to default position.
Code:
/bind <key> +mlook
│ If You want to move Your crosshair for a moment.
Code:
/bind <key> "saberattackcycle; +altattack; +attack; -altattack; saberattackcycle"
│ It will let You use the alt fire from EE-3... with no time loss from scoping.
Code:
/bind <key> "force_throw; force_pull; +moveup"
│ Until jumping after pushing / pulling goes without thinking (you can remove one of powers and replace basic F1 or F2 binds. Visible above is for both powers not played together.



Cheers to @LoU, @Helix, @Nightshades
I will be adding more and frequently.
 
Last edited:
Upvote 1
Posts
7
Likes
1
I tried:
Code:
bind mouse5 "force_pull; ability1; force_speed; +force_lightning; force_distract"
but it doesn't work. Even shortening it to two commands doesn't help. Any ideas?
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
You are claiming it is so easy. A talented Person such as Yourself should easily come up with something that will be useful to everybody. We are waiting, go on.
Thats my point, I hardly know anything about coding yet even I could do the script. I am not claiming that scripting is easy in general, but quickscope script is as easy as they come. It took me a minute to understand how it is done after lervish couple years back told me the very basics of how scripts work in JKA, and my knowledge of coding comes from a course of microsoft excel in school.

Anyways, I was under the impression that scripting is disabled in mb2?
 
Posts
22
Likes
15
Anyways, I was under the impression that scripting is disabled in mb2

Little scripting within the game is cool. Injecting dll. should be panalized with dismantement of the main unit.

Do not oil yourself any further.

I tried:
Code:
bind mouse5 "force_pull; ability1; force_speed; +force_lightning; force_distract"
but it doesn't work. Even shortening it to two commands doesn't help. Any ideas?

What is this for?
 

k4far

Banned
Donator
Posts
866
Likes
774
Try this,
Code:
/bind mouse5 " force_speed; +force_lightning; force_distract; force_pull; ability1 "

Keep in mind, ability1; is for full authentic mode only, everything else is working just fine.
 
Posts
494
Likes
345
The quickscope one is buggy... I can't turn if off and am now stuck in left click, and Im attacking endlessly
 
Last edited:

Lessen

pew pew
Movie Battles II Team
Posts
1,251
Likes
995
Try this,
Code:
/bind mouse5 " force_speed; +force_lightning; force_distract; force_pull; ability1 "

Keep in mind, ability1; is for full authentic mode only, everything else is working just fine.
Pretty sure ability1 is also used for Hero Quick-throw, actually. (Take that, 1.5-month old post!)
 
Posts
494
Likes
345
Half of this shit is either buggy, doesn't work ,or just glitches. The toggle cg_chat is bugged, and no matter what I do I can no longer reactivate it, so.

Delete this fucking thread
 

k4far

Banned
Donator
Posts
866
Likes
774
New additions:
ᅠᅠᅠᅠᅠᅠ
ᅠᅠᅠᅠᅠᅠ1. Full in game maplist, (simply write 'map' in the console, press your spacebar once and then tab button to see in-game maps in a form of list.)
ᅠᅠᅠᅠᅠᅠ2. List of commands you can look up yourself in the game '/cvarlist', (If you are looking for some command you should find it there!)
ᅠᅠᅠᅠᅠᅠ3. My personal favorite '/soundlist' (useful to look up the sounds that are currently loaded you can easily locate them.)
ᅠᅠᅠᅠᅠᅠ4. For everybody interested in modding '/shaderlist'.

+ base for a lagscript,
+ cg_autoswitch <number> variable. It allows you to decide which weapon comes next if you run out of ammo. Imagine you are a gunner in an intense exchange of fire and you suddenly run out of ammo. Game would normally send you to melee but with this command you can input a different number and have it change to secondary arm like pistol instead.

Some extra commands to customize the interface to Your needs!




 
Posts
341
Likes
184
Wow much salt in this thread.

I think scripting is fine as long as it isnt cheap BS like the quickscope thing. The people that think it's fair because everyone can use it doesn't get the idea that everyone can download and use hacks too, but it's common knowledge that if you do you're an asshole.. Using scripts to gain an advantage over people is when the problem starts. I think that when people take hundreds of hours to get good at something and are rewarded for that, it should stay that way, and not having people who do it by just the press of a button.
 
Posts
386
Likes
455
The difference is that hacks give you an unfair advantage - scripting is not cheating nor should it be viewed as unsportsmanlike. It does not remove the player factor of skill in situational awareness, map knowledge or tracking. Quickscope scripts will not give you that much of an edge, you can already RMB then LMB almost instantly without any requirement for precise timing as there's no window within which you have to fire after scoping so you can fire almost instantly to quickscope without needing to automate it, but those that do choose to automate it are likely doing it to save on button presses as a convenience.

I mean I saw some players running around in-game today who had a script to automate a spin into nade throw so they can throw a grenade behind them after dashing as a hero in order to launch themselves up angled edges and onto objects. It adds a lot of skill depth to the class and gives it a new dimension of mobility even if you automate it.

If there are scripts which exploit timing such as bugging out reload timers or something, yeah - fix those, but automation scripts to simply perform a complicated action with one press? fair game - absolutely. There's nothing someone can do with scripts that will give them such an edge that the better player won't almost always win in a fair one on one. For the record, I only use one script and that is a script to automate grabs/kata as posted above, simply as a convenience.

I don't disagree that it does take away from the learning experience if you automate certain things, as you may not understand that you can cancel certain animations or mess with certain things in a quirky way due to never having to experience them once you automate the whole thing, such as arc lunge into uppercut or arc lunge into block, automating it into a crouchroll or getup would remove that factor for example.

But that's where personal preference comes in, you don't have to automate anything if you don't want to and it doesn't give you such an edge that you should feel pressured to, it is mostly a convenience choice.
 
Last edited:
Posts
2
Likes
0
I feel bad about necroing this thread but I want to be able to toggle running in this mod. I tried to use /bind <key> toggle +speed but it's not working. Can anyone please help?
 
Posts
11
Likes
3
Fyi, extended saber flying kick screwed my controls. I did it without reading his warning under it and I was endlessly running forward and slapping and kicking, couldn't unbind it for some reason so now I'm trying to figure out how to delete my config and rebind everything now
 

Gargos

Donator
Movie Battles II Team
Posts
574
Likes
1,189
Fyi, extended saber flying kick screwed my controls. I did it without reading his warning under it and I was endlessly running forward and slapping and kicking, couldn't unbind it for some reason so now I'm trying to figure out how to delete my config and rebind everything now
Lol deserved :-D
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
I'm trying to figure out how to delete my config and rebind everything now
There is literally ton of information about configs & unbinding, both on the Internet and on these very forums. You probably would spend less time for searching it (if you actually tried to find some info) than you did creating this thread.

Anyhow, to unbind all keys:
Open game console by pressing Shift + ~ (aka Shift + `), then type
Code:
unbindall

Configs are stored by these paths, depending on an engine (JAMP or MBII Client) you use:
Jedi Academy\GameData\MBII\jampconfig.cfg
Jedi Academy\GameData\MBII\openjk.cfg
My Documents\My Games\OpenJK\MBII\openjk.cfg
They have simple, self-describing text format. It's not necessary to delete them, they can be edited easily.
 
Top