Search found 194 matches

by H-Hour
May 21st, 2020, 11:19 pm
Forum: Multiplayer Development
Topic: Betrayal of Thaeylan: 2p campaign
Replies: 56
Views: 14780

Re: Betrayal of Thaeylan: 2p campaign for 1.14

Betrayal of Thaeylan 2.0 is now available on the 1.14 addons server. It has been rewritten from the ground up to be a shorter, punchier campaign suitable for casual coop play. It has been stripped back to two short chapters of five scenarios each. Most scenarios can be completed in an hour or less....
by H-Hour
May 17th, 2020, 8:31 pm
Forum: WML Workshop
Topic: Make message speaker $unit or $second_unit during attack
Replies: 2
Views: 187

Re: Make message speaker $unit or $second_unit during attack

Thanks Ravana! That was indeed part of the problem. I also realized I was using the wrong syntax. I needed to use "value" instead of "equals", and use $ to reference the variable. The final working code is: [event] name=attack [filter_condition] [variable] name=unit.side equals=4 [/variable] [or] [v...
by H-Hour
May 17th, 2020, 10:55 am
Forum: WML Workshop
Topic: Make message speaker $unit or $second_unit during attack
Replies: 2
Views: 187

Make message speaker $unit or $second_unit during attack

I have an event that fires when one of a side's units is involved in an attack (either the attacker or the one attacked). I would like this unit to be the speaker of a [message]. I have tried assigning the unit to a variable and using that, but it doesn't seem to work. [event] name=attack [filter_co...
by H-Hour
May 8th, 2020, 9:23 pm
Forum: WML Workshop
Topic: How to remove all of a side's recalls
Replies: 2
Views: 194

Re: How to remove all of a side's recalls

Thanks! That was really much simpler than I expected.
by H-Hour
May 8th, 2020, 10:02 am
Forum: Scenario & Campaign Development
Topic: Additional Multiplayer Campaign for Mainline
Replies: 2
Views: 304

Re: Additional Multiplayer Campaign for Mainline

I think that Liberty would lend itself well to being adapted into a 2p multiplayer campaign. The story revolves around two allied characters, so it would be easy to set up the basic premise required to support two players. It also has two other things which I feel are important for multiplayer campa...
by H-Hour
May 5th, 2020, 10:37 pm
Forum: WML Workshop
Topic: How to remove all of a side's recalls
Replies: 2
Views: 194

How to remove all of a side's recalls

I'm working on a multiplayer campaign with two chapters. When the player finishes the first chapter and starts the second I'd like to clear all unit recalls except the leader units. I thought I could do this with [unstore] and [kill] but it seems that [unstore] expects a specific unit ID. Is there a...
by H-Hour
April 26th, 2020, 2:31 pm
Forum: WML Workshop
Topic: How to remove a unit type's attack special
Replies: 4
Views: 277

Re: How to remove a unit type's attack special

Got it, thanks!
by H-Hour
April 26th, 2020, 2:16 pm
Forum: WML Workshop
Topic: How to remove a unit type's attack special
Replies: 4
Views: 277

Re: How to remove a unit type's attack special

Thank you Ravana! Can I ask where you found this in the documentation? For anyone else who finds this thread, the working solution was: [unit_type] [base_unit] id=Spearman [/base_unit] ... [attack] name=spear description=_"spear" type=pierce range=melee damage=6 number=2 icon=attacks/spear.png [spec...
by H-Hour
April 26th, 2020, 1:27 pm
Forum: WML Workshop
Topic: How to remove a unit type's attack special
Replies: 4
Views: 277

How to remove a unit type's attack special

I have a unit that uses [base_unit] to extend the Spearman. I would like to remove the first strike attack special for my unit. I'm having a hard time figuring out how to use remove_specials . The examples in the forum all use [effect] but I have so far been unable to figure out the correct syntax t...
by H-Hour
April 23rd, 2020, 9:51 pm
Forum: WML Workshop
Topic: Change AI side from defend to attack during scenario
Replies: 5
Views: 380

Re: Change AI side from defend to attack during scenario

Thanks, that's exactly what I needed!
by H-Hour
April 22nd, 2020, 9:18 pm
Forum: WML Workshop
Topic: Change AI side from defend to attack during scenario
Replies: 5
Views: 380

Change AI side from defend to attack during scenario

I am trying to get an allied AI side to stay and defend an area until an event happens in the game, at which point I want the AI side to leave its defended area and attack enemies. I have the following in the [side] tag: [ai] aggression=0.2 passive_leader=yes [avoid] [not] x=30 y=4 radius=4 [/not] [...
by H-Hour
March 26th, 2015, 3:35 pm
Forum: Multiplayer Development
Topic: Betrayal of Thaeylan: 2p campaign
Replies: 56
Views: 14780

Re: Betrayal of Thaeylan: 2p campaign for 1.11.12

Hi Coin-coin_le_Canapin, Thanks for playing. Some tips in the spoilers. It's been a while but I remember I usually played it by splitting up. Typically what would happen would be that I ended up tanking with the loyalist player units on the islands. Just try to keep the enemies in the water or on di...
by H-Hour
January 19th, 2015, 10:20 am
Forum: Multiplayer Development
Topic: 2p Campaign Battle System, v1.5 on addon server
Replies: 43
Views: 13605

Re: 2p Campaign Battle System, v1.5 on addon server

Hmm, that sucks. Maybe there has been a WML change or something. It's been a long time since I jumped into Wesnoth for a game, sorry.
by H-Hour
January 12th, 2015, 9:48 am
Forum: Multiplayer Development
Topic: 2p Campaign Battle System, v1.5 on addon server
Replies: 43
Views: 13605

Re: 2p Campaign Battle System, v1.5 on addon server

Thanks for playing, SatHyre. I just checked and it looks like the players are setup to share maps and share view. Did you modify the settings when creating the game, by any chance, to turn on fog of war and shroud? I'm not sure what else could be the problem...
by H-Hour
October 29th, 2014, 11:53 pm
Forum: Multiplayer Development
Topic: Betrayal of Thaeylan: 2p campaign
Replies: 56
Views: 14780

Re: Betrayal of Thaeylan: 2p campaign for 1.11.12

Wow, thanks for this amazing feedback Bob_The_Mighty. I'm sorry it was such a rocky ride for you. It looks like a whole bunch of stuff that was pretty well tested in 1.10.x seems to be turning up errors now -- players not receiving messages, units not getting assigned to the right player, etc. I jus...