Hello,
I'm playing around with my first mod, and successfully added a shield to the game that projects at a 45 degree angle.
However, while I was doing that I ran into the following error:
Error Message: C:\Program Files\Cosmoteer\unknown(2,10-31): error X1507: failed to open source file: '../../../base.shader'
I opened the shield.shader file, found the line in question, replaced it with
#include "base.shader"
then found the base.shader file in the game data and dropped it into my mod file. No more issues.
Getting to the point, however, this strikes me as a bit of a hack. Is there a best practice for dealing with this issue? Is it possible that that line could be changed so it doesn't break when someone tries to mod shields? I figured it out in 5-10 minutes, but I'm a programmer and used to dealing with this stuff. (Don't know C# though and it's been years since I last touched C and C++.)