Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the Arms model #9

Open
crashzk opened this issue Oct 15, 2021 · 0 comments
Open

Improvements to the Arms model #9

crashzk opened this issue Oct 15, 2021 · 0 comments

Comments

@crashzk
Copy link

crashzk commented Oct 15, 2021

I saw that there would be some models of arms that the plugin uses by default, repeats the same arms for all maps from what I noticed.

// Config models / arms
char g_aConfigArms[2][128] = { "models/weapons/t_arms.mdl", "models/weapons/ct_arms.mdl" };
char g_aConfigModels[2][1][128] = {
{
"tm_leet_variantA"
},
{
"ctm_st6"
}
};
// Default models / arms - community maps
char g_aDefaultArms[2][128] = { "models/weapons/t_arms_phoenix.mdl", "models/weapons/ct_arms_sas.mdl" };
char g_aDefaultModels[2][6][128] = {
{
"tm_phoenix",
"tm_phoenix_variantA",
"tm_phoenix_variantA",
"tm_phoenix_variantB",
"tm_phoenix_variantC",
"tm_phoenix_variantD"
},
{
"ctm_sas",
"ctm_sas_variantA",
"ctm_sas_variantB",
"ctm_sas_variantC",
"ctm_sas_variantD",
"ctm_sas_variantE"
}
};
ArrayList g_aDefaultTModels = null;
ArrayList g_aDefaultCTModels = null;
// Map models / arms - Valve maps
char g_aMapArms[2][128];
ArrayList g_aMapTModels = null;
ArrayList g_aMapCTModels = null;

Would it be possible to implement so that the plugin uses the default skins and arms of each map?

Would using this include be possible?

https://github.com/SAZONISCHE/modelch

Why this change?

Using the agents that the user has in his inventory, using cvars:

sm_arms_fix_bots "0"
sm_arms_fix_autospawn "0"

I can use my own agent, but his arms don't show, it's always being replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant