LWSS / Fuzion

Fuzion is a free-as-in-freedom CSGO cheat for linux
GNU General Public License v3.0
336 stars 149 forks source link

New knife models #464

Open adingy2 opened 4 years ago

adingy2 commented 4 years ago

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

ghost commented 4 years ago

You have file names in first line before code, easy copy-paste. https://pastebin.com/EBKNgXTv

adingy2 commented 4 years ago

hello @WilQ18 i have actually read your guide but after building it gives me errors

ghost commented 4 years ago

Post them?

adingy2 commented 4 years ago

@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

ghost commented 4 years ago

You just need use same fix as ursus for those 4 new knifes. Instead of "||" you can use 'or'.

adingy2 commented 4 years ago

} 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

adingy2 commented 4 years ago

/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

adingy2 commented 4 years ago

@WilQ18 I added the knife anims on skinchanger.cpp but it broke other anims such as usp, m4a4, etc.

ghost commented 4 years ago

Show full code how you added it.

adingy2 commented 4 years ago

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

ghost commented 4 years ago

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.

0AnyKey0 commented 4 years ago

Hello, I'm use Manjaro, how can I change files?

ghost commented 4 years ago

Visual Studio Code or any other text file editor.

0AnyKey0 commented 4 years ago

I don't know where the files are

0AnyKey0 commented 4 years ago

I'm download from AUR

cheddar-cheeze commented 4 years ago

then download it using git

OtakuLinux commented 4 years ago

I added new knives and other skins. This can be found in pull request.