AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CS:S] Requesting plugin to set playermodels per map (https://forums.alliedmods.net/showthread.php?t=338516)

KrazyCake 07-09-2022 13:38

[CS:S] Requesting plugin to set playermodels per map
 
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 :P 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 :)

DiogoOnAir 07-11-2022 09:31

Re: [CS:S] Requesting plugin to set playermodels per map
 
Add me on discord or steam

Franc1sco 07-11-2022 10:10

Re: [CS:S] Requesting plugin to set playermodels per map
 
1 Attachment(s)
I edited this plugin for add map config support.

So for example if on de_dust2 you create a file on configs/models_ct_de_dust2.ini the plugin will get it instead of the default configs/models_ct.ini

Try it and tell me if its okay for you.

KrazyCake 07-11-2022 14:15

Re: [CS:S] Requesting plugin to set playermodels per map
 
Perfect! This is exactly the kind of thing I was looking for :D Thank you ever so much!! <3


All times are GMT -4. The time now is 15:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.