FO:T "tags" to modify text

Mapping & modding Fallout Tactics and reviewing maps thereof.
User avatar
Red
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2085
Joined: Wed May 15, 2002 11:58 am
Location: Nowhere (important anyway)
Contact:

FO:T "tags" to modify text

Post by Red »

The usage is from memory, so some of it is probably wrong.... It used to be documented somewhere on the old DaC, but um... well, that's not there anymore. I documented this just a bit after the FO:T demo came out, and even emailed MF to tell them that this could still be used in a rather annoying way, which I won't bother documenting here :P. So anyway here's what I recall - the codes are RIGHT, as I looked for them in the executable, but their usage might be somewhat off.

[edit]: Thanks for JimmyJay for some missing info.

<tt>img:[file]</tt>
Link to an image. Don't rememeber which are supported, but I remember ZARs are. I think the "root" is the core directory, so to link a GUI character, you'd go img:gui\char\core_medic.zar
<tt>col:[integer value]</tt>
Sets font colour to integer value (B+G*256*R*65536, or much easyer, take the HTML colours (#RRGGBB) and tranform it into a decimal value (using good old Windows Calculator...))
<tt>rgb:[r],[g],</tt>
Sets font colour to RGB values...
<tt>p+</tt>
Start paragraph? Using "Tabwidth" pixels?
<tt>p-</tt>
End paragraph?
<tt>b+</tt>
Bold. Makes the font somewhat lighter.
<tt>b-</tt>
End Bold
<tt>Jj</tt>
Justifies as a paragraph
<tt>Jc</tt>
Justify text center
<tt>Jr</tt>
Justify text right
<tt>Jl</tt>
Justify text left
<tt>Co</tt>
Sets font colour orange
<tt>Cy</tt>
Sets font colour yellow
<tt>Cm</tt>
Sets font colour magenta
<tt>Cr</tt>
Sets font colour red
<tt>Cc</tt>
Sets font colour cyan
<tt>Cg</tt>
Sets font colour green
<tt>Cb</tt>
Sets font colour blue
<tt>Ck</tt>
Sets font colour black
<tt>Cw</tt>
Sets font colour white
<tt>C-</tt>
Resets font colour to original text colour
<tt>Fy</tt>
? Don't remember/Not tested
<tt>Fg</tt>
? Don't remember/Not tested
<tt>tabwidth:[width]</tt>
Sets tab width, in pixels.
\n
Line feed.
Last edited by Red on Tue Sep 24, 2002 1:22 am, edited 10 times in total.
...
User avatar
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2102
Joined: Thu Apr 18, 2002 4:02 am
Location: Wisconsin
Contact:

Post by Jimmyjay86 »

Wow, so you can put a picture in the speech? That is worth looking into.
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

This only works in the demo, though. Correct?

Is there any way to strike out text? (It could be used for some humor in notes, for instance.)

Cheers,

OTB
"On the bounce, you apes! Do you wanna live forever?!"
User avatar
Red
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2085
Joined: Wed May 15, 2002 11:58 am
Location: Nowhere (important anyway)
Contact:

Post by Red »

No, they also work in the full game, however where they work has been more limited - and I beleive they only removed it from chats, though I could be wrong. But they do work in some places. The "diablo armour" for example uses the Jc and rgb codes to display the stats. And the place I reported the bug wasn't fixed either.

Also, I noticed there eemed to be a limit to the image size you could display through the img tag.
...
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

Red wrote:No, they also work in the full game...
Even w/o a strikeout option this stuff still has possibilities.
Red wrote:The "diablo armour" for example uses the Jc and rgb codes to display the stats.
I new about the RGB values working. I had posted about it earlier. That's very handy for using colored float-texts the same way the RPGs did.

Thanks.

OTB
"On the bounce, you apes! Do you wanna live forever?!"
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Post by Max-Violence »

Damnit, Red, stop discovering new stuff so I can actually map instead of playing around with stuff! :P

Speaking of stuff, OTB, is it possible to use the RGB stuff in float text/windowed speech affect only some of the text in the node? Like if I had this:

M01_BobIsBored_A00 = {*sigh* Somebody kill me... please...}

Is there a way to make the "*sigh*" green (by default) and the rest of it, say, white?

The IMG thing would be handy if the NPC wants the PCs to find/kill something, the NPC could show a picture of whatever it is to the PCs. Cool.
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.

maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

Max-Violence wrote:Damnit, Red, stop discovering new stuff so I can actually map instead of playing around with stuff! :P
Now you know what I've been going through for 11 months now. :lol:
Max-Violence wrote:Speaking of stuff, OTB, is it possible to use the RGB stuff in float text/windowed speech affect only some of the text in the node?
I don't know. I say just use the color options that Red listed as follows:

M01_BobIsBored_A00 = {*sigh* [Cw]Somebody kill me... please...[C-]}

Or, if you wanted to be a bit more dramatic:

M01_BobIsBored_A00 = {*sigh* [Cw]Somebody[C-] [Cr]kill[C-] [Cw] me... please...[C-]}

This should make the "*sigh*" green, "Somebody" white, "kill" red and then the rest white again. Of course you should remember to repace the braces w/the appropriate symbols. :wink:

I'm going to have to play around w/this stuff. Especially the text options like justification, bold, etc. You could whip up some really professional looking holodisks this way...

OTB
"On the bounce, you apes! Do you wanna live forever?!"
User avatar
Red
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2085
Joined: Wed May 15, 2002 11:58 am
Location: Nowhere (important anyway)
Contact:

Post by Red »

I beleive you don't need to [C-] all the time...
Normal [Cr]Red[Cw] White[C-] normal...

I'd have to play around with it I guess but I'm way too lazy :P

And to answer the question, no, there's no strike-through...

Finding what "new stuff"? This is all old news to me :)
...
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

Red wrote:I beleive you don't need to [C-] all the time...I'd have to play around with it I guess but I'm way too lazy :P
Guess it's good that I like to experiment then, eh? :lol: I'll play around w/this later today or tomorrow and post something.
Red wrote:And to answer the question, no, there's no strike-through...
That's...what...I...was...afraid of... :cry:

OTB
"On the bounce, you apes! Do you wanna live forever?!"
User avatar
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2102
Joined: Thu Apr 18, 2002 4:02 am
Location: Wisconsin
Contact:

Post by Jimmyjay86 »

Red said:
Finding what "new stuff"? This is all old news to me
Tell us what other old news you know Red!
User avatar
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2102
Joined: Thu Apr 18, 2002 4:02 am
Location: Wisconsin
Contact:

Post by Jimmyjay86 »

I tried the image tag and it works very well. I don't know of any applications in my current mission but I'll have to think about it. It could prove to be very useful. Maybe if you had enough science skill to use a terminal you could get a view on a closed-circuit television monitor of a defense or secret entrance. Or it could be used to show visual information in a mission briefing.
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Post by Max-Violence »

Wonder why MF never used any of this "old news" stuff... probably lack of time.
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.

maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
User avatar
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2102
Joined: Thu Apr 18, 2002 4:02 am
Location: Wisconsin
Contact:

Post by Jimmyjay86 »

Well regardless, it's great that they do have the stuff in there for us Map-Rats! 8)
User avatar
Section8
I Make Games!
I Make Games!
Posts: 286
Joined: Thu Apr 18, 2002 1:45 pm
Location: Apartment 223
Contact:

Post by Section8 »

The Phoenix Engine can be surprisingly versatile. And I believe Red is right. IMG markup code was taken out of chat stuff, so people couldn't spam massive .ZARs during a MP game to fuck with someone else. Good stuff Red, half of this stuff isn't documented anywhere obvious on my end...
--
Only a real artist knows the actual anatomy of the terrible, or the physiology of fear - the exact sort of lines and proportions that connect up with latent instincts or heriditary memories of fright, and the proper colour contrasts and lighting effects to stir the dormant sense of strangeness.
User avatar
Red
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2085
Joined: Wed May 15, 2002 11:58 am
Location: Nowhere (important anyway)
Contact:

Post by Red »

Actually all markeup has been removed from the chat...

And given you guys are still working on Phoenix, I could point out where it still happens - and can be very annoying, since my last email visibly served no purpose...
...
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Post by Max-Violence »

Bold... colors... images... WHAT? No italics? Bah! :P
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.

maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
User avatar
Section8
I Make Games!
I Make Games!
Posts: 286
Joined: Thu Apr 18, 2002 1:45 pm
Location: Apartment 223
Contact:

Post by Section8 »

DIY Italics.

#1 Tilt head
#2 Read text
--
Only a real artist knows the actual anatomy of the terrible, or the physiology of fear - the exact sort of lines and proportions that connect up with latent instincts or heriditary memories of fright, and the proper colour contrasts and lighting effects to stir the dormant sense of strangeness.
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Post by Max-Violence »

Section8 wrote:DIY Italics.

#1 Tilt head
#2 Read text
Uh, what? I just re-read Red's (re... read... Red... hmmm...) list, and I didn't see anything for italics.
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.

maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
User avatar
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2102
Joined: Thu Apr 18, 2002 4:02 am
Location: Wisconsin
Contact:

Post by Jimmyjay86 »

He's giving you some of that quirky Aussie humour MV - tilt head, get it?
User avatar
Red
Hero of the Glowing Lands
Hero of the Glowing Lands
Posts: 2085
Joined: Wed May 15, 2002 11:58 am
Location: Nowhere (important anyway)
Contact:

Post by Red »

FYI, DIY = "Do It Yourself"
...
Our Host!
Post Reply