Page 1 of 1

A question about buildings

Posted: Thu Sep 28, 2017 3:51 am
by traincrazy484
So I have been trying to make the Soviet Airfield build able for the Allies. I have tinkered with the structures.yaml file, however it does not show up in the the Allied Build menu. So do you guys have any suggestions on what I should do?
[/list]

Posted: Thu Sep 28, 2017 6:27 am
by MustaphaTR
Remove the "~structures.soviet" from it. I guess what you tryed was adding "~structures.allies" too, so be sure it is also removed. So prerequisite for AFLD should look like "Prerequisites: dome, ~techlevel.medium".

Posted: Thu Sep 28, 2017 11:39 pm
by traincrazy484
Hi, so I tried that and it still did not seem to work, do you have another suggestion?

Posted: Fri Sep 29, 2017 12:44 pm
by abcdefg30
Weird, that should have worked actually. Would you mind posting your whole rules file?
(Also note that editing structures.yaml of a core mod directly is discouraged as it breaks multiplayer. [Except when you're working on your own mod of course. ^^])

Posted: Fri Sep 29, 2017 10:24 pm
by traincrazy484
Yep, here it is.

Posted: Sun Oct 01, 2017 3:35 am
by traincrazy484
So is everything in order or is something off?

Posted: Mon Oct 02, 2017 7:23 am
by abcdefg30
Hm, looks ok to me. The only thing I noticed is a missing space between the comma and "~techlevel.medium", but that shouldn't hurt. And you really can't build the airfield?

Posted: Mon Oct 02, 2017 7:27 am
by abcdefg30
It also worked fine when I used the file with my release-20170527 install.

Posted: Mon Oct 02, 2017 10:47 pm
by traincrazy484
Huh, odd that I have the same version and it doesn't work. I'm going to install the playtest later and I'll see if that works

Posted: Wed Oct 04, 2017 12:05 am
by traincrazy484
So editing the playtest worked, but editing the release did not, so I suppose I'm just going to have stick to modding the playtests.