Author Topic: How do I get started coding?  (Read 733 times)

Hi, everyone. I want to write an add-on for Blockland that is slightly similar to CityRP. I know some basic C# and hardly any TorqueScript. Where do I start? Does anyone have any suggestions of resources? Does anyone know of any good tutorials? Thanks --Mint (formerly Pikser)

first you have to buy Cod 4 proceed COD,ing

im sorry i have no idea

C# has nothing to do with Blockland, so that won't help you except for giving some experience with programming.

Anyways, If you know 'hardly any' I don't think you'd be ready, and since I've never done anything as big as an RP, I won't be able to offer much help.
Just keep doing what most people do to learn - look at other scripts, make small changes write small scripts, figure out the problems, if any, and use resources such as websites, ::dump, and trace to figure some things out.
« Last Edit: June 25, 2010, 02:22:42 PM by Headcrab Zombie »

Best way to start on any scripting language is to look at others work first. Base your own off theirs and eventually you can do it all by yourself.

C# has nothing to do with Blockland, so that won't help you except for giving some experience with programming.

Anyways, If you know 'hardly any' I don't think you'd be ready, and since I've never done anything as big as an RP, I won't be able to offer much help.
Just keep doing what most people do to learn - look at other scripts, make small changes write small scripts, figure out the problems, if any, and use resources such as websites, ::dump, and trace to figure some things out.

I thought that TorqueScript is just a collection of C# functions.

I thought that TorqueScript is just a collection of C# functions.
No. Torque was written in C++. It's a similar syntax to C# but not extremely similar. It's safe to say it's its own language, and you have to learn all (or at least most) of the functions before you can do anything that big. I would suggest looking over smaller scripts (not weapons) to get you some familiarity with the language.

No. Torque was written in C++. It's a similar syntax to C# but not extremely similar. It's safe to say it's its own language, and you have to learn all (or at least most) of the functions before you can do anything that big. I would suggest looking over smaller scripts (not weapons) to get you some familiarity with the language.
This.
A weapon that does more than just shoot and do damage to what it hits would be useful for some references.
A weapon that just shoots and does damage is just editting values and you won't gain much experience from that.