--- Log opened Sat Jan 05 00:00:44 2019 20190105 01:51:58-!- celmin|away is now known as celticminstrel 20190105 02:43:05-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: mattsc] 20190105 03:22:54-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-umc-dev 20190105 07:23:17-!- celticminstrel is now known as celmin|sleep 20190105 08:22:45-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20190105 08:52:22<+wesdiscordbot> Good news, I am doing something completely ridiculous. I am remaking one of my favorite Wesnoth maps, Weldyn Channel, in Zero-K. 20190105 09:03:03-!- vn971 [~vasilii@2a02:a210:2203:c000:9b4c:6306:d2d6:cc69] has joined #wesnoth-umc-dev 20190105 12:14:15-!- vn971 [~vasilii@2a02:a210:2203:c000:9b4c:6306:d2d6:cc69] has quit [Ping timeout: 252 seconds] 20190105 12:33:43-!- vn971 [~vasilii@2a02:a210:2203:c000:7f64:7780:4177:6131] has joined #wesnoth-umc-dev 20190105 16:56:20-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 258 seconds] 20190105 19:15:36-!- celmin|sleep is now known as celticminstrel 20190105 20:59:07-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: So long and thanks for all the fish.] 20190105 21:21:52<+wesdiscordbot> hey, anyone active currently to answer me a question? 20190105 21:24:02<+wesdiscordbot> I can try. 20190105 21:25:05<+wesdiscordbot> its about WML btw 20190105 21:25:33<+wesdiscordbot> soo i wanna modify Wesnoth unit files to make my own units (as in, copypaste them somewhere and modify what i want to make the unit files for my units) 20190105 21:25:38<+wesdiscordbot> what does "#textdomain wesnoth-units" 20190105 21:27:46<+wesdiscordbot> It marks that the translatable strings you use belong to the wesnoth-units text domain, until the next #textdomain directive. 20190105 21:28:05<+wesdiscordbot> ok so if i make custom units, like, say, for a campaign, do i keep it the same? or do i change it? 20190105 21:29:05< Ravana> if you don't have someone who would translate them, then it doesn't matter 20190105 21:29:39<+wesdiscordbot> I recommend creating your own textdomain, like the example in the wiki shows. 20190105 21:29:40<+wesdiscordbot> https://wiki.wesnoth.org/AddonStructure 20190105 21:29:55<+wesdiscordbot> yeah, i have noticed some custom units in campaigns using their own 20190105 21:30:07<+wesdiscordbot> for IFTU it's wesnoth-Invasion_From_The_Unknown for example 20190105 21:31:07<+wesdiscordbot> Indeed. Campaign text (such as what the characters say) is also in campaign-specific textdomains. 20190105 21:31:58<+wesdiscordbot> alright so basically every text-domain thing for units, dialogue and whatever is recommended to be in the campaign's textdomain 20190105 21:32:16<+wesdiscordbot> Exactly. 20190105 21:32:20<+wesdiscordbot> alright, thanks 20190105 21:33:31<+wesdiscordbot> There are special textdomains wesnoth, wesnothlib and wesnoth-units, but they're used almost exclusively by Wesnoth core and mainline instead of UMC. 20190105 21:33:39<+wesdiscordbot> k 20190105 21:34:41< Ravana> is the purpose of textdomains better performance? 20190105 21:35:55<+wesdiscordbot> I think the primary purpose is to avoid situations where an identical string is used in multiple context, but it means different things. 20190105 21:36:10<+wesdiscordbot> There needs to be a way to translate them differently. 20190105 21:36:19< Ravana> I thought that was handled with "note^string" 20190105 21:36:33<+wesdiscordbot> They are primarily part of gettext's implementation 20190105 21:37:51<+wesdiscordbot> oh, i forgot to ask something else 20190105 21:38:10<+wesdiscordbot> if i want to make a trilogy of campaigns, all taking place in the same timeline, do i keep the same textdomain for all 3? 20190105 21:38:15<+wesdiscordbot> or do i use different ones 20190105 21:38:31<+wesdiscordbot> If they are part of the same package it's best you use a single textdomain unless you know what you're doing 20190105 21:38:53<+wesdiscordbot> mk 20190105 21:39:04<+wesdiscordbot> by same package you mean addon download? or something else 20190105 21:39:11<+wesdiscordbot> The same add-on, yes 20190105 21:39:17<+wesdiscordbot> no, different addons 20190105 21:39:59<+wesdiscordbot> To make things less confusing for everyone involved if you ever get translators, you should have one textdomain per add-on 20190105 21:40:10<+wesdiscordbot> mk 20190105 21:40:58<+wesdiscordbot> (Without going into detail, it is possible to use the same textdomain for multiple add-ons but it's also much trickier to organize.) 20190105 21:41:22<+wesdiscordbot> welp im new to this stuff soo ill just go for whats simpler 20190105 22:31:06<+wesdiscordbot> How do I 'edit' a save file to make a unit loyal? 20190105 22:36:02< Ravana> trait or object or direct modification 20190105 22:36:27<+wesdiscordbot> extract it (or go to the settings and disable compression), and then open the file with an editor. Savefiles are huge, use some editor to find the unit 20190105 22:44:49<+wesdiscordbot> Ravana: No idea. :D It's about silver crown units demanding upkeep. 20190105 22:45:42< Ravana> then I guess object would be most straightforward way 20190105 22:46:14<+wesdiscordbot> Won't that break once I level them up? 20190105 22:46:33< Ravana> no, [modifications] are reapplied each time unit is rebuilt 20190105 22:46:45< Ravana> only direct modification of upkeep would be lost 20190105 22:49:56<+wesdiscordbot> Thanks. 20190105 22:57:50<+wesdiscordbot> [modifications] [object] [effect] loyal [/effect] [/object] [/modifications] Like this? 20190105 23:03:22<+wesdiscordbot> (Well, I clearly failed to make it work.) 20190105 23:03:42< Ravana> effect needs apply_to 20190105 23:04:12< Ravana> apply_to=loyal 20190105 23:10:58<+wesdiscordbot> Thanks again. 20190105 23:31:35<+wesdiscordbot> @Yumi commenten on 3710 20190105 23:32:02<+wesdiscordbot> wha? 20190105 23:32:24<+wesdiscordbot> ah yeah 20190105 23:32:41<+wesdiscordbot> I'm not entirely sure #3710 should go in anymore anyway 20190105 23:32:54<+wesdiscordbot> since I'm starting on a DiD revision 20190105 23:33:07<+wesdiscordbot> I'm not entirely sure why you made it that much easier … 20190105 23:33:17<+wesdiscordbot> to address josteph's issue 20190105 23:33:31<+wesdiscordbot> but I'll probably be changing that scenario around a little bit regardless 20190105 23:33:40<+wesdiscordbot> regarding the objectives I mean 20190105 23:33:58<+wesdiscordbot> and the map 20190105 23:35:36<+wesdiscordbot> Why does it solve his problem? because he can't reach Drogan after being busy with the orc? 20190105 23:36:21<+wesdiscordbot> because it's really weird that you can't kill any of Drogan's guards before you can kill him 20190105 23:36:52<+wesdiscordbot> but then that changes if you kill the orc leader first 20190105 23:37:04<+wesdiscordbot> in the first place, I don't think it makes sense that Drogan absolutely must die first 20190105 23:37:49<+wesdiscordbot> It doesn't change if you kill the orc first 20190105 23:38:15<+wesdiscordbot> hMMM 20190105 23:39:08<+wesdiscordbot> ah yea you're right 20190105 23:39:24<+wesdiscordbot> but I still don't think Drogan really needs to die first 20190105 23:39:28<+wesdiscordbot> I don't know what joseph's 2nd issue was, maybe it was not possible to reach Drogan 20190105 23:39:37<+wesdiscordbot> it is, but he has a bunch of guards with him 20190105 23:39:57<+wesdiscordbot> and if any die (even if they're the ones attacking you) you lose 20190105 23:40:01<+wesdiscordbot> which is really awkward 20190105 23:40:26<+wesdiscordbot> Technically it could be changed that you don't lose if they dieon counter atttacks … 20190105 23:40:51<+wesdiscordbot> Well, the reason seems to be that killing anybody from the town means he can't go back anymore ever 20190105 23:41:58<+wesdiscordbot> but he intends to kill Drogan (who is also from the town), and then is like, oh well, now that Drogan's dead, I guess I don't mind killing everyone else too 20190105 23:42:25<+wesdiscordbot> so it's a bit weird to me 20190105 23:43:39<+wesdiscordbot> Drogan prohibits him to join the town again, and thus he goes into conflict with him. And when he kills him, exactly the same happens when if he killes anybody else from the town. Wasn't his smartest idea to kill him, but well … he was kjind of out of ideas 20190105 23:46:01<+wesdiscordbot> Killing the orc and trying to negotiate with Drogan again is smarter … though well, Drogan is persistent 20190105 23:47:56<+wesdiscordbot> It's the story, gameplay is modeled to fit it, which may or may not be good 20190105 23:49:03<+wesdiscordbot> well either wayyou can close that PR if you like 20190105 23:49:09<+wesdiscordbot> or wait for josteph's comment 20190105 23:49:27<+wesdiscordbot> I'll be working to that scenario (reasonably) soon, so it'll be obsolete anyway 20190105 23:52:02<+wesdiscordbot> I woudn't like to merge the part about the Drogan. --- Log closed Sun Jan 06 00:00:46 2019