Jump to content

SorcererofRhand

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by SorcererofRhand

  1. Good news! I managed to fix the problem. Turns out I made a typo in the sabers.shader and that caused the error with the .jpg files. I somehow managed to type "rbg" instead of "rgb". After I corrected that, everything worked exactly as intended. Regardless, I am very appreciative of the help and solutions presented on this forum post and I firmly believe they will help me in the future as I continue learning to mod JKA.
  2. @NAB622 I must say thank you for your diligence! It is greatly appreciated! The "pink_line" is 64 x 256 and the "pink_glow2" is 128 x 128. If it matters, I used GIMP to change the color hue of a copy of the original "yellow_line" and "yellow_glow2" and then exported them as .jpg files. There was no change to the behavior and the grey squares persisted. I pulled the "red_line" and "yellow_line" files from "gfx/effects/sabers" in the game's assets on two separate occasions (trying one at a time), deleted the old "pink_line" file (I made several backups just in case) and replacing it with the respective "line" file and renaming that "line" file to "pink_line" to ensure the code knew to grab it. I will make sure to keep that in mind! Thank you! That is a relief! I do not mind debugging, but it can be tedious to look through so much code at once. That is also useful to know! Thank you! Even more useful information! Thank you again! No worries, it simply sets it so that if that hilt is spawned with the "saber" command, the default color will be pink. I was trying to test and see if there was something wrong with the execution of the saberColor command.
  3. @NAB622 Firstly, thank you for your reply! I have done so, but no errors appear in the console whatsoever when I use the command "saberColor 1 pink". It behaves as if I were commanding it to do "saberColor 1 blue".
  4. Greetings, I have attempted to create a custom Lightsaber color using this tutorial However, when I use my custom color in the game, everything works except for what I assume is the core as can be seen below in the attached images. What I have tried so far: 1. Replacing my custom .jpg files with files pulled straight from the game's asset files (no change) 2. Renaming the .jpg "pink_glow2" and "pink_line" to .tga files (crashed the game on startup) 3. Looking through all JKA SP code files for keywords like "purple" and adding in entries for "pink" (no change) 4. Changing the "cull" parameter in the sabers.shader file from "disabled" to "twosided" to match the other entries (no change) 5. Changing the "map" parameter in the sabers.shader file from "gfx/effects/sabers/pink_glow2" to "gfx/effects/sabers/pink_glow2.tga" and doing the same for the pink_line entry (no change) 6. Creating a copy of the single_1.sab and going through the necessary steps to make a single_10.sab file with pink as its default color (no change) --------------------------- What is working (seemingly): 1. The glow from the saber seems to work properly 2. The Lightsaber trail seems to work properly 3. Sound effects are all normal 4. The color can be selected from the console using the saberColor command without error 5. All vanilla saber colors work perfectly 6. All saber hilts (including custom hilts from JKHub) are able to switch to the pink color 7. The game is reading the "gfx/effects/sabers" folder successfully (I think, based on the game crashing when I renamed the files within to be .tga instead of .jpg) 8. The game is reading all other files in the .pk3 file containing the custom color successfully (all other files work as intended) --------------------------- If there is any further information you require or any questions you might have, please do ask. I am not a coding novice, but I am just getting started with modding JKA Thank you in advance for your help!
×
×
  • Create New...