This is my script for bot medics it is called medicdance . what it does is when you are shot and your health is below 70 you are hidden and a bot is spawned in a crouch position . The bot's model tries to match you model but there is a default . If your health is above 50 you gain health until your health is above 70 then you can resume playing . If your health is 30 t0 50 then you gain health at a slower rate and the screen flashes like when you feel pain . If your health is below 30 you lose health untill you die or a medic reaches you or one of your buddies heals you . If it is one of your buddies then he is hidden and a bot is spawned that crouches and does the medic animations then stands and salutes you . There are 3 types of medics they are not solid and when not running to a player are crouched waiting . The human/multiplayer_allied_airborne_soldier.tik is used for the allies medic and the human/multiplayer_german_misc_worker.tik is used for the axis medic and the human/multiplayer_allied_oss_man.tik is used for the UN medic that medic will heal any team or can be used in ffa . There is a sample DM map in the pak called test_heal that you can play with a friend to see it used .You use the script like this .
main:
level waittill spawn
exec global/medicdance.scr
exec global/medicdance.scr::add_medic $medic_start[1].origin "allies"
exec global/medicdance.scr::add_medic $medic_start[2].origin "allies"
exec global/medicdance.scr::add_medic $medic_start[3].origin "un"
exec global/medicdance.scr::add_medic $medic_start[4].origin "axis"
exec global/medicdance.scr::add_medic $medic_start[5].origin "axis"
exec global/medicdance.scr::add_medic $medic_start[6].origin "un"
end
You can get it here
Medicdance bot medics for JVbots 1.1
Moderator: Moderators

