How to give extra turns in an event

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
toms
Posts: 1717
Joined: November 6th, 2005, 2:15 pm

Post by toms »

ivanovic wrote:2)I also gave the player a bonus of 6 turns to free Bjarn after the leader is killed. This should also help and reduce frustration in this scenario.
How did you program that? I´d like to know.

Sorry for the off-topic. :?
First read, then think. Read again, think again. And then post!
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

In 1.1.1+svn there are now some new WML commands. One of these is [modify_turns]. I did enter an add=6 inside this tag. I could also have used value=n to set the overall value to n. The next release 1.1.2 has many really nice things to do some WML magic.
jg
Posts: 244
Joined: September 12th, 2005, 7:17 am

Post by jg »

Two questions (one dumb):What is this wensnoth 1.1.1 + SNV? I've read about it a couple times, but couldn't figure out what it means...:oops: And when is 1.1.2 coming? Or have I missed that too? :shock: :wink:
Corwin
Posts: 90
Joined: August 17th, 2005, 5:17 pm
Location: California

Post by Corwin »

If you compile from the SVN source, the version will be 1.1.1+svn. that just means it is based on version 1.1.1 and has the recent additions to svn. 1.1.2 is not out.
Corwin
scott
Posts: 5248
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

The current version is 1.1.1

Since then we have changed the code, art, etc. This new code lives in a Subversion repository, which means it has a few hidden directory items that allow a program called Subversion manage it. Subversion allows many people to work on the same code and not conflict with each other's changes (among other things).

This code is officially referred to as version "1.1.1+svn" or "SVN" for short. If you were to check a copy of the code out and compile it, the version would read 1.1.1+svn.

The contents of SVN change very rapidly - daily, hourly, or even more frequently. Your 1.1.1+svn may be very different from my 1.1.1+svn. But, if something is in version 1.1.1+svn, then the change exists in the current version of the code.

When the dev team decides to release 1.1.2, a snapshot of the SVN repository will be made and called 1.1.2. From then on, the SVN version will be called 1.1.2+svn.

Sometimes prior to a release 1.1.1+svn will become 1.1.2-svn (note + vs -). I don't know who decides when to do that.

1.1.2 is ready when it is ready. I hope it is ready soon.
Hope springs eternal.
Wesnoth acronym guide.
User avatar
Ken_Oh
Moderator Emeritus
Posts: 2178
Joined: February 6th, 2006, 4:03 am
Location: Baltimore, Maryland, USA

Post by Ken_Oh »

Someone move that explanation to the wiki.
jg
Posts: 244
Joined: September 12th, 2005, 7:17 am

Post by jg »

Thanks :lol: , and I was going to suggest the same thing... as Ken Oh.
Post Reply