Slunker Posted August 22, 2002 Share Posted August 22, 2002 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 More sharing options...
Jaii der Herr Posted August 22, 2002 Share Posted August 22, 2002 You must code your SP code yourself *g* Link to comment Share on other sites More sharing options...
Slunker Posted August 22, 2002 Author Share Posted August 22, 2002 *raises an eyebrow* Ummmm.... okay, but if there's no already-existing source, then that means that it's impossible to change things already there, right? -Slunker Link to comment Share on other sites More sharing options...
Darth_Linux Posted August 22, 2002 Share Posted August 22, 2002 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 More sharing options...
Slunker Posted August 22, 2002 Author Share Posted August 22, 2002 Why didn't Raven release the SP source? -Slunker Link to comment Share on other sites More sharing options...
Jaii der Herr Posted August 22, 2002 Share Posted August 22, 2002 ask them... Link to comment Share on other sites More sharing options...
Andy867 Posted August 23, 2002 Share Posted August 23, 2002 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 More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 *grumbles* God forbid he should contribute to an enjoyable gaming community... first Episode 1 and now this! *grins* -Slunker Link to comment Share on other sites More sharing options...
Primesghost Posted August 23, 2002 Share Posted August 23, 2002 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 More sharing options...
Slunker Posted August 23, 2002 Author Share Posted August 23, 2002 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 More sharing options...
Primesghost Posted August 23, 2002 Share Posted August 23, 2002 http://www.lucasforums.com/showthread.php?s=&threadid=75908 Yeah, I noticed the lack of tutorials on JK2 coding. I'm going to be writing some as I figure out how to do things with this engine. It's based on the Quake 3 engine but it's just different enough to make you have to relearn a lot of it. Link to comment Share on other sites More sharing options...
Joben Posted August 23, 2002 Share Posted August 23, 2002 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 More sharing options...
Andy867 Posted August 23, 2002 Share Posted August 23, 2002 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 More sharing options...
t3rr0r Posted August 23, 2002 Share Posted August 23, 2002 Originally posted by Andy867 that mod rocked, yeah, for the first day or so... /me shakes fist at the forum that won't let him go oh well, being a megamod is... fun... Link to comment Share on other sites More sharing options...
Emon Posted August 25, 2002 Share Posted August 25, 2002 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 More sharing options...
Toonces Posted August 25, 2002 Share Posted August 25, 2002 Do you mean they would have to release the Q3 engine code? I bet iD wouldn't like that too much either considering how much it costs to license the Q3 code Toonces http://www.drivingcatstudios.com Powered by Sith Link to comment Share on other sites More sharing options...
Primesghost Posted August 25, 2002 Share Posted August 25, 2002 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 More sharing options...
Slunker Posted August 25, 2002 Author Share Posted August 25, 2002 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 More sharing options...
Kyle098 Posted August 25, 2002 Share Posted August 25, 2002 is there any new word on raven releasing the sp code? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.