Custom Rules Vanish Attack Range Overlays in Latest Format?
Posted: Tue May 24, 2016 3:46 am
So this came about from working on a map for TD and wishing to add a custom ambiance to it. I was able to do this easily enough under the previous format by copying the .yaml file strings of other maps and tinkering with them.
However under the new format, I have noticed during map testing that defence structures when placing them do not reveal their attack range overlays. This is only the case when you are trying to place them down though—not once they are built and you can select them—but not being able to see how far your defences will shoot while trying to place them is off-putting. The only reason this is happening is because I tinkered with the rules, because when I erase the changes the issue doesn't occur.
It doesn't matter how I string my .yaml files to include:....or:...the same issue arises. So I don't know what's up. Am I missing another parameter which allows structure attack range overlays to be rendered visible while placing again, or something? Please let me know. Mind you, I know dick about scripting for OpenRA, and only know what little I know through copying the strings of others' .yaml files. Thank you.
However under the new format, I have noticed during map testing that defence structures when placing them do not reveal their attack range overlays. This is only the case when you are trying to place them down though—not once they are built and you can select them—but not being able to see how far your defences will shoot while trying to place them is off-putting. The only reason this is happening is because I tinkered with the rules, because when I erase the changes the issue doesn't occur.
It doesn't matter how I string my .yaml files to include:
Code: Select all
Rules:
World:
GlobalLightingPaletteEffect:
Red: (etc.)
Green: (etc.)
Blue: (etc.)
Ambient: (etc.)
Code: Select all
Rules: rules.yaml
Code: Select all
World:
GlobalLightingPaletteEffect:
Red: (etc.)
Green: (etc.)
Blue: (etc.)
Ambient: (etc.)