You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: