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)
telescopestageone = nodes.new("PlasmaAnimStageNode")
telescopestageone.anim_name == "GlobalScopeGrab"
telescopestageone.loop_option == "kLoop"
telescopestageone.anim_name = "GlobalScopeGrab"
telescopestageone.loop_option = "kLoop"
telescopestageone.num_loops = 0
telescopestageone.link_output(telescopemsb, "stage", "stage_refs")
# Settings
telescopestageoneops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestageoneops.forward == "kPlayAuto"
telescopestageoneops.stage_advance == "kPlayAuto"
telescopestageoneops.notify_on == "kNotifyAdvance"
telescopestageoneops.auto_advance = True
telescopestageoneops.auto_regress = True
telescopestageoneops.forward = "kPlayAuto"
telescopestageoneops.stage_advance = "kAdvanceAuto"
telescopestageoneops.notify_on = {"kNotifyAdvance"}
telescopestageoneops.inputs[0].auto_advance == True
telescopestageoneops.inputs[1].auto_regress == True
telescopestageoneops.link_output(telescopestageone, "stage", "stage_settings")
# Anim Stage 2 (Hold)
telescopestagetwo = nodes.new("PlasmaAnimStageNode")
telescopestagetwo.anim_name == "GlobalScopeHold"
telescopestagetwo.loop_option == "kLoop"
telescopestagetwo.anim_name = "GlobalScopeHold"
telescopestagetwo.loop_option = "kLoop"
telescopestagetwo.num_loops = -1
telescopestagetwo.link_output(telescopemsb, "stage", "stage_refs")
# Settings
telescopestagetwoops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestagetwoops.forward == "kPlayAuto"
telescopestagetwoops.notify_on == ""
telescopestagetwoops.auto_advance = True
telescopestagetwoops.auto_regress = True
telescopestagetwoops.forward = "kPlayAuto"
telescopestagetwoops.notify_on = set()
telescopestagetwoops.inputs[0].auto_advance == True
telescopestagetwoops.inputs[1].auto_regress == True
telescopestagetwoops.link_output(telescopestagetwo, "stage", "stage_settings")
# Anim Stage 3 (Release)
telescopestagethree = nodes.new("PlasmaAnimStageNode")
telescopestagethree.anim_name == "GlobalScopeRelease"
telescopestagethree.loop_option == "kLoop"
telescopestagethree.anim_name = "GlobalScopeRelease"
telescopestagethree.loop_option = "kLoop"
telescopestagethree.num_loops = 0
telescopestagethree.link_output(telescopemsb, "stage", "stage_refs")
# Settings
telescopestagethreeops = nodes.new("PlasmaAnimStageSettingsNode")
telescopestagethreeops.forward == "kPlayAuto"
telescopestagethreeops.stage_advance == "kPlayAuto"
telescopestagethreeops.notify_on == ""
telescopestagethreeops.auto_advance = True
telescopestagethreeops.auto_regress = True
telescopestagethreeops.forward = "kPlayAuto"
telescopestagethreeops.stage_advance = "kAdvanceAuto"
telescopestagethreeops.notify_on = set()
telescopestagethreeops.inputs[0].auto_advance == True
telescopestagethreeops.inputs[1].auto_regress == True
telescopestagethreeops.link_output(telescopestagethree, "stage", "stage_settings")
telescopename = nodes.new("PlasmaAttribStringNode")
telescopename.value == "telescope"
telescopename.value = "telescope"
telescopename.link_output(telescopepynode, "pfm", "Vignette")

Loading…
Cancel
Save