[0rg] Clan Forum

A meeting place for all [0rg] clan members.
 
HomeCalendarGalleryFAQSearchMemberlistRegisterLog in
January 2017
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
CalendarCalendar
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
Rupture
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 11:34 am by Kakujitsu

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

Poll
Top posters
Ecto.org
 
0147.org
 
Kakujitsu
 
Markymark.org
 
RupturE.org
 
7528.org
 
ŁǿﯕŧﯕǿبŁ.org
 
3791.org
 
6066.org
 
0216.org
 

Share | 
 

 Displaying text on the screen.

View previous topic View next topic Go down 
AuthorMessage
0147.org
Lieutenant General
Lieutenant General


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

PostSubject: Displaying text on the screen.   Tue Feb 16, 2010 12:10 am

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.

Code:
$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

MY_TEXT
{
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
http://www.hammertutorials.co.cc
Guest
Guest



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
Guest
Guest



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.   Today at 6:24 pm

Back to top Go down
 
Displaying text on the screen.
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Full-screen Issue!
» Warhammer online infos + RVR screen
» Forza 4 - New Screen Caps
» BF3 screen name change
» Changing my in game text to chinese?

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