Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable not Found, impactTolerance #15

Open
7ranceaddic7 opened this issue Nov 2, 2018 · 2 comments
Open

Variable not Found, impactTolerance #15

7ranceaddic7 opened this issue Nov 2, 2018 · 2 comments

Comments

@7ranceaddic7
Copy link

As Apaseall noted in the forums ...

PartLoader: Compiling Part 'HullCameraVDS/Parts/aerocam/part/aerocam'
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

PartLoader Warning: Variable impactTolerance not found in Part

... occurs for all camera parts.

The variable impactTolerance is a member of ModuleWheels.ModuleWheelDamage Class Reference. A non-wheel (Pods, Tanks, Engines) PART{} will have crashTolerance. Meanwhile, a "wheeled" (wheels, skids, landing legs) PART{} will have both crashTolerance for the part directly and impactTolerance as a variable in the MODULE{ModuelWheelDamage}.

Solution:
Remove impactTolerance from camera parts.

@7ranceaddic7
Copy link
Author

Question: Would you be opposed to changing the filename for these from part.cfg to .cfg?

@linuxgurugamer
Copy link
Owner

Actually, yes. They are already in individual directories, and this can make it easier to do a mass edit/change if I need to.
It's not a big deal, but I'd rather not change something just for the sake of changing it. Think about what happens if someone updates by hand and doesn't delete the old directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants