PDA

View Full Version : Coding



Vox Clamantis
18-03-2005, 10:03
Ok, Keshire threw down the gauntlet.

I thought that perhaps I wouldn't be the only one offended enough to do something about it, so rather than PMing Renegade and Cerb I'm creating a thread, so that anybody else who's interested can find the information.

Specifically, I would like to know what programs I need, what languages I'll need to learn (or not, since I already know half a dozen), and where to find any other information or resources pertinent to coding/recoding JA.

Thanks in advance. :D

~Gabriel

Keshire
18-03-2005, 10:13
Sweet!

Download the JKA source for one.

It's also a good idea to poke around at www.mt-wudan.com

RenegadeOfPhunk
18-03-2005, 10:40
QIII / JKA code is written in C. So to get into serious code modding for JKA / MBII, you'd need to know that language 'well'. Although saying that, as long as your resourceful, able to think logically and have a bit of nounce about you (and you make use of your good freind 'find in files' ;) ), you should be able to make a lot of alterations without really knowing C that well at all!

...our friend Cerb is living proof of that!

Although obviously once you start to a certain level of complexity you will need to get more and more to grips with the C language.

Your first big challenge, after getting the source code downloaded will be to get it compiled and running! I use Visual Studio, but that costs money! (usually ;) ) There are free compilers avaliable, but I'm not immediately familiar with them. If I get a chance I'll look around for you, but pretty much any C compiler should do the job. THe only problem then will be you'll need to configure the compiler to work with the JKA code, which will be a task in itself.
...the advantage with using Visual Studio is that the downloaded code is already set up to compile with it.


...also, here's the site I got started with. It's for QIII, but pretty much all of the tutorials can be applicable to JKA, if you use a bit of common sense...
http://www.planetquake.com/code3arena/
..of course if you do intend to run through the tutorials on that site, and you have an old QIII disc lying around, then by all means go through them on QIII rather than JKA. Dont' worry, most of the knowledge you'd gain working with QIII will be directly transferable to JKA.

Vox Clamantis
18-03-2005, 11:36
May the hair on your toes never grow less.

This really isn't so different from the modding I've done with other games. To be honest, C is something I haven't used in years, but I spent enough time dickering around with it that this shouldn't be too bad.

I'm not sure where to get the JKA source, though. None of the sites you two referenced seemed to have that available, although the Wudan one does have the source posted on the web in little chunks...

Incidentally, after looking at the code for JKA I just realized how you guys (Ren mostly, I guess) must have mixed and matched to get the mod running. My respect for how cleanly MB runs has just taken a quantum leap.

~Gabriel

Keshire
18-03-2005, 11:42
www.lucasfiles.com :)

never overlook the obvious

http://www.lucasfiles.com/?s=&action=file&id=369

Also, you'll want to visit the OJP forums since its an open source codebase that MB has dipped into for several things.

Keshire
18-03-2005, 11:47
Also, before I got Visual Studio I used this for school projects as it was free.

http://www.bloodshed.net/devcpp.html

[KP] Tokakeke
18-03-2005, 15:08
I use crimson editor (www.crimsoneditor.com) for my coding.

it r teh roxoroxox

AlphaBowser
18-03-2005, 15:47
but{{{dont hit me for asking}}} wut is ACTUAL CODING......like wut the heck is is.....wut do u do...wut does it do.........


i have an idea....but for me im trying to get it cause belive me...its embarassing to be a mapper...and having to rely on otheress to trigg and code......I NEED TO KNOW


{{i think this is whee u tell me read the tutorials or ur dumb or somthin else :rolleyes: }}

Dacks Zero
18-03-2005, 16:25
Incidentally, after looking at the code for JKA I just realized how you guys (Ren mostly, I guess) must have mixed and matched to get the mod running. My respect for how cleanly MB runs has just taken a quantum leap.

~Gabriel
If only people knew of al the stuff we did, have done and are doing :rolleyes:

i have an idea....but for me im trying to get it cause belive me...its embarassing to be a mapper...and having to rely on otheress to trigg and code......I NEED TO KNOW
Coding is just coding, u type something that the engine recognizes and according to your coding the engine acts, but what does this have to do with you not being able to 'trigger' your maps ?

zag
18-03-2005, 17:08
i think for some reason some people refer to "any part of mapping that doesnt involve geometry" as coding.. :confused:

Ender
18-03-2005, 18:27
i think for some reason some people refer to "any part of mapping that doesnt involve geometry" as coding.. :confused:
Which is technically called scripting, since it's not really coding. Just simple commands and what-not that are already designed in the engine.

zag
18-03-2005, 18:30
its not even scripting, unless you count the .txt files which i guess could be called light scripting

Chairwalker
18-03-2005, 19:20
I call it "dicking around with notepad"

OlSheep
18-03-2005, 21:19
If you have any problem with using Dev-Cpp (mingw is a nice compiler but... mheh :confused: ), you might want to take a look at this...
http://lab.msdn.microsoft.com/express/visualc/

It's a beta so it's free... You'll need to download a few SDKs (software dev. kit - they're all avalaible on MS' website) if you want to compile any file containing opengl calls tho.

Stellcat
18-03-2005, 22:44
First of all i'd like to say I'm glad you guys decided to make a thread for this.
I have made threads before on diffrent gaming fourms and got NO response.

It's almost like certain people don;t want you to know it :eek:

But this is all very helpful so thanks I'm trying to learn this.

Vitjor Melkalis
18-03-2005, 22:57
I call it "dicking around with notepad"

Ironclaw is the ultimate editing program!

DONT F*CK WITH NOTEPAD!!!!

one day the world governments will be leadered by singing and dacing notepad icons...
all is lost...

Keshire
19-03-2005, 06:22
Well we can't rightly tell people that if they really want certain things then they have to do it themselves. And then not offer a little help.

Artem
19-03-2005, 06:39
I call it "dicking around with notepad"

i second calling it that