Is there a way to change the amount of healing done by a medpack from a cvar in etpub?
change med pack healing amount
I found some stuff in my supply.script
This will create a health and ammo cabinet. Maybe you can change the “healthtotal” amount.
// ---------------------------
// Axis command room health+ammo
// ---------------------------
// TOI
//create
//{
//classname “trigger_objective_info”
//scriptname “axis-command-room/health+ammo/TOI”
//target “axis-command-room/health+ammo/CM-marker”
//customimage “gfx/limbo/cm_healthammo”
//shortname “Health and Ammo Cabinets”
//track “the Health and Ammo Cabinets”
//spawnflags “35”
//origin “-8 2368 160”
//mins “-56 -240 -64”
// maxs “56 240 64”
//}
// CM Marker //create //{ //classname "misc_commandmap_marker" //scriptname "axis-command-room/health+ammo/CM-marker" //targetname "axis-command-room/health+ammo/CM-marker" //origin "-8 2368 160" //}
// Health create { classname "misc_cabinet_health" scriptname "axis-command-room/health-cabinet" targetname "axis-command-room/health-cabinet" origin "-8 2136 96" angle "90" } create { classname "trigger_heal" scriptname "axis-command-room/health-cabinet/trigger" target "axis-command-room/health-cabinet" healtotal "400" origin "-8 2136 96" mins "-27 0 0" maxs "27 25 64" } // Ammo create { classname "misc_cabinet_supply" scriptname "axis-command-room/ammo-cabinet" targetname "axis-command-room/ammo-cabinet" angle "-90" origin "-28 2596 96" } create { classname "trigger_ammo" scriptname "axis-command-room/ammo-cabinet/trigger" target "axis-command-room/ammo-cabinet" ammototal "20" origin "-28 2596 96" mins "-27 -25 0" maxs "27 0 64" } // Health create { classname "misc_cabinet_health" scriptname "health-cabinet" targetname "health-cabinet" origin "2335 776 225" angle "0" model "models/mapobjects/supplystands/stand_health.md3" } create { classname "trigger_heal" scriptname "health-cabinetr" targetname "health-cabinetr" target "health-cabinet" healtotal "400" origin "2335 776 225" mins "-27 -25 0" maxs "27 0 64" } create { scriptname "health-cabinetempty" targetname "health-cabinetempty" origin "2335 776 225" classname "misc_gamemodel" angle "0" mins "-20 -8 -25" maxs "20 8 25" contents "1" clipmask "1" model "models/mapobjects/supplystands/stand_health_damaged.md3" }
create { scriptname "scrf_ammo" targetname "scrf_ammo" origin "2728 930 225" classname "misc_cabinet_supply" angle "-90" mins "-20 -8 -25" maxs "20 8 25" ammototal "12" modelscale "1" contents "1" clipmask "1" model "models/mapobjects/supplystands/stand_ammo.md3" } create { scriptname "scrf_ammotr" targetname "scrf_ammotr" classname "trigger_ammo" target "scrf_ammo" origin "2728 930 225" mins "-45 -45 -25" maxs "45 45 25"
ammototal "12" ammorate "1"
contents "1" clipmask "1" }
create { scriptname "scrf_ammoempty" targetname "scrf_ammoempty" origin "2728 930 225" classname "misc_gamemodel" angle "-90" mins "-20 -8 -25" maxs "20 8 25" contents "1" clipmask "1" model "models/mapobjects/supplystands/stand_ammo_damaged.md3" }
Problem is that this is a ETPro Create command, not edit…
You may try a combo of removing/creating it, here’s the guide:
http://wolfwiki.anime.net/index.php/Map_scripting