I followed this step-by-step to create a script that overwrites the vanilla one:
- Open Resource Manager. Go to Shared > Assets > Scripts > Base;
- Right click the Base resource (a char script resource) and click "Open For Edit";
- Accept copy and select a package inside my mod to place the copied resource;
- Linked the new resource to my script (a charScript), already written.
After those steps, I went to the script editor to build my script, just to find the warning: "Build status: not included in build (add it to a script resource to allow building)".
I tried saving everything and restarting Glasses, but this new resource always vanishes when I restart the engine.
I also tried reinstalling Glasses to see if there was a file corrupted or missing, but it didn't solve anything.
It's worth noting that in most tutorials concerning this sort of procedure, state that the original resource should become grayed and has its "Active" property set to "False". This didn't occured when I copied the resource, as the Base resource under Shared was still normal and had "True" on "Active".