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

Suggestion: Add support of customized projectiles for launchers. #42

Open
HoneyFox opened this issue Apr 17, 2016 · 0 comments
Open

Suggestion: Add support of customized projectiles for launchers. #42

HoneyFox opened this issue Apr 17, 2016 · 0 comments

Comments

@HoneyFox
Copy link

Hi, in current BDA implementation those projectiles' types are hard-coded.
For example: RocketLauncher will attach a "Rocket" component onto the spawned rocket when firing it. The "Rocket" class is hard-coded inside the RocketLauncher class.

Could you add a KSPField of String to specify the type name of the component one RocketLauncher (mabybe also other types of launcher as well?) will attach onto the projectile by using .NET reflection?
The reason I would hope for such feature is that I want to write an inherited class of "Rocket" so that I can alter/add some behavior and still use RocketLauncher to launch it.

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

1 participant