Getting started with CSGO variants or map making: Changing all bots health for all rounds
Question: How exactly do I change the health of all bots of both teams for all rounds in an offline casual match of Counter-Strike: Global Offensive consisting only of bots and myself please?
My level of knowledge: I think I'm familiar enough with creating and executing cfg files, and I've even tried changing player maximum to 30 when playing with bots offline. I know of csgo console commands to set weapons or money for the match like mp_afterroundmoney 600 or Mp_t_default_primary weapon_awp. I can't believe health isn't as simple. This is very frustrating. I am hoping that if there isn't a command for this (like like mp_afterroundmoney 600 or Mp_t_default_primary weapon_awp) and if there isn't a txt file to edit here (like with changing player maximum to 30), then there might be some script one can write that I can put in a cfg file, which I would execute. If that fails, then I guess I'll have to resort to the requirements mentioned below.
What I tried so far:
1 To change just my health I can do
ent_fire !player addoutput health 1or
ent_fire !player sethealth 5002 To change just 1 bot's health I can do
ent_fire !picker addoutput health 1or
ent_fire !picker sethealth 500But I would have to look at the bot, and then this would not necessarily apply for the succeeding rounds.
3 Even if I do (2) for all the bots on my team, to do this for the bots on the other team, I would have to
explodeand then go to each bot of the other team and do
ent_fire !picker sethealth 5004 Even if I do (3), I cannot do this while the server is paused with
sv_pausable 1; pauseI have read about this elsewhere:
Reddit: Help Please: How to scale player damage from bullets (CSGO)
Alliedmods: csgo set health - Actually this seems promising. Do I put the code of Doc-Holiday in a cfg file? Then again there's the issue of 'target'. How would I target all players?
It seems I may need
plugins
vscript
squirrel
hammer
or something.
I need some guidance please: If spoonfeeding me is against the rules, then please at least give me an outline of what I need to download, where I can download, how I can install and run, what to do once there and how to compile and run.
2 Reset to default