AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Walk through playerclip (https://forums.alliedmods.net/showthread.php?t=311250)

ujjl 10-09-2018 09:23

Walk through playerclip
 
Hello,

I would like to temporarily allow a player to walk through playerclip brushes (preferably in hldm)
For example grenades move through playerclip brushes, but still hit normal brushes. I tried to figure out how to tell the engine that from movement standpoint it should think about the player as it is just a grenade, but couldn't figure out how.

I tried modifying the movetype flag of players with no effect too.

Unfortunately if you apply noclip on a player it will go through everything not just playerclip (or clip) brushes.

Is there any way or workaround to allow players to walk through clips?

Unfortunately the playerclip brush has no entity linked to it, so i cannot modify its properties. But if there is a method to find playerclip brushes and temporarily move them or disabling them would be also nice. I am open to any ideas to try out.


All times are GMT -4. The time now is 12:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.