Jump to content

Home

...SP Mod?


Slunker

Recommended Posts

As I've worked with this code more and more, I'm starting to have a frightening thought... I'm starting to think that maybe it's not possible to make a mod for SP, in the basic sense of the word... I mean, it's not possible to make .qvm files that effect the single-player game. Is this true? If not... could someone tell me where I find the code that causes NPC's in the single-player to look for their enemies?

 

And which project (game or cgame) the SP code is in...

 

-Slunker

Link to comment
Share on other sites

The source code that is released is MP and has no awareness of such SP concepts as saved games, mission objectives and so on. You really can't make a real SP game with this code because it is so streamlined for MP play only. You'd have to code all those things your self from scratch, OR, wait for the mod from Wired Lamp to be released, and see if they release the source code for that, which might include all those things. . .

Link to comment
Share on other sites

Its not up to Raven to release the source code. It is up to LEC, and from my understanding they will not release it due to licensing agreementsand other restrictions and the fact that George Lucas does not want any 3rd party to have a part of his company, which he somehow thinks having the source code would include his company, and access to it, etc. so, unless you can write to GL and ask him nicely, I doubt its gonna happen.

Link to comment
Share on other sites

In order to create a Single Player mod you'll have to code a lot of the things found in SP yourself. Fortunately a lot of the MP code was copied and pasted so many of the things found in SP are actually there, just not implemented. Beyond that you're gonna have to pick apart how the physics work and recreate them yourself, but that's how we learn right?

 

A good way to think of the SP game is: When you play in Sp, your creating a listen server and connecting to it with a client on the same machine. This server however doesn't allow others to connect to it and doesn't broadcast itself across any networks. Check out the tutorial I posted in these forums for an example of how this is done.

 

Quick Definitions:

 

Listen Server: When you create a server in MP and play in that server on the same machine.

 

Dedicated Server: When you create a server that runs in a console and you connect and play in that server from another machine on your network or across the internet.

Link to comment
Share on other sites

Eee! Even if it has nothing to do with SP, I'd still love a modding tutorial for JK2 that relates to anything. I've taken the AP class equivalent of a year of college computer science, but I've never worked with this much code in my life: it's a bit overwhelming. Where is this tutorial, now?

 

-Slunker

Link to comment
Share on other sites

Originally posted by Andy867

Its not up to Raven to release the source code. It is up to LEC, and from my understanding they will not release it due to licensing agreementsand other restrictions and the fact that George Lucas does not want any 3rd party to have a part of his company, which he somehow thinks having the source code would include his company, and access to it, etc. so, unless you can write to GL and ask him nicely, I doubt its gonna happen.

 

If that is precisly the one held by LEC/Lucas its realy very silly.

There frankly isnt much in the game that is inherently Star Wars that

we dont already have access to (such as the graphics files)

The only thing that comes close is the SP saber system.

 

Frankly whats it to george if someone adds a new blaster to his game.

How different is that realy from his perspective than if they reskin

one of the current weapons which we already can do and and are allowed to do?

 

In short: No sp sdk = Terrible pain in the ass for us the community. No concivable benifite to George Lucas, LEC or Star Wars in general.

 

SDK released = No concivable harm to George Lucas, LEC or Star Wars in general. Mayjor boost to this games life span, lots of fun for us.

Link to comment
Share on other sites

I totally agree, I think LEC should give Raven the go-ahead and release the SP Source code. I mean, what harm can be done? so what if we can take the time and effort and make a mod that's just as good as the real game... Who cares. Look at BFP. that mod rocked, even though they had to change it a little. Sure it was better than any game Infrogames would have made. but that's the beauty. We the people have knowledge, the creativity, and the resources to make some kick ass mods. Look at the AOTC: TC, or the WLS Mod... imagine 50 of those quality mods all in the making. The bottom line for JO would go up because people would have to buy the game to play the mods. Now how is that bad for LEC...Seriously, how bad is it..

 

(JEOPARDY MUSIC)

 

DUH, ITS A NO BRAINER.. IT's good for them!!!

 

Anyways, that's my 2 cents ($.02)

Link to comment
Share on other sites

Uh, it has absolutly nothing to do with George Lucas, DF and JK had full source code modifyable right out of the box.

 

It's the fact that the SP sourcecode is in both jk2gamex86.dll and jk2sp.exe, and if they release the source code, they must release the whole engine code, which they can't do.

Link to comment
Share on other sites

You know, the way I figure it we really don't need the Sp source. We have everything we need in the code itself. I haven't seen anything in the SP version that would be very hard to recreate. The cut-scenes are just bots with walk-routes predetermined and special animations made for their gestures. I even found the animations for Kyle's sleep scene with Lando. The high-res cut scenes are just video animations done bt a digital graphic artist. I'd be willing to bet that the only reason there are two different .exe files is that one points to the .dll file and the other points to the base folder. The only obstacle I can forsee in a SP mod is outputting to a save game, even then I figure it's just a text file with variable values converted to strings and written out with comma delimiters. I know that's probably not how JK2 does it but I think it will work. It just takes people that are willing to work at it and be a little creative in the coding.

Link to comment
Share on other sites

What about recoding NPC's and such? Nothing that's actually in the game ITSELF... but what about recoding the way the inner-workings of the game go? The reason I asked this question originally is that I wanted to create a little bit of code that makes it so that NPC's won't hear the player when he crouch-walks... like in Syphon Filter...

 

-Slunker

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...