Now this is odd.

Information and discussion for custom maps and mods.
Post Reply
User avatar
secret
Posts: 62
Joined: Fri Aug 03, 2007 1:53 pm

Now this is odd.

Post by secret » Sun Oct 17, 2010 4:49 pm

So, I'm kinda (badly) used to leaving SHP files around my YR folder.

So, I tried leaving this new powerplant SHP in my mods/ra folder.(only non-damaged and damaged frames. CBA to do buildup now) Nothing happened. Tried the "bits" folder as well. Nada.

Nothing. The vanilla SHP continues to appear. Do I really have to put it in a friggin' mix?

Iran
Posts: 92
Joined: Wed Sep 08, 2010 3:16 pm

Post by Iran » Sun Oct 17, 2010 5:37 pm

Did you set the building up in the corresponding YAML file?

User avatar
secret
Posts: 62
Joined: Fri Aug 03, 2007 1:53 pm

Post by secret » Sun Oct 17, 2010 6:23 pm

its powr.shp, to replace the current powr.

Same size, same nr. of frames. Just no buildup, only damaged and normal frames. Testing for Temperate, not snow or anything else.

User avatar
Sleipnir
Posts: 772
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir » Sun Oct 17, 2010 7:01 pm

Our engine currently (stupidly) prioritizes files in mixes over loose files.

You either need to put it in a mix, or rename it to, e.g. powrnew.shp and modify sequences.yaml so that the sequences point at the new shp. For each sequence, point it at your new shp with e.g. `idle: powrnew'

User avatar
secret
Posts: 62
Joined: Fri Aug 03, 2007 1:53 pm

Post by secret » Mon Oct 18, 2010 4:33 am

any specific names or vanilla mixes?...

User avatar
Sleipnir
Posts: 772
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir » Mon Oct 18, 2010 4:38 am

If you have the files loose, any name that isn't used in one of the mix files is fine, provided you modify the sequence definition to match it.

If you put the files in a mix, create a new mix with whatever name you like, and then reference it in your mod.yaml. If you want it to override files in an existing mix, the mix file definition in mod.yaml must come before the mix that has the thing you want to override.

chrisf
Posts: 246
Joined: Mon Sep 06, 2010 4:59 am

Post by chrisf » Mon Oct 18, 2010 5:40 am

I have filed a bug for the 'prefers files in mixes' thing. This may get fixed soon.

Post Reply