AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Displaying a text over an entity (https://forums.alliedmods.net/showthread.php?t=319019)

blenderiste09 10-06-2019 09:11

Displaying a text over an entity
 
Hello !
I'm new on this forum, so I'm not sure I'm writting in the right place.
I'm creating a ghost mod in Portal 2 (by modifying SourceAutoRecord), something that is close to the HL2 Ghosting Mod.
So, what I'm doing is that I create a "prop_dynamic_override" entity in the map, using the CreateEntityByName function. Then I spawn it.
I would like to show the name of the player over the entity that he controls (like in this video : https://www.youtube.com/watch?v=6tTz7MBl8RE You can see texts over the ghosts)

My problem is that I don't know what function should I hook to get this effect. I searched on the forum, but I didn't find anything.

Does someone know how to do it ?

Thank you very much.

Blenderiste09


All times are GMT -4. The time now is 04:21.

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