So you know my machine gun mod. The problem with it is that it gets laggy with several vehicles with guns spawned or with a lot of bullets, because each bullet is a separate node and they all need to be pre-loaded, adding hundreds of extra nodes to the vehicle. I was wondering if it was possible to only add the bullet node as you shoot, then remove it when it lands on the ground and doesn't move for some time. I tried jbeamUtils.addNodeWithOptions() and obj.setNode() but neither of them seem to work in real time. Is it even possible, if yes then how? --- Post updated --- Ok this is kinda irrelevant now as it wasn't the node count causing the lag but rather the thrusters, I made a simper system without them and no lag now. But still it would be cool to know if you can add nodes in real time.
Ok, that would be cool. Would be also an excuse for me to add the improved code and fix some bugs with it.
There you go ! i didn't UV Unwrap it properly as i couldn't find what texture you used, could you do that ?
This is a nightmare to unwrap for me as I have little experience, maybe you can do better with this texture as reference
Of course, i might upgrade it even more later on but for now it's good enough. Although one little problem is the bearing i put is not exactly in line with the jbeam's pivot point but i'm not sure if you can fix it without messing the jbeam up.
Noticed some flipped normals and added a different texture for the handle on the side --- Post updated --- I've got a few ideas for the mod but i don't know if it's possible, Can the exhaust flame effect be used as a muzzle flash ? Can there be an effect attached to the bullets to be able to see them ? Could a sort of laser sight be possible ? i would do the model of course
If I knew how to add these, I would have done it long ago. Bullets can't be visible because it would make it too laggy with so many models
I was thinking about an effect like smoke, but i definitely see why it's not possible. but wouldn't the laser sight be possible with a very long cylinder with emissive materials ?
I can try for the update but not sure if it will work, the game sometimes doesn't like too long models
Even if it's not very long it would be better than nothing i think. --- Post updated --- I got an idea; since i added handles at the rear, could a dummy be put here ?
Maybe for the D-Series it could, the issue I have with dummies though is that I put them in so many of my mods and they all have different models, textures and materials, it's hard to make it all compatible together, but I can add it here
Cool ! I also thought about the sunburst, it might be possible to do if you remove the trunk Also the handles are very probably too small i'll make them bigger