jimppan / SuperHero-Mod-CSGO

SuperHero Mod for CSGO
22 stars 8 forks source link

can you add weapon_fists for weaponid? #3

Open raytzou opened 4 years ago

raytzou commented 4 years ago

Hello I installed your super hero mod last week It's fun, the mod was my childhood in cs1.6 as well xd I really like this plugin, so I decided to write my own hero as well Unfortunately, there is no weapon_fists weaponid I think if we have this, maybe we can write more heroes like Saitama in One Punch or any character who uses punches xd

I edited superheromod.inc, but because of my bad programming skill, it seems not working correctly

enum CSGOWeaponID
{
     ...

     CSGOWeaponID_FISTS,
}

stock CSGOWeaponID WeaponClassNameToCSWeaponID(char[] classname)
{
     ...

     else if(StrEqual(classname, "weapon_fists")) return CSGOWeaponID_FISTS;
}

hope you can help this come true, and have nice day :)

KrillinsWorld commented 3 years ago

I cannot say for certain but I do not even think the game's engine has a "fist" as an index weapon. I think this is asking to add a weapon to the index list if that is even possible. I do not this is an issue as it is more of a requests. And this has gone untouched for 14 months. ???!!!

-Krillin