![]() |
Modding Saber Stances I've played with a couple of mods that change the saber stances, though none of them have satisfied me completely. I'm looking for help with this (or a link to an existing tutorial...though I couldn't find one). If this is pertinent, I'm really only interested in modding for SP mode, but if it does both, no problem. I'm familiar with modding in general, so you wouldn't need to explain from the very beginning. Thanks and :bows:, Debaser |
Re: Modding Saber Stances You can change the saber stances in 2 ways. Change the standard stances, or add a single stance to a saber file. In any case you will need modview, you will find that in the Raven official SDK (look for it at jk2files.com). With modview you need to open a .glm file (a JK model file), so you can check what are the animation frames, once you have got there reply, so I can keep explaining. |
Re: Modding Saber Stances i donno about that last guy, but im sure as hell interested! explain on? please? Kuchiki Malrak :P |
Re: Modding Saber Stances All set. Please, continue. |
Re: Modding Saber Stances 1 Attachment(s) Ok then, you have opened your model on modview, so you have something like what you see in the first pic. Note that I have highlighted in red the part where the frame number is, for every frame is a different animation or sequence. In this case I have choosed the frame 7075. Once you know what frame is the one you want for your animation, you will need to find the animation.cfg file, this file is located on assets1.pk3 in the following directory /models/players/_humanoid Will continue in a bit, dinner time. ***Keep in mind that if you want to open a model using modview, you need to place the model and the _humanoid.gla (/models/players/_humanoid) directory in your gamedata/base directory*** |
Re: Modding Saber Stances This is great stuff so far. Thanks. I forgot to mention, I'm looking to replace the standard stances (blue, yellow, red, dual, and staff). Also, just a side question, is it possible to adjust the speed at which the saber travels? Like, make red faster? Again, this is just for my own personal use in SP and I plan to modify the damage done next to compensate. Thanks again, Master Trauma. :bows: |
Re: Modding Saber Stances Well, if you want to make the red swings faster, you can always modify the animation.cfg file, I will explain how to do that and how to replace the animations later, I am busy with uni work at the moment. |
Re: Modding Saber Stances Sounds good. No rush. I'm having fun with ModView in the interim. I'll write up a tutorial for this (giving you full credit) upon completion. I'll also tackle the problems that users have with the error messages in getting ModView to work right. |
Re: Modding Saber Stances Ok, time to make good use of the SDK http://jediknight2.filefront.com/fil...y_SDK_MP;20909 After you have installed the SDK, look for the animatable.h file, it can be found in the /projects/jedi_academy_sdk/codemp/cgame directory. That file contains the proper animation sequences (just the names) that you were able to see with MODVIEW, this file will be of great help when you are editing the animation.cfg file, because the in the animatable you can read a description of every sequence, for example : Code: ENUM2STRING(BOTH_A2_T__B_), //# Fast weak vertical attack top to bottomCode: BOTH_SABERSLOW_STANCE 13123 2 -1 60Since we already know what frame we want to use for the stance, we simply replace the current frame (13123 in this case) with the number of the frame we want (7075) so the sequence line should look like this: Code: BOTH_SABERSLOW_STANCE 7075 2 -1 60 |
Re: Modding Saber Stances 1 Attachment(s) Thanks so much. That wasn't as painful as I thought it would be. Attached is a test stance. Now that everyone who reads this knows how to do it, I hope to see more stance mods. 20000+ frames are a lot to go through. :bows: -Debaser- |
Re: Modding Saber Stances Ok, since you now have learned how to work with the animation.cfg file, I will teach you how to edit a .sab file so a certain saber will have a specific stance no matter what saber style you use. Again you will find the SDK documentation to be really useful, go to the /tools/docs folder in your SDK directory, there you will find a file called sab_read_me.txt. That file contains information on every command line for a .sab file, in this case we want to add a custom animation stance, so let us look for the following line Code: readyAnim none - anim to use when standing idle (use name of enum in anims.h or BehavEd's list)Code: readyAnim BOTH_STAND1By doing this to a .sab file, only the player that uses that specific saber will use that stance, so when playing you will not see everyone with the same stance as yours. Since there is no tutorial on how to do any of this in the tutorial section, I think I will compile what I have posted in this thread and make a tutorial. |
Re: Modding Saber Stances Sounds good. We need this tutorial. Also, what file contains the damage values for the sabers? |
Re: Modding Saber Stances Quote:
|
Re: Modding Saber Stances As I said, this for SP use. Now, the damage file? Thanks. |
Re: Modding Saber Stances Quote:
Code: damageScale 1 - scale up or down the damage done by the saber |
Re: Modding Saber Stances I haven't even extracted the .zip for that. I didn't need to until now (I guess). If you don't know the answer, it's okay to say so ;) j/k Thanks for all of your help. Please make this a tutorial. -Debaser- |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.