Jump to content

AshuraDX

JKHub Staff
  • Posts

    2,282
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Düsseldorf
  • Interests
    3d Modeling , Parkour/Freerunning
  • Modding Interests
    Modeler
    Shaders
    Texture Artist

Contact Methods

  • Steam
    ashuradx
  • Discord
    ashuradx #1192

Recent Profile Visitors

13,343 profile views

AshuraDX's Achievements

  1. Soo, sorry for the late reply. I've been super busy these past weeks. Stance mods usually modify the _humanoid.gla. If you wanted to merge two stance or other animation Mods there are two ways to do so. 1. This is the method that always can be done, is easier on paper but can lead to a big mess really quickly. To merge animations from two gla files you will have to pick one of the two files as your "Host" file. Let's call this file "A". Then you will need to slice the animation frames you want from the other gla file "B" and store them in a new file named "C". This can be done with blender or the old Jedi Academy Animation Program "Dragon". You can get the range of frames you need to slice from the animations.cfg file associated with file "B". Once you have your frames extracted, you will need to use glamerge.exe (included with Dragon) to merge File "A" with File "C" and then edit the animations.cfg file to point the animation you want to replace towards the newly merged frames which will be attached at the end of the existing frames in file "A". This process is prone to errors and the files get messier and messier the more you merge to them. That concludes method 1. 2. This is my preferred method, but it requires you to have the animation sequence you want to add into your game to exist as a .xsi file. Which you can then add to the animation sourcefiles. This will also handle the creation of the animation.cfg file for you. And you can avoid waste by excluding the original animation frames when you replace them with your own, new, animations. The Tutorial I wrote on working with my CAT Animation Rig for 3ds max goes into a bit more detail about this method. @WC3Tutorial also recorded a video tutorial for this.
  2. 17 downloads

    A collection of model files pointing to the various cinematic GLA files. These allow you to view the games Cutscene Animations in modview.
  3. Generally editing the textures is required to yield the best result, but you can also change the colour in a shader: This is a hologram shader that works using only basegame textures, it could be adapted to work for force ghosts too - you'd just have to take out the noise and scanline effects
  4. The quick answer is: Get hxd, a free hexeditor, and open the glm file you want to use a different gla with. Near the top of the file in ascii view you should see a filepath pointing to a gla file. Overwrite that path, Warning: do not delete any characters as that will break the file. Just overwrite them with your new gla path. Save the file and test your edit in singleplayer, the model will from now on no longer work in multiplayer.
  5. One of the facial tags is off. Might have been rotated by accident.
  6. Could also use the 3d features in Photoshop
  7. Oh boy. I remember the hassle that getting this to work was. Glad to finally see it up for people to enjoy!
  8. @SephFF I'll show you my process for skyboxes before you make the next one, that'll be less painful
  9. Joining forces with SephFF 😉
    EwIpQJm.png
    cuZH6ye.png
    sIgNHuy.png

    1. Circa

      Circa

      I would like to know more... 🤯

  10. Glad to hear that you resolved your problem! You also found another good reason to make your own pk3 - that way you can ensure it is loaded last and not overwritten by any other mods.
  11. Hi, First of all: Never directly change files in the assets*.pk3 files. Copy the files you want to change to a new pk3 file and make your changes there. Then name your new pk3 file so that it is loaded after the original. Files are loaded alphabetically, so naming your file "my_tweaks.pk3" or anything that does not start with an "a" will get you there. However, if you did in fact replace and overwrite those files in the original pk3 it should load the changes ingame. Did you actually place your modified pk3 in the base folder? Iirc, by default, any files taken from the original .pk3 file are set as read only, did you change the access permissions?
  12. misc_model_static will work with the same shader as misc_model_breakable. That'd allow you to use the same files everywhere.
  13. I seem to remember that the saber menu does not render some shader stages, but that is a very foggy memory. Could there be typo in your .shader file?
  14. The tutorial is here! https://jkhub.org/forums/topic/12201-jedi-knight-cat-rig-export-compile-animations
  15. Tutorial: Export & Compile Animations for Jedi Knight Jedi Academy Introduction This Tutorial will teach you how to export animations made with the Jedi Knight CAT Rig for 3DS MAX and compile them for use in Jedi Knight Jedi Academy. With a minor change, this Tutorial will also work for Jedi Knight Jedi Outcast. Requirements The Jedi Knight CAT Rig *.max file The core to this tutorial, without this the remaining part of this tutorial might not make much sense to you. Download The dotXSI Exporter for your version of 3DS MAX This is the plugin you need to export your animation as a *.xsi file which we will then run through the animation compiler to create our game-ready-animation. Version Downloads: 2021 2020 2019 2018 2017 2015/2016 2013/2014 The JKA SDK Repack This file contains all of the required tools and source files we need to do this. Download A Texteditor Any Texteditor will do as long as it has a find & replace function. I would recommend Notepad++, but the regular Notepad or even the default Windows Texteditor will work just fine. Get Notepad++ Setup & Preparation After you have downloaded the required files from JKHub, follow these Steps: Install the dotXSI Export Plugin for your version of 3ds max following the provided readMe file Unzip the JKA SDKRepack to a Working directory of your choice, e.g. "E:/JKA-SDK-Repack/". To avoid Problems it's best to avoid having any spaces in the path. This will give you this directory structure: JKA-SDK-Repack assets codemp Tools Original SDK readme.txt Read Me !.txt Add the following branch to your Working directory: JKA-SDK-Repack assets base models players _humanoid source ... Start the Program called Assimilate.exe from the Tools folder, once it opened click Edit > Preferences... on the main-menubar. Here, we'll need to set up some paths. Replace .../JKA-SDK-Repack with the path to your working directory and follow from there. Enum file: .../JKA-SDK-Repack/codemp/game/anims.h Compiler: .../JKA-SDK-Repack/Tools/carcass.exe Quake Dir: .../JKA-SDK-Repack/base/ Make sure to keep the Trailing "/" on the Quake Dir path! Copy all files from "/assets/models/players/_humanoid/*" to "/base/models/players/_humanoid/source/*" Open the _humanoid.car file from ".../_humanoid/source/" in your Texteditor and run the following find & replace. Make sure that the file is not write protected when you try to do this Find: "/_humanoid/" => Replace: "/humanoid/source/" If done correctly, the last line of the _humanoid.car file should look like this: $aseanimconvertmdx_noask models/players/_humanoid/source/root -makeskel models/players/_humanoid/source/_humanoid -origin 0 0 24 Now we need to change the part that's highlighted green back to models/players/_humanoid/_humanoid and save the file. This file will function as our source and backup file from now on. Whenever we open this file in Assimilate.exe, it will read the source files and generate a fresh and completely vanilla _humanoid.gla for us. Exporting your animation Now that we are done with the setup part, it's time to export our animation. It's time to jump into 3ds max Animating a CAT Rig is outside the scope of this tutorial. If you want to learn how to do that, there will be a link to a fantastic Youtube channel at the end of this Tutorial. First, we have to configure our Timeline, if we haven't done so already. We only want to export the actual animation, so we want to set our timeline to range from Frame 1 to our last keyframe of our animation. Then, we use the Animation Export Selection Set to select everything we need to export. Clicking the set will most likely issue a Warning, that hidden/frozen objects are about to be selected. This warning can be safely ignored, so press NO to continue. The relevant Objects for Animation Export are sensitive to changes and as such are frozen, hidden and mostly secured by constraints by default to prevent any sort of accidental change to them. With our Jedi Knight Skeleton selected via the Animation Export Selection Set, we can Export our animation. To do this click File > Export > Export Selected... and export your Animation to your _humanoid folder as a Softimage dotXSI 3.0 (*.xsi) file. Name your file appropiately, for this Tutorial I saved my file as ".../JKA-SDK-Repack/base/models/players/_humanoid/both_tutorial.xsi". When exporting an animation, your main concern is for 3 Settings in the Export Dialog: Animation is checked File Type is set to ASCII Scene Root Name is set to model_root These should be the default settings, but it's better to be safe than sorry. If everything went correctly, we should now have succesfully exported our animation. Compiling the animation from .xsi to .gla We are almost done. The last step we need to do is setup our gla compile. Remember the .../source/_humanoid.car file we edited earlier? It is time to copy that file from /_humanoid/source/ to /_humanoid/ and open it in our Texteditor. I would also suggest renaming it to prevent any accidental overwriting of our source .car file. For this Tutorial I named my file Tutorial.car What we need to do now, is to add our new .xsi animation to this .car file, to do this we must insert a line with the following pattern into the .car file: $aseanimgrab [filename] -loop [loopframe] In my case, my Animation filename is models/players/_humanoid/both_tutorial.xsi and since my animation is not meant to loop, I am going to set the loopframe to -1. If your animation should loop, set the loopframe to the frame that the animation should return to after being completed. (usually frame 0). Our new line should now look something like this: $aseanimgrab models/players/_humanoid/both_tutorial.xsi -loop -1 Last thing left to do before we can compile, is to insert it into the right location in the .car file. The "right" location, is right above the line $aseanimgrab models/players/_humanoid/source/root.xsi -loop -1 Which should be the third to last line in our .car file Now all we need to do is to copy & paste our new line right above the root.xsi line, like so: ...$aseanimgrab models/players/_humanoid/both_tutorial.xsi -loop -1 $aseanimgrab models/players/_humanoid/source/root.xsi -loop -1 $aseanimgrabfinalize $aseanimconvertmdx_noask models/players/_humanoid/source/root -makeskel models/players/_humanoid/_humanoid -origin 0 0 24 ...and save our .car file. With our .car file being finished, it's time to open it in Assimilate.exe. Once open it will take a short while to load in all of the animation files. Once it has completed that, we can press the big B Button on the main Toolbar to build our gla. Shortly after you clicked it, a CMD/DOS Window will open and rush through a lot of lines detailing its work. If all goes well it will finish and you will be greated by an Info dialog telling you that "Everything seemed to go ok". Ideally, you will have a freshly compiled GLA File including your new Animation at Hand. If not there will be some troubleshooting required. A link to a list of common Assimilate/Carcass Errors and how to fix them will be at the End of this Tutorial. Testing your animation The moment we've been waiting for is finally here. Now would be a good time to unpack your favourite character model from its pk3 file to your JKA-SDK-Repack base folder and opening it in Modview. Somewhere at the bottom of the Sequence List you should find your new animation. Double click it to play and view it for the first time in Modview. Thank you Thank you for reading this, I hope you learned something new from my rambling. I would also like to thank Miloš Černý for his invaluable Tutorial videos on building CAT Rigs without which I would not have started this project, as well as WC3Tutorial for his rigorous Testing and Feedback on how this Rig and its earlier iterations performed. If you run into any problems, don't be shy to reach out to me on JKHub or the JK Community Discord. JKHub Profile JK Community Useful Links Carcass Error Guide.Miloš Černý Animation - A Youtube Channel dedicated to animating in 3ds Max with CAT.XSI Viewer, a program that can preview *.xsi files.
×
×
  • Create New...