[0rg] Clan Forum

A meeting place for all [0rg] clan members.
HomeCalendarGalleryFAQSearchMemberlistRegisterLog in
February 2018
Forum Registration
Tue Mar 22, 2011 7:25 pm by Kakujitsu
To all [0rg] members, forum registration is mandatory within a week of the steam group invitation. Anyone not registered on the forum will be removed from the group and will lose any clan privileges and admin rights.

Comments: 2
Thu Nov 04, 2010 5:41 pm by Kakujitsu
Rupture is one of the founding members of .0rg Hes been with me and the clan since day one. A very skilled and funny player its come to my attention that hes been misunderstood. N!gga was a movement started by Rupture. When he uses the word N!gga its not ment in a derogatory or disrespectful way, it is a general term for friend or acquaintance taken from Hip-Hop culture. Heads up Rupture is crazy …

Comments: 5
Latest topics
» Rates
Thu Aug 06, 2015 6:39 am by Kakujitsu

» Goats Are Awesome
Sun Apr 06, 2014 11:56 am by Ƙrᴓƞίc Ƙlᴓώƞ

» The epicness of CastleMiner Z has a place!
Mon Jun 03, 2013 11:01 pm by Retro Gojira

» Only took forever to remember my login info
Thu May 16, 2013 1:52 am by Kakujitsu

» Hi. Kakujitsu said I could come in here. no seriously.
Sun Apr 28, 2013 11:13 pm by Retro Gojira

» Source SDK fix after last update.
Sun Apr 28, 2013 11:04 pm by Kakujitsu

» Updated for New Music 2013.
Wed Apr 17, 2013 10:25 pm by RupturE.org

» CS:GO Pro Tip Series: TM
Sat Dec 08, 2012 10:34 am by Kakujitsu

» CS:GO Pro Tip Series: Semphis
Sat Dec 08, 2012 10:31 am by Kakujitsu

Top posters

Share | 

 Displaying text on the screen.

Go down 
Lieutenant General
Lieutenant General

Zodiac : Sagittarius Posts : 123
Join date : 2010-02-01
Age : 26
Location : Australia, NSW

PostSubject: Displaying text on the screen.   Mon Feb 15, 2010 11:10 pm

There are 2 ways to create text that appears on the screen, the first is the easiest and what almost every mapper uses however the second method is good for displaying large amounts of text on the screen as new lines can be placed in.

First Method

First open up hammer or a map that you want to insert the text into. Using the entity tool spawn an entity and change it to a 'game_text'. I am going to call mine text in the name property.

By default the text will appear in the center of the screen where your crosshair would be. This is annoying in real deathmatch games, so in 'Y (0 - 1.0 = top to bottom) (-1 centers)' put in 0.75 so it is lower in the screen and less annoying.

In the field 'Message Text' type in your message, mine will be "I am some text". Also change 'Hold Time' to appear a bit longer on the screen. Change that to 4.

Usually it depends on how you want to activate it for what entities you will need to place, for this text it will be activated by a button. Create a block using the brush tool and change it to an entity by pressing the 'To Entity' button to the right of the screen. Change it to a 'func_button' and hit apply.

In the button's properties click the tab that says 'Outputs' and Click 'add'.

Add in the following to your button and your done! Just hit F9 to compile and test.

Second Method

This still requires an entity to be placed in the map however it is a slightly different process. This message requires an external .txt file located in Steam/steamapps/halflife 2 deathmatch/hl2dm/scripts called 'titles.txt' to display the text. Different to the game_text new lines can easily be placed in, great for credits or long lines of text or dialogue however it is more difficult to set values as all are entered in as code variables.

Place an 'env_message' entity in the map, this time call this one text2. Also create a 'titles.txt' if it does not already exist.

Inside titles.txt enter this code. The values are similar to that of a game_text.

$position -1 0.75 //X, Y values
$effect 2 //scrolling
$color 255 255 255 //White
$color2 255 255 255 //White
$fadein 0.05
$fxtime 0.25 //scrolling letters time
$holdtime 1.0
$fadeout 2.0

I am text.
See how i am on different lines

Now inside the env_message instead of typing in your message type in MY_TEXT like this:

That's it! Hope this helped :)

[***Spam hard... Become pro***]
Back to top Go down

PostSubject: Re: Displaying text on the screen.   Tue Sep 21, 2010 2:35 am

the editor seems very complicated :o
Back to top Go down

PostSubject: Re: Displaying text on the screen.   Tue Sep 21, 2010 2:39 am

thank you for helpful the tip, i will use it in my next maps with karatekid.org
Back to top Go down
Sponsored content

PostSubject: Re: Displaying text on the screen.   

Back to top Go down
Displaying text on the screen.
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
[0rg] Clan Forum :: Tutorials :: Source SDK-
Jump to: