reverseArticle="true"

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Aeonic
Militia Commander
Militia Commander
Posts: 469
Joined: Sun Jun 14, 2009 1:05 am
Location: Designing his dream ship.

I've seen reverseArticle="true" on a few reactor definitions. Does anyone know what it does?
Last Cause Of Death: Destroyed by Karl Svalbard's last Lucifer missile, right after I blew him up. And the crowd cheers.
Image
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

It just affects the name, when shown in dockscreens and such. The exact effect you would have to ask someone who knows english grammar about.

.]
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Articles are such: "a" "an" "the".

I am not really sure what reverseArticle="true" does, however. But I do think that George explained it somewhere around here and the search is insufficient to the task of locating the answer.
Last edited by Periculi on Mon Jul 06, 2009 7:03 pm, edited 1 time in total.
User avatar
Aeonic
Militia Commander
Militia Commander
Posts: 469
Joined: Sun Jun 14, 2009 1:05 am
Location: Designing his dream ship.

Oh, so with no reverseArticle, it would display "SN150 reactor" as such, while with reverseArticle="true" it displays "a SN150 reactor".

On the other hand, having no reverseArticle would display "a chicken", while having reverseArticle="false" would display "chicken".

Correct?

Basically its reversing whether the object is considered a noun or a name? If the first letter is capitalized, it'll treat it as a name, but if it has reverseArticle, it'll reverse that and treat it as a noun, while a noun would then be treated as a name?
Last Cause Of Death: Destroyed by Karl Svalbard's last Lucifer missile, right after I blew him up. And the crowd cheers.
Image
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Probably
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

To generate an article for a noun, the game looks at the first letter of the noun. If the noun starts with a vowel, the article is "an":

An omnidirectional laser cannon
An Iocrym veil
An Urak howitzer

If the first letter is a consonant, the article is "a":

A laser cannon
A class I deflector
A segment of titanium plate

Sometimes, though, that rule doesn't work. Sometimes a noun that starts with a vowel should have the "a" article. Sometimes, a noun that starts with a consonant should have the "an" article:

An SN2500 reactor
A uranium rod
An x-ray laser cannon
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

thanks ^^

I actually did need something to do this.

How would we get an article like "the" though?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
hex
Miner
Miner
Posts: 34
Joined: Wed Jan 03, 2007 11:46 am

Code: Select all

definiteArticle="true"
I think, as in: "the superfreighter St. Aoki"

Code: Select all

<Names definiteArticle="true">
	superfreighter St. Aoki; superfreighter St. Beatrice; ...
</Names>
Hmm...
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

ok, thanks! I'll have to check to see if that will apply to items
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Post Reply