In what file do I add [movetype], custom macros

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
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

In what file do I add [movetype], custom macros

Post by tsr »

(the etc is for upcoming problems)

Hi,

I'm trying to create a MP era to develop a custom faction. I've copied another custom era and managed to make it so that I use the default-factions plus mine.

What I can't seem to handle is adding movetypes. I don't understand in what file I should do it. The problem might also be that I don't understand in what file I should include the 'movetypes' file.

(I'm creating a bunch of custom wml-macros and would be very happy if you could also tell where this goes.)

/tsr
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

Post by tsr »

Ok, I managed to get the [movetype] in, the location I'm using is:

~/campaigns/my_era.cfg in between the [+units] and [/unit] tags. Good enough?

/tsr
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Post by toms »

If it works, it is good enough. :wink:
First read, then think. Read again, think again. And then post!
User avatar
JW
Posts: 5047
Joined: November 10th, 2005, 7:06 am
Location: Chicago-ish, Illinois

Post by JW »

Yeah, just put a "utils.cfg" or something like that in with your coustom units and put all the movetypes, races, and other macros in there that are custom.

Make sure not to use an already used name.
Lord Xerxces
Posts: 13
Joined: July 8th, 2006, 4:16 am
Location: Floyd, VA

movetype

Post by Lord Xerxces »

Yeah, I just add the raw text into the unit files, it's easier to fool with.
Post Reply