Help with creating units

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
DavidGrimmSteele
Posts: 2
Joined: November 17th, 2010, 8:26 pm

Help with creating units

Post by DavidGrimmSteele »

I NEED step by step instructions on unit creating im lost
Last edited by Sangel on November 17th, 2010, 9:31 pm, edited 1 time in total.
Reason: Title edited to be more informative.
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: HELP

Post by Ceres »

First of all, you could study the things written in the Wiki, for example here: http://wiki.wesnoth.org/UnitTypeWML
There you can find everything you need to write the cfg-File for a unit.
User avatar
Dixie
Posts: 1757
Joined: February 10th, 2010, 1:06 am
Location: $x1,$y1

Re: HELP

Post by Dixie »

Also, go into your game's units folder and open one to see how it's made. A Simple Campaign is less centered around units, but can still be a great help for general syntax.

Edit: ASC is an add-on made by Anonymissimus. Gut it on the add-ons server.
Jazz is not dead, it just smells funny - Frank Zappa
Current projects: Internet meme Era, The Settlers of Wesnoth
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: HELP

Post by Gambit »

You need to have a read of the Posting Guidelines. Your thread title is all caps and extremely ambiguous.
Sangel
Moderator Emeritus
Posts: 2232
Joined: March 26th, 2004, 10:58 pm
Location: New York, New York

Re: HELP

Post by Sangel »

Gambit wrote:You need to have a read of the Posting Guidelines. Your thread title is all caps and extremely ambiguous.
Gambit's right; you'll get better results if your title is more specific as to what you need help with. I've taken the liberty of editing your title for you to show what you mean.

As to your specific inquiry, Ceres is right, the Wiki is your friend. Dixie's suggestion is also good, in that it's much easier to create units once you take a look at how the current units are coded. It's all plain text, no fancy editor required.

A couple of things to be wary of when working with Wesnoth files:
1) Only work on copies. If you accidentally change the core game files, you're likely to experience errors in multiplayer or even single-player sessions.
2) Be careful to work only in plain-text format. Word in particular can generate all kinds of formatting info in the file that will mess things up when Wesnoth tries to read it.
"Pure logic is the ruin of the spirit." - Antoine de Saint-Exupéry
Post Reply