View Single Post
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 03-13-2020 , 15:40   Re: [L4D1] How to disable glow inheritance on parented model?
Reply With Quote #12

I think, the inheritance works only one way. If a player is attached to something, that something shouldn't get the glow effect from the player.

The idea is to modify the parachute model in 3ds max or whatever - attach a player model to it with invisible skin.

Then spawn this invisible player+parachute model as prop_physics and attach a real player to it. Then set move type to "none" https://sm.alliedmods.net/new-api/en...EntityMoveType for the player and it will work exactly like on the video above. Just immagine the bus is the parachute.

All player move actions can be applied to the parachute via Velocity component in https://sm.alliedmods.net/new-api/sd...TeleportEntity function. Set angle and origin to NULL_VECTOR.
Get pressed buttons from here https://sm.alliedmods.net/new-api/sd...OnPlayerRunCmd, convert them to velocity vector and apply to the parachute ( the same way it works with the bus).

Last edited by kadet.89; 03-13-2020 at 15:48.
kadet.89 is offline
Send a message via Skype™ to kadet.89