andersso / sm-weaponmodels Goto Github PK
View Code? Open in Web Editor NEWWeapon models plugin for SourceMod
Weapon models plugin for SourceMod
Hello, i have an issue with the addon, i already set it all up and configured it to have a custom M4, the one you shown in the video (BF3 m4)
However any weapon in the game has no viewmodel and if you purchase an M4, the server crashes, related to new update? i hope it gets fixed
I'm trying to install this model for the CT team:
https://gamer-lab.com/eng/mdl_source/Police_Baton?ysclid=lh57usyva511695490
The server crashes when joining any team. I also tried removing the keys: "TeamNum" and "BlockLAW".
I am using this configuration, tried to change indexes (42 and 59), doesn't work..
No errors in console or logs..
"ViewModelConfig"
{
"weapon_knife"
{
"ViewModel" "models/weapons/eminem/police_baton/v_police_baton.mdl"
"WorldModel" "models/weapons/eminem/police_baton/w_police_baton.mdl"
"TeamNum" "3"
"BlockLAW" "1"
}
}
Model is not replaced and when i pressed action button to take the weapon server crashed.
L 02/11/2022 - 13:06:23: [SM] Exception reported: Invalid edict (-1 - -1)
L 02/11/2022 - 13:06:23: [SM] Blaming: weaponmodels.smx
L 02/11/2022 - 13:06:23: [SM] Call stack trace:
L 02/11/2022 - 13:06:23: [SM] [0] GetEdictClassname
L 02/11/2022 - 13:06:23: [SM] [1] Line 344, C:\Users\Joakim\Documents\Git\SM-WeaponModels\scripting\weaponmodels.sp::OnWeaponSwitch
L 02/11/2022 - 13:06:23: [SM] [2] Line 329, C:\Users\Joakim\Documents\Git\SM-WeaponModels\scripting\weaponmodels.sp::OnClientSpawnPost
Hey, not sure how else to contact you other than through this way.
Any way this plugin could be tweaked to add other things that are not normally supposed to be server side?
Like custom weapon sounds?
Game: CS:GO
sm 1.10
06/17/2022 - 01:13:38: [SM] Exception reported: Failed to load SDK call "Animating_GetSequenceActivity"!
L 06/17/2022 - 01:13:38: [SM] Blaming: weaponmodels.smx
L 06/17/2022 - 01:13:38: [SM] Call stack trace:
L 06/17/2022 - 01:13:38: [SM] [0] SetFailState
L 06/17/2022 - 01:13:38: [SM] [1] Line 119, weaponmodels/entitydata.sp::WeaponModels_EntityDataInit
L 06/17/2022 - 01:13:38: [SM] [2] Line 276, weaponmodels.sp::OnPluginStart
When someone with access to a model [PlayerA] (handled by another plugin using the natives) is spectating someone without custom models [PlayerB], PlayerB has their hands/weapon disappear. It only happens if PlayerA has spawned previously (i.e. their custom view model entity was set), even if in previous rounds. Switching weapons back/forth [PlayerB] sometimes fixes it, but not always. If PlayerB has a custom skin equipped, even if they are switched to a different weapon (e.g. pistol is custom, but primary is up), they dont have the issue. I've tested too long on this. Any thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.