View Single Post
  #4  
Old 06-22-2012, 09:15 AM
Blackdog_kt Blackdog_kt is offline
Approved Member
 
Join Date: Jan 2008
Posts: 2,715
Default

Thanks for the suggestions everyone.

Quote:
Originally Posted by FG28_Kodiak View Post
The best way to learn a programming language is to use it
True. I also got to reading the official documentation on MSDN.

The thing is that i'm in a spot where i know some things and foundation techniques that hold for most if not all OOP languages. For example, i had to create a card game for an assignment (we use Java in uni), so i'm familiar with modelling/extending classes properly, using control structures/statements, making a GUI with the built-in libraries and connecting it with the game state, exception handling, etc.

This brings me to a spot where i know how to do most of what i want to do, but having to translate it to another language: a matter of syntax and the specific language peculiarities.

For example, i see that C# can automatically create get/set methods, etc.
It's the small things like that which will be different.

I think i will start with the resources on MSDN and work in parallel with the links you guys gave me.

Also, i have one more question. When coding for a standalone program, i can just use the Visual Studio IDE to test and debug/execute, while following the language conventions.

But what are the conventions for using the code inside CoD? I always see people starting with a class declaration that is the same in all scripts, i think it's:

public class Mission : AMission

I assume the : symbol means extending a class, right?

Plus, is this a limitation of the public interface we're given by CoD? I assume the filename and class name have to match the name of the FMB-created mission and the class has to extend AMission (which is given to us by CoD), so that it inherits all the properties/methods we need. Am i correct?
Reply With Quote