-
Notifications
You must be signed in to change notification settings - Fork 23
Ghostbusters movement speed issue #196
Copy link
Copy link
Open
Description
On start, it sets max movespeed for each of the classes, but in my experience as heavy, seems like the speed only randomly applies correctly like 1/10th of the time for some reason.
TF2Ware_Ultimate/scripts/vscripts/tf2ware_ultimate/bossgames/ghostbusters.nut
Lines 104 to 135 in 177696f
| SetPropFloat(player, "m_flMaxspeed", 320.0) | |
| } | |
| else if (medics.find(player) != null) | |
| { | |
| Ware_SetPlayerMission(player, MISSION_MEDIC) | |
| Ware_SetPlayerClass(player, TF_CLASS_MEDIC) | |
| Ware_StripPlayer(player, false) | |
| Ware_SetPlayerTeam(player, TF_TEAM_BLUE) | |
| Ware_GivePlayerWeapon(player, "Medi Gun", { "ubercharge rate penalty" : 0.0 }) | |
| Ware_PassPlayer(player, false) | |
| SetPropFloat(player, "m_flMaxspeed", 300.0) | |
| local minidata = Ware_GetPlayerMiniData(player) | |
| minidata.last_target <- null | |
| minidata.vo_timer <- 0.0 | |
| } | |
| else | |
| { | |
| Ware_SetPlayerMission(player, MISSION_GHOST) | |
| Ware_SetPlayerClass(player, TF_CLASS_SPY) | |
| Ware_StripPlayer(player, false) | |
| Ware_SetPlayerTeam(player, TF_TEAM_BLUE) | |
| Ware_TogglePlayerWearables(player, false) | |
| Ware_GivePlayerWeapon(player, "Fists", { "no_attack" : 1 }) | |
| player.SetCustomModel(ghost_model) | |
| player.SetCollisionGroup(COLLISION_GROUP_DEBRIS_TRIGGER) | |
| Ware_AddPlayerAttribute(player, "reduced_healing_from_medics", 0.0, -1) | |
| Ware_AddPlayerAttribute(player, "cancel falling damage", 1.0, -1) | |
| SetPropInt(player, "m_nRenderMode", kRenderTransColor) | |
| SetEntityColor(player, 255, 255, 255, 60) | |
| SetPropFloat(player, "m_flMaxspeed", 280.0) | |
| player.SetForcedTauntCam(1) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels