BombSquad-Community-Mod-Manager icon indicating copy to clipboard operation
BombSquad-Community-Mod-Manager copied to clipboard

Does there anyone know how we generate node types we want?

Open sduerpang opened this issue 5 years ago • 3 comments

For example, here is some code from bsSpaz.py if self.shield is None: self.shield = bs.newNode('shield', owner=self.node, attrs={'color':(0.3, 0.2, 2.0), 'radius':1.3}) it generate a shield type Node and assign its color and radius attributes , my question is how do we know 'shield' is one of the newNode's type, is there a reference list ? Also , I want to set a light to spaz, current solution is to generate a 'light' type node which is introduced in the api document ,and update its position to match the target spaz, is there any convient way to do this ? Thanks for any help😀

sduerpang avatar Jan 30 '20 14:01 sduerpang

also , how do we get node's attribute's key ?

sduerpang avatar Jan 30 '20 14:01 sduerpang

Join the Discord so I can help you get in contact with someone who can help you.

https://discord.gg/P2UkBvY

On Thu, Jan 30, 2020, 9:42 AM sduerpang [email protected] wrote:

also , how do we get node's attribute's key ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Mrmaxmeier/BombSquad-Community-Mod-Manager/issues/79?email_source=notifications&email_token=ALMK7WMLUBZHY2NKE44VUMTRALRO7A5CNFSM4KNXEEP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKLHITQ#issuecomment-580285518, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMK7WIYEMPHDO3M3VSI3M3RALRO7ANCNFSM4KNXEEPQ .

SmooothSoundz avatar Jan 30 '20 16:01 SmooothSoundz

Thing is, there's no official reference list. All of the knowledge we know are from just analyzing the code.

TheMikirog avatar Aug 27 '20 11:08 TheMikirog