View Single Post
  #10  
Old 09-23-2011, 07:18 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

airwarfare.com kindly offers convenient file storage and we can ask the mods to make a sticky with this link.

1C is the most popular site so far with the most developed subsection structure even compared to excellent simhq (which I learned about upcoming original IL-2 beta from btw ) and Sukhoi.ru which is my favorite site because the devs post there in Russian sometimes.

We can ask mods to make another subsection for sample scripts in this section. However people will want to discuss them. And people will post their requests for new scripts in that section. And people will ask questions about not working triggers, etc. in that section. Thus that section would eventually duplicate this one.

The most interesting samples are the ones that are included inside the missions and campaigns posted here in the FMB section. For instance most of the functionality mentioned above can be found in the 1st stillborn's mission running on Repka #3 and posted here. The best way to learn is to download all the missions from this section and study how they work from the inside. Many scripts have comments in them.

To make step by step instructions even for basic C# operations/methods usable in CloD would be a full-time job for a small team of programmers because there is literally no borders or limits to what can be done. (Don't you want to fly a recon mission and actually report enemy units pos to your bombers for instance? Or ... etc. etc. etc... ?)

IMO the issue is not lack of samples (there are plenty of them posted here) but the fact that it is not enough to just copy-paste them to make them work. Some basic knowledge of C# in needed. In April-May I asked the devs and C# experts to make a script library myself but after reading naryv's samples (reposted here, you should find all of them) ended up buying the shortest book on the subject I could find called "C# beginners' course" which allows to understand how to make various scripts work together. I highly recommend starting with a similar book or a free Internet course and use it as a dictionary while studying stillborn's, naryv's and all other scripts posted here. Samples or even the FMB manual would not help without understanding C# basics unfortunately. ...and visa versa if you understand C# basics than neither samples nor the manual would be needed, just some help and advice on particular issues which can be easily obtained on these forums.

Last edited by Ataros; 09-23-2011 at 07:39 PM.
Reply With Quote