Author Topic: Where do i start learning to code for blockland?  (Read 2918 times)

I just took apart the wrench command... somewhat learned how it worked... made instead of giving me a wrench, a hammer. Where do i go now?!?

Well, it's a good idea to know how if statements and for/while loops work. You also need to know how to make functions and use variables. Past that, find something you want to do, and figure out what you need to learn in order to do it.

Cool thx man. Where would i learn this lol? Do you use notepad or a scripting program?
« Last Edit: June 08, 2010, 01:06:41 PM by tyler0 »


No...You can just use notepad.

But notepad++ has syntax highlighting :3
And also makes the beginning and end of {} blocks easier to see.

As soon as i change a fille extension to .cs, it automatically opens with C#. And that works fine.

Oh I think I should add, I wouldn't start with weapons or vehicles. To make those, most of the time you're just creating datablocks and changing some values, that doesn't teach you logic. If you want to make big systems such as RTB, gamemodes or AI, you need to have good logic.

Someone posted a link to a nice guide on TorqueScript, it might be a good read http://forum.blockland.us/index.php?topic=113372.0

There are also stickied topics in this forum with some possibly useful functions.

Make a simple server side calculator. It should be able to toggle between all player and admin only.

Oh, and don't release your first mods.

Thanks Nitra, thats mine :P


First, open up the gun script and figure out how to turn it blue. That is a good place to start. After this, open up any script and try to make it do what you want. Good luck.

When i edited it, i made it blue, have star instead of smoke, and be incredibly accurate. First day. Not that tricky.

When i edited it, i made it blue, have star instead of smoke, and be incredibly accurate. First day. Not that tricky.

I'm assuming that he's a begginer, so he should start simple.

um...that was first script i did...i just looked for obvious words like "emmiter" or "colorshift", and stuff like that.