A question about buildings

Information and discussion for custom maps and mods.
Post Reply
traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

A question about buildings

Post 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]

User avatar
MustaphaTR
Posts: 203
Joined: Mon Aug 04, 2014 6:38 am
Location: Kastamonu, Turkey

Post 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".

traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

Post by traincrazy484 »

Hi, so I tried that and it still did not seem to work, do you have another suggestion?

abcdefg30
Posts: 643
Joined: Mon Aug 18, 2014 6:00 pm

Post 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. ^^])

traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

Post by traincrazy484 »

Yep, here it is.
Attachments
structures.yaml
Here is the structures file
(39.79 KiB) Downloaded 229 times

traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

Post by traincrazy484 »

So is everything in order or is something off?

abcdefg30
Posts: 643
Joined: Mon Aug 18, 2014 6:00 pm

Post 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?

abcdefg30
Posts: 643
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

It also worked fine when I used the file with my release-20170527 install.

traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

Post 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

traincrazy484
Posts: 12
Joined: Fri Mar 18, 2016 1:32 am

Post 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.

Post Reply