KZGlobalTeam / gokz

GOKZ SourceMod Plugins
https://gokz.org
GNU General Public License v3.0
63 stars 16 forks source link

Make map buttons pressable through players #138

Open zealain opened 4 years ago

zealain commented 4 years ago

Original report by DanZay (Bitbucket: DanZay, GitHub: DanZay).


Reference: https://bitbucket.org/kztimerglobalteam/kztimerglobal/issues/47/make-map-buttons-pressable-through-players

Setting m_CollisionGroup netprop to any of these values:

COLLISION_GROUP_IN_VEHICLE = 10 (mostly tested this one)
COLLISION_GROUP_VEHICLE_CLIP = 12
COLLISION_GROUP_DOOR_BLOCKER = 14

Will make map buttons pressable through players.

Noticed only one side effect: when knifing other players (bots), it makes no hit sound.

zealain commented 4 years ago

Change collision group to 10 to make buttons pressable through players (resolves issue #138)

zealain commented 4 years ago

All of those collision groups actually break certain moving blocks (e.g. on spacemario). We'll have to search for a new fix.