Fuzion
Fuzion copied to clipboard
New knife models
Can you please add the new knife models? I've added the new skins on my fork but i do not know how to add models
You have file names in first line before code, easy copy-paste. https://pastebin.com/EBKNgXTv
hello @WilQ18 i have actually read your guide but after building it gives me errors
Post them?
@WilQ18 a bit lower where you fix animations (replace where you fix ursus knife anims):
else if ((szModel == "models/weapons/v_knife_ursus.mdl") ||
(szModel == "models/weapons/v_knife_cord.mdl") ||
(szModel == "models/weapons/v_knife_canis.mdl") ||
(szModel == "models/weapons/v_knife_outdoor.mdl") ||
(szModel == "models/weapons/v_knife_skeleton.mdl"))
Where do I exactly put these? I think this is the problem maybe I pasted this incorrectly
You just need use same fix as ursus for those 4 new knifes. Instead of "||" you can use 'or'.
} else if (szModel == "models/weapons/v_knife_cord.mdl") { switch (m_nSequence) { case SEQUENCE_DEFAULT_DRAW: m_nSequence = Util::RandomInt(SEQUENCE_BUTTERFLY_DRAW, SEQUENCE_BUTTERFLY_DRAW2); break; case SEQUENCE_DEFAULT_LOOKAT01: m_nSequence = Util::RandomInt(SEQUENCE_BUTTERFLY_LOOKAT01, 14); break; default: m_nSequence++; }
Like this? @WilQ18
/home/wayne/Fuzion/src/Hacks/skinchanger.cpp: In function ‘void SkinChanger::SetViewModelSequence(const CRecvProxyData*, void*, void*)’: /home/wayne/Fuzion/src/Hacks/skinchanger.cpp:472:62: error: expected primary-expression before ‘||’ token else if (szModel == "models/weapons/v_knife_ursus.mdl") || ^~ CMakeFiles/Fuzion.dir/build.make:1406: recipe for target 'CMakeFiles/Fuzion.dir/src/Hacks/skinchanger.cpp.o' failed make[2]: *** [CMakeFiles/Fuzion.dir/src/Hacks/skinchanger.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Fuzion.dir/all' failed make[1]: *** [CMakeFiles/Fuzion.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
@WilQ18 I added the knife anims on skinchanger.cpp but it broke other anims such as usp, m4a4, etc.
Show full code how you added it.
else if ((szModel == "models/weapons/v_knife_ursus.mdl"|| "models/weapons/v_knife_cord.mdl" || "models/weapons/v_knife_canis.mdl" || "models/weapons/v_knife_outdoor.mdl" || "models/weapons/v_knife_skeleton.mdl")) i used this because someone on discord told me to do this
else if ((szModel == "models/weapons/v_knife_ursus.mdl" || szModel == "models/weapons/v_knife_cord.mdl" || szModel == "models/weapons/v_knife_canis.mdl" || szModel == "models/weapons/v_knife_outdoor.mdl" || szModel == "models/weapons/v_knife_skeleton.mdl"))
Try this.
Hello, I'm use Manjaro, how can I change files?
Visual Studio Code or any other text file editor.
I don't know where the files are
I'm download from AUR
then download it using git
I added new knives and other skins. This can be found in pull request.