--- Log opened Tue Oct 17 00:00:37 2017 20171017 00:29:04-!- vultraz [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20171017 00:30:34-!- sigurdfd [~SigurdFD@dynamic-acs-72-23-110-196.zoominternet.net] has quit [] 20171017 00:49:53-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20171017 00:51:11-!- celmin|snooze [~celmin@unaffiliated/celticminstrel] has quit [Ping timeout: 248 seconds] 20171017 00:51:21-!- celticminstrel is now known as celmin|snooze 20171017 00:58:19-!- celmin|snooze [~celmin@unaffiliated/celticminstrel] has quit [Ping timeout: 252 seconds] 20171017 00:58:54-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20171017 01:49:27-!- vultraz [uid24821@wesnoth/developer/vultraz] has joined #wesnoth 20171017 02:01:16< wesnoth-discord-> Hey 20171017 02:01:45< wesnoth-discord-> Is there any way to go back to the older version of mobile ios wesnoth? 20171017 02:04:48-!- ArneBab [~quassel@freenet/developer/arnebab] has joined #wesnoth 20171017 02:08:28-!- ArneBab_ [~quassel@freenet/developer/arnebab] has quit [Ping timeout: 255 seconds] 20171017 03:07:03-!- celticminstrel is now known as celmin|sleep 20171017 03:20:51-!- Technaton [~eveith@2a01:4f8:191:7396:2::133] has quit [Ping timeout: 258 seconds] 20171017 03:25:54-!- Technaton [~eveith@2a01:4f8:191:7396:2::133] has joined #wesnoth 20171017 03:54:13-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20171017 03:54:21-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20171017 04:04:20-!- synthpopisback [~synthpopi@2606:a000:7947:5000:84ee:74a2:233a:697a] has quit [Quit: Leaving] 20171017 04:04:39-!- synthpopisback [~synthpopi@2606:a000:7947:5000:84ee:74a2:233a:697a] has joined #wesnoth 20171017 04:44:57< janebot> wesnoth: Adding a faction (by /u/bal_tilak) https://redd.it/76waq4 20171017 04:57:10-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20171017 05:04:11-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20171017 06:39:48-!- Haudegen [~quassel@178.115.237.87] has joined #wesnoth 20171017 07:13:29-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20171017 07:18:35-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20171017 07:18:41-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20171017 08:49:34-!- vladimirslavik [vslavik@nat/redhat/x-prooyhubaaiyzhud] has joined #wesnoth 20171017 08:51:15-!- vladimirslavik [vslavik@nat/redhat/x-prooyhubaaiyzhud] has quit [Changing host] 20171017 08:51:15-!- vladimirslavik [vslavik@wesnoth/translator/VladimirSlavik] has joined #wesnoth 20171017 09:21:05-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Ping timeout: 248 seconds] 20171017 09:23:16-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has joined #wesnoth 20171017 10:27:51-!- Haudegen [~quassel@178.115.237.87] has quit [Remote host closed the connection] 20171017 10:30:01< wesnoth-discord-> I have added a few factions of my own. 20171017 10:30:18< wesnoth-discord-> One problem that I have would be the Snow Elves faction. 20171017 10:30:45< wesnoth-discord-> I need white Elvish unit sprites for it. 20171017 10:57:45-!- vladimirslavik [vslavik@wesnoth/translator/VladimirSlavik] has quit [Quit: Leaving] 20171017 11:35:27-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20171017 11:35:34-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20171017 11:44:22-!- Haudegen [~quassel@212-186-77-29.static.upcbusiness.at] has joined #wesnoth 20171017 11:46:18-!- louis94 [~~louis94@241.67-65-87.adsl-dyn.isp.belgacom.be] has joined #wesnoth 20171017 11:51:08< DeFender1031> pallette-swap? 20171017 11:57:22-!- louis94 [~~louis94@241.67-65-87.adsl-dyn.isp.belgacom.be] has quit [Remote host closed the connection] 20171017 11:58:45-!- vladimirslavik [vslavik@nat/redhat/x-vfywjxdqsocvpqav] has joined #wesnoth 20171017 12:02:42-!- vladimirslavik [vslavik@nat/redhat/x-vfywjxdqsocvpqav] has quit [Changing host] 20171017 12:02:42-!- vladimirslavik [vslavik@wesnoth/translator/VladimirSlavik] has joined #wesnoth 20171017 12:23:36-!- Kwandulin [~Kwandulin@pD9FD5B86.dip0.t-ipconnect.de] has joined #wesnoth 20171017 12:24:40-!- soloojos [~soloojos@gateway/tor-sasl/soloojos] has quit [Quit: Leaving] 20171017 12:31:27-!- Kwandulin [~Kwandulin@pD9FD5B86.dip0.t-ipconnect.de] has quit [Quit: [endlevel]] 20171017 12:35:11< wesnoth-discord-> How can I create the palette swap for Elvish units? 20171017 12:58:20-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20171017 12:58:26-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20171017 13:02:03-!- Nostritius [~Nostritiu@p20030050AE1E7284762A7D58AF877AA8.dip0.t-ipconnect.de] has joined #wesnoth 20171017 13:07:46< Necrosporus> Probably same way as for any other unit? 20171017 13:08:03< Necrosporus> You can use ImagePathFunctions 20171017 13:08:34< celmin|sleep> He might also be asking how to make a unit TCable? 20171017 13:08:41-!- celmin|sleep is now known as celmin|snooze 20171017 13:43:24< wesnoth-discord-> No!!! Not vampires, please... 20171017 14:18:02-!- synthpopisback [~synthpopi@2606:a000:7947:5000:84ee:74a2:233a:697a] has quit [Ping timeout: 252 seconds] 20171017 14:18:45-!- synthpopisback [~synthpopi@2606:a000:7947:5000:e1fd:7b21:d1a8:fed1] has joined #wesnoth 20171017 14:24:58-!- Nostritius [~Nostritiu@p20030050AE1E7284762A7D58AF877AA8.dip0.t-ipconnect.de] has left #wesnoth [] 20171017 14:29:37< wesnoth-discord-> I want to make some Elvish units have white clothing to make them aesthetically fit in with the snow elf theme. 20171017 14:33:09< Necrosporus> You can use existing units and set color swapping via image path stuff 20171017 14:33:23< Necrosporus> Or you can use imagemagick to mass-edit them 20171017 14:37:24< wesnoth-discord-> I need to learn that stuff since it's been a while that I customized any units. 20171017 15:03:37< Necrosporus> I guess you can wrap image path function in a macro so you can edit it all in one place 20171017 15:04:01< Necrosporus> Then you can use sed to add it to end of every elvish unit file reference 20171017 15:04:08< Necrosporus> or something 20171017 15:04:58-!- cyphase_eviltwin [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20171017 15:05:25-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 258 seconds] 20171017 15:06:14-!- cyphase_eviltwin [~cyphase@unaffiliated/cyphase] has quit [Max SendQ exceeded] 20171017 15:07:08-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20171017 15:37:53-!- synthpopisback [~synthpopi@2606:a000:7947:5000:e1fd:7b21:d1a8:fed1] has quit [Ping timeout: 246 seconds] 20171017 15:38:14-!- synthpopisback [~synthpopi@2606:a000:7947:5000:541c:cbbf:2694:94be] has joined #wesnoth 20171017 16:06:23-!- Haudegen [~quassel@212-186-77-29.static.upcbusiness.at] has quit [Ping timeout: 248 seconds] 20171017 16:31:02-!- synthpopisback [~synthpopi@2606:a000:7947:5000:541c:cbbf:2694:94be] has quit [Ping timeout: 255 seconds] 20171017 16:31:28-!- synthpopisback [~synthpopi@2606:a000:7947:5000:24f9:8b61:270c:5867] has joined #wesnoth 20171017 16:39:35-!- synthpopisback [~synthpopi@2606:a000:7947:5000:24f9:8b61:270c:5867] has quit [Ping timeout: 255 seconds] 20171017 16:39:47-!- synthpopisback [~synthpopi@2606:a000:7947:5000:b0c7:7c2c:1fc9:8c34] has joined #wesnoth 20171017 16:40:34-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 255 seconds] 20171017 16:56:57-!- vladimirslavik [vslavik@wesnoth/translator/VladimirSlavik] has quit [Quit: Leaving] 20171017 17:20:05-!- celmin|snooze [~celmin@unaffiliated/celticminstrel] has quit [Ping timeout: 240 seconds] 20171017 17:20:15-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20171017 17:34:37-!- Haudegen [~quassel@178.115.237.87] has joined #wesnoth 20171017 18:20:59-!- Bhoren [~Bhoren_wh@2a01:e0a:c:2150:46b:ed34:e7ea:5f44] has joined #wesnoth 20171017 18:32:58-!- Bhoren [~Bhoren_wh@2a01:e0a:c:2150:46b:ed34:e7ea:5f44] has quit [Remote host closed the connection] 20171017 19:57:17-!- vultraz [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20171017 20:45:17-!- claymore [~claymore@unaffiliated/claymore] has joined #wesnoth 20171017 21:15:06-!- soloojos [~soloojos@gateway/tor-sasl/soloojos] has joined #wesnoth 20171017 21:31:01< wesnoth-discord-> Is there some reason the unit description pages don't contain how much experience they need to level? 20171017 21:31:10-!- Kranix [~magnus@x1-6-f4-6b-ef-d1-1f-e3.cpe.webspeed.dk] has joined #wesnoth 20171017 21:32:14-!- claymore [~claymore@unaffiliated/claymore] has quit [Quit: Leaving] 20171017 21:55:27< wesnoth-discord-> They do 20171017 21:55:42< wesnoth-discord-> It's under 'required xp', right of alignment 20171017 21:57:24< wesnoth-discord-> .....I'm a silly. It's only missing for units that don't have any unit advancements specified 20171017 21:57:37< wesnoth-discord-> My question stands for those, though 20171017 21:58:15< wesnoth-discord-> Since as far as I'm aware the value isn't standardized 20171017 21:58:56< wesnoth-discord-> if a unit does not have a unit advancement, it should have an AMLA 20171017 21:59:01< wesnoth-discord-> whose value is 50*level 20171017 21:59:07< wesnoth-discord-> for experience 20171017 21:59:12< wesnoth-discord-> and it should be specified 20171017 21:59:18< Ravana_> 50*level is only for core units 20171017 21:59:25< wesnoth-discord-> ^ 20171017 21:59:34< wesnoth-discord-> I should have said that, sorry 20171017 21:59:42< wesnoth-discord-> I didn't even realize there was a standard 20171017 21:59:54< wesnoth-discord-> brb, modifying custom units 20171017 22:00:57< wesnoth-discord-> ^ what he said 20171017 22:01:31< wesnoth-discord-> @MiddleTwin since your campaign has a lot of lvl 0 units 20171017 22:01:45< wesnoth-discord-> if you have any that need exp for AMLAs 20171017 22:01:54< wesnoth-discord-> I think the standard would be 25 exp 20171017 22:02:29< wesnoth-discord-> @Yumi the level 0s have a level 1, still. I had the level 1 at 25 xp tho, which is apparently nonstandard 20171017 22:02:39< wesnoth-discord-> gtg for a bit 20171017 22:03:12< wesnoth-discord-> I suppose it being standardized is why the in-game descriptions don't contain the value? 20171017 22:03:23< wesnoth-discord-> they do contain the value 20171017 22:03:51< wesnoth-discord-> just kidding... 20171017 22:04:04< wesnoth-discord-> I'm stupid 20171017 22:04:06< wesnoth-discord-> never bothered to look 20171017 22:04:19< wesnoth-discord-> I suppose that's the reason 20171017 22:06:04< wesnoth-discord-> and I was about to go and paste a screenshot for proof, too 20171017 22:06:55< wesnoth-discord-> sorry sorry 😛 20171017 22:11:23-!- Kranix [~magnus@x1-6-f4-6b-ef-d1-1f-e3.cpe.webspeed.dk] has quit [Quit: Konversation terminated!] 20171017 22:11:51< wesnoth-discord-> maybe {DEFAULT_AMLA} should set the max xp bar appropriately? 20171017 22:12:07< wesnoth-discord-> aagh {AMLA_DEFAULT} 20171017 22:12:26< wesnoth-discord-> AMLA_DEFAULT is an AMLA 20171017 22:12:40< wesnoth-discord-> that gives you 3 more max_hitpoints 20171017 22:12:44< wesnoth-discord-> yeah 20171017 22:12:46< wesnoth-discord-> and heals to full 20171017 22:12:51< wesnoth-discord-> but it's embedded in the unit_type 20171017 22:13:01< wesnoth-discord-> it is a type of AMLA 20171017 22:13:04< wesnoth-discord-> for you to use 20171017 22:13:10< wesnoth-discord-> so theoretically you could also use it for setting xp 20171017 22:13:25< wesnoth-discord-> when you get a unit to maximum level 20171017 22:13:32< wesnoth-discord-> its experience is determined by whatever is in the unit file 20171017 22:13:45< wesnoth-discord-> the AMLA only applies after it has advanced once after it is at maximum level 20171017 22:13:59< wesnoth-discord-> I suppose you could code a pre-advancement event to set the exp 20171017 22:14:14< wesnoth-discord-> that's what i was thinking 20171017 22:14:16< wesnoth-discord-> but AMLA_DEFAULT is not supposed to do that, is what I'm guessing 20171017 22:14:18< wesnoth-discord-> for example 20171017 22:14:19< wesnoth-discord-> well, not pre-advance 20171017 22:14:25< wesnoth-discord-> but like, when the unit is created 20171017 22:14:39< wesnoth-discord-> yes 20171017 22:14:44< wesnoth-discord-> but there are reasons why you wouldn't want to do that 20171017 22:14:58< wesnoth-discord-> e.g. there may be a reason why you want it to be not standard 20171017 22:15:11< wesnoth-discord-> or you may use AMLA_DEFAULT with other AMLAs 20171017 22:15:14< wesnoth-discord-> alright, i guess that makes sense 20171017 22:31:47-!- Haudegen [~quassel@178.115.237.87] has quit [Remote host closed the connection] 20171017 22:39:13< wesnoth-discord-> Would there be an easy way to check if a unit has a [chance_to_hit] weapon special in an attack event? 20171017 22:40:13< wesnoth-discord-> I'd check for the value key, but that's not exclusive and I'm not sure the syntax even supports it at this point 20171017 22:42:11< wesnoth-discord-> the wiki says attack has $weapon containing the weapon that units use for the attack, but what even is a weapon in this context? 20171017 22:44:54< wesnoth-discord-> what are you trying to do? 20171017 22:49:01< wesnoth-discord-> So, there's [filter_attack], which allows the special key. However, that only allows the special's ID so far as I'm aware. Basically, I want to modify the damage of an attack based on its accuracy modifiers 20171017 22:49:32< wesnoth-discord-> This is relatively easy with the accuracy attribute of the attack, since that's a basic property 20171017 22:49:58< wesnoth-discord-> but weapon specials like Magical and Marksman seem to be more difficult to characterize 20171017 22:50:13< wesnoth-discord-> unless you just know all you have to account for are those two specials 20171017 22:50:14< Ravana_> so you want to handle specials that increase and decrease cth same way? 20171017 22:50:50< wesnoth-discord-> I'm not aware of any specials that decrease cth 20171017 22:51:22< wesnoth-discord-> but they would probably just have a different value and maybe cumulative entry? 20171017 22:51:26< Ravana_> if you plan to support core specials, then there aren't, and those few ids cover everything 20171017 22:52:15< wesnoth-discord-> I am aware, but I'd like to make a generic approach that will detect new specials and account for them properly 😛 20171017 22:53:55< Ravana_> [filter_wml] might work without specifying keys 20171017 22:56:16< wesnoth-discord-> https://wiki.wesnoth.org/FilterWML#Filtering_Weapons 20171017 22:56:24< wesnoth-discord-> it looks like in 1.13.5 and on 20171017 22:56:28< wesnoth-discord-> you get the accuracy key 20171017 22:56:50< Ravana_> almost noone uses accuracy key though 20171017 22:57:24< Ravana_> same with parry 20171017 22:57:36< wesnoth-discord-> kind of grasping at straws here 20171017 22:57:38< wesnoth-discord-> 🤷 20171017 22:57:41< Ravana_> its UI indicator is not quite clear 20171017 22:58:37< wesnoth-discord-> filter_wml is most likely to work pure wml way 20171017 23:17:30< wesnoth-discord-> Can I have a reference page for filter_wml? 20171017 23:17:44< wesnoth-discord-> wiki.wesnoth.org/Referencewml 20171017 23:18:33< wesnoth-discord-> Thanks :3 20171017 23:30:05< celticminstrel> It's split between several pages. 20171017 23:30:09< celticminstrel> Depending on the type of filter. 20171017 23:30:49< celticminstrel> Oh, right, [filter_wml] would probably be documented in StandardUnitFilter. 20171017 23:30:55< celticminstrel> Not sure if it's allowed elsewhere. 20171017 23:31:56< celticminstrel> There is a chance that what you want may be possible using a formula, but I'm not sure. 20171017 23:32:04< wesnoth-discord-> How would I pull the value key out for use, once I know it has a [chance_to_hit] special? 20171017 23:33:56< celticminstrel> [filter_wml] is pretty simple, it can only match exact values in specified locations. 20171017 23:34:20< celticminstrel> I suppose you could have a case for ever possible value, as leadership used to. 20171017 23:34:29< celticminstrel> Or, you could use the formula or lua_function key. 20171017 23:34:52< wesnoth-discord-> I imagine it'd be [set_variable] using value=$weapon....something 20171017 23:35:02< wesnoth-discord-> but I dunno what to put after $weapon 20171017 23:35:10< wesnoth-discord-> Since it's in the specials subtag 20171017 23:35:30< celticminstrel> Still not sure that'd actually help get the value into your weapon damage though... of course, if you're updating your weapon in an event, it's possible. 20171017 23:35:56< celticminstrel> Assuming there is only one chance to hit special, and the weapon is stored in WML variable weapon, the path would be: 20171017 23:36:09< celticminstrel> $weapon.specials[0].chance_to_hit[0].value 20171017 23:36:24< celticminstrel> The first [0] can probably be omitted, too. 20171017 23:36:37< wesnoth-discord-> Thanks! 20171017 23:36:43< celticminstrel> (The second you'd probably want to end up looping over.) 20171017 23:37:20< celticminstrel> This should be clear simply from the structure of weapon WML, by the way. 20171017 23:37:36< celticminstrel> A weapon is an [attack] tag; its content is what gets stored in $weapon. 20171017 23:37:44< wesnoth-discord-> It'd be nice if the wiki had documentation on this stuff, but I dunno how you'd even go about making it clear lol 20171017 23:38:04< celticminstrel> You can then reference any WML attribute as $weapon.attribute_name 20171017 23:38:20< celticminstrel> And any WML child as $weapon.child_name[i] where i starts from 0 20171017 23:38:35< celticminstrel> And $weapon.child_name should work as well, when there's only one child tag with that name. 20171017 23:39:08< celticminstrel> I thought it was documented somewhere. 20171017 23:39:19< wesnoth-discord-> Not that I was able to find :< 20171017 23:39:40< wesnoth-discord-> https://wiki.wesnoth.org/SyntaxWML#Container 20171017 23:40:20< wesnoth-discord-> Would accessing $weapon.specials[0].chance_to_hit[0].value break anything if there wasn't actually a chance to hit special? 20171017 23:40:45< celticminstrel> I don't think so? I think it would just return an empty string. 20171017 23:40:49< wesnoth-discord-> My experience with WML so far tells me it'd just use 0 if there's nothing there 20171017 23:40:51< wesnoth-discord-> yeah 20171017 23:42:02< wesnoth-discord-> I dunno how I missed that in SyntaxWML, thanks :3 20171017 23:42:56< wesnoth-discord-> (for anyone wondering, I'm working on a silly mod that probably falls under fair use but wouldn't be fair game on the addon server, so don't expect anything) 20171017 23:54:58-!- synthpopisback [~synthpopi@2606:a000:7947:5000:b0c7:7c2c:1fc9:8c34] has quit [Ping timeout: 252 seconds] 20171017 23:55:58-!- synthpopisback [~synthpopi@2606:a000:7947:5000:84b3:ba15:56a7:5042] has joined #wesnoth --- Log closed Wed Oct 18 00:00:39 2017