[Tutorial] How to make point_worldtext work in the new vscript beta

Ashe_tfwiki

L1: Registered
Dec 14, 2021
39
16
1667941035953.png


UPDATE: If you use Puddy's pack, it just got updated with the new entities.

1. Go to your base.fgd (or tf-puddy.fgd if you are using the Puddy's resource pack) in Team Fortress 2/bin/
2. Paste this at the bottom. This was taken from CS:GO

@PointClass base(Targetname, Parentname, Angles) worldtext() = point_worldtext : "An entity that displays a text message oriented in the world, at its origin." [ spawnflags(flags) = [ 1: "Start Disabled" : 0 ] message(string) : "Entity Message" textsize(float) : "Text Size" : 10 : "Text Size." color(color255) : "Color" : "255 255 255" // Inputs input Enable(void) : "Start displaying the message text, if the player is within the message radius." input Disable(void) : "Stop displaying the message text." input SetMessage(string) : "Set the message text." ]

3. Done. Now you can create the entity in Hammer.

1667941340972.png


The entity is kinda bugged rn as you can see in the image, but it works.
 
Last edited: