Search found 1254 matches

by gfgtdf
June 25th, 2013, 4:32 pm
Forum: Lua Labs
Topic: how to get untranslated string
Replies: 4
Views: 3064

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: 80447

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: 80447

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: 80447

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: 80447

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: 80447

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: 80447

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: 80447

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: 80447

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: 2188

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: 2188

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)
by gfgtdf
June 13th, 2013, 10:50 pm
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2188

Re: Question about WML optimization

well idk weather that works in multiplayer, but in singelplayer you could start wesnoth with: "--log-debug=event_handler" parameter, and then check the stderr file if there are tons of "processing event ... with id= ...". if there are veryvery much of them within a very short time than that might ca...
by gfgtdf
June 13th, 2013, 10:30 pm
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2188

Re: Question about WML optimization

uhm i have never played online muliplayer ^^. i just clicked "muliplayer" (the first time) but there are only two games shown. but since the games becomes faster after you load the game, i assume the reason is, that the "first time only=yes" events aren't deleted, they are just disabled, to the stil...
by gfgtdf
June 13th, 2013, 9:57 pm
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2188

Re: Question about WML optimization

hm i never used wml excessive (i like lua more), so i have no idea how the size of wml effects the time of the turn initilization. i just took a look at the scenario, but its quite hard because you use a lot of nested events. (most of you events are first_time_only = yes, so it is hard to know wich ...
by gfgtdf
June 13th, 2013, 9:34 pm
Forum: WML Workshop
Topic: Question about WML optimization
Replies: 20
Views: 2188

Re: Question about WML optimization

well you can find out weather the reason for the slowness are the events, by using some [set_variable] time=stamp.. to check how much time these events use. there might also be some actions that are executed on every player turn, you could check weather that causes the slowness by making the player ...