-
Notifications
You must be signed in to change notification settings - Fork 3
/
GxtHook_README.txt
82 lines (48 loc) · 3 KB
/
GxtHook_README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
GXT HOOK for San Andreas
22/08/07
----------------------------------------------------------------------------------------
1. This is a CLEO library plugin. This plugin allows using custom texts in your scripts
without modifying the GXT files.
2. To add new text entries, create a file with extension “.fxt” and place it in the
“GTASA\CLEO\cleo_text” folder. The file has to contain a list of new entries in the
following format:
<ENTRY NAME><space><TEXT>
Each line must contain only one entry. An entry name is limited to 7 characters
(as in a GXT). After it, there should be a SINGLE space, and then a custom text.
Anything written after single space until the end of the line is considered as a
custom text assigned to the GXT entry.
3. You may add as many lines (entries) as you wish. Name of the .fxt file does
not matter. You can add unlimited number of such files, even one GXT entry per file.
4. To comment out a line, use symbols ; or # in the beginning of the line.
5. To use new text in game, use the GXT entry as usual. For example, if you add a
line:
MYMOD Take a car!
in a fxt file, you can display this text in game using opcode 03E5:
03E5: show_text_box ‘MYMOD’
6. To make this plugin work, the CLEO library must be installed. You may find newest
version of this library and other plugins on cleo.sannybuilder.com
----------------------------------------------------------------------------------------
1. Ïåðåä âàìè ïëàãèí äëÿ áèáëèîòåêè CLEO. Ýòîò ïëàãèí ïîçâîëÿåò èñïîëüçîâàòü
ñîáñòâåííûå òåêñòû â âàøèõ ñêðèïòàõ áåç èçìåíåíèÿ GXT ôàéëîâ.
2. ×òîáû äîáàâèòü íîâûå òåêñòû, ñîçäàéòå ôàéë ñ ðàñøèðåíèåì «.fxt» è ïîìåñòèòå åãî â ïàïêå
“GTASA\CLEO\cleo_text”. Ôàéë äîëæåí ñîäåðæàòü ñïèñîê íîâûõ ñòðîê òåêñòà â ñëåäóþùåì ôîðìàòå:
<ÈÌß><ïðîáåë><ÒÅÊÑÒ>
Êàæäàÿ ñòðîêà äîëæíà ñîäåðæàòü òîëüêî îäíó çàïèñü. Èìÿ çàïèñè îãðàíè÷åíî ñåìüþ áóêâàìè
(êàê â GXT). Ïîñëå íåãî äîëæåí ñòîÿòü ÎÄÈÍ ïðîáåë, ïîñëå ýòîãî òåêñò. Âñå, ÷òî íàïèñàíî
ïîñëå ïðîáåëà äî êîíöà ñòðîêè, ðàññìàòðèâàåòñÿ êàê òåêñò â äàííîé çàïèñè.
3. Âû ìîæåòå äîáàâëÿòü ñêîëüêî óãîäíî ñòðîê (çàïèñåé). Èìÿ fxt-ôàéëà íå èìååò çíà÷åíèÿ.
Âû ìîæåòå äîáàâëÿòü íåîãðàíè÷åííîå ÷èñëî ôàéëîâ, õîòü ïî îäíîìó ôàéëó íà êàæäóþ ñòðîêó.
4. ×òîáû çàêîììåíòèðîâàòü ñòðîêó èñïîëüçóéòå ñèìâîëû ; èëè # â íà÷àëå ñòðîêè.
5. ×òîáû èñïîëüçîâàòü íîâûé òåêñò â èãðå, èñïîëüçóéòå èìÿ GXT çàïèñè êàê îáû÷íî.
Íàïðèìåð, åñëè âû äîáàâèëè ñòðîêó
MYMOD Take a car!
â fxt-ôàéë, âû ìîæåòå ïîêàçàòü åãî â èãðå, èñïîëüçóÿ îïêîä 03E5:
03E5: show_text_box ‘MYMOD’
Ìîæíî èñïîëüçîâàòü è ðóññêèé ïåðåâîä, äëÿ ýòîãî âàì ïîòðåáóåòñÿ ñïåöèàëüíàÿ ïðîãðàììà
äëÿ ïåðåâîäà ðóññêîãî òåêñòà â ñèìâîëüíûé, ïîíèìàåìûé èãðîé. Âû ìîæåòå íàéòè òàêóþ
ïðîãðàììó íà yelmi.narod.ru
6. ×òîáû ïëàãèí ðàáîòàë, âû äîëæíû óñòàíîâèòü áèáëèîòåêó CLEO. Íîâûå âåðñèè âñåãäà ìîæíî
íàéòè íà ñàéòå cleo.sannybuilder.com
----------------------------------------------------------------------------------------
© 2007 Seemann
sannybuilder.com