Search found 923 matches

by enclave
Yesterday, 7:24 am
Forum: WML Workshop
Topic: Make AI not prioritize certain unit for attacks
Replies: 6
Views: 123

Re: Make AI not prioritize certain unit for attacks

Yeah, level does not play a role in the attack evaluation, other than to determine whether the unit could level up. Cost does ... so what if he would try to [store_unit] and change the cost to 1 gold or 0 gold and then [unstore_unit]..? i mean i guess its irrelevant now since he found a fix :) just...
by enclave
Yesterday, 7:20 am
Forum: Ideas
Topic: Trait Suggestions
Replies: 14
Views: 235

Re: Trait Suggestions

I like the idea for a ranged unit gaining more experience by fighting in melee - it creates a real risk/reward tradeoff. maybe only if used in offense.. in defense it would make unit a bit op.. there might be of course a unit that would want to get such benefits in defense too, just to make it stro...
by enclave
January 17th, 2019, 5:35 pm
Forum: WML Workshop
Topic: Make AI not prioritize certain unit for attacks
Replies: 6
Views: 123

Re: Make AI not prioritize certain unit for attacks

I'll give some example of how I use [micro_ai] tag to "control" ai in a way that i like better, but Im not sure if there is a way to directly tell ai to avoid a unit properly.. for that you would need to read wiki help on all possibilities of micro_ai tag, maybe you can find something... [event] nam...
by enclave
January 16th, 2019, 7:55 pm
Forum: Ideas
Topic: Trait Suggestions
Replies: 14
Views: 235

Re: Trait Suggestions

It has been established earlier that suggestions for new traits won't be taken. If you want to make your own campaign you can implement them there. even if the idea is not supported by mainline wesnoth, it doesn't mean that an addon/modification developer can not come here, read it and create add-o...
by enclave
January 16th, 2019, 7:42 pm
Forum: Lua Labs
Topic: Synchronization with LUA?
Replies: 8
Views: 164

Re: Synchronization with LUA?

Unsynced events can not request synchronization. This is case a). if so, there still would be a work around, because in my addon i use select event to highlight enemies and then by right click on one of highlighted targets i can perform ranged attack... in my case select event has [fire_event] in i...
by enclave
January 15th, 2019, 7:37 pm
Forum: Lua Labs
Topic: Synchronization with LUA?
Replies: 8
Views: 164

Re: Synchronization with LUA?

ARRPGA has a menu in which one of the sides (The Dungeon Master) can create, modify, delete and move around units at will. Sometimes, it leads to OOS problems. While checking out LUA I saw that wesnoth.sync_choice exists and I was wondering if it can be used for something along those lines. Hi Papa...
by enclave
January 8th, 2019, 3:15 pm
Forum: Technical Support
Topic: Game lags
Replies: 10
Views: 1853

Re: Game lags

kartacha wrote:
October 16th, 2018, 10:58 pm
From hardware standpoint my new PC is far superior than the previous one.
You mean the video card on this one is much better as well? All the drivers for audio cards and video cards updated too?
by enclave
January 6th, 2019, 2:13 pm
Forum: Website
Topic: Website Safety?
Replies: 11
Views: 330

Re: Website Safety?

I think that if there is such a "harmful website" message for anyone else out there, then they either would have reported it long time ago, or never reported at all (since you have to allow the "harmful" site to report it). Therefore the only hope to find out if it's your antivirus being hacked/malf...
by enclave
January 5th, 2019, 8:05 pm
Forum: WML Workshop
Topic: [micro_ai] slow
Replies: 75
Views: 8980

Re: [micro_ai] slow

If you're trying to make it work with other people's maps though, you'll probably need to use some sort of event-based solution, like a turn start event that moves the caravans for that side. Thank you for confirming that there is no simple solution, I expected that, so it's good, now I know what r...
by enclave
January 4th, 2019, 9:45 pm
Forum: WML Workshop
Topic: [micro_ai] slow
Replies: 75
Views: 8980

Re: [micro_ai] slow

Would it be easier just to create another side that is on the same team as you and is controlled by the ai? Or are you planning on using all 9 sides? I think for your specific case it would make more sense to place the caravans on a separate allied AI-controlled side. I'm pretty sure no AI is run f...
by enclave
January 4th, 2019, 1:10 am
Forum: WML Workshop
Topic: [micro_ai] slow
Replies: 75
Views: 8980

Re: [micro_ai] slow

mattsc, a naive question.. is there any micro_ai for a human controlled side? like kind of what you see in games under "goto"... like you specify unit a goal on map and he would perform the goto action to that goal each turn (while side is controlled with human player, not AI) I just think to add ca...
by enclave
January 3rd, 2019, 12:07 am
Forum: Scenario & Campaign Development
Topic: Desert Traders [1.12 SP scenario]
Replies: 13
Views: 2137

Re: Desert Traders [1.12 SP scenario]

I don't know what's up with trolls, they should have 1/4 of probability to appear once one of the central routes are opened, but from your replay it seems that they are spawned every single turn. If it's a bug, I can't find it, and didn't remember a similar problem in other replays. hi, sorry i hav...
by enclave
December 31st, 2018, 3:35 pm
Forum: Technical Support
Topic: Finding add-on data in files
Replies: 4
Views: 692

Re: Finding add-on data in files

If anyone can help me out, it'd be much appreciated. in windows 7, addons in 1.12 were here: C:\Users\Admin\AppData\Local\VirtualStore\Program Files (x86)\Battle for Wesnoth 1.12.2\userdata\data\add-ons in windows 7, addons in 1.14 are here: C:\Users\Admin\Documents\My Games\Wesnoth1.14\data\add-on...
by enclave
December 30th, 2018, 2:22 pm
Forum: WML Workshop
Topic: Animate hidden unit's attack
Replies: 13
Views: 394

Re: Animate hidden unit's attack

The_Gnat wrote:
December 30th, 2018, 1:17 am
Thanks to beetlenaut here is my final working code:
thanks for sharing the working code :) might be useful to many people some day.
by enclave
December 29th, 2018, 11:31 pm
Forum: WML Workshop
Topic: Animate hidden unit's attack
Replies: 13
Views: 394

Re: Animate hidden unit's attack

wait.. could you tell me why you are hiding the unit at all? because your unit doesnt have the type of attack or? coz I just add the attack in some animation cases and remove it right after attack happened.. ? PS. ah yeah i think i know what you mean.. in this case you could probably add animation t...