Can't recruit

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
Sandermatt
Posts: 24
Joined: August 14th, 2007, 3:24 pm

Can't recruit

Post by Sandermatt »

I added some units to a recruit list, and I can't recruit any units anymore. I checked about a 1000 times, if everything is written correctly, and I used copy paste for the units id's, what else can be a problem?
I copied an existing unit and changed his ID and stats. For one unit it works perfectly, but not for the others, when I add them I can't recruit anything.

recruit=Ruffian,Peasant,Woodsman,Drake Young Fighter,Young Elvish Fighter
terrain_liked=Ff, Fa, Ss, Ww
[ai]
recruitment_pattern=fighter,archer
[/ai]
User avatar
Bob_The_Mighty
Posts: 870
Joined: July 13th, 2006, 1:15 pm

Post by Bob_The_Mighty »

Does your era link to the folder with the unit files in?

Something like this needs to go in your main .cfg

Code: Select all

[+units] 
{@campaigns/Your_Era/units/Young Elf Fighter}
{@campaigns/Your_Era/units/Drake Young Fighter}
[/units]
I'm no expert on eras, but it might be a simple oversight.

p.s. why is not 'Young Drake Fighter'?
My current projects:
MP pirate campaign: The Altaz Mariners
RPG sequel: Return to Trent
MP stealth campaign: Den of Thieves
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Can't recruit

Post by zookeeper »

Sandermatt wrote:I checked about a 1000 times, if everything is written correctly, and I used copy paste for the units id's, what else can be a problem?
A lot of things. You could paste your era/campaign .cfg here, probably something within it is wrong since you're sure the unit id's are right.
Sandermatt
Posts: 24
Joined: August 14th, 2007, 3:24 pm

Post by Sandermatt »

Well, it is my first attempt to do anything like this, therefore I just exchanged the recruit list of the recruit list of the alliance of light.
Post Reply