GLTh3Pr0 Posted March 9, 2016 Share Posted March 9, 2016 I just wanna start by saying that I'm very noob when talking of weapon modding, but I really love the look of Jedi Knight Galaxyes's DLT-19. I was wondering, is there a way to make it properly replace the vanilla repeater? Link to comment
Username Posted March 12, 2016 Share Posted March 12, 2016 Sure is; you need to edit the weapons.dat file. This file is located in "assets1.pk3" in your base game directory - you need a program like PakScape to open pk3 files. Then, in the file go through the folder "ext_data" and there will be a file called weapons.dat. Open it with notepad and look for this entry: } // WP_REPEATER { weapontype WP_REPEATER weaponclass weapon_repeater weaponmodel models/weapons2/heavy_repeater/heavy_repeater.md3 weaponIcon gfx/hud/w_icon_repeater ammotype 4 ammolowcount 25 energypershot 1 firetime 50 range 8192 altenergypershot 8 altfiretime 800 altrange 8192 barrelcount 1 missileFuncName repeater_func altmissileFuncName repeater_alt_func muzzleEffect repeater/muzzle_flash altmuzzleEffect repeater/altmuzzle_flash selectSound sound/weapons/repeater/select.wav selectforce fffx/weapons/repeater/select } In the "weaponmodel" line, change the location of the default repeater model to the one you want.That's about it, if you don't understand something just ask or if you prefer I could do it for you. Link to comment
Langerd Posted March 12, 2016 Share Posted March 12, 2016 Sure is; you need to edit the weapons.dat file. This file is located in "assets1.pk3" in your base game directory - you need a program like PakScape to open pk3 files. Then, in the file go through the folder "ext_data" and there will be a file called weapons.dat. Open it with notepad and look for this entry: } // WP_REPEATER { weapontype WP_REPEATER weaponclass weapon_repeater weaponmodel models/weapons2/heavy_repeater/heavy_repeater.md3 weaponIcon gfx/hud/w_icon_repeater ammotype 4 ammolowcount 25 energypershot 1 firetime 50 range 8192 altenergypershot 8 altfiretime 800 altrange 8192 barrelcount 1 missileFuncName repeater_func altmissileFuncName repeater_alt_func muzzleEffect repeater/muzzle_flash altmuzzleEffect repeater/altmuzzle_flash selectSound sound/weapons/repeater/select.wav selectforce fffx/weapons/repeater/select } In the "weaponmodel" line, change the location of the default repeater model to the one you want.That's about it, if you don't understand something just ask or if you prefer I could do it for you.@@GLTh3Pr0 And also change the barrelcount to 0. The repeater first person view model use two models.Also there are many times problems with model angels. If there are no issues in this model i see no problem: 1. Change in the Weapon.dat the lines in repeater model.2. Create folder in the models/weapons2/<this weapon folder> - and here You put glm. of the model and MD3 model that will be Your First person view (also this will help the game to know which glm model to use)3. IMPORTANT THING!!! the glm model that You put here will be the model that player , npc's are holding. The stupid thing is that it will not replace the weapon that you can pick up or the weapon that is dropped (force pull, death of the npc). This is weird so in your pk3 that You will made You need to add:-two folders one - the folder of this weapon and two - the folder called heavy_repeater. You have md3 and glm of this weapon in the folder.-Copy the glm. model and put it to the heavy_repeater folder.-After that You select this glm model and name it - heavy_repeater_w You have models and names correctly. You should put them in the folder with the name that models have paths to. The only one glm model you just put in the heavy_repeater folder to replace it (NOT IN THE GAME ASSETS!!! IN NEW PK3 FILE) Maksman likes this Link to comment
GLTh3Pr0 Posted March 13, 2016 Author Share Posted March 13, 2016 I ran into a little problem. After step 1, I tried to start the game just to see how the weapon looked in a NPC's hands, the game starting console says "corrupt zone header", any idea?Also there's another problem, in the DLT's folder there were like 20 md3 files like "model_bipod1", "model_scope" so just selected the "model.md3" in the .DAT, what should I do in this case?https://jkhub.org/images/9NSgKT7.pngEDIT: I tried Multiplayer and the game starts, but the repeater model is still the vanilla one Link to comment
Langerd Posted March 13, 2016 Share Posted March 13, 2016 I ran into a little problem. After step 1, I tried to start the game just to see how the weapon looked in a NPC's hands, the game starting console says "corrupt zone header", any idea?Also there's another problem, in the DLT's folder there were like 20 md3 files like "model_bipod1", "model_scope" so just selected the "model.md3" in the .DAT, what should I do in this case?https://jkhub.org/images/9NSgKT7.pngEDIT: I tried Multiplayer and the game starts, but the repeater model is still the vanilla oneModding weapons for mp is pain in the ass... And it kinda works differently.For Sp You should only put the MD3 file that has the name of the model (Can You make screen shot inside the folder with the models?) and glm file with only name of the model but with _w in the end. Link to comment
GLTh3Pr0 Posted March 13, 2016 Author Share Posted March 13, 2016 Yeah, now I see there are a little bit more than 20 models..https://jkhub.org/images/YprI3ju.png Link to comment
Langerd Posted March 13, 2016 Share Posted March 13, 2016 Yeah, now I see there are a little bit more than 20 models..https://jkhub.org/images/YprI3ju.pngCan You ulpoad here this gun? I will check the glm and MD3So many models .. Maybe it is because of the modification that You using. Link to comment
Stoiss Posted March 13, 2016 Share Posted March 13, 2016 the viewmodels is not needed. the only one you need is the model.md3 and glm. but you need to import and export the guns to fix there muzzle flash points as they are turn in a diff way then the orginal is maked. Link to comment
GLTh3Pr0 Posted March 13, 2016 Author Share Posted March 13, 2016 https://www.dropbox.com/home?preview=DLT-19.zipHere's the model Link to comment
Langerd Posted March 13, 2016 Share Posted March 13, 2016 https://www.dropbox.com/home?preview=DLT-19.zipHere's the modelLink doesnt work for me :S Link to comment
GLTh3Pr0 Posted March 13, 2016 Author Share Posted March 13, 2016 https://jkhub.org/files/file/2543-jedi-knight-galaxies-assets/You can find the weapon models inside "assets 2" Link to comment
Langerd Posted March 13, 2016 Share Posted March 13, 2016 Ok.. Wow..There are many files , many changes that makes everything very complicated.The glm model works fine but MD3 model (i think it is viewmodel.md3) Has strange paths.Use modview and use MD3viewer to find the textures You need. The pain in the ass will be creating new folders just to make the model paths work.The other problem is that ... It will not load in the game. The default game allows 1000vert model in FPS . This one has more than 2000... So It needs editing in blender for example to work in normal game :S The JKG modification could overpass the limit.. the default game.. will not load the model. Link to comment
GLTh3Pr0 Posted March 13, 2016 Author Share Posted March 13, 2016 In a few words, it's something EXTREMELY difficult, right? Link to comment
Langerd Posted March 13, 2016 Share Posted March 13, 2016 In a few words, it's something EXTREMELY difficult, right?Yep ^^ and time consuming.. The high quality models are allowed only in modifications where they were able to remove verts limits. In other words this model would need many changes and also taging, angles editing and other stuff... Link to comment
Stoiss Posted March 13, 2016 Share Posted March 13, 2016 Ok.. Wow.. There are many files , many changes that makes everything very complicated.The glm model works fine but MD3 model (i think it is viewmodel.md3) Has strange paths. Use modview and use MD3viewer to find the textures You need. The pain in the ass will be creating new folders just to make the model paths work. The other problem is that ... It will not load in the game. The default game allows 1000vert model in FPS . This one has more than 2000... So It needs editing in blender for example to work in normal game :S The JKG modification could overpass the limit.. the default game.. will not load the model.just what i said a few post ago. Langerd likes this Link to comment
Futuza Posted March 14, 2016 Share Posted March 14, 2016 Yep ^^ and time consuming.. The high quality models are allowed only in modifications where they were able to remove verts limits. In other words this model would need many changes and also taging, angles editing and other stuff...It might be easier just to fix the base game and use a modified version of openjk, with upped limits to get it to work without changing the model. Langerd likes this Link to comment
Langerd Posted March 14, 2016 Share Posted March 14, 2016 It might be easier just to fix the base game and use a modified version of openjk, with upped limits to get it to work without changing the model. True ... but look at all these models!!! It would be best idea to just put all these jkg assets and just edit Weapon.dat Also .. i dont know how to fix this. Maybe Openjk fix this issue like You said . If Yes that wouldnt be a problem. It would be just editing paths,names of the models etc. Link to comment
GLTh3Pr0 Posted March 14, 2016 Author Share Posted March 14, 2016 Is there any coding expert here on JKHub I can ask to? Link to comment
eezstreet Posted March 15, 2016 Share Posted March 15, 2016 We did not modify the limits for model vertices in JKG. If you're seeing a model that surpasses the vertex limit, then it's either not used by the game or there's some kind of error on your part. Link to comment
GLTh3Pr0 Posted March 15, 2016 Author Share Posted March 15, 2016 Does this mean the other models should be fine? Link to comment
Xycaleth Posted March 15, 2016 Share Posted March 15, 2016 Yep. At least, it will for the models that were used. Link to comment
GLTh3Pr0 Posted March 15, 2016 Author Share Posted March 15, 2016 Yeah, finally some good news! Link to comment
GLTh3Pr0 Posted March 25, 2016 Author Share Posted March 25, 2016 OK, I'm working with a new model and I've got a question. If (instead of working inside the game assets) I wanna do a pk3 file of the mod weapon that repleaces the vanilla weapon, what should I do? Link to comment
Barricade24 Posted March 28, 2016 Share Posted March 28, 2016 OK, I'm working with a new model and I've got a question. If (instead of working inside the game assets) I wanna do a pk3 file of the mod weapon that repleaces the vanilla weapon, what should I do?Replacing a base weapon is fairly simple. Some of the main things you will want to do is replace the weapon .glm with the weapon you want to use. Make sure it's the same name though. Also be sure to include all necessary files: shaders, textures, etc.. swegmaster and GLTh3Pr0 like this Link to comment
swegmaster Posted April 30, 2016 Share Posted April 30, 2016 k i've got the concussion 3rd person model working, however, the first person model seems to be flipped on its side, could anyone help? sorry in case i'm hijacking the post Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now