Level Up Tree?

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
aaronfeld
Posts: 52
Joined: June 9th, 2010, 7:30 pm

Level Up Tree?

Post by aaronfeld »

How do you change the level up progression so for i.e. say i wanted a elf to level up into a drake or something random like that. How would I change that? Thanks
User avatar
thespaceinvader
Retired Art Director
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK
Contact:

Re: Level Up Tree?

Post by thespaceinvader »

Moved to the WML workshop.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
User avatar
Dixie
Posts: 1757
Joined: February 10th, 2010, 1:06 am
Location: $x1,$y1

Re: Level Up Tree?

Post by Dixie »

If you open your unit file, you can look for the line that days "advances_to=*********", or something like that, and change it to whatever you want. I'd recommend not doing it on your default files, though, as it'll screw your game for good. Or if you do, keep a backup of your original files!
Jazz is not dead, it just smells funny - Frank Zappa
Current projects: Internet meme Era, The Settlers of Wesnoth
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: Level Up Tree?

Post by artisticdude »

You can also give a list of possible advancements, each separated by a comma. This will allow the user to chose what the unit advances to. Like so:

Code: Select all

advances_to=Drake Glider, Saurian Skirmisher, Yeti, Bowman

NB: For clarification, the user chooses what the unit will advance to when it levels up, not at the start of the game.
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
aaronfeld
Posts: 52
Joined: June 9th, 2010, 7:30 pm

Re: Level Up Tree?

Post by aaronfeld »

Thanks all
User avatar
Lord-Knightmare
Discord Moderator
Posts: 2360
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Level Up Tree?

Post by Lord-Knightmare »

The Dark Sorcerer (human) advances to the Lich (Undead)
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
monochromatic
Posts: 1549
Joined: June 18th, 2009, 1:45 am

Re: Level Up Tree?

Post by monochromatic »

Wait how did that just relate to this thread? He's asking if he can revise the way a certain unit advances, not about the Lich.
Post Reply