Browse Source

Working out more bugs

* Get MSB nodes closer to what they should be (still some issues)
pull/354/head
Patrick Dulebohn 2 years ago committed by Adam Johnson
parent
commit
828ed6364c
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 42
      korman/properties/modifiers/logic.py

42
korman/properties/modifiers/logic.py

@ -188,48 +188,48 @@ class PlasmaTelescope(PlasmaModifierProperties, PlasmaModifierLogicWiz):
# Anim Stage 1 (Grab) # Anim Stage 1 (Grab)
telescopestageone = nodes.new("PlasmaAnimStageNode") telescopestageone = nodes.new("PlasmaAnimStageNode")
telescopestageone.anim_name == "GlobalScopeGrab" telescopestageone.anim_name = "GlobalScopeGrab"
telescopestageone.loop_option == "kLoop" telescopestageone.loop_option = "kLoop"
telescopestageone.num_loops = 0 telescopestageone.num_loops = 0
telescopestageone.link_output(telescopemsb, "stage", "stage_refs") telescopestageone.link_output(telescopemsb, "stage", "stage_refs")
# Settings # Settings
telescopestageoneops = nodes.new("PlasmaAnimStageSettingsNode") telescopestageoneops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestageoneops.forward == "kPlayAuto" telescopestageoneops.forward = "kPlayAuto"
telescopestageoneops.stage_advance == "kPlayAuto" telescopestageoneops.stage_advance = "kAdvanceAuto"
telescopestageoneops.notify_on == "kNotifyAdvance" telescopestageoneops.notify_on = {"kNotifyAdvance"}
telescopestageoneops.auto_advance = True telescopestageoneops.inputs[0].auto_advance == True
telescopestageoneops.auto_regress = True telescopestageoneops.inputs[1].auto_regress == True
telescopestageoneops.link_output(telescopestageone, "stage", "stage_settings") telescopestageoneops.link_output(telescopestageone, "stage", "stage_settings")
# Anim Stage 2 (Hold) # Anim Stage 2 (Hold)
telescopestagetwo = nodes.new("PlasmaAnimStageNode") telescopestagetwo = nodes.new("PlasmaAnimStageNode")
telescopestagetwo.anim_name == "GlobalScopeHold" telescopestagetwo.anim_name = "GlobalScopeHold"
telescopestagetwo.loop_option == "kLoop" telescopestagetwo.loop_option = "kLoop"
telescopestagetwo.num_loops = -1 telescopestagetwo.num_loops = -1
telescopestagetwo.link_output(telescopemsb, "stage", "stage_refs") telescopestagetwo.link_output(telescopemsb, "stage", "stage_refs")
# Settings # Settings
telescopestagetwoops = nodes.new("PlasmaAnimStageSettingsNode") telescopestagetwoops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestagetwoops.forward == "kPlayAuto" telescopestagetwoops.forward = "kPlayAuto"
telescopestagetwoops.notify_on == "" telescopestagetwoops.notify_on = set()
telescopestagetwoops.auto_advance = True telescopestagetwoops.inputs[0].auto_advance == True
telescopestagetwoops.auto_regress = True telescopestagetwoops.inputs[1].auto_regress == True
telescopestagetwoops.link_output(telescopestagetwo, "stage", "stage_settings") telescopestagetwoops.link_output(telescopestagetwo, "stage", "stage_settings")
# Anim Stage 3 (Release) # Anim Stage 3 (Release)
telescopestagethree = nodes.new("PlasmaAnimStageNode") telescopestagethree = nodes.new("PlasmaAnimStageNode")
telescopestagethree.anim_name == "GlobalScopeRelease" telescopestagethree.anim_name = "GlobalScopeRelease"
telescopestagethree.loop_option == "kLoop" telescopestagethree.loop_option = "kLoop"
telescopestagethree.num_loops = 0 telescopestagethree.num_loops = 0
telescopestagethree.link_output(telescopemsb, "stage", "stage_refs") telescopestagethree.link_output(telescopemsb, "stage", "stage_refs")
# Settings # Settings
telescopestagethreeops = nodes.new("PlasmaAnimStageSettingsNode") telescopestagethreeops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestagethreeops.forward == "kPlayAuto" telescopestagethreeops.forward = "kPlayAuto"
telescopestagethreeops.stage_advance == "kPlayAuto" telescopestagethreeops.stage_advance = "kAdvanceAuto"
telescopestagethreeops.notify_on == "" telescopestagethreeops.notify_on = set()
telescopestagethreeops.auto_advance = True telescopestagethreeops.inputs[0].auto_advance == True
telescopestagethreeops.auto_regress = True telescopestagethreeops.inputs[1].auto_regress == True
telescopestagethreeops.link_output(telescopestagethree, "stage", "stage_settings") telescopestagethreeops.link_output(telescopestagethree, "stage", "stage_settings")
telescopename = nodes.new("PlasmaAttribStringNode") telescopename = nodes.new("PlasmaAttribStringNode")
telescopename.value == "telescope" telescopename.value = "telescope"
telescopename.link_output(telescopepynode, "pfm", "Vignette") telescopename.link_output(telescopepynode, "pfm", "Vignette")

Loading…
Cancel
Save