|
 |
|
|
|
|
|
GTA Modification Forums
[GTAIV|REL|SRC] C++ Script Hook IV Scripting via C++
 |
|
 |
| |
aru  |
|
developer in disguise

Group: Members
Joined: Jun 20, 2005



|
| QUOTE (asd23 @ Jan 6 2009, 16:57) | Oh well, no biggie. Dled VC2008 and messed around with it. Been meaning to learn something other than VB anyway. But I have question: how do I display text? Displaying your own strings isn't probably possible, like in SA, but how can I display text from GXTs? I don't really know what gxtName should be. |
Look at some of the .sco scripts using SparkIV... For example, try this: | CODE | | DisplayText(0.5f, 0.25f, "atm_01"); |
Or try this... | CODE | | DisplayTextWithLiteralString(0.5f, 0.25f, "STRING", "Custom"); |
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
the hubster  |
Posted: Wednesday, Jan 7 2009, 01:12
|
Sup Homies

Group: Members
Joined: May 3, 2005


|
| QUOTE (asd23 @ Jan 6 2009, 21:57) | Oh well, no biggie. Dled VC2008 and messed around with it. Been meaning to learn something other than VB anyway. But I have question: how do I display text? Displaying your own strings isn't probably possible, like in SA, but how can I display text from GXTs? I don't really know what gxtName should be. |
If you want to display your own strings without using a gxt file, you could use Direct3D. DL the DirectX SDK: http://www.microsoft.com/downloads/details...&displaylang=enThen follow this tutorial: http://www.toymaker.info/Games/html/text.htmlIt's actually doable with no/little experience with C++ (i could do it, so that is proof) This post has been edited by the hubster on Wednesday, Jan 7 2009, 01:36
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(86) 1 [2] 3 4 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|