Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: EAD_Agamemnon on September 18, 2006, 07:36:59 pm
-
One of these days I need to get organized. On top of !possible! ideas for a LotR (NO! not that LOTR) campaign for TBP of which I'll need to first understand how to use FRED to even begin to try. Here I am after finding where to get hold of the Source Code. I was under the impression that though it was made public, it was on a ask-first basis, but as it turned out, 3DDownloads had it. Looking at the lines of code, its a wonder how you can make sense out of that mess. Now on to my question about a possible curiosity-project that I now have cooking in my head after downloading the last night. Is there a simple walkthrough or a source of reference to how to adjust the code? Once I see or am shown how to do something, typically it takes no more than 2 and rarely 3 times before I catch on (TS3.2 is attest to that...I just need to make models that dont crash FS2 when they are killed in game). If it's not a burden anyway.
I'm sure some of those on the SCP didnt start out as coders but learned hands-on before, as such I'm willing to take a crack at it. However I don't own any high-dollar compiling or any other fancy utilities which are beyond my budget. Maybe I'm being a little too ambitious, but if I can learn HOW to help...well there you have it.
I'm revising the different parts of the code to get a primitive grasp of how its put together, but I doubt it'll make my figuring things out that much easier at this time. Any thoughts, hints, help?
-
An afterthought. This will be to maybe try some things independently of the SCP, or at least have a copy of the code for the future. Also, I hope I'm not infringing on anything by declaring my plans. I'd like to help if I can and in the process learn so I might try some things for FS2 on my own.
-
What you've got hold of from 3DDownloads is the original source code as released by :v:. It's practically useless for you as far as SCP is concerned because so much has changed between it being released and now. What you should do is follow the guide here (http://www.hard-light.net/forums/index.php/topic,41234.msg842224.html#msg842224) on how to get hold of CVS.
To be honest I don't think the SCP is the best place to start learning though. You'd be better off learning C independantly of the SCP and then applying that knowledge once you have a grasp of the basics.
-
Learning C...I dont mean to sound like a dumb-dumb, but what do you mean by that? C++? Where would I go to learn it.
-
(ANSI) C and C++ are what FS2 was and is programed in
-
Learning C...I dont mean to sound like a dumb-dumb, but what do you mean by that? C++? Where would I go to learn it.
Borrowing one of those Teach your self C++ books from a library would be a good start. That's basically all I did.
-
My next visit to the local library, I'll be sure to check up on one of those.
-
http://www.hard-light.net/wiki/index.php/Coding_In_C