FANDOM


Scripting is a way of using scripts to add functions to Return to Blockland. Scripting in general is very hard, but torque scripting is overall easier than normal. Scripting can get more difficult depending on how complex you want to make something. On this page, you can find tutorials, information, and history for scripting.

Information Edit

RTB may be a fun game, but what makes it better?  SCRIPTS! Weapons, items, vehicles, and more can be made with this process . SpiderNinja is probably the leading player when it comes to Scripting.

Small Tutorials Edit

Please note that these tutorials depend on your version of RTB, this tutorial is for RTB 1.405 and Bac's Pack. Various other versions may work, but haven't been tested yet. The first things you need to know to become a scripter are very simple. Scripting comes in many forms, such as customizing, weapon scripting, code mapping, modifications, and many more. RTB is scripted using Torque Game Engine.

Customizing Edit

Customizing the most simple form of scripting, as it only requires little work, and basic computer knowledge. Customizing is when you edit a file so that you may name it how you want, or change values. This is one of the ways that you can personalize your RTB folder.

The first thing you need to know, is that RTB is made up of a main script that accesses other files. This script is called Main.cs. Main.cs looks for other files such as maps, images, or weapons. Maps are all stored in a single folder called "missions". The missions folder is located in the file path "rtb/data/missions/" This folder contains map files (.mis), saved games (.persistence), terrain files (.ter), and pictures (.jpg, .png, etc.).

To start customizing, a .mis file must be opened with a word program like "Microsoft Office Word", or "Notepad". Once opened, there are many lines of text upon which the game recognizes as a map. If you wish to rename a map, look for text that says: name = "XXXX";. The XXXX is replaced with the name of the map. Change the name in the quotations to anything you want.


Weapon Scripting Edit

1- rape a pig 2- eat a hotdog 3- u are a loser 4- suck ur dick 5- get a life 6- Done 7- wait I did say done?? 8- yes u did 9- oh I didn't knew 10- shut up son of b99999 11- tanks 12- u krazy? 13- eyhhhhh 14- nuberz 15- yehhhhh 16- imu calliung lord Dzhisnit to bn u :D 17- and aim calling lord Wiggy to ban u duz :D 18- U furst I insist Duh 19 - me 2dus brutar 20 - THE END!

Code Mapping Edit

Mapping Edit

Read http://rtb.wikia.com/wiki/Creating_A_Map

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.