| |
| | Home | | Add-On Repo | |
Title: | Draw Distance Keybind | Summary: | That thing where you can quickly change your Draw Distance. | Author: | Darren | Submitted By: | HansonBot | Date Submitted: | Mon Feb 27, 2012 7:52 pm | Description: | Description I was on Glass' Trench server which holds many bricks. I decided to lower my Max Draw Distance due to all my graphic card holding around 30k of unneeded dirt bricks. That gave me my first sexy idea to put together my first proper script. As you guys are assuming that you do not need this due to having like a sexy speedy computer, this script would be very handy for the community within this game, having a cheap graphics card(or in my case, not enough power going to my graphic card :-|).
For the people who do not understand what I mean, look at the pictures below.
As you can see, this shortens the distance you can see, but yet it does not render every single brick infront of you. Reducing the usage on your graphics card.
Q&A Q: But you can just slide toggle this through the Advance Options? A: Yes, you can. But this would be much more convenient for big TDM's or Trench Wars (and more...).
Q:I have looked inside this code, and I can see many problems which are not solved. A:Yes, I know. I will be working on them soon.
Q: My copy of the "Draw Distance Keybinds" do not work. Help?!?!!1one1!!!11eleven. A: Make sure you have Automatic Draw Distance Adjustment unticked within the Advance Options area. Automatic Draw Distance adjustment does not do anything apart from adjust when you are out of the Blockland window or optimize for your spec of your machine. I am not sure about this. Feel free to help me with this. If anybody has a fix or anything to disable it when a function is used, or just to give me the code to disable it via scripting, it'd be amazing.
Q: Why such a big topic for 57 lines of code? A: I actually do not know. But I feel this would be useful to people with less powerful machines.
Q: This add-on is a pile of shit, worthless thread. A: (No reply.)
How this works Right, basically set your keys within the Options and you should scroll down to the bottom of your controls
And then it works.
Inside the script, you have a option to change the interval of which it decreases or increases, the code is here which you can put into the console to change. The variable is not yet saved. I shall add in the next update. (Or if you want to be lazy like me, just type into the console Code:DistanceValue(VALUE);. The VALUE can be raised but can not go over 500. The console will echo you a message if you do intervene.
So far, it is not as userfriendly as I can make it. I shall update it in future versions.
Credits Lugnut: Giving me the prefs which would make this script work. Danny Boy: Pointing out nooblet mistakes within my coding. TomTom: Fixing the keybind when it does the function twice upon clicking it in and releasing it. Others: Helping me script.
User Requests it's as empty as a hobo's trash can. Notes This is not much of an add-on. But it can be very useful in different cases. Enjoy!
Any problems? Report to me by RTBc/PM/postit:3 | |
Supported Games: | Blockland v20, Blockland Rebuilt | Version: | v1 | Filesize: | 1.20 kB | Filename: | Client_DistanceKeybind.zip | Total Downloads: | 0 | Ratings: | | |
| This file has been approved by our moderators. This means it appears to be safe to use. | | | | | |
|