Search found 80 matches

by Brilliand
January 13th, 2011, 11:40 pm
Forum: WML Workshop
Topic: Creating new unit statuses and getting them to show
Replies: 19
Views: 10361

Re: Creating new unit statuses and getting them to show

*appear from the shadows* [lua] code=<< local old_unit_status = wesnoth.theme_items.unit_status function wesnoth.theme_items.unit_status() local u = wesnoth.get_displayed_unit() if not u then return {} end local s = old_unit_status() if u.status.cfg.status then table.insert(s, { "element"...
by Brilliand
January 13th, 2011, 11:28 pm
Forum: WML Workshop
Topic: Random values persisted on scenario load so not random?
Replies: 2
Views: 417

Re: Random values persisted on scenario load so not random?

Have you tried the "random" function? I haven't, but from the fact that it's actually separate form "rand," I'd venture to guess that it doesn't have this problem. Of course, it has a worse one: out-of-sync errors on multiplayer. For another way to clear up this behavior. I sugge...
by Brilliand
January 13th, 2011, 10:38 pm
Forum: Scenario & Campaign Development
Topic: Anya of Willshire
Replies: 19
Views: 4559

Anya of Willshire

Anya of Willshire version 0.2 has been uploaded to the add-on server. It currently has 12 scenarios (including talk scenarios), though only 7 scenarios in any one branch. We still have quite a ways to go before we consider it finished.
by Brilliand
January 13th, 2011, 10:35 pm
Forum: Art Workshop
Topic: Profile Picture Request
Replies: 3
Views: 987

Re: Profile Picture Request

The aforementioned campaign is "Anya of Willshire." It has been uploaded to the add-on server (but is still incomplete). Desert_Shyde wanted to add an undead toad to the campaign, but we tossed the idea due to not having any decent undead toad graphics. If someone makes a decent undead toa...
by Brilliand
December 22nd, 2010, 3:57 am
Forum: Scenario & Campaign Development
Topic: Merry Christmas
Replies: 17
Views: 6033

Re: Merry Christmas

I had a last-minute copyright problem involving some Creative Commons music - I managed to hunt around and find some similar public domain music, but in case you'd like to play it with the original music, here's the files that we were using: Oh Little Town of Bethlehem Up on the Housetop Dance of th...
by Brilliand
December 8th, 2010, 3:46 am
Forum: WML Workshop
Topic: Recuit using a unit, 1st recruit works, others fail...
Replies: 14
Views: 1898

Re: Recuit using a unit, 1st recruit works, others fail...

looks like filtering surrounding terrain for a mobile builder is pretty much impossible unless you use some kind of fake units around the builder, which I dont want to go down that option. I've used the 'magus' summon code i posted before which doesnt filter allowable terrain for summoning, it acts...
by Brilliand
December 8th, 2010, 2:41 am
Forum: WML Workshop
Topic: artisticdude's WML Thread: Movement Potions
Replies: 8
Views: 866

Re: artisticdude's WML Thread: Movement Potions

You could also create ten nested events, the last of which removes the potion (you would need "delayed variable substitution=no" on each one). That way, the entire event chain would be gone afterward. Of course this only works n things with a hard-coded duration...
by Brilliand
December 8th, 2010, 2:12 am
Forum: WML Workshop
Topic: I need to get a list of all sides not allied to the player
Replies: 7
Views: 1511

Re: I need to create a ai controlled side..for an era.

Get a list of sides that are not allied with the current side (using a loop that goes through all of the sides), then use that as the input to a random number generator: [set_variable] name=unit.side rand=$nonally_list [/set_variable] Then unstore the unit to set it to that side. You should probably...
by Brilliand
November 24th, 2010, 11:48 pm
Forum: Scenario & Campaign Development
Topic: The Militia
Replies: 88
Views: 24997

Re: The Militia

We'll be adding a comment when someone picks up the ring. Never mind - we didn't do this. We did, however, lower the prices on the bow and potion, and lower the orcs' starting gold (they were getting about twice as much as they should have due to the three turns of income before they could recruit)...
by Brilliand
November 17th, 2010, 11:46 pm
Forum: Scenario & Campaign Development
Topic: The Militia
Replies: 88
Views: 24997

Re: The Militia

Update (after speaking with Desert_Shyde): The bow (adds an attack which can't be counterattacked) and potion (transforms the unit in to a random unit of the same level) are pretty self-explanatory, but maybe we could add an extra comment on the ring (changes short-range attacks to long-range and lo...
by Brilliand
November 17th, 2010, 11:39 pm
Forum: Scenario & Campaign Development
Topic: Help Map editor Units?
Replies: 9
Views: 3418

Re: Help Map editor Units?

Click the "Create" link near the top o this page (right next to the "Forums" link), then scroll down to the bottom and click on "WML Reference."
by Brilliand
November 17th, 2010, 1:48 am
Forum: Scenario & Campaign Development
Topic: The Militia
Replies: 88
Views: 24997

Re: The Militia

Silas's "Time out" power doesn't work: he is petrified but the attack continues and he still takes and deals damage. (but he can't be attacked later) I've fixed this on the offline copy; now the time out (or "stay where you are" which petrifies the enemy unit) will happen at the...
by Brilliand
November 17th, 2010, 12:53 am
Forum: Scenario & Campaign Development
Topic: Any way to make any terrain temporarily to be recruit-able?
Replies: 9
Views: 1830

Re: Any way to make any terrain temporarily to be recruit-ab

Too bad there is no way to set a property on a terrain or even dynamically create a new terrain on the fly by copying an existing terrain. I would think this could be done using [insert_tag] and wesnoth.get_terrain_info (from Lua). If nothing else, you could pre-make castle-copies of every terrain ...
by Brilliand
July 24th, 2010, 9:34 pm
Forum: Multiplayer Development
Topic: Terrain Artist
Replies: 4
Views: 1049

Re: Terrain Artist

I tested it against myself, but it seems to repeat same again and again. And why do leaders make castle, keep, or wall!? Why wall? I wanted there to be some way to generate Impassable, and I figured that leaders generating only castle would be unbalanced (pushing the game toward generating huge cas...
by Brilliand
July 15th, 2010, 12:46 am
Forum: Multiplayer Development
Topic: Terrain Artist
Replies: 4
Views: 1049

Terrain Artist

I uploaded Terrain Artist about a week ago... looks like I've had quite a few downloads. Any comments? Questions?

Terrain Artist originated as a tool for randomly generating maps, but it turned out to be more fun than useful.