Custom player arms linux
The plugin allows you to add player models to your server, which are selected through a pop-up menu when you enter one of the teams.
The menu for changing the model can be called with the command !models written in the chat.
There is a preview of the mod, which allows you to view the newly selected model from a third person for some time.
In the csgo_models_downloads folder, you need to create any file with the cfg extension, and specify the resources that will be downloaded to the player, for example.
The settings in the csgo_models folder are similar to csgo_models_downloads
- flags » abz « / / as an example, we specify flags if we want to cut the model for players.
- model_player / / Path for the player model
- arms / / Path for player gloves (Use only for third-party models)
- vo_prefix / / Path to the sounds of radio commands (Do not use for standard models that do not have them, everything will work correctly for third-party ones)
The necessary data on operation models and standard cs go can be found here (vo_prefix and model_player)
Special thanks to Kailo for the model replacement module, as well as komashchenko for fixing gloves for non-standard models.
The names of non-standard models should not match the first item here.
Current Translations
- en — English
- ru — Russian
Variables
- sm_map_change_reload_cfg Allows you to prohibit reloading configs every map change.
- sm_buyzone_only Allow the choice of the model only in the area of procurement.
- sm_select_skin_time After how many seconds to disable model selection. ‘0 disable timer’
Commands
Commands in the chat for players:
!models, models, .models, !agents, agents, .agents Open models menu
Admin command:
sm_reloadmodels to reload the list of models.
Installation
Unpack the content to the server and restart it.
The plugin replaces the model at the stage of issuing it to the player.
Player model names must not match the standard model names in the game.
Источник
Custom player arms linux
My favourite Steam Machine is Shield TV where I am currently using a cloud gaming vm running Steam for windows with Quadro P5000. This has completely replaced my more than VR ready pc.
Recent news about changes to Linux kernel 5.1 helps bring Linux desktops to ARM devices and after finding older videos showing pc games running through Steam on ARM devices has me interested in setting up multi OS Shield TV and interested in Steam for Linux again. Ref: https://www.theinquirer.net/inquirer/news/3072289/raspberry-pis-3a-will-get-linux-51-kernel-support
This video shows a Valve pc game running through Steam client but does not show how Steam was launched so Steam and game are unlikely to be running natively on ARM. Counter Strike 1.6 was possibly Linux version being streamed from an x86_64 machine using a third party streaming app. We can see at begining of video armv7 CPU and Tegra K1 GPU are listed so the tablet itself is running a Linux for ARM OS, likely being Linux4Tegra. The video is not high enough res or high enough quality to see icon and text in tab when Steam client is brought into focus for to see what streaming app was used.
Can anybody explain the steps needed to recompile Steam for Linux so it works on an ARM device running Linux4Tegra?
Are we more likely to see the arrival of Steam Link App for ARM app rather than a Steam for Linux on ARM client?
The way one would be able to do this is one of two ways:
1. SteamLink: The base SteamLink client is available for ARM Linux. It is what the prepackaged SteamLink devices use. Just fetch it from Valve’s github page. This of course means running the main steam client on an x86 Machine, be it Windows, Mac or Linux.
2. JIT or Hybrid JIT/AOT x86 under ARM Multilib. This can be done using a combination of Bridged Linux Containers and KQEMU.
Number 2 is the only case where Steam is actually truly running ON the ARM processor.
Option 1, i.e. «cloud gaming» has one major flaw: Latency.
This isn’t an issue with streaming over a LAN as much, and is completely a non-issue on games that don’t require low-latency control response due to their nature.
However, don’t expect having a decent game of Doom or CS:GO on an Internet cloud gaming rig any time soon. On the other hand, playing any number of other games will be downright simple.
subscribing to post, this seems interesting.
— inquirer article seems misleading for some reason
— video does’t really show how its done, AFAIK it could be streaming the game or using x86 emulation to run Steam, hence it can only afford to run CS 1.6 (you lose a lot of performance from emulation)
I agree about the Inquirer article it should never refer to full Linux desktop distros or x86 apps running natively on ARM devices.
It misled me and is why I am now asking what I am!
Linux4Tegra runs Ubuntu desktop but is not full Linux desktop or has full Ubuntu repos you find on x86 or x64 devices.
Finding that video showing Counter Strike and Steam client running on a five year old tablet does sort of show major sauce going on. How on earth did Steam for Linux get recompiled for Linux4Tegra? And how did Counter Strike get recompiled for Linux4Tegra?
There is a common denominator there — Valve. 😎
If you pause the video at beginning showing system specs you can see it is running Linux4Tegra or some other Linux on ARM variant because armv7 CPU and Tegra GPU are listed showing Ubuntu and everything running in Ubuntu is running natively on ARM.
Here is another video showing what system specs in Ubuntu show when we know for sure it is running Linux4Tegra on Jetson Nano for comparison.
All this has me wanting to check out Linux4Tegra on Shield TV which has much stronger GPU compared to Jetson Nano or Shield Tablet.
There is old Dolphin guide describing how to install Linux4Tegra on Shield TV
That Inquirer article does at least indicate it is going to get much easier to install Linux on ARM desktop distros on ARM devices very soon.
Linux4Tegra is highly focused on development work, not really a daily desktop environment or gaming environment.
So because it is possible to run Steam client on ARM I would like to understand how better as my favourite cloud gaming service provides a Linux client but no web client to use on Jetson Nano so I could make Jetson Nano into a Steam Machine using steam for windows in cloud gaming vm with Quadro P5000. Ultimately I would like to learn or understand what is needed to recompile a Linux app for Linux on ARM when no ARM64 source code is available — just like Steam for Linux.
Why Linux gamers are not all over cloud gaming on non x86_64 devices already has me confused!
Pc gaming without owning a gaming spec PC! Come on, why they so slow to catch on? prejudices based on misinformation and myths
During my adventures with all the hype for Steam Machines I was fully onboard and enjoyed beta testing SteamOS on a potato pc and was watching YouTube videos about Valve and their partners showing off OEM Steam Machines at CES 2014 and stumbled across Nvidias keynote. Let’s just say that is how I found out about Shield devices and to be honest I nearly fell off my couch laughing at Jensen Huang when was making claims like «gaming on android is now on par with latest pc gaming graphical features» and «ARM is coming to disrupt pc gaming space» when announcing Tegra K1, Shield Tablet and UE4.
I bought a Shield TV and Shield Tablet in 2016 when I ordered all the parts for building my own VR ready Steam Machine.
Today my gaming rig is most expensive waste of space and hasn’t been used for gaming for just over a year.
Now I no longer laughing at Jensen and think he is greatest teacher on planet earth right now. I go out of my way to watch every single keynote he presents in its entirety. Several times .
When announcing RTX GRID Servers, RTX GRID Server Pods and GeForce Now Alliance Jensen dropped some clues about GRID virtualization platform at GTC 2019 indicating new types of GRID licenses are incoming adding to the vApp, vPC and vDWS options currently available, which he will share more info on «in the future».
What hardware is inside that puppy? Jetson TX2 SoC like Magic Leap?
Does it support cloud gaming, Hybrid Cloud Rendering and RTX ootb?
These are some of things which has me very excited about the future of gaming computer science and is why I am extremely interested in getting Steam running in Linux4Tegra on Shield TV.
Steam Universe has expanded way beyond what most of us can comprehend, I am sure of that.
Источник
Custom player arms linux
Description:
hi guys! there is already a plugin like this but it’s way more simpler.
How it work?
very simple , all you need to do is install the plugin and config the skins list so they can be used.
Commands:
sm_pskin or sm_models or sm_skins —> will show skins menu.
ConVars:
sm_pg_cfix (Default «1») —> Enable Included Arms Fix. sm_map_bomb (Default «0») —> If 1, then a bomb will be given to a random terror (only needed when sm_pg_cfix is 1) sm_map_classic (Default «0») —> Set This On Classic-Casual Maps (Gives Knife + Pistol + Previous Gun To Players) (only needed when sm_pg_cfix is 1) sm_map_awp (Default «0») —> Set This On AWP Maps (Give Knife + Awp To Players) (only needed when sm_pg_cfix is 1) sm_map_custom (Default «0») —> Set This On Custom Maps Like MG Maps That Saving Player’s weapons is Required (Give Knife + Previous Weapon To Players) (only needed when sm_pg_cfix is 1) sm_map_custom2 (Default «1») —> Set This On Custom Maps Like Deathrun maps that player’s weapons Should Not Be Saved (Give Knife To Players) (only needed when sm_pg_cfix is 1)
sm_map_mstay (Default «0») —> If 1 then player’s skins will stay on map change , otherwise it will be removed and need to be chosen again.
sm_pskin_enable (Default «1») —> Enable/Disable command !pskin in chat (useful if you only want to use automatic admin skin set feature). sm_force_arms_change (Default «1») —> If true, the immediate arms will be set on skin choose.
sm_cat_enable (Default «0») —> Enable/Disable categorie support via categories.ini file (see the configuration if your going to use this)
sm_start_menu (Default «0») —> Enable/Disable showing menu to players on round start. sm_map_dstay (Default «0») —> If Enabled, player’s skin will stay on disconnect so they will still get their skin on reconnect (using this may cause unwanted skins on different people) sm_model_check (Default «0») —> check if player’s model have changed or not. sm_ask_arms (Default «1») —> If this is enabled, the plugin will ask about arms on each new skin selection or set (not on Auto-Skin Setting or Skin-Per-SteamID).
sm_hide_options (Default «0») —> hide menu options that people does not have permissions to use.. sm_max_use (Default «1») —> set how many times people can you !models or !pskin command.
sm_hide_teams (Default «0») —> hide opposit team’s skins to be shown in user menu.. sm_save_setskins (Default «1») —> if this is enabled , saved skins are going to be applied on users even if saving is disabled.
sm_save_skins (Default «0») —> if this is enabled , user’s skins will be saved on selection to then return the user’s skin on connect or mapchange you’ll need to enable sm_save_setskins. sm_set_delay (Default «0.02») —> delay in seconds (must be in float format) which tell the plugin when it’s safe to set the skin.
sm_mapskins_enable (Default «1») —> let you choose whether you want map skins to be applied or not.
sm_round_timeout (Default «20.0») —> restrict usage of !pskin after a time after round start (disable it by setting it to 0.0)
Add an entry named «PlayerSkins» into database.cfg like this from version 5.0.0
USER_FLAG_CHAR : this is the acsess flag char that you need to set if you want your admins or vips or etc have the custom skin on spawn/join. (a b z r t whatever!).
NOTE : The User_Flags_Char must not be empty otherwise you might see unwanted bugs.
NOTE : You can use def option or ConVars , anyway if you use def option, then convars will be ignored and if you remove def option then the skins from convars will apear.
SkinT: This is clear , just put skin’s model path for Terrorists.
ArmsT: Like Skin, just put Skin’s Arm Path for Terrorists.
SkinCT: This is clear , just put skin’s model path for Counter-terrorists.
ArmsCT: Like Skin, just put Skin’s Arm Path for Counter-terrorists.
Configurations For categories.ini
Okay, let’s say this file is only needed when sm_cat_enable is «1» so if you’re not gonna use this feature just ignore this part.
Categories are the new feature available from version 2.7.5 and on letting you to have categories for your skins.
how it works? it just uses your flags set in skin.ini and then create a menu of those skins with the correct skin flag as the one on categories.ini, so careful about configurating both!
here just an example of how it’s gonna look:
********************************************* ************************
NOTE : Use SM File Downloader/Precahcer file to make your models available for download in your server. NOTE: This Plugin Is Using The Arm’s fix created by my self you can turn my fix off by setting the convar sm_pg_cfix to 0 , my fix removes player’s weapon on round end and give them back on round start .
Thanks to everyone.
NOTE: YOU DO NOT NEED TO USE NOMISCZ ARMS FIX INORDER TO PREVENT ARMS OVERLAPPING ANY MORE (From 3.5.1 and on).
** French Translation By Schwarz **
—> Download
—> Copy into «translations/fr» in your sourcemod folder.
** French Translation V2 By Cripix **
—> Download
—> Copy into «translations/fr» in your sourcemod folder.
** Russian Translation By 3axap **
—> Download
—> Copy into «translations/ru» in your sourcemod folder.
Checkout Github for latest releases :
GIT REPO
UPDATED! Version 1.7.6 ** 3/2/2017 — Added support for allow some skins only from a flag. — Added some more report for players like tell them which skin they have choosen. |
UPDATED! Version 1.8.2** 3/6/2017
-Added a new method for arms fix (So much thanks to EasSidezz this guy helped me alot)
now player’s weapons will not be removed and will be stored on round end and will be given back to them on round start after a short period of time.
UPDATED! Version 1.8.5** 3/8/2017
— Fixed Version 1.8.2 bug not getting players weapon after round end.
— Fixed some small bugs.
— Added new feature to make a skin public for both teams.
UPDATED! Version 2.0.1** 3/11/2017
-Added a new convar called sm_map_bomb.
-Added a new convar called sm_ct_model.
-Added a new convar called sm_ct_arm.
-Added a new convar called sm_t_model.
-Added a new convar called sm_t_arm.
-Added a new convar called sm_map_classic.
-Added a new convar called sm_map_awp.
-Added a new convar called sm_map_custom.
-Added a new convar called sm_map_custom2.
-Fixed a bug on setting a skin to be used by both teams.
UPDATED! Version 2.1.2** 3/13/2017
-Improved Arms fix method to prevent overlapping.
-Fixed some warning.
UPDATED! Version 2.3.6**3/15/2017
— Added a new system for automatic skin set.
— Added colors to messages.
— Added small console reporting messages.
— Fixed some looping errors.
UPDATED! Version 2.4.8** 3/16/2017
— Fixed many bugs caused by wrong method on getting user flags.
— Fixed player’s skins was not staying on round restart.
— Updated some used functions and cleaned some useless codes.
Bug : This version of the plugin may have issues with Automatic user skin set by flag so use 2.5.5 if you have problems with this.
UPDATED! Version 2.5.5** 3/21/2017
— Added new method for automatic skin set.
— Removed the old method for skin set (there is no looping though configuration file anymore).
— Fixed some warning on plugin script.
— Version 2.4.8 Bug is now fixed using the new method.
UPDATED! Version 2.6.0**3/22/2017
— Added a new convar called sm_map_mstay (See the original convar list for info)
NOTE: use this version only if you have bug with skins after map change otherwise use 2.5.5
UPDATED! Version 2.6.5**3/24/2017
— Added a new convar called sm_pskin_enable.
— Added a new default key called as «def» in admin_skins.ini.
— Fixed some Handles was not closing.
— Fixed some small bugs.
UPDATED! Version 2.6.7**3/26/2017
— Fixed weapons drop on each spawn.
— Added a new convar called sm_force_arms_change (more info in first post).
— Added immediate arms set on choosing new skin during the round.
— Arms fix improved.
UPDATED! Version 2.7.5**4/1/2017
— Added a new ConVar called sm_cat_enable (more info in original convar list).
— Added the def option as a default option that can’t be removed.
— Added categories support (See the configurations in first post).
— Removed the def option from skin.ini.
— Fixed some unwanted looping that caused server crash.
UPDATED! Version 3.0.3**4/10/2017
— Added a new system for auto map mode detect (this will make convars useless in your cfg files)
— Added 2 aliases for !pskin (!skins and !models)
— Added Map Modes name like MAP_35HP (It’s not a native cuz i still can’t make one !)
— Added a download/precache file for you models download called download_list.ini
— Fixed some bugs bypassing admins permissions on skin set (i had it on some of my tests but previous version may not have this bug)
UPDATED! Version 3.0.5**4/27/2017
— Added a new convar called sm_start_menu (see convar list)
— Fixed some small bugs
Bug : download_list.ini does not work for an unknown reason, i’ll try to fix it soon.
UPDATED! Version 3.0.8**5/1/2017
— Added a new ConVar Called sm_auto_skin_set to take control over any skin setting’s automation.
— Added a new ConVar Called sm_map_dstay to enable or disable if skins should be removed on player disconnect.
— Added a new method for menu skins admin flag detection to add support for multi flag on Flags key.
— Changed a ConVar Called sm_start_menu to make a menu show to people on spawn.
— Fixed a horrible mistake on Map AutoMod detection causing it to not work in a right way.
NOTE : the new method for flags is just for menu using skins.ini and admin/vip skins are still single flag support.
UPDATED! Version 3.1.7**5/23/2017
— Added a new ConVar called sm_model_check to check if player’s model have changed or not.
— new Arms Fix included.
— Fixed some small bugs and changed some codes.
— Tried to fix download_list.ini file but haven’t tested it.
— Changed Auto Skin Set to the old method to work without bugs.
UPDATED! Version 3.1.8** 5/24/2017
— Removed sm_auto_skin_set ConVar causing troubles for auto skin set.
UPDATED! Version 3.5.1**6/8/2017
— Removed N Arms Fix, so you don’t need it anymore.
— Fixed up a bug with staying model on round restart.
— Fixed up a bug with Auto Skin Set Feature.
— Fixed serveral bugs with AutoMapMode Decetor to make it work like a charm.
— Removed 4 plugin ConVars (sm_ct_model, sm_ct_arms, sm_t_model, sm_t_arms)
— Auto Skin Set is now only dedicated to admins_skin.ini file.
— Tried to fix download_list.ini , but still having bugs so it’s still not usefull.
— Tried looking for any possible bugs could happen but did not find any my self so if you had just report.
— Planning on add Multi flag support for Auto Skin Set Feature on next release if this one goes well.
UPDATED! Version 3.5.7** 7/20/2017
— Added multi flag support for automatic skin set feature.
— Fixed some bugs with skins getting removed after each spawn.
— Fixed skins removed on map change (haven’t tested if really fixed but it is 99%)
NOTE : Multi-Flag Support uses flag bits to compare so you have to set skins path for each set of flags for example if you have 2 types of admin and same skin is required for both you need to set it twice in the config file with 2 different set of flags used.
UPDATED! Version 3.6.3** 8/21/2017
— Fixed invisible arms while no arm’s path was defined.
— Fixed some spawn errors.
— Fixed most of plugin’s errors.
UPDATED! Version 3.6.5** 9/18/2017
— Fixed a very small bug in plugin in functions caused skins set to flag Q not to work (Thanks to rale for letting me know).
UPDATED! Version 3.7.4** 9/25/2017
— Added a new convar called sm_check_gloves to check if the client have gloves or not then ask them if they want arms or not.
— Added a new convar called sm_hide_options to hide menu options that people does not have permissions to use.
— Added a new convar called sm_hide_teams to hide opposit team’s skins to be shown in user menu.
— Added a new system for skin-per-steamid to give specified skins to unique steamids. (like server owner or whatever!)
UPDATED! Version 3.7.6** 9/25/2017
— Fixed some bugs that made the new features useless (thanks to MorreJaa)
UPDATED! Version 4.4.1** 10/9/2017
— Added a new system for saving choosed skins via users.
— Added a new cvar called sm_save_skins to enable or disable saving feature.
— Channged sm_check_gloves via sm_ask_arms to ask for arms with or without gloves.
— Optimized plugin saving path files to work with custom sourcemod installations.
An SPECIAL Thanks to MorreJaa for helping me testing out and finding bugs.
NOTE: as the keyvalue file loads once though your ram, it should not cause any lag if you are not out of ram.
UPDATED! Version 4.4.9** 10/11/2017
— Added translation file to support more languages.
— Added a new ConVar Called sm_max_use To set how many times people can you !models or !pskin command (Default = 1).
— Added automatic config creation and execution and save in cfg/sourcemod as configs.playerskin.cfg.
— Fixed a reported bug on saving/loading skins database.
— Fixed a bug caused gloves to overlap with the cuurent skin’s arms (anyway if you **Have Your Own Or Choose** a glove from a glove plugin after the plugin have set your arms, it will overlap.)
Note: I can probably fix this with forcing and set people arms to none but i’m not sure if it will get your GSLT banned or not so i won’t risk it.
UPDATED! Version 4.5.2** 1/14/2018
-Fixed an issue with saving skins which made it impossible to disable saving operation (Thanks to MikesTooLz for reporting this).
-Fixed some possible issue that may cause different team arms might be applied to the current team.
UPDATED! Version 4.6.0** 1/18/2018
— Fixed arms problem after changing team.
— Fixed arms problem after selecting default skin.
— Fixed arms problem when the arms path was empty.
— Fixed gloves detection methods.
— Added a new category system.
NOTE: there shouldn’t be any arms overlap in any case but still if you had one, just report.
** All tutorials have been declared through the plugin’s configurations files inside the plugin’s archive
UPDATED! Version 4.6.0 fix8** 4/7/2018
— Fixed an issue with user’s permission being ignored and everyone was able to choose all skins from the menu.
— Fixed an issue with saved skins which it’s arms would not set.
Note: delete automatic config generated for the plugin and let the plugin re-create it again.
UPDATED! Version 4.6.1 fix1** 4/18/2018
— Fixed permissions being denied which wasn’t really fixed in previous version.
— Fixed waiting message on round start going on a loop on every single rounds.
— Added a new ConVar Called sm_save_setskins which will be used to control restoring skins, so if it’s enabled people are going to get their saved skins and if it doesn’t then even if the user has saved skins or saving is enabled, no skins are gonna apply (Enabled by default).
— Did some code cleanup and will do more in next release.
Todo:
— Add Randomization to selected skins in skin.ini file which make it easy for operators to let everyone have a random skin each mapchange.
— Remove non-required Cvars which making the code looking awful.
— Add PerMapSkin to make it easier for operators with multi-mode servers to have specific skins on clients per map
UPDATED! Version 4.6.2 fix4** 5/13/2018
— Fixed an issue when you had a saved skin on the other team your chat would get spammed by server saying you’re awating to get your skin on next round.
— Added a per map skin support that will take place just after user spicifed skins if the new convar is enabled.
— Added a new convar called sm_mapskins_enable which let you to choose if you want the map skins to be appiled.
UPDATED! Version 5.0.0 Build 13** 1/1/2019
— Added to new lines to translation file so you’ll need to update it as well.
— Added SQL support so that skins will be stored on being selected (This cannot be controlled anymore).
— Removed a huge amount of useless commands which will be marked as depricated on the main post.
— Removed AskArms menu for now (There will be an automatic detection soon)
— Removed File database used for storing user’s skins.
— Removed MapMode Checker.
— Removed Model Checker (Which was not working)
— Removed Giving bomb on bomb maps.
— Removed all hooks except player spawn.
— Removed debug command sm_printi
— Removed max use convar (There will be a time restriction added soon)
— Fixed admin skins where not being set.
— Cleaned up many junk code.
UPDATED! Version 5.0.1 Build 4** 2/2/2019
+ Added a new ConVar called sm_round_timeout to restrict usage of !pskin after a time after round start
+ Fixed an issue with some databases caused them to not be able to save (like mariadb or mysql) Thanks to Extazy.
Источник