WML

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
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

WML

Post by wisdomless »

Where is the WML text located for abilities? I can find the traits WML, but not the ablities WML.
I'm using the better (Linux) version of Wesnoth.
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

(wiki path)/AbilitiesWML
Hope springs eternal.
Wesnoth acronym guide.
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

Hmm... Maybe I should rephrase this... I wasn't looking for the wiki on abilities (sorry, I mislead) I'm looking for the code on abilities. I can find the traits code
/wesnoth-1.0/data/traits.cfg
but I want to find where the abilities code is.
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

The abilities code is written in C. It's hard-coded into the game.
Hope springs eternal.
Wesnoth acronym guide.
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

Hmm... Well can I get into the C code?
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

If you need to ask, then very, very likely you can't (no matter what some OSS advocate will no doubt try to tell you next).
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

There must be a way. I have the source code, doesn't that count for something? I'm not running winblows (where unless it's gui, you can't dui). There must be a way into the C code. Or is it even possible to create abilities with WML?
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

Accessing the C++ sources is easy, understanding them much, much harder then understanding WML. If you don't know where to search for sources, it's extremly unlikely that you'll be able to understand a project as complex as wesnoth without spending quite a lot of time learning C++ first.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

That is probably very true... And I am very unskilled around code. However, I don't mean to be rude, but I didn't ask for anyone's opinion. I asked how I could get to the code. That's all I'd like to know.
If it's really that easy, please tell me how I can get to it.
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
Darth Fool
Retired Developer
Posts: 2633
Joined: March 22nd, 2004, 11:22 pm
Location: An Earl's Roadstead

Post by Darth Fool »

go into the src/ directory. voila.
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

Thank you. That was easy.
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
User avatar
Elvish_Pillager
Posts: 8137
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

The majority of suggested abilities can be implemented in WML, if you don't mind them not being completely global.
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

Finding the source -> easy
Compiling the source -> medium
Modifying the source in a sensible way -> hard

I imagine the last step is where you want to get to. :)
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
wisdomless
Posts: 193
Joined: September 20th, 2005, 8:17 pm
Location: A galaxy far far away...

Post by wisdomless »

Compiling is a snap, what are you talking about? And don't you compile after you've coded anyway?
No matter.
Coding IS hard, but I'm doing alright... And yes, coding is where I want to be...
If stupidity got me into this, it should get me out.

Most pointless statement of the year award goes to me!
"People are lazy unless they care."
I'd like to thank unsung for this award... and all the people who helped make this possible...
Post Reply