![]() The last button in the sidebar leads to the options menu, there there are quite a few options, but just click on the ‘Theme editor’ button and try some of the presets (or go crazy and just try some color combinations yourself, just realize that you are editing that preset, so if you want the preset back you’re going to put in some effort (probably not a lot, but still)). Lets start with the game options, because they are easily found. You are going to run into some bottlenecks while playing this game, and one of them is real life resources all the code you write is actually being run by the game, which means that the more efficient your scripts are the lower the chances that your game starts freezing up/framedropping and the happier your CPU is something to keep in mind.īefore you start writing any code, you may want to consider diving into the options of both the script editor and the game. I’d advise going with NS2 as it isn’t that daunting to write some basic javascript (and by the time you’ll have gotten used to writing scripts you can quite naturally start using more complex javascript (because you won’t have to rewrite all of your existing scripts)).Ī small side-note on NS2 being faster in real life NS2 is pretty much just javascript with an additional layer on top. NS1 is the simplified scripting the game offers, you can do pretty much everything with it that you can do with NS2, but the cost of simplifying the scripting is that the code runs slower (in real life, so in game there is no difference). Now you have to make a choice (not forever, just for now) between NS1 and NS2. There might some things there that you don’t understand, but that’s okay, we’ll get around to it in due time. ![]() Run early-hack-template.script n00dles -t 3 You can do this by using the following command from the terminal: Run the script from your home server to hack n00dles. This script is far from optimal, but it will help you out a lot the first couple of days. I’m a*suming you have the ‘early-hack-template.script’ from the tutorial, but if you don’t you can find both the NS1 and NS2 versions of this script here in the documentation – . So you probably just started playing this game (and hopefully did the tutorial) and now you can start writing some actual code, but before we get to writing any code, let’s set up a couple of things. Think of ways to change/improve scripts by yourself.Write a script to buy (and upgrade) servers.Managing the timing and choice of action centralizedĭo you want to learn to write scripts yourself, but don’t know where to start? I’ll (try to) help you on your way!īy the end of this guide you should be able to:.Buying new servers and upgrading your home server.A small side-note on NS2 being faster in real life.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |