Senior Member
Join Date: May 2021
Location: Uruguay
|
09-19-2022
, 04:50
Re: SideWeapons v0.2 [CS/CZ]
|
#30
|
Quote:
Originally Posted by kww
What we have:
- Sped up animations: more weapons are shown on player, more speed gained
- If we want to use single model then we can't show grenades on player because max bodygroup we can show is 255, grenade starts from 320 (that model is not released, still wip)
bodies
Code:
enum _:BodyMapping {
// Nothing
Blank = 0,
// Primary
h_ak47 = 1,
h_aug = 2,
h_awp = 3,
h_famas = 4,
h_g3sg1 = 5,
h_galil = 6,
h_m3super90 = 7,
h_m4a1_sil = 8,
h_m4a1_unsil = 9,
h_m249 = 10,
h_mac10 = 11,
h_mp5 = 12,
h_p90 = 13,
h_scout = 14,
h_sg550 = 15,
h_sg552 = 16,
h_tmp = 17,
h_ump45 = 18,
h_xm1014 = 19,
// Secondary
h_deagle = 20,
h_elite = 40,
h_fiveseven = 60,
h_glock18 = 80,
h_p228 = 100,
h_usp_sil = 120,
h_usp_unsil = 140,
// Melee
h_knife = 160,
// Grenades
HE = 320,
Flashbang = 640,
Flashbangs = 1280,
SGren = 1920
};
- If we want to use single model then we are limited in controllers usage
|
A solution that is not a solution is to do all the combinations manually, to solve the bug of the accelerated entity, that is: - Glock
- Glock + HE
- Glock + FB
etc
but the problem is that the final .mdl, what take each submodel as an independent entity, so each individual weight is added, making files up to 5 mb, only with the grenades and the Glock, imagine doing it with each weapon, it is an unfeasible task, even separating the model from the textures , doesn't work either.
__________________
|
|