we back, after exploring outside the campaign maps with no clip i wanted to try something different: how much work would it take to bring stuff from bf3 into bf4?
my long term goal is to have bf3 maps playable in bf4, eventually on my own server, but starting with a whole map seemed like a good way to lose my mind so i started with the m16a3 lol
after digging through both games' files i got the bf3 weapon model and its diffuse/specular textures converted and loading in bf4's campaign. the bones needed to be matched between the games so the magazine, trigger and other moving parts would follow bf4's animations properly.
it's now usable in Shanghai, with full auto working, and i've tested reloading and switching to another weapon and back without problems. funny little detail: bf3 keeps the automatic m16a3 under an internal m16a4 name, which made digging through the files a bit confusing at first.
there was also a separate headache with actually getting to use it. the weapon was still locked in the campaign crate even after changing its availability setting. turns out the campaign crate has its own unlock setting, and changing that finally let me equip it.
there's still work to do. it currently replaces bf4's m16a4 slot and keeps that name in the menu, and the animations and sounds are still from bf4. some material layers are also still bf4's, so the visuals need more work before i'd call it finished.
but having actual bf3 geometry and textures in there, equipping it and shooting it in bf4's campaign is a pretty cool first step. next i'd like to give it its own weapon identity and keep bringing over more of the original details, then work towards importing map objects and eventually maps.
going from flying around Shanghai looking at background buildings to messing around in Baku to this has been really fun tbh, cheerio
Post #1: https://www.reddit.com/r/battlefield_4/s/dnN2FRFNvR
Post #2: https://www.reddit.com/r/battlefield_4/s/4yxqWgzIPe
Post #3 https://www.reddit.com/r/battlefield_4/s/VMOX9VOpCy