If someone here at massassi would please post this in the tutorials page, I would appreciate it. I sent it a LONG time ago and still isnt up.
-=-=-=-==-=-=-=-=-=
Saber Modification Tutoial
By DarkSkywalker (darthsabersil@netscape.net)
NOTE: I will assume that you’re a total newb to editing, and, well obviously you have to be if your reading this…![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
MATERIALS: Jedi Outcast, any images editing software (I will be using Photoshop 6.0
for this tutorial), a zip program such as WinZip or the “compressed folder”
automated windows compiler (standard in ME), and basic knowledge of Windows navigation and your zip program.
TO START OFF…
1) First, lets start by copying the asset0.pk3 in the Jedi Outcast\gamesdata\base folder. This might take a few minutes, depending on your computer specs. Just place the copy of ‘assets0.pk3’ in the same ‘gamesdata\base’ folder, then rename it to something like ‘jk2files.zip’ or something similar. Important: Make sure you change the file type to .zip; otherwise you won’t be able to open it and read it. Essentially, .pk3 files are renamed .zip files, or .zip files in disguise. The .pk3 files are just what Jedi Outcast reads. The .pk3 folder you just copied and renamed to a .zip file contains most of the necessary files for modifying most aspects of the game, including the sabers.
2) Now that we have our .zip ready to go, we can now look through it and see what we’ve got. Open it up or unzip it (I prefer the automated compressed folder system Windows ME uses), and look at what we have. We’ve got bot-files, maps, screenshots, effects, textures, videos, sounds, and music, basically everything that makes up the game right here. We are only interested in a few of these folders for this tutorial, but once your done you should be able to completely customize almost any aspect of Jedi Outcast. Open up the ‘gfx>effects>sabers’ folder, and locate the following 15 images:
gfx>effects>sabers: blue_glow2.jpg, blue_line.jpg, blurcore.jpg, blurcore.jpg,
green_glow2.jpg, green_line.jpg, orange_glow2.jpg, orange_line.jpg,
purple_glow2.jpg, purple_line.jpg, red_glow2.jpg, red_line.jpg, yellow_glow.tga,
yellow_glow2.jpg, and yellow_line.jpg.
3) Now that we have located the main files that we need to edit, we need to create
an identical path found in the original assets0.pk3 file. This is where we will copy all 15 images in the sabers folder. So anywhere in your Jedi Outcast directory, create a folder called ‘gfx’ then inside that folder create another folder called ‘effects’ then inside that folder create one last folder called ‘sabers’. Important: Make sure you spell out each folder correctly when creating them, like I spelled them above, or when you go to test out your sabers nothing will work, because the path will be corrupt. Now, go back to the .zip folder you created earlier, and copy those 15 images. Place them right into the sabers folder you just created a minute ago. Now we can go ahead with our editing, the fun part!!
4) Go ahead and close the .zip folder for now. We will use it again later, but you can go ahead and forget it for now. Load up your image-editing program, most anything will work as long as you can open the images and save them later. Load up the blurcore.jpg and blurglow.jpg files. In all of the images you will be editing, black is used for transparency- so whatever is black basically won’t show up in game. The blurcore.jpg and blurglow.jpg files are the two files that define what the swing of the blade will look like. If you look at both, it is obvious that the left hand side of both images is where the blade of the lightsaber would be in game, and the swing of the saber would cause these images to show up as the tail of the blade, following it through its motion, creating the “blur” effect. So if you wanted to edit the tail of the lightsaber, you would consider the blade to be on the left side and plan out what you would like. Note: There is no need to use color when editing these two images. The trail of the saber will automatically take the default hue of the saber when implemented in game, so keep these 2 images grayscale. Once your satisfied with what you’ve got, you can save the images and go to the next step.
5) The remaining 13 images represent the colors of the various blades. We don’t need to worry about the yellow_glow.tga file, because as far as I can tell, it’s worthless for what we’re doing. So we now end up with 12 final images, which are basically the same. So lets load up blue_glow2.jpg, and blue_line.jpg. Just by looking at blue_line.jpg, you can probably tell what function it has in the game. It serves as the basic outline for the lightsaber blade, and again, the black portion of the image represents transparency. What may not seem so obvious is the blue_glow2.jpg image. This image serves as the lightsaber blade’s glow effect. Basically what it does is renders this image about 10 or so times as it goes up the blade. Once you start to play around with it you’ll probably notice what I am trying to say. My suggestion is that you edit the blue_glow2.jpg and the blue_line.jpg images, save them, then adjust the hue or color values to match the 5 other colors and overwrite other 10 files as you go. Once you think you are satisfied with your new saber, and are curious as to how it looks in game, you can easily check your work.
6) To check your work in game, you must create a new .zip file. Once you do so, copy the ‘gfx’ folder you made (the one with all of your custom saber images tucked deep inside of it), and place it right in the .zip folder. Now, if you explore your .zip folder, you should be able to go through the gfx>effects>saber folder and find all of your edited saber images. The only thing else you need to do is make sure you rename the .zip folder to a .pk3, and your done! Place the .pk3 file in the gamesdata>base directory, and it should work! Basically, any new .pk3 file you place in your base directory will replace whatever is in your pre-existing assets0.pk3 file. So if you want to restore your previous settings, just remove the .pk3 you made and put it somewhere else until your ready to use it again.
FINISHING TOUCHES
7) So you want to see your new sabers in the saber selection screen in multiplayer? Well, it doesn’t just magically show up all by itself, you must put it there! The image files you need to edit are located in the assets0.pk3 (you can just open up the .zip you already made), in the menu>art folder. There are three main images per color (e.g. for the blue saber, there is the saber_blue.tga, the actual blade that shows up in the saber selection screen, saber_blue_glow.jpg, which is the first aura of the saber, when the mouse is NOT looming over the saber, and saber_blue_glow2.jpg, for when you hover over the saber in the saber selection screen with your mouse). Again, play around with this, as you will find that Jedi Outcast is completely customizable. Another image you might consider editing is the unknownmap.jpg image found in the same folder, which (if you look at it) is the picture that shows up before a game loads. Remember, for these images that you edit to take effect you need to create a folder with the same directories as in the asset0.pk3, otherwise it won’t work. So for example, you could create a folder called menu, and in that another called art and in there you would put your saber selection screen images, as well as your unknownmap.jpg image. You can then go back to the .pk3 that you created which already has your regular saber, rename it to a .zip, copy and paste in the menu folder, and it should work like a charm.
FINAL NOTES
8) Remember, you can edit anything in Jedi Outcast and put it in a .pk3 format as long as it’s placed in the same location, as it would be in the assets0.pk3. This means sounds, music, shaders, anything. Also, you might want to consider learning a bit about .shader files- it’s a good tool to learn, because not only can you create special effects with the sabers, you can also change the alpha blending so as to make white transparent instead of black, or green transparent if you want to have a white saber with a black glow. Shaders provide endless possibilities, you can make things blink, fluctuate, flare, etc. You can find a shaders manual here: http://www.heppler.com/shader/ - It’s for Quake 3, but Jedi Outcast uses the same technology.
I hope you found this tutorial to be useful. If you have any questions or comments, email me and I’ll be glad to clarify anything. Happy editing!
-=-=-=-==-=-=-=-=-=
Saber Modification Tutoial
By DarkSkywalker (darthsabersil@netscape.net)
NOTE: I will assume that you’re a total newb to editing, and, well obviously you have to be if your reading this…
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
MATERIALS: Jedi Outcast, any images editing software (I will be using Photoshop 6.0
for this tutorial), a zip program such as WinZip or the “compressed folder”
automated windows compiler (standard in ME), and basic knowledge of Windows navigation and your zip program.
TO START OFF…
1) First, lets start by copying the asset0.pk3 in the Jedi Outcast\gamesdata\base folder. This might take a few minutes, depending on your computer specs. Just place the copy of ‘assets0.pk3’ in the same ‘gamesdata\base’ folder, then rename it to something like ‘jk2files.zip’ or something similar. Important: Make sure you change the file type to .zip; otherwise you won’t be able to open it and read it. Essentially, .pk3 files are renamed .zip files, or .zip files in disguise. The .pk3 files are just what Jedi Outcast reads. The .pk3 folder you just copied and renamed to a .zip file contains most of the necessary files for modifying most aspects of the game, including the sabers.
2) Now that we have our .zip ready to go, we can now look through it and see what we’ve got. Open it up or unzip it (I prefer the automated compressed folder system Windows ME uses), and look at what we have. We’ve got bot-files, maps, screenshots, effects, textures, videos, sounds, and music, basically everything that makes up the game right here. We are only interested in a few of these folders for this tutorial, but once your done you should be able to completely customize almost any aspect of Jedi Outcast. Open up the ‘gfx>effects>sabers’ folder, and locate the following 15 images:
gfx>effects>sabers: blue_glow2.jpg, blue_line.jpg, blurcore.jpg, blurcore.jpg,
green_glow2.jpg, green_line.jpg, orange_glow2.jpg, orange_line.jpg,
purple_glow2.jpg, purple_line.jpg, red_glow2.jpg, red_line.jpg, yellow_glow.tga,
yellow_glow2.jpg, and yellow_line.jpg.
3) Now that we have located the main files that we need to edit, we need to create
an identical path found in the original assets0.pk3 file. This is where we will copy all 15 images in the sabers folder. So anywhere in your Jedi Outcast directory, create a folder called ‘gfx’ then inside that folder create another folder called ‘effects’ then inside that folder create one last folder called ‘sabers’. Important: Make sure you spell out each folder correctly when creating them, like I spelled them above, or when you go to test out your sabers nothing will work, because the path will be corrupt. Now, go back to the .zip folder you created earlier, and copy those 15 images. Place them right into the sabers folder you just created a minute ago. Now we can go ahead with our editing, the fun part!!
4) Go ahead and close the .zip folder for now. We will use it again later, but you can go ahead and forget it for now. Load up your image-editing program, most anything will work as long as you can open the images and save them later. Load up the blurcore.jpg and blurglow.jpg files. In all of the images you will be editing, black is used for transparency- so whatever is black basically won’t show up in game. The blurcore.jpg and blurglow.jpg files are the two files that define what the swing of the blade will look like. If you look at both, it is obvious that the left hand side of both images is where the blade of the lightsaber would be in game, and the swing of the saber would cause these images to show up as the tail of the blade, following it through its motion, creating the “blur” effect. So if you wanted to edit the tail of the lightsaber, you would consider the blade to be on the left side and plan out what you would like. Note: There is no need to use color when editing these two images. The trail of the saber will automatically take the default hue of the saber when implemented in game, so keep these 2 images grayscale. Once your satisfied with what you’ve got, you can save the images and go to the next step.
5) The remaining 13 images represent the colors of the various blades. We don’t need to worry about the yellow_glow.tga file, because as far as I can tell, it’s worthless for what we’re doing. So we now end up with 12 final images, which are basically the same. So lets load up blue_glow2.jpg, and blue_line.jpg. Just by looking at blue_line.jpg, you can probably tell what function it has in the game. It serves as the basic outline for the lightsaber blade, and again, the black portion of the image represents transparency. What may not seem so obvious is the blue_glow2.jpg image. This image serves as the lightsaber blade’s glow effect. Basically what it does is renders this image about 10 or so times as it goes up the blade. Once you start to play around with it you’ll probably notice what I am trying to say. My suggestion is that you edit the blue_glow2.jpg and the blue_line.jpg images, save them, then adjust the hue or color values to match the 5 other colors and overwrite other 10 files as you go. Once you think you are satisfied with your new saber, and are curious as to how it looks in game, you can easily check your work.
6) To check your work in game, you must create a new .zip file. Once you do so, copy the ‘gfx’ folder you made (the one with all of your custom saber images tucked deep inside of it), and place it right in the .zip folder. Now, if you explore your .zip folder, you should be able to go through the gfx>effects>saber folder and find all of your edited saber images. The only thing else you need to do is make sure you rename the .zip folder to a .pk3, and your done! Place the .pk3 file in the gamesdata>base directory, and it should work! Basically, any new .pk3 file you place in your base directory will replace whatever is in your pre-existing assets0.pk3 file. So if you want to restore your previous settings, just remove the .pk3 you made and put it somewhere else until your ready to use it again.
FINISHING TOUCHES
7) So you want to see your new sabers in the saber selection screen in multiplayer? Well, it doesn’t just magically show up all by itself, you must put it there! The image files you need to edit are located in the assets0.pk3 (you can just open up the .zip you already made), in the menu>art folder. There are three main images per color (e.g. for the blue saber, there is the saber_blue.tga, the actual blade that shows up in the saber selection screen, saber_blue_glow.jpg, which is the first aura of the saber, when the mouse is NOT looming over the saber, and saber_blue_glow2.jpg, for when you hover over the saber in the saber selection screen with your mouse). Again, play around with this, as you will find that Jedi Outcast is completely customizable. Another image you might consider editing is the unknownmap.jpg image found in the same folder, which (if you look at it) is the picture that shows up before a game loads. Remember, for these images that you edit to take effect you need to create a folder with the same directories as in the asset0.pk3, otherwise it won’t work. So for example, you could create a folder called menu, and in that another called art and in there you would put your saber selection screen images, as well as your unknownmap.jpg image. You can then go back to the .pk3 that you created which already has your regular saber, rename it to a .zip, copy and paste in the menu folder, and it should work like a charm.
FINAL NOTES
8) Remember, you can edit anything in Jedi Outcast and put it in a .pk3 format as long as it’s placed in the same location, as it would be in the assets0.pk3. This means sounds, music, shaders, anything. Also, you might want to consider learning a bit about .shader files- it’s a good tool to learn, because not only can you create special effects with the sabers, you can also change the alpha blending so as to make white transparent instead of black, or green transparent if you want to have a white saber with a black glow. Shaders provide endless possibilities, you can make things blink, fluctuate, flare, etc. You can find a shaders manual here: http://www.heppler.com/shader/ - It’s for Quake 3, but Jedi Outcast uses the same technology.
I hope you found this tutorial to be useful. If you have any questions or comments, email me and I’ll be glad to clarify anything. Happy editing!