splewis / csgo-practice-mode

CS:GO Sourcemod plugin for private team/individual practice servers
GNU General Public License v3.0
455 stars 70 forks source link

Allow placing bots (.bot) without kevlar/helmets #118

Open Rafael-Leal-Prada-dos-Santos opened 5 years ago

Rafael-Leal-Prada-dos-Santos commented 5 years ago

If making a feature request, you should delete all the pre-filled text here. If reporting a bug, fill in the following sections:

Expected behavior

Bot spawning without armor

Actual behavior

Bot spawns with kevlar and helmet every time. even if i set the cvar mp_free_armor 0

Steps to reproduce

splewis commented 5 years ago

Steps to reproduce (please be specific): I don't know what to write in here

It's really a feature request not a bug, so I don't blame you.

You can't currently do this. I'm not sure the best way to do it. I don't think spawning armor/helmet based on mp_free_armor 0 is a user-friendly way, and I can't think of a simple way that's worth it, so I have trouble imagining this being added.

Rafael-Leal-Prada-dos-Santos commented 5 years ago

It's only for personal practice with replays. but no problem. It's better to implement more usefull things than this. Thanks for the support. I aprecciate your plugins. They're well made. You can close this issue if you want.

PlamAtom commented 2 years ago

Hey Rafael,

I had the same problem and found the following solution. This should work for you otherwise you have to customize it for each weapon and activate the corresponding weapon damage.

I think I'm 3 years too late for this but I just found this and hope that others who have a similar problem can kinda work around this. Still awful but better than nothing.

Maybe it can help you one day if you ever look again on Github and still play CS. I will look for other solutions maybe i find one.

Best regards PlamAtom

        }
        "ReplayFixDamage_USP"
        {
            "name"      "Headshoot Damage [50%]"
            "default"       "disabled"
            "enabled"
            {
                "mp_damage_scale_ct_head"       "1.5"
                "mp_damage_scale_ct_body"       "1.5"
                "mp_damage_scale_t_head"        "1.5"
                "mp_damage_scale_t_body"        "1.5"
            }
            "disabled"
            {
                "mp_damage_scale_ct_head"       "1"
                "mp_damage_scale_ct_body"       "1"
                "mp_damage_scale_t_head"        "1"
                "mp_damage_scale_t_body"        "1"

            }