Search found 1243 matches

by gfgtdf
June 29th, 2013, 8:11 pm
Forum: WML Workshop
Topic: define=.. equivalent in multiplayer and modification
Replies: 13
Views: 2020

define=.. equivalent in multiplayer and modification

hi in [campaign] tags i have the define=.. key wich allows me to control wich units and toplevel tags will be loaded. is there any eqivalent in [multiplayer] and [modification] ? because i think it is annoying that hundreds of unitstypes are loaded even if i dont need them, (it makes the help menu u...
by gfgtdf
June 28th, 2013, 5:09 pm
Forum: Scenario & Campaign Development
Topic: Legend of the Invincibles
Replies: 7341
Views: 1102073

Re: Legend of the Invincibles

Here's an instance of the AMLA bug I talked about earlier. To activate the bug, advance Thrandë at (32,83). EDIT - Included savefile this time. :roll: i suppose thats because of the bug with [female] and [base_unit] discussed here: http://forums.wesnoth.org/viewtopic.php?f=21&t=39038#p556262. that ...
by gfgtdf
June 26th, 2013, 10:53 am
Forum: Lua Labs
Topic: how to get untranslated string
Replies: 4
Views: 3058

Re: how to get untranslated string

ty for this info. i guess i'll have to drop translatability for savegames, make a complicated workaround, or use wesnoth.set_variable if the containing table is a valid wml table.
by gfgtdf
June 25th, 2013, 9:10 pm
Forum: Lua Labs
Topic: how to get untranslated string
Replies: 4
Views: 3058

Re: how to get untranslated string

the string comes from different sources, (from me aswell as from the core).
and i want this for my serialize function, if i replace a string by its translation that would ofc remove the translatability.
by gfgtdf
June 25th, 2013, 4:32 pm
Forum: Lua Labs
Topic: how to get untranslated string
Replies: 4
Views: 3058

how to get untranslated string

i have a translatable string object and i wonder how to get the untranslated string behind it.
does anyone know how to do that?
by gfgtdf
June 22nd, 2013, 11:40 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

This shouldn't happen, and it never happened to me. In all my test plays the rider never attacked the Undead leader. I guess he even can not reach him within one turn. Was the enemy leader outside his keep? no he wasn't. from (13,11) it is ony 6 hexed to the enemys keep, maybe in your tests the eme...
by gfgtdf
June 22nd, 2013, 10:56 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

i used textsearch for "moveto", found 4 moveto events, from wich the first two had a restirctive filter and the third had no filter. I just played the second scenario, went all nomral, but in at some turn there came a allied rider saying "im pursuited by enemy reinforces" (or something like that.), ...
by gfgtdf
June 21st, 2013, 11:37 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

i took a look at chpter 7 and i found this: [event] name=moveto first_time_only=no [if] [not] [have_unit] side=1,3 {UNSAVE_SIDE_OF_THE_RIVER} [/have_unit] [/not] [and] [variable] name=message_already_spoken numerical_equals=0 [/variable] [/and] [then] [message] speaker="ElorialDin" message= _ "All o...
by gfgtdf
June 21st, 2013, 11:08 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

maybe you forgot adding "movement_used=0" on the antar file? [attack] name=saber movement_used=0 [specials] {WEAPON_SPECIAL_HIT_AND_RUN} [/specials] [/attack] EDIT: in the sceond scenario when you meet GELPHRAD there is the same issue as in the first chapter with the double [modifications] tag
by gfgtdf
June 21st, 2013, 10:52 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

"max(unit.moves,3)" means "maximum of {unit.moves,3}" so unit.moves or 3 depending on what is higher.
by gfgtdf
June 21st, 2013, 10:32 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

well currently you store the moved a unit has left (in the moveto event) to restore it later (in the attack_end event), becuase after a unit attacks the movement is set to 0. but according to that page you can just add "movement_used=0" to the attack, to avoid movement points being taken by attackin...
by gfgtdf
June 21st, 2013, 10:10 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

well here http://wiki.wesnoth.org/UnitTypeWML#Attacks they say something about an "movement_used" key on attacks, i have never used it but it may work.

to have teh same effect as the former ability, you have to set the moves to 3 if they are lower than 3. in the attack_end event
by gfgtdf
June 21st, 2013, 9:41 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 404
Views: 80231

Re: Antar, Son of Rheor [Singleplayer Campaign Feedback Thr

hey i just played the first scenario (on 11.2) and i liked it. But some parts bother me: 1) in the wmlcode there is some code about new units abilites: [unit] x,y=1,25 type=Lowitz_0 id=Lowitz name= _ "Lowitz" side=1 profile="data/campaigns/Liberty/images/portraits/harper.png" facing=se [modification...
by gfgtdf
June 14th, 2013, 1:03 am
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2177

Re: Question about WML optimization

Where is problem and how to remove it? well, accrordung to your log it seems that the events are handeled in no time, so it seems like the problem is something else. so idk what the real problem is. since the log dont give any information what happened bewtewen 41:00 and 41:10 you could also try to...
by gfgtdf
June 13th, 2013, 11:09 pm
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2177

Re: Question about WML optimization

command line aruments, if you are using windwos you righclick the shortcut to wensoth and edit the target in, if you are using another os idk. change
" --config-dir Wesnoth1.11"
into
"--log-debug=event_handler --config-dir Wesnoth1.11"
(10 if you are using version 10)