Added command for modifying or scaling class attributes. Minior fixes, see details.
Fixed error getting default classes on early player connect (bots, source tv, etc.). Fixed jump boost not resetting height velocity. Changed to add to velocity. Jump from boost platform still doesn't work because the velocity is set too early. Added check for reserved class names when validating. Updated class default attributes and jump limits.
This commit is contained in:
@ -36,8 +36,8 @@
|
||||
// kill_bonus number How many points to give per kill. Humans only.
|
||||
// speed decimal The player speed.
|
||||
// knockback decimal Force of the knockback when shot at. Zombies only.
|
||||
// jump_height decimal Extra upwards jump boost.
|
||||
// jump_distance decimal Extra forwards jump boost.
|
||||
// jump_height decimal Extra upwards jump boost in units. 0.0 for no extra boost.
|
||||
// jump_distance decimal Extra forwards jump boost multiplier. 0.2 is normal distance.
|
||||
|
||||
"classes"
|
||||
{
|
||||
@ -75,16 +75,16 @@
|
||||
"immunity_amount" "0.0"
|
||||
"no_fall_damage" "1"
|
||||
|
||||
"health" "3000"
|
||||
"health" "2500"
|
||||
"health_regen_interval" "0.0"
|
||||
"health_regen_amount" "0"
|
||||
"health_infect_gain" "800"
|
||||
"health_infect_gain" "700"
|
||||
"kill_bonus" "2"
|
||||
|
||||
"speed" "350"
|
||||
"knockback" "3"
|
||||
"jump_height" "40.0"
|
||||
"jump_distance" "1.5"
|
||||
"knockback" "4"
|
||||
"jump_height" "10.0"
|
||||
"jump_distance" "0.3"
|
||||
}
|
||||
|
||||
"fast"
|
||||
@ -123,9 +123,9 @@
|
||||
"kill_bonus" "2"
|
||||
|
||||
"speed" "380"
|
||||
"knockback" "3.5"
|
||||
"jump_height" "60.0"
|
||||
"jump_distance" "2.0"
|
||||
"knockback" "4.5"
|
||||
"jump_height" "30.0"
|
||||
"jump_distance" "0.4"
|
||||
}
|
||||
|
||||
"mutated"
|
||||
@ -157,16 +157,16 @@
|
||||
"immunity_amount" "0.0"
|
||||
"no_fall_damage" "1"
|
||||
|
||||
"health" "5000"
|
||||
"health" "3500"
|
||||
"health_regen_interval" "0.0"
|
||||
"health_regen_amount" "0"
|
||||
"health_infect_gain" "1000"
|
||||
"health_infect_gain" "850"
|
||||
"kill_bonus" "2"
|
||||
|
||||
"speed" "275"
|
||||
"knockback" "3.5"
|
||||
"jump_height" "40.0"
|
||||
"jump_distance" "1.3"
|
||||
"jump_height" "20.0"
|
||||
"jump_distance" "0.4"
|
||||
}
|
||||
|
||||
"heavy"
|
||||
@ -198,16 +198,16 @@
|
||||
"immunity_amount" "0.0"
|
||||
"no_fall_damage" "1"
|
||||
|
||||
"health" "5000"
|
||||
"health" "4000"
|
||||
"health_regen_interval" "0.0"
|
||||
"health_regen_amount" "0"
|
||||
"health_infect_gain" "1000"
|
||||
"kill_bonus" "2"
|
||||
|
||||
"speed" "280"
|
||||
"knockback" "2.0"
|
||||
"knockback" "2.5"
|
||||
"jump_height" "0.0"
|
||||
"jump_distance" "0.8"
|
||||
"jump_distance" "0.2"
|
||||
}
|
||||
|
||||
// ------------------------------------------
|
||||
@ -254,7 +254,7 @@
|
||||
"speed" "300"
|
||||
"knockback" "0"
|
||||
"jump_height" "0.0"
|
||||
"jump_distance" "1.0"
|
||||
"jump_distance" "0.2"
|
||||
}
|
||||
|
||||
"human_speedy"
|
||||
@ -295,7 +295,7 @@
|
||||
"speed" "380"
|
||||
"knockback" "0"
|
||||
"jump_height" "0.0"
|
||||
"jump_distance" "1.0"
|
||||
"jump_distance" "0.2"
|
||||
}
|
||||
|
||||
"human_light"
|
||||
@ -335,7 +335,7 @@
|
||||
|
||||
"speed" "300"
|
||||
"knockback" "0"
|
||||
"jump_height" "64.0"
|
||||
"jump_distance" "2.0"
|
||||
"jump_height" "30.0"
|
||||
"jump_distance" "0.4"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user