View Single Post
Author Message
KrazyCake
New Member
Join Date: Jul 2022
Old 07-09-2022 , 13:38   [CS:S] Requesting plugin to set playermodels per map
Reply With Quote #1

Hello all.

I would like to request a plugin that will set the playermodels for all clients (including bots) on the server depending on the current map. Previously, I have used sm_skinchooser (https://forums.alliedmods.net/showthread.php?p=780243) which comes close, but not fully, to what I would like. I have tried writing my own but Sourcepawn is a bit beyond me Ideally, I would like the plugin to function as follows:

Script would look for a config file with the map name that contains the models to be used for that map. Terrorists and Counter-Terrorists have their own lists for that map. Each client is randomly assigned a model from that list for their corresponding team. If no map config is present, use default CSS players choice. As an example:

de_dust2_skins.ini
Code:
TerroristSkins
[
	models\player\t_badguy1.mdl
	models\player\t_badguy2.mdl
	models\player\t_badguy3.mdl
]
CounterTerroristSkins
[
	models\player\ct_goodguy1.mdl
	models\player\ct_goodguy2.mdl
	models\player\ct_goodguy3.mdl
]
Thank you for your time! If there are any questions, feel free to ask and I will do my best to answer them
KrazyCake is offline