Search found 1854 matches

by Dacyn
September 12th, 2006, 1:48 am
Forum: Multiplayer Development
Topic: A quicker way to test MP scenarios?
Replies: 4
Views: 980

why not a local game?
You may be able to make it a [test] scenario, in which case you can launch the scenario directly by typing 'wesnoth -t'.
Hmm... if you are trying to test OOS errors or something, I don't think there is a shortcut.
by Dacyn
September 9th, 2006, 3:02 pm
Forum: Users’ Forum
Topic: how exactly is ev worked out?
Replies: 16
Views: 2472

EV is the expected damage for the strikes that are actually in a fight, counting overkill. For example, if a unit with a 12-2 attack attacks a unit with 1 health left, 60% defense, then - if he hits the first time, damage is 12, EV damage is 4.8 - if he misses the first time and hits the second, dam...
by Dacyn
September 9th, 2006, 12:19 am
Forum: WML Workshop
Topic: Remove/subordinate attacks
Replies: 2
Views: 820

Code: Select all

[effect]
 [filter]
 x,y=$x2,$y2
 [/filter]
apply_to=attack
name={NAME}
defense_weight=0
[/effect]
(reduces the defense weight of attack NAME, so a different weapon will be used)
by Dacyn
September 5th, 2006, 10:39 pm
Forum: Ideas
Topic: Order of calculating damage bonuses of the strong trait
Replies: 3
Views: 864

During the night, both strong and non-strong Clashers do the same damage (5-4).
by Dacyn
August 28th, 2006, 8:03 pm
Forum: WML Workshop
Topic: removing a unit from the recall list
Replies: 10
Views: 2121

Try this:

Code: Select all

[set_variable]
name=unitname_store.x
value=14
[/set_variable]
[set_variable]
name=unitname_store.y
value=15
[/set_variable]
[unstore_unit]
variable=unitname_store
[/unstore_unit]
by Dacyn
August 26th, 2006, 2:28 pm
Forum: WML Workshop
Topic: removing a unit from the recall list
Replies: 10
Views: 2121

Maybe you are unstoring it at a location which does not exist on the new map... try setting the coordinates to where you want the unit to appear before unstoring it.
Other than that, I can't think of why the unit wouldn't appear...
by Dacyn
August 26th, 2006, 1:04 pm
Forum: WML Workshop
Topic: removing a unit from the recall list
Replies: 10
Views: 2121

Re: thanks, and more help?

troodon wrote:Could it have anything to do with me unstoring the unit in a scenario in which my leader wasn't there?
Was there a defeat message? If the leader is not present in a scenario you automatically lose...
by Dacyn
August 25th, 2006, 7:18 pm
Forum: WML Workshop
Topic: removing a unit from the recall list
Replies: 10
Views: 2121

- 'find_vacant=yes' in [unstore_unit]
- changing the location of the unit while stored
- storing one scenario, and unstoring the next
hmm... the second is most likely. You can either use 'kill=yes' in [store_unit], or use [teleport] instead...
by Dacyn
August 25th, 2006, 6:32 pm
Forum: WML Workshop
Topic: removing a unit from the recall list
Replies: 10
Views: 2121

Are you saying there are multiple of the same unit? You shouldn't need to remove the second unit from the recall list, just debug your code to find out why he is being duplicated...
BTW, you can remove a unit from the recall list with a normal [kill] tag.
by Dacyn
August 24th, 2006, 4:18 pm
Forum: Ideas
Topic: Recruitable Sub-Leaders
Replies: 25
Views: 2925

Re: Damn! Too slow!

wiscados wrote:it should maybe be balanced so that it IS a good idea.
That's theoretically impossible.
by Dacyn
August 24th, 2006, 4:12 pm
Forum: Users’ Forum
Topic: Predicting luck by looking at the RNG
Replies: 13
Views: 1857

It's a product of your imagination.
by Dacyn
August 24th, 2006, 1:02 am
Forum: Scenario & Campaign Development
Topic: debugging
Replies: 1
Views: 617

In debug mode , type ':n' to skip a scenario... (Warning: this does not always work if the scenario branches. In this case, create units next to the enemy leader to kill it.) Of course, there's also the option of editing a file (for example, the campaign file) to set the scenario you want as the nex...
by Dacyn
August 24th, 2006, 12:53 am
Forum: Ideas
Topic: WML switch tag
Replies: 15
Views: 1884

#define SWITCH VARIABLE [set_variable] name=switch to_variable={VARIABLE} [/set_variable] [set_variable] name=switch_done value=no [/set_variable] #enddef #define CASE VALUE [if] [variable] name=switch equals={VALUE} [/variable] [then] [set_variable] name=switch_done value=yes [/set_variable] #endd...
by Dacyn
August 23rd, 2006, 5:11 pm
Forum: Ideas
Topic: Idea for UMCs on gold carryover and Recall lists
Replies: 11
Views: 1214

Re: Idea for UMCs on gold carryover and Recall lists

-It probably would be desirable to have an end of scenario option to allow players to prune their recall list prior to the carryover being calculated. It seems like a menu to determine which units to keep would be more appropriate, since each one has a cost. Or maybe have level 1 units dismissed by...
by Dacyn
August 22nd, 2006, 5:05 pm
Forum: Ideas
Topic: WML switch tag
Replies: 15
Views: 1884

don't use the [variable] tag; that has a different meaning and it would be better not to reuse tags... just put 'variable=(variable_name)' inside the [switch] tag.