Mumpfy Posted July 29, 2018 Share Posted July 29, 2018 Hey... Im not the best at this, im just starting... but I think your gun model is not ok, xyth will probably have a better answer for this. all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting... I got this.... it fires do... * I have done the same with other models I did and works fine... I think you need to redo the model. hope you can fix it. Link to comment Share on other sites More sharing options...
KhaineGB Posted July 30, 2018 Share Posted July 30, 2018 Hey... Im not the best at this, im just starting... but I think your gun model is not ok, xyth will probably have a better answer for this. all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting... I got this.... [ATTACH=CONFIG]24815[/ATTACH] it fires do... * I have done the same with other models I did and works fine... I think you need to redo the model. hope you can fix it. That just needs rotating 90 degrees in unity on the child object. Link to comment Share on other sites More sharing options...
Mumpfy Posted July 30, 2018 Share Posted July 30, 2018 Look for paco's tutorial on advanced weapons in the tutorials & guides part of the forum, you'll see there that after importing a gun from unity store he adds an alpha 16 mesh (ak) to set the new gun into position and scale... scales are weird... fireaxes for example or other tools you need to set them about 2.5 scale to fit the proper way... paco's tutorial is quite good, I was able to make a new gun following that step by step... size is good, flashlight working, animation for "fire" is ok... the reload animation you can see sucks a bit, because is set too slow I think... takes longer (a lot longer) than the player hand animation and I still have not worked on the clip... but you will probably be able to solve it checking that tutorial. [video=youtube_share;ON_UyPzFci0] Link to comment Share on other sites More sharing options...
vitaminded Posted July 30, 2018 Author Share Posted July 30, 2018 all I did was downloading the game you sent, added the AK5C model to the >mods>SDX>resources folder and then I replaced the "mesh in hand" on the regular AK item (didn't had time to make a new item) just to see what I was getting... Mesh in hand u mean this ? <property name="HandMeshfile" value="#AK5C?AK5C"/> Link to comment Share on other sites More sharing options...
Mumpfy Posted July 31, 2018 Share Posted July 31, 2018 Mesh in hand u mean this ? <property name="HandMeshfile" value="#AK5C?AK5C"/> yes i meant that, sry. i already deleted your game folder sry, or i would copy the item code for you here, but all i did was add those 2 lines of code for handmesh and dropmesh *(or whatever they go like, you know what i mean) below the "mesh" code line in the regular AK of the game. Link to comment Share on other sites More sharing options...
Mumpfy Posted July 31, 2018 Share Posted July 31, 2018 since im already here... anyone has a clue why im not been able to get the "assemble preview" on my guns? i did the guns as i said following the tutorial and everything works perfect but that. i fixed the animation,made custom icons, i have that golden pistol and one with a silencer working in game but keep having the old pistol preview. Link to comment Share on other sites More sharing options...
KhaineGB Posted July 31, 2018 Share Posted July 31, 2018 since im already here... anyone has a clue why im not been able to get the "assemble preview" on my guns? i did the guns as i said following the tutorial and everything works perfect but that. i fixed the animation,made custom icons, i have that golden pistol and one with a silencer working in game but keep having the old pistol preview. You need 2 prefabs. One with the name of the item, and then one with the item name and Preview attached to the end. So the standard pistol in the game would be gunPistol and gunPistolPreview. Link to comment Share on other sites More sharing options...
Mumpfy Posted July 31, 2018 Share Posted July 31, 2018 yes I did a duplicated named preview at the end... but didn't worked... I exported both togheter is that correct? or do I need to export two prefabs? I think im missing a step or doing something wrong Link to comment Share on other sites More sharing options...
KhaineGB Posted July 31, 2018 Share Posted July 31, 2018 Both need to be together and in the same unity3D file. Link to comment Share on other sites More sharing options...
Mumpfy Posted July 31, 2018 Share Posted July 31, 2018 Both need to be together and in the same unity3D file. ok, i did it that way, must be doing something wrong... will try to fix it. thanks mate. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.