Master_Luke Posted May 31, 2006 Share Posted May 31, 2006 Hi All, This has been posted before,but razorace has refused due to time restrains.I have found the MBII sabers in BaseJA clientx86.dll compiled for testing,all needed shaders and the code in text.It's described where and what to change.I've tried myself ,but i've downloaded the wrong OJP code and i messed it up.I ask you to include the sabers in OJP.Here's AJL's direct link to the Code if you are interested:http://alienjl.homestead.com/files/SFX_Sabers.zip And by the way,AJL has released the code for developing purposes and you don's need permission. Link to comment Share on other sites More sharing options...
ZerooftheFour Posted May 31, 2006 Share Posted May 31, 2006 so... this code makes the saber system like mb2? and what file do i need to replace or add this code to? Link to comment Share on other sites More sharing options...
JRHockney* Posted May 31, 2006 Share Posted May 31, 2006 so... this code makes the saber system like mb2? and what file do i need to replace or add this code to? No, I believe thou art thinking wishfully! LOL. I think this code makes the sabers appearance and trails like MB2. As for file or whatever, I think the location of where you put it is written in the readme at the top of each code and says whether to add or replace the code in this section. Examples: cgame\cg_local.h --> Added: (meaning add to cgame folder in cg_local.h file) cgame\cg_main.c --> Added: cgame\cg_players.c --> CG_DoSaber --> (replaced completely) cgame\cg_players.c --> CG_AddSaberBlade --> (replaced everything after: CheckTrail) (find the CheckTrial line) Of course this is just a wild guess based on what is said in the readme. I don't actually trust myself enough with C code yet to try it. If you get it working, any change of making a patch? I love the saber trail of MB2 especially and they would really help make the combat look cooler. Btw, if Ensiform or even Razor responds differently, take their answer! LOL. Link to comment Share on other sites More sharing options...
Vruki Salet Posted May 31, 2006 Share Posted May 31, 2006 Thanks for this Master_Luke. Link to comment Share on other sites More sharing options...
razorace Posted June 1, 2006 Share Posted June 1, 2006 I think I had someone helping with this already. I can't remember who it is at the moment thou. Link to comment Share on other sites More sharing options...
Master_Luke Posted June 2, 2006 Author Share Posted June 2, 2006 First of All, Thank you for your replies. Second, To razorace: From what I understand you already work on the blades,yes? To ZerooftheFour: Yes this is the code,but also to make this work you'll need the shaders in the archive inside the zip.The code is the trails as JRHockney* suggested.MBII uses the same code written by AJL. To Vruki Salet: No Problem. Link to comment Share on other sites More sharing options...
razorace Posted June 3, 2006 Share Posted June 3, 2006 Someone else was working on it for OJP. I'm not sure what the status on that is at the moment. Link to comment Share on other sites More sharing options...
Maxstate Posted June 3, 2006 Share Posted June 3, 2006 Sorry for my ignorance, Im on a low time scheme here but this is just the trails right? not the sabers? Personally I think the MB ones looks like lead pipes and further in the game you' ll always starting using them like you would a baseball bat instead of an elegant weapon. Im trying to avoid this with my personal sabers, they have this beautiful glowy trail its and... oh sorry Anyway, will the trails work with any sabers? Link to comment Share on other sites More sharing options...
UDM Posted June 3, 2006 Share Posted June 3, 2006 IIRC AJL released those sabers long ago...but I don't think it was very popular with users back then. Something I just remembered 2 mins ago =p maxstate: Anyway yes I believe the trails will work with sabers that don't have their shader files touched. Essentially, this probably just refers to a) the original sabers b) sabers with different hilts c) changed textures Link to comment Share on other sites More sharing options...
JRHockney* Posted June 3, 2006 Share Posted June 3, 2006 Sorry for my ignorance, Im on a low time scheme here but this is just the trails right? not the sabers? Personally I think the MB ones looks like lead pipes and further in the game you' ll always starting using them like you would a baseball bat instead of an elegant weapon. Im trying to avoid this with my personal sabers, they have this beautiful glowy trail its and... oh sorry Anyway, will the trails work with any sabers? I actually think the MB sabers are more movielike because of where the glow stops (at the tip). Honestly though, we can still make the sabers the way we want them to look if we edit the picture, even with MBs saber (which will give more potential for movielikeness because we cant change where the glow stops with our normal sabers). Link to comment Share on other sites More sharing options...
Master_Luke Posted June 3, 2006 Author Share Posted June 3, 2006 Yes the code just does the trails.If you want you can change the shaders and the look of the sabers but its best to use this shader included in the zip. I also want to ask if the code can work with Jedi Outcast? Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 25, 2006 Share Posted June 25, 2006 Does anyone know what I have to do to this code to make the trails a bit longer? Link to comment Share on other sites More sharing options...
razorace Posted June 26, 2006 Share Posted June 26, 2006 Well, in the normal code you just increase the saberTrail->duration in CG_AddSaberBlade. Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 That doesn't seem to work here. Link to comment Share on other sites More sharing options...
razorace Posted June 26, 2006 Share Posted June 26, 2006 mmm, remember that you gotta compile the cgame side of things for it to work. I'm nto sure what else could cause a problem. :| Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 Oh I mean the MB2 saber trail code works great, in fact imho it looks even better with my own saber version than in MB2 cause my sabers aren't so fat. It's just that I had an idea that the trails shouldn't *always* be so short. In my thinking the length of the trails should vary more according to the speed of the swing - a very fast swing should have most of it's arc followed by a trail. You know how it is, like waving a glowstick in the dark. If it's waved very slowly you see the stick and if it's waved quickly you see a sheet. Of course the alpha of the saber trails should depend upon ambient light levels too. They should be bright and solid in the dark and dimmer and more translucent in brighter light...but that's opening up a whole nuther can of worms so I'll just worry about the length first. The MB2 trails don't take into account the game's normal trail-length determiners. Link to comment Share on other sites More sharing options...
JRHockney* Posted June 26, 2006 Share Posted June 26, 2006 Oh I mean the MB2 saber trail code works great, in fact imho it looks even better with my own saber version than in MB2 cause my sabers aren't so fat. It's just that I had an idea that the trails shouldn't *always* be so short. In my thinking the length of the trails should vary more according to the speed of the swing - a very fast swing should have most of it's arc followed by a trail. You know how it is, like waving a glowstick in the dark. If it's waved very slowly you see the stick and if it's waved quickly you see a sheet. Of course the alpha of the saber trails should depend upon ambient light levels too. They should be bright and solid in the dark and dimmer and more translucent in brighter light...but that's opening up a whole nuther can of worms so I'll just worry about the length first. The MB2 trails don't take into account the game's normal trail-length determiners. So does this mean you got the sabertrails from MB2 to work in OJP?! If so, is there any way you can make a code patch or something that includes the MB2 saber trails available? I would personally love to see the MB2 trails in the next enhanced but I might be better if we just made a patch or something like that for people who want them. Link to comment Share on other sites More sharing options...
UDM Posted June 26, 2006 Share Posted June 26, 2006 I'm not so sure about that. Are saber trails client only mods? If they are, then good, but if not, that could be a lot of trouble for servers who have the mods loaded, especially since many players, including myself, dislike downloading stuff through JKA Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 They could easily go into ojpE since it already includes the client game dll and and a "stuff" assets pk3 too. I'm no good working with cvs and patches and stuff though - I'm a total diff retard. I have put them into ojp Basic btw. I could put the changes into the Enhanced code and give a link to download the changed files here. There are only three changed source files. There's one problem though, and that's that it breaks the RGB sabers. Someone'll probably want to fix that before Razor will put it into the real product even if he wants it there at all. Me, I don't care cause I don't ever use RGB sabers anyway. Link to comment Share on other sites More sharing options...
crail227 Posted June 26, 2006 Share Posted June 26, 2006 ooo please post the download! Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 you mean for ojp basic? Like I said, the RGB sabers are broken and until that gets fixed I don't think it's going to get put into any official release. Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 OK here is something for you, get it while you can: http://72.227.121.115/vruki/VrukiSaberEffectsCollection.pk3 If you put this in your ojp basic folder it will give you sabers that include the MB2 trails. I don't know if it will work online, or with baseJKA, or with your bloodtype, etc. etc. It might make your computer emit stinky gasses, or make you dead or something, caveat downloadtor, etc. etc. Here's my readme: This is a collection of saber effects I use plus a version of the OJP Basic cgame dll made with Movie Battle II style trails. It does not include sounds since the sound mod I use at the moment is weird for my own testing purposes. (It includes some silent files.) Some of these things I made, some are others' work that I modded, and some is straight from other people. I can't remember where it all came from and as such, this is NOT for distribution to the general public. I have also included a few lightsaber hilts I use on my server. They are from Kensai's hilt pack, and the properties of some have been slightly altered. So don't distribute this please. UPDATE: I tested this with baseJKA and it works (hooray!) but it didn't work with the JAE mod they use on the Jedi Academy servers, which is strange since that shouldn't have its own client part but oh well. Link to comment Share on other sites More sharing options...
UDM Posted June 26, 2006 Share Posted June 26, 2006 Hmm somehow they dont fit in with OJP's combat. The default trails made combat look smoother. The MB trails...well I think they only fit in with MB's theme... On the sidenote, it screws up the ledge climbing animations too Link to comment Share on other sites More sharing options...
Vruki Salet Posted June 26, 2006 Share Posted June 26, 2006 Really? Ledge climbing? That's weird - unless you're trying to use it with Enhanced? It's just for Basic. Is there even ledge climbing in Basic? That would explain it. Link to comment Share on other sites More sharing options...
JRHockney* Posted June 26, 2006 Share Posted June 26, 2006 Really? Ledge climbing? That's weird - unless you're trying to use it with Enhanced? It's just for Basic. Is there even ledge climbing in Basic? That would explain it. Oh so these dont work with enhanced? Thats what I was hoping for. You dont have ones for enhanced do you? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.