New Race
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.
New Race
How do I implement the code snippet for a custom race in a campaign?
Code: Select all
[race]
id=snail
male_name= _ "race^Snail"
female_name= _ "race+female^Snail"
plural_name= _ "race^Snail"
num_traits=2
description= _ "..."
markov_chain_size=2
{HUMAN_NAMES}
[/race]
Re: New Race
If your issue is that {HUMAN_NAMES} is not defined, then you can remove that line.
Maintainer of Ageless Era. Ravana's Multiplayer Works
Re: New Race
I don’t know, where to put that code and if I have to reference to it in main.cfg. Sorry, for being that unspecific.
Re: New Race
Hard to tell without knowing more about your addon. Wesnoth expects [race] in [units], but you probably use preprocessor to have it in different file than _main.cfg.
Maintainer of Ageless Era. Ravana's Multiplayer Works