LucasForums (
-   General Editing (
-   -   Saber styles of lightsabers (

Caridorc 11-30-2008 06:43 AM

Saber styles of lightsabers
Hi all!
I was trying to modify a backhand saber and I met some problems. Is it possible to make a saber with fixed styles? I mean: if in the sab file I write "saberStyle desann", when I play with that saber I can use only that style. So, is it possible to use only two or three or more style? (ex. staff, desann and tavion)

Many thanks...

katanamaru 12-01-2008 03:01 PM

You can use the commands 'saberstyleforbbiden' and 'saberstylelearned' to set what styles to use. If you want a saber to use staff, Tavion, and Desann it would look like this:

saberstylelearned staff
saberstylelearned Tavion
saberstylelearned Desann
saberstyleforbidden fast
saberstyleforbidden medium
saberstyleforbidden strong
saberstyleforbidden dual

One major problem will be that a backhand saber will remain backwards when you try to use tavion and desann styles. It will not turn around. I am working on a saber mod that will flip the saber around from backhand to regular when your character attacks with a single saber style. This means two things however: 1) the saber will not work with the staff attacks the same way the other backhand sabers do and 2) I have to make new run and walk forward and back animations or else the character flips the saber around when he moves. I made these animations and got them in game with no problems, but I want to redo them since they did not look too much like the SA. I like them but the people who would use them want to look like the SA.

Caridorc 12-15-2008 09:17 AM

interesting...unfortunatly I've done the mod before reading this, so sad...But I did a mess because I switch all the animations of the regular styles with the tavion, desann and staff's nice. Also I did the stances and they looks nice...I have to do new running animations too. What do you use? I use dragon...

katanamaru 12-15-2008 02:57 PM

So you switched all the single saber swings with tavion, desann, and staff swings? I imagine that did take awhile.

I'm using Dragon to do all my animations too.

If you make a stance it is possible to start from the default pose, I did that for my Secret Apprentice stance, but I would recommend loading up a stance from JA and editing it to what you want. That way you don't have to deal with correctly position the feet on the floor. That's what I do for my run animations. I keep the same leg animations and just edit the torso to what I want.

Caridorc 12-16-2008 09:43 AM

Yes it took awhile but it was the only idea I had...but it was easy with cut/copy/paste and find/replace. The dirty job was made by notepad :D

How do you load ja animations? Would you like see my stances of starkiller? I would like to see yours

katanamaru 12-18-2008 05:38 PM

Here is a guide made by HeavyMetalGungan that he posted on the filefront forums. The first part deals with getting animations in game and the second deals with switching the dragon glm with JA's glm.

Someone asked how to get animations in game, after I'd told then I was so proud of my answer I decided to share it with the world!

1. Open your stance/animation in dragon.

2. Make sure that your character's feet are on the floor, otherwise in game you'll be flying.

3. Type into the console: savegla filename. Make sure it isn't the same name as the original dragon file.

4. Copy and Paste your .GLA file into your _humanoid folder, if you don't have one you can make it:

5. If your made a new folder copy and paste the _humanoid.gla file, animation.cfg file and animevents.cfg* file from assets1.PK3 into your folder, if you already had it miss this stage.

6. Put the glamerge.exe file in your folder as well, it should be located in the same place as dragon.exe.

7.Open notepad and make a file with this in it:
"glamerge.exe" "_humanoid.gla" "Put your filename here.gla" -o
Save it as gla_merge.bat file in your _humanoid folder.

8. Check every thing is where it should be:
Your .GLA file

Then double click on the gla_merge.bat file.
You should get a message asking for a file name, if you don't then you have probably miss-typed something somewhere or don't have a file in the right place.

When typing in your file name DO NOT add .gla on the end or Glamerge will have a tantrum.

9.When GLAmerge has finished look in your _humanoid folder, you should now have a new file.
Delete the _humanoid.gla file then rename the new file _humanoid.gla.

10. Now open Modveiw (Comes with this Modeling/Skinning Guide and Tools, Jedi Knight 3 Downloads, Jedi Knight 3 Modding Tools)
and chose the animation/stance you want to replace.

11. Once you have chosen, find the animation in animation.cfg. If you are using a completely un-edited copy of _humanoid.gla, change the first number to 21376, this the starting frame of your animation. If your are using an edited copy of _humanoid.gla then find the newest animation added by looking at the final frame number of the animation right at the bottom of the list of animations. Put this new number instead of 21376. Also if you are using a changed _humanoid.gla you should also have a changed version of animation.cfg. Edit this instead of the default one.

12. Change the next number across to the amount of frames in your animation.

13. Change the 3rd number across to 0 if you want your animation to loop over and over until it is told to stop (eg. walking animation) or -1 if you want it to only play once and stay on the final frame until the event is over. For 1 frame stances either will work.

14. Change the final number across to the speed you want to play at. The default is 20, the dragon preview speed is 12. Negative numbers will make your animation play backwards.**

15. Save and close the animation.cfg file then open up Modveiw again. Scroll right to the bottom of the list of animations and you should find the animation you wanted to replace. Double click on it to veiw it.

16. Package your new _humanoid.gla file and animation.cfg file into a PK3 under. Models\players\_humanoid

17. Save and test!***

*Putting animevents.cfg in is not nessesary for this tutorial but can be usefull in other circumstances.

**When testing in modveiw the animation can only play at 20 and -20 fps, so don't be worried if it's going too fast/slow.

*** In SP it is best to load a new map instead of loading a saved game as sometimes JKA will try to load the old animations. Once they've been loaded once they should work on saved games.

Note: If you have already added an animation to the game you can miss out stages 5, 6 and 7. Just change the gla_merge.bat file to suit your new gla.

Once you've got used to it it's easy to get animations ingame. I can now do it in about 2 minutes.
Holy sh*t I'm tired now.

I will make 2 more tutorials on using ingame animations and editing the animevents.cfg file soon.

__________________________________________________ _______________

Ah, that is quite a simple matter:

1. Go into your dragon folder and replace JA_humanoid.gla with the _humanoid file from your base.
2. Find the startframe and length of the animation you want to edit.
3. In dragon type the following into the console
Impframe "Startframe" "length" (remover quotes)

You only ever have to do step 1 once. You don't have to do it each time your import a series of frames.
Here are some of the animations that I have done:
This SA stance is for regular, non backhand sabers.
This is the same stance for backhand sabers. Available here;95994
The SA run for regular sabers.
The original JK and MotS run.
The Battlefront run.

Yeah go ahead and show off your Starkiller stance, I would like to see how yours turns out.

Caridorc 12-19-2008 09:17 AM

Very nice, good job. Do you have the dragon cfg files for your battlefront and SA running anim? If you agree I will put them in my mod...Here my stances (in picture you don't see but stances are complete with breathing animations and the first with the idle sequence fixed with mine)

fast (tavion anims) and medium (desann anims) styles

strong style (staff anims)

katanamaru 12-20-2008 02:08 AM

Hey those are really, really good! I mean it, those are awesome! I'll give you the files after I do a release with them. I want to put them out first before I give them out. Those stances are going to work great with the run animations. If you don't want to wait on my runs you could load up the JA runs and edit them. That's how I made mine.

Caridorc 12-20-2008 05:38 AM

Thanks, I appreciate. I'm waiting for your runs, they looks perfect. In the meantime I'm going to try to make two run anims on my own...
Could you tell me how to upload files to If you agree, we upload them when they will be done.

katanamaru 12-20-2008 11:51 PM

Good luck on the runs. They are not hard to make, just tedious and time consuming. Stick with them and you should have no problems. And don't be afraid to start over a time or two. Oh one more thing, save often, that way you can go back and load up a previous version instead of starting over.

On jk3files there is a submit button on the left menu. It is under the heading 'The Files.' Once you upload a file it will take about a week before it will be up.

I need to finish two more backhand stances before I upload the backhand run. After that I give you the cfg file.

Caridorc 12-21-2008 04:53 AM

Ok thanks for the advice...I'm looking forward to your anims.
Maybe togheter we could do a force unleashed little mod, I have some ideas that are very nice...

katanamaru 12-29-2008 10:52 AM

I wouldn't mind putting some stuff together for a little mod, but I don't want to try and do anything major. Nothing like make a new saber attack style or anything. Truthfully, I don't like the BH style all that much, I'm just making it for the community and practice. It's fun to make but I prefer to work on other animations.

Caridorc 01-31-2009 03:35 PM

Updating my little mod...
I was wondering if there's a way to set different running anim for each saber style. You (reader) may ask: why?:confused: The answer is quite simple:D: as you can see by scrolling up the page, I've made two stances (standard and backhanded (BH) ), but I've also made a BH running anim. So I was asking because my running anim sucks with the standard stance, is there a way to

set an anim for the BH style (red style)
and set a different anim for the standard style (blu/yellow)?

katanamaru 01-31-2009 08:28 PM

Unfortunately no. I looked for this too a while back and the single sabers all use the same run, but the duals and staff have their own run. For the FU stance mini-mod I'm making I was going to replace all the standard stances with bh stances as well as the staff. I'm not sure if I want to do anything with the duals yet.

Caridorc 02-01-2009 04:48 AM

mmmm....I suspectet that sigh...what about coding? I believe it could be possible with coding:), unfortunately I don't know how to code:( you? Otherwise I could open a topic in the coding section and ask there....

katanamaru 02-02-2009 11:38 AM

It should be possible in MP to code different runs with the different saber styles, but not SP. If the SP source code is released this is on my to do list. Right now I only know a little BASIC and COG (from JK). I learned cog just by looking at what others did, so that's how I plan to learn coding later. I also have some c++ books to refer to. You could still open a thread and see if anybody could help you if your ok for the animations being MP only. I'm making my mini mod mainly for SP, because that is what I play.

All times are GMT -4. The time now is 01:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.