Colour vs Color

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Colour vs Color

Post by turin »

Not really a WML question, but a comment.

Is there a reason that the way to set the side's color is colour=, not color=?

IIRC, the game is written in American English, not British English. At least the strings are - that's why we're supposed to say Scepter, not Sceptre.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
Darth Fool
Retired Developer
Posts: 2633
Joined: March 22nd, 2004, 11:22 pm
Location: An Earl's Roadstead

Re: Colour vs Color

Post by Darth Fool »

turin wrote:Not really a WML question, but a comment.

Is there a reason that the way to set the side's color is colour=, not color=?

IIRC, the game is written in American English, not British English. At least the strings are - that's why we're supposed to say Scepter, not Sceptre.
It comes down to the history of who coded it, and the lack of motivation to make such a small change that would invalidate a lot of WML.
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin »

That's what I suspected.. but it was bugging me. I wasn't 100% certain that it wasn't a typo on the wiki, and color= was really the right one.


On a different note, I saw this statement on the wiki:
* [avoid] Makes the AI avoid a specific location or unit.
o x, y standard coordinates- A location for the AI to avoid moving to. The AI will never move a unit to this location except for trying to move its leader to a keep.
o standard unit filter- A set of units for the AI to avoid moving to. This feature is currently not implemented.
(emphasis mine)

Is this still true? If so, is the reason difficulty of coding, lack of desirability.. what? And, if it is still true, is there any other way to have the AI avoid a certain unit?
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
Darth Fool
Retired Developer
Posts: 2633
Joined: March 22nd, 2004, 11:22 pm
Location: An Earl's Roadstead

Post by Darth Fool »

turin wrote:That's what I suspected.. but it was bugging me. I wasn't 100% certain that it wasn't a typo on the wiki, and color= was really the right one.


On a different note, I saw this statement on the wiki:
* [avoid] Makes the AI avoid a specific location or unit.
o x, y standard coordinates- A location for the AI to avoid moving to. The AI will never move a unit to this location except for trying to move its leader to a keep.
o standard unit filter- A set of units for the AI to avoid moving to. This feature is currently not implemented.
(emphasis mine)

Is this still true? If so, is the reason difficulty of coding, lack of desirability.. what? And, if it is still true, is there any other way to have the AI avoid a certain unit?
I believe that this is still true. It is one of the things that I want to fix in the seemingly perpetually delayed dfool AI.
Post Reply