View Single Post
  #3  
Old 09-14-2012, 07:29 AM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

yes it's possible- but it can be frustrating- you really need to learn a little about coding (in my experience- I knew nothing when CoD came out but have had to learn how to cut and paste/write very simple stuff to run campaigns(offline))
http://www.csharp-station.com/Tutorial/CSharp/Lesson01
might be a good start- first 7 chapters will stand you in good stead.

DON'T try doing this with windows notepad- get visual express or at the least notepad++. The ability to see the pairs of brackets is invaluable. This was the thing that really foxed me at first.
The line numbering is also rather useful to see where the error is WHEN you get it wrong. CoD's fmb compiler at lest gives you the line/character where the error lies

Make sure any variables used have been declared- these are the bits usually at top of code
Code:
public class Mission : AMission
{
	 AiAircraft PlayerPlane;
			bool end = false;
			int lnd = 0;
KEEP TRYING it takes a while to begin to see what you should be doing, you've learned to 'read' the code so you are half way there
Reply With Quote