I want to combine JK+ and Ojp. I only want to use a few pieces from them, like trueview, and all of JK+'s am commands. (amsit2) But I don't know where to start. I have a pretty good idea of how this game runs, but I can't figure out how to make my own mod. Any help would be great. Thanks.:D
I didn't make it!
well, the first thing to do would be to get permission to use parts of their code from the creators of OJP and JA+
I want to be like the Admins
27th November 2006
OJP's source code is open to anyone, hence "open" jedi project.
I'll worry about all of the permission stuff later. I'm not planing on releasing this mod. It's only for personal use. Because I figure it will be pretty bad. lol It's only my first mod. I just want to know if I can do it.
Why? Cause normal is boring.
29th March 2006
Unless you know C and C++, no. You'd need to sort through the JA+ and OJP codes to find what you need and then work them into the new code you'll have to create.
21st July 2005
You would need to know C++ (C? Can't remember what the MP source was in. Think it was C, though) and the source code to JK+. Personally, the only thing I understand less than my own code is other people's code, so for a first mod, I'd recommend something easier. Like the example the SDK has of making the rocket go 2 mph. That was fun...
Well I just wanted to use most of JA+ but add a couple of things from ojp. Like true view, and the holster system. For some reason the holsters in JA+ don't work right. If you put away a sword, the blade sticks through your head. On the flip side, I like the fact that JA+ doesn't show guns and other crap besides your saber, when it's holstered. Which Ojp does.....As you can see what I want to change isn't huge, but it's a real problem for me. Oh, one more thing. What's the codding in JA+ that allows all of the commands? (amwait, amsit3) I tried (Don't laugh) puting both mod pk3s in the same folder.......That didn't work. Everytime I booted up I got one or the other. lol
21st July 2005
Captain Chordata;4156340You would need to know C++ (C? Can't remember what the MP source was in. Think it was C, though) and the source code to JK+. Personally, the only thing I understand less than my own code is other people's code, so for a first mod, I'd recommend something easier. Like the example the SDK has of making the rocket go 2 mph. That was fun...
I highlighted the important parts. I have a month of decent C++ experience. Most document, commented code confuses the shit out of me. Transplanting one mod into another isn't a small feat by any means since both probably have their own variables, headers, source files, edited code in base source files, etc. If you want to add some OJP stuff to JA+, you will need to understand C++, and how the code for both mods work. Not to mention you would still need the source from Slider, which is why you can't exactly ignore the "permission stuff" right now...
Like I said, start smaller. Learn C++. Play with the SDK code once you start understanding C++ a little. Tweak things and see what happens. Trust me, knowledge of the basics is key. Learn Visual Studio. It's not a newbie-friendly program either. I still don't know what I'm doing in it. =p
The reason why just dumping the mods in a folder is that each has its own dll file. They both have the same name, so at load time, JA has to choose one. It can't have both simultaneously or weird shit happens.
Oh, and I haven't at the code in a long time, but I'm sure the commands have a dedicated source and header files for the commands.
So, in short, unless you have some programming experience and have studied OJP so you "only" have to learn the JA+ source you probably won't be able to get, I'd avoid this project unless you want one hell of a ball ache.
And I'm assuming that based on what you said, you don't know anything about C++ at all. If you want to learn it, I recommend starting here and getting a decent C++ book. Just avoid the For Dummies C++ books. God those were awful...
Thanks Chordata, your post was straight forward. Very helpful. Now I think I fully understand how hard this task would be. So what would happen if I took only the Ojp coding that has to do with trueview. And make my own seperate first person mod. And put that in the JA+ foulder? Would that work? Or would that cause problems with JA+. And if It did, would putting it in the base work?........I'm sorry for sounding like such a Newb..........But I...am. lol Thanks.
4th September 2005
Again, you'd need to compile your mod into a DLL, and as Chordata said... weird shit.
The only way you can make any modifications to JA+ is if you had the source code for it.
The source code for JAE is freely available, it's a lot like JA+ except for the fact it doesn't rape the hell out of gameplay, so if you're looking to combine some mods you might want to look into that.
I don't know how, and I don't know why, but this is totally Sheep's fault.