--- Log opened Mon Dec 10 00:00:12 2018 20181210 06:00:14-!- celticminstrel is now known as celmin|sleep 20181210 07:33:32-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20181210 09:28:31-!- vn971 [~vasilii@office.zivver.org] has joined #wesnoth-umc-dev 20181210 16:38:22-!- vn971 [~vasilii@office.zivver.org] has quit [Quit: Leaving.] 20181210 20:49:04-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 246 seconds] 20181210 21:09:07-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20181210 21:26:11<+wesdiscordbot> 👋 So I've tried giving a unit 'LOYAL', following several examples and all, but it tells me the Macro/file 'LOYALTY_TRAIT' is missing I understand I must define the trait somewhere, but I'd have thought the base game had already done that for me? When play-testing the scenario units do spawn with traits, but when I try to manually assign them they are nowhere to be found. Someone wanna lend a newbie a helping 20181210 21:26:11<+wesdiscordbot> hand? 20181210 21:40:20< zookeeper> those several examples really use a macro called LOYALTY_TRAIT instead of the usual TRAIT_LOYAL? 20181210 21:41:45<+wesdiscordbot> Excuse me, TRAIT_LOYAL is indeed correct. It's late and I am rather tired! 20181210 21:43:09<+wesdiscordbot> From the WML Macros Reference: "It can be generated with make macro-reference.html in the data/tools-directory." I've only got add-ons in my data/ directory so I'm assuming this isn't what I'm looking for, either 20181210 21:44:27< zookeeper> if you do use {TRAIT_LOYAL} somewhere then you're not getting a macro/file missing error (but, possibly, something else) 20181210 21:48:54<+wesdiscordbot> Here's a screenie 20181210 21:48:55<+wesdiscordbot> https://cdn.discordapp.com/attachments/442775044590927873/521805530919075847/Screen_Shot_2018-12-10_at_21.48.17.png 20181210 21:49:45<+wesdiscordbot> Could it be my faulty WML syntax? I'm very new to coding so that could be it 20181210 21:52:41< zookeeper> ohh, i see. 20181210 21:53:29< zookeeper> long story short (all this should be written up somewhere, but probably isn't): the editor can't produce scenario files that can be used as-is, and apparently what it outputs can't include macro calls at all or it breaks the game. 20181210 21:54:59< zookeeper> so what i suggest you do is move/copy/rename that scenario file to add-ons/yourscenarioname/_main.cfg and then wrap all the WML in that file inside a [multiplayer][/multiplayer] tag. that's basic procedure for getting something the editor spits out to be usable and properly editable. 20181210 21:56:01<+wesdiscordbot> Thank you. I'll try that tomorrow! 20181210 21:58:28< zookeeper> the scenario editor functionality is very incomplete, it's useful for visual placement of all sorts of things and that sort of thing, but... i guess that's mostly it. 20181210 22:05:31<+wesdiscordbot> I've noticed many options missing and not working, yeah. The 'loyalty' checkbox doesn't seem to work, which is why I've had to try and implement it manually. Thanks for the help man, I'm hoping things will run smoothly tomorrow 20181210 23:18:28-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [] --- Log closed Tue Dec 11 00:00:14 2018