Last active
May 20, 2022 21:01
-
-
Save ghostrider-05/f82ca429ae3d74a77f193da752697f45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script generated by ghostrider-05. | |
Blender Addon: https://github.com/leeroyjenkins-87/rlmm_blender_toolkit | |
Created with: https://github.com/ghostrider-05/kismet.ts | |
""" | |
import bpy | |
from bpy.types import NodeTree, Node, NodeSocket | |
import paperclip | |
# Derived from the NodeTree base type, similar to Menu, Operator, Panel, etc. | |
class KismetNodeTree(NodeTree): | |
# Description string | |
'''A custom node tree type that will show up in the editor type list''' | |
# Optional identifier string. If not explicitly defined, the python class name is used. | |
bl_idname = 'KismetTreeType' | |
# Label for nice name display | |
bl_label = "Kismet Sequence editor" | |
# Icon identifier | |
bl_icon = 'EVENT_K' | |
name = "Kismet Sequence" | |
# Mix-in class for all custom nodes in this tree type. | |
# Defines a poll function to enable instantiation. | |
class KismetNodeTreeNode: | |
@classmethod | |
def poll(cls, ntree): | |
return ntree.bl_idname == 'KismetTreeType' | |
class SeqAct_AkClearBanks(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkClearBanks''' | |
bl_idname = 'SeqAct_AkClearBanks' | |
bl_label = "AkClearBanks" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkClearBanks'AkAudio.Default__SeqAct_AkClearBanks'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
ClearBanksSocket = self.inputs.new('NodeSocketString', "ClearBanks") | |
ClearBanksSocket.display_shape = 'CIRCLE' | |
ClearBanksSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkClearBanks" | |
class SeqAct_AkEnvironment(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkEnvironment''' | |
bl_idname = 'SeqAct_AkEnvironment' | |
bl_label = "AkSetEnvironment" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkEnvironment'AkAudio.Default__SeqAct_AkEnvironment'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Environment", "Target"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Environment: bpy.props.StringProperty(name="Environment",default="(Id="",Priority=0,WetValue=0.0,DryValue=1.0,HashedEnvID=(dummyint=0))") | |
Target: bpy.props.StringProperty(name="Target") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Environment") | |
layout.prop(self, "Target") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkSetEnvironment" | |
class SeqAct_AkLoadBank(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkLoadBank''' | |
bl_idname = 'SeqAct_AkLoadBank' | |
bl_label = "AkLoadBank" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkLoadBank'AkAudio.Default__SeqAct_AkLoadBank'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Async", "bWaitingCallback", "Bank", "Signal"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Async: bpy.props.BoolProperty(name="Async",default=True) | |
bWaitingCallback: bpy.props.BoolProperty(name="bWaitingCallback") | |
Bank: bpy.props.StringProperty(name="Bank") | |
Signal: bpy.props.IntProperty(name="Signal") | |
def init(self, context): | |
LoadSocket = self.inputs.new('NodeSocketString', "Load") | |
LoadSocket.display_shape = 'CIRCLE' | |
LoadSocket.link_limit = 250 | |
UnloadSocket = self.inputs.new('NodeSocketString', "Unload") | |
UnloadSocket.display_shape = 'CIRCLE' | |
UnloadSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Async") | |
layout.prop(self, "bWaitingCallback") | |
layout.prop(self, "Bank") | |
layout.prop(self, "Signal") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkLoadBank" | |
class SeqAct_AkPlayMusicWithCues(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkPlayMusicWithCues''' | |
bl_idname = 'SeqAct_AkPlayMusicWithCues' | |
bl_label = "AkPlayMusicWithCues" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkPlayMusicWithCues'AkAudio.Default__SeqAct_AkPlayMusicWithCues'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SoundCue", "MusicSyncEvents"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SoundCue: bpy.props.StringProperty(name="SoundCue") | |
MusicSyncEvents: bpy.props.StringProperty(name="MusicSyncEvents") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SoundCue") | |
layout.prop(self, "MusicSyncEvents") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkPlayMusicWithCues" | |
class SeqAct_AkPlaySound(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkPlaySound''' | |
bl_idname = 'SeqAct_AkPlaySound' | |
bl_label = "AkPlaySound" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkPlaySound'AkAudio.Default__SeqAct_AkPlaySound'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SoundCue", "bBGMusic"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SoundCue: bpy.props.StringProperty(name="SoundCue") | |
bBGMusic: bpy.props.BoolProperty(name="bBGMusic") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SoundCue") | |
layout.prop(self, "bBGMusic") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkPlaySound" | |
class SeqAct_AkPlaySoundAndSeek(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkPlaySoundAndSeek''' | |
bl_idname = 'SeqAct_AkPlaySoundAndSeek' | |
bl_label = "AkPlaySoundAndSeek" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkPlaySoundAndSeek'AkAudio.Default__SeqAct_AkPlaySoundAndSeek'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SoundCue", "StartLocationSeconds", "SoundSource"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SoundCue: bpy.props.StringProperty(name="SoundCue") | |
StartLocationSeconds: bpy.props.FloatProperty(name="StartLocationSeconds") | |
SoundSource: bpy.props.StringProperty(name="SoundSource") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SoundCue") | |
layout.prop(self, "StartLocationSeconds") | |
layout.prop(self, "SoundSource") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkPlaySoundAndSeek" | |
class SeqAct_AkPostEvent(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkPostEvent''' | |
bl_idname = 'SeqAct_AkPostEvent' | |
bl_label = "AkPostEvent" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkPostEvent'AkAudio.Default__SeqAct_AkPostEvent'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PlayingIDs", "SoundCue", "bHasSubtitles"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PlayingIDs: bpy.props.StringProperty(name="PlayingIDs") | |
SoundCue: bpy.props.StringProperty(name="SoundCue") | |
bHasSubtitles: bpy.props.BoolProperty(name="bHasSubtitles",default=True) | |
def init(self, context): | |
PostSocket = self.inputs.new('NodeSocketString', "Post") | |
PostSocket.display_shape = 'CIRCLE' | |
PostSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlayingIDs") | |
layout.prop(self, "SoundCue") | |
layout.prop(self, "bHasSubtitles") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkPostEvent" | |
class SeqAct_AkPostTrigger(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkPostTrigger''' | |
bl_idname = 'SeqAct_AkPostTrigger' | |
bl_label = "AkPostTrigger" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkPostTrigger'AkAudio.Default__SeqAct_AkPostTrigger'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Trigger"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Trigger: bpy.props.StringProperty(name="Trigger") | |
def init(self, context): | |
PostSocket = self.inputs.new('NodeSocketString', "Post") | |
PostSocket.display_shape = 'CIRCLE' | |
PostSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Trigger") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkPostTrigger" | |
class SeqAct_AkSetRTPCValue(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkSetRTPCValue''' | |
bl_idname = 'SeqAct_AkSetRTPCValue' | |
bl_label = "AkSetRTPCValue" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkSetRTPCValue'AkAudio.Default__SeqAct_AkSetRTPCValue'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Param", "Value", "Running"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Param: bpy.props.StringProperty(name="Param") | |
Value: bpy.props.FloatProperty(name="Value") | |
Running: bpy.props.BoolProperty(name="Running") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketFloat', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Param") | |
layout.prop(self, "Value") | |
layout.prop(self, "Running") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkSetRTPCValue" | |
class SeqAct_AkSetState(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkSetState''' | |
bl_idname = 'SeqAct_AkSetState' | |
bl_label = "AkSetState" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkSetState'AkAudio.Default__SeqAct_AkSetState'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["StateGroup", "State"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
StateGroup: bpy.props.StringProperty(name="StateGroup") | |
State: bpy.props.StringProperty(name="State") | |
def init(self, context): | |
SetSocket = self.inputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE' | |
SetSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "StateGroup") | |
layout.prop(self, "State") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkSetState" | |
class SeqAct_AkSetSwitch(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkSetSwitch''' | |
bl_idname = 'SeqAct_AkSetSwitch' | |
bl_label = "AkSetSwitch" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkSetSwitch'AkAudio.Default__SeqAct_AkSetSwitch'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SwitchGroup", "Switch"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SwitchGroup: bpy.props.StringProperty(name="SwitchGroup") | |
Switch: bpy.props.StringProperty(name="Switch") | |
def init(self, context): | |
SetSocket = self.inputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE' | |
SetSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SwitchGroup") | |
layout.prop(self, "Switch") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkSetSwitch" | |
class SeqAct_AkStartAmbientSound(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkStartAmbientSound''' | |
bl_idname = 'SeqAct_AkStartAmbientSound' | |
bl_label = "AkStartAmbientSound" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkStartAmbientSound'AkAudio.Default__SeqAct_AkStartAmbientSound'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
StartAllSocket = self.inputs.new('NodeSocketString', "Start All") | |
StartAllSocket.display_shape = 'CIRCLE' | |
StartAllSocket.link_limit = 250 | |
StopAllSocket = self.inputs.new('NodeSocketString', "Stop All") | |
StopAllSocket.display_shape = 'CIRCLE' | |
StopAllSocket.link_limit = 250 | |
StartTarget_s_Socket = self.inputs.new('NodeSocketString', "Start Target(s)") | |
StartTarget_s_Socket.display_shape = 'CIRCLE' | |
StartTarget_s_Socket.link_limit = 250 | |
StopTargets_s_Socket = self.inputs.new('NodeSocketString', "Stop Targets(s)") | |
StopTargets_s_Socket.display_shape = 'CIRCLE' | |
StopTargets_s_Socket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkStartAmbientSound" | |
class SeqAct_AkStopAll(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqAct_AkStopAll''' | |
bl_idname = 'SeqAct_AkStopAll' | |
bl_label = "AkStopAll" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AkStopAll'AkAudio.Default__SeqAct_AkStopAll'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
StopAllSocket = self.inputs.new('NodeSocketString', "StopAll") | |
StopAllSocket.display_shape = 'CIRCLE' | |
StopAllSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkStopAll" | |
class SeqEvent_AkMusicCue(Node, KismetNodeTreeNode): | |
'''AkAudio/SeqEvent_AkMusicCue''' | |
bl_idname = 'SeqEvent_AkMusicCue' | |
bl_label = "AkMusicCue" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_AkMusicCue'AkAudio.Default__SeqEvent_AkMusicCue'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["CueName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
CueName: bpy.props.StringProperty(name="CueName") | |
def init(self, context): | |
CueSocket = self.outputs.new('NodeSocketString', "Cue") | |
CueSocket.display_shape = 'CIRCLE_DOT' | |
CueSocket.link_limit = 250 | |
CueNameSocket = self.inputs.new('NodeSocketString', "CueName") | |
CueNameSocket.display_shape = 'SQUARE' | |
CueNameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CueName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AkMusicCue" | |
class SeqAct_AccessObjectList(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AccessObjectList''' | |
bl_idname = 'SeqAct_AccessObjectList' | |
bl_label = "Access ObjectList" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AccessObjectList'Engine.Default__SeqAct_AccessObjectList'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["OutputObject", "ObjectIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
OutputObject: bpy.props.StringProperty(name="OutputObject") | |
ObjectIndex: bpy.props.IntProperty(name="ObjectIndex") | |
def init(self, context): | |
RandomSocket = self.inputs.new('NodeSocketString', "Random") | |
RandomSocket.display_shape = 'CIRCLE' | |
RandomSocket.link_limit = 250 | |
FirstSocket = self.inputs.new('NodeSocketString', "First") | |
FirstSocket.display_shape = 'CIRCLE' | |
FirstSocket.link_limit = 250 | |
LastSocket = self.inputs.new('NodeSocketString', "Last") | |
LastSocket.display_shape = 'CIRCLE' | |
LastSocket.link_limit = 250 | |
AtIndexSocket = self.inputs.new('NodeSocketString', "At Index") | |
AtIndexSocket.display_shape = 'CIRCLE' | |
AtIndexSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ObjectListSocket = self.inputs.new('NodeSocketString', "Object List") | |
ObjectListSocket.display_shape = 'SQUARE' | |
ObjectListSocket.link_limit = 250 | |
IndexSocket = self.inputs.new('NodeSocketInt', "Index") | |
IndexSocket.display_shape = 'SQUARE' | |
IndexSocket.link_limit = 250 | |
OutputObjectSocket = self.inputs.new('NodeSocketString', "Output Object") | |
OutputObjectSocket.display_shape = 'SQUARE' | |
OutputObjectSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "OutputObject") | |
layout.prop(self, "ObjectIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Access ObjectList" | |
class SeqAct_ActivateRemoteEvent(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ActivateRemoteEvent''' | |
bl_idname = 'SeqAct_ActivateRemoteEvent' | |
bl_label = "Activate Remote Event" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ActivateRemoteEvent'Engine.Default__SeqAct_ActivateRemoteEvent'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "EventName", "bStatusIsOk"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
EventName: bpy.props.StringProperty(name="EventName",default="DefaultEvent") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "EventName") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Activate Remote Event" | |
class SeqAct_ActorFactory(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ActorFactory''' | |
bl_idname = 'SeqAct_ActorFactory' | |
bl_label = "Actor Factory" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ActorFactory'Engine.Default__SeqAct_ActorFactory'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bEnabled", "bIsSpawning", "bCheckSpawnCollision", "Factory", "PointSelection", "SpawnPoints", "SpawnLocations", "SpawnOrientations", "SpawnCount", "SpawnDelay", "LastSpawnIdx", "CurrentSpawnIdx", "SpawnedCount", "RemainingDelay"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bEnabled: bpy.props.BoolProperty(name="bEnabled",default=True) | |
bIsSpawning: bpy.props.BoolProperty(name="bIsSpawning") | |
bCheckSpawnCollision: bpy.props.BoolProperty(name="bCheckSpawnCollision",default=True) | |
Factory: bpy.props.StringProperty(name="Factory") | |
PointSelection: bpy.props.StringProperty(name="PointSelection") | |
SpawnPoints: bpy.props.StringProperty(name="SpawnPoints") | |
SpawnLocations: bpy.props.StringProperty(name="SpawnLocations") | |
SpawnOrientations: bpy.props.StringProperty(name="SpawnOrientations") | |
SpawnCount: bpy.props.IntProperty(name="SpawnCount",default=1) | |
SpawnDelay: bpy.props.FloatProperty(name="SpawnDelay",default=0.50) | |
LastSpawnIdx: bpy.props.IntProperty(name="LastSpawnIdx",default=-1) | |
CurrentSpawnIdx: bpy.props.IntProperty(name="CurrentSpawnIdx",default=-1) | |
SpawnedCount: bpy.props.IntProperty(name="SpawnedCount") | |
RemainingDelay: bpy.props.FloatProperty(name="RemainingDelay") | |
def init(self, context): | |
SpawnActorSocket = self.inputs.new('NodeSocketString', "Spawn Actor") | |
SpawnActorSocket.display_shape = 'CIRCLE' | |
SpawnActorSocket.link_limit = 250 | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
SpawnPointSocket = self.inputs.new('NodeSocketString', "Spawn Point") | |
SpawnPointSocket.display_shape = 'SQUARE' | |
SpawnPointSocket.link_limit = 250 | |
SpawnedSocket = self.inputs.new('NodeSocketString', "Spawned") | |
SpawnedSocket.display_shape = 'SQUARE' | |
SpawnedSocket.link_limit = 250 | |
SpawnCountSocket = self.inputs.new('NodeSocketInt', "Spawn Count") | |
SpawnCountSocket.display_shape = 'SQUARE' | |
SpawnCountSocket.link_limit = 250 | |
SpawnLocationSocket = self.inputs.new('NodeSocketVector', "Spawn Location") | |
SpawnLocationSocket.display_shape = 'SQUARE' | |
SpawnLocationSocket.link_limit = 250 | |
SpawnDirectionSocket = self.inputs.new('NodeSocketVector', "Spawn Direction") | |
SpawnDirectionSocket.display_shape = 'SQUARE' | |
SpawnDirectionSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bEnabled") | |
layout.prop(self, "bIsSpawning") | |
layout.prop(self, "bCheckSpawnCollision") | |
layout.prop(self, "Factory") | |
layout.prop(self, "PointSelection") | |
layout.prop(self, "SpawnPoints") | |
layout.prop(self, "SpawnLocations") | |
layout.prop(self, "SpawnOrientations") | |
layout.prop(self, "SpawnCount") | |
layout.prop(self, "SpawnDelay") | |
layout.prop(self, "LastSpawnIdx") | |
layout.prop(self, "CurrentSpawnIdx") | |
layout.prop(self, "SpawnedCount") | |
layout.prop(self, "RemainingDelay") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Actor Factory" | |
class SeqAct_ActorFactoryEx(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ActorFactoryEx''' | |
bl_idname = 'SeqAct_ActorFactoryEx' | |
bl_label = "Actor Factory Ex" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ActorFactoryEx'Engine.Default__SeqAct_ActorFactoryEx'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
Spawned1Socket = self.outputs.new('NodeSocketString', "Spawned 1") | |
Spawned1Socket.display_shape = 'CIRCLE_DOT' | |
Spawned1Socket.link_limit = 250 | |
SpawnPointSocket = self.inputs.new('NodeSocketString', "Spawn Point") | |
SpawnPointSocket.display_shape = 'SQUARE' | |
SpawnPointSocket.link_limit = 250 | |
Spawned1Socket = self.inputs.new('NodeSocketString', "Spawned 1") | |
Spawned1Socket.display_shape = 'SQUARE' | |
Spawned1Socket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Actor Factory Ex" | |
class SeqAct_AddFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AddFloat''' | |
bl_idname = 'SeqAct_AddFloat' | |
bl_label = "Add Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AddFloat'Engine.Default__SeqAct_AddFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Add Float" | |
class SeqAct_AddInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AddInt''' | |
bl_idname = 'SeqAct_AddInt' | |
bl_label = "Add Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AddInt'Engine.Default__SeqAct_AddInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Add Int" | |
class SeqAct_AddRemoveFaceFXAnimSet(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AddRemoveFaceFXAnimSet''' | |
bl_idname = 'SeqAct_AddRemoveFaceFXAnimSet' | |
bl_label = "Add Remove FaceFXAnimSet" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AddRemoveFaceFXAnimSet'Engine.Default__SeqAct_AddRemoveFaceFXAnimSet'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FaceFXAnimSets"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FaceFXAnimSets: bpy.props.StringProperty(name="FaceFXAnimSets") | |
def init(self, context): | |
AddFaceFXAnimSetsSocket = self.inputs.new('NodeSocketString', "Add FaceFXAnimSets") | |
AddFaceFXAnimSetsSocket.display_shape = 'CIRCLE' | |
AddFaceFXAnimSetsSocket.link_limit = 250 | |
RemoveFaceFXAnimSetsSocket = self.inputs.new('NodeSocketString', "Remove FaceFXAnimSets") | |
RemoveFaceFXAnimSetsSocket.display_shape = 'CIRCLE' | |
RemoveFaceFXAnimSetsSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FaceFXAnimSets") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Add Remove FaceFXAnimSet" | |
class SeqAct_AIAbortMoveToActor(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AIAbortMoveToActor''' | |
bl_idname = 'SeqAct_AIAbortMoveToActor' | |
bl_label = "Abort Move" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AIAbortMoveToActor'Engine.Default__SeqAct_AIAbortMoveToActor'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Abort Move" | |
class SeqAct_AIMoveToActor(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AIMoveToActor''' | |
bl_idname = 'SeqAct_AIMoveToActor' | |
bl_label = "Move To Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AIMoveToActor'Engine.Default__SeqAct_AIMoveToActor'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bInterruptable", "bPickClosest", "Destination", "MovementSpeedModifier", "LookAt", "LastDestinationChoice"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bInterruptable: bpy.props.BoolProperty(name="bInterruptable") | |
bPickClosest: bpy.props.BoolProperty(name="bPickClosest") | |
Destination: bpy.props.StringProperty(name="Destination") | |
MovementSpeedModifier: bpy.props.FloatProperty(name="MovementSpeedModifier",default=1.0) | |
LookAt: bpy.props.StringProperty(name="LookAt") | |
LastDestinationChoice: bpy.props.IntProperty(name="LastDestinationChoice") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
DestinationSocket = self.inputs.new('NodeSocketString', "Destination") | |
DestinationSocket.display_shape = 'SQUARE' | |
DestinationSocket.link_limit = 250 | |
LookAtSocket = self.inputs.new('NodeSocketString', "Look At") | |
LookAtSocket.display_shape = 'SQUARE' | |
LookAtSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bInterruptable") | |
layout.prop(self, "bPickClosest") | |
layout.prop(self, "Destination") | |
layout.prop(self, "MovementSpeedModifier") | |
layout.prop(self, "LookAt") | |
layout.prop(self, "LastDestinationChoice") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Move To Actor" | |
class SeqAct_AndGate(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AndGate''' | |
bl_idname = 'SeqAct_AndGate' | |
bl_label = "AND Gate" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AndGate'Engine.Default__SeqAct_AndGate'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bOpen", "LinkedOutputFiredStatus", "LinkedOutputs"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bOpen: bpy.props.BoolProperty(name="bOpen",default=True) | |
LinkedOutputFiredStatus: bpy.props.StringProperty(name="LinkedOutputFiredStatus") | |
LinkedOutputs: bpy.props.StringProperty(name="LinkedOutputs") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bOpen") | |
layout.prop(self, "LinkedOutputFiredStatus") | |
layout.prop(self, "LinkedOutputs") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "AND Gate" | |
class SeqAct_ApplySoundNode(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ApplySoundNode''' | |
bl_idname = 'SeqAct_ApplySoundNode' | |
bl_label = "Apply Sound Node" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ApplySoundNode'Engine.Default__SeqAct_ApplySoundNode'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PlaySound", "ApplyNode"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PlaySound: bpy.props.StringProperty(name="PlaySound") | |
ApplyNode: bpy.props.StringProperty(name="ApplyNode") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlaySound") | |
layout.prop(self, "ApplyNode") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Apply Sound Node" | |
class SeqAct_AssignController(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AssignController''' | |
bl_idname = 'SeqAct_AssignController' | |
bl_label = "Assign Controller" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AssignController'Engine.Default__SeqAct_AssignController'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ControllerClass"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ControllerClass: bpy.props.StringProperty(name="ControllerClass") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ControllerClass") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Assign Controller" | |
class SeqAct_AttachToActor(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AttachToActor''' | |
bl_idname = 'SeqAct_AttachToActor' | |
bl_label = "Attach to Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AttachToActor'Engine.Default__SeqAct_AttachToActor'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bDetach", "bHardAttach", "bUseRelativeOffset", "bUseRelativeRotation", "BoneName", "RelativeOffset", "RelativeRotation"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bDetach: bpy.props.BoolProperty(name="bDetach") | |
bHardAttach: bpy.props.BoolProperty(name="bHardAttach",default=True) | |
bUseRelativeOffset: bpy.props.BoolProperty(name="bUseRelativeOffset") | |
bUseRelativeRotation: bpy.props.BoolProperty(name="bUseRelativeRotation") | |
BoneName: bpy.props.StringProperty(name="BoneName") | |
RelativeOffset: bpy.props.StringProperty(name="RelativeOffset") | |
RelativeRotation: bpy.props.StringProperty(name="RelativeRotation") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
AttachmentSocket = self.inputs.new('NodeSocketString', "Attachment") | |
AttachmentSocket.display_shape = 'SQUARE' | |
AttachmentSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bDetach") | |
layout.prop(self, "bHardAttach") | |
layout.prop(self, "bUseRelativeOffset") | |
layout.prop(self, "bUseRelativeRotation") | |
layout.prop(self, "BoneName") | |
layout.prop(self, "RelativeOffset") | |
layout.prop(self, "RelativeRotation") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Attach to Actor" | |
class SeqAct_AttachToEvent(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_AttachToEvent''' | |
bl_idname = 'SeqAct_AttachToEvent' | |
bl_label = "Attach To Event" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AttachToEvent'Engine.Default__SeqAct_AttachToEvent'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bPreferController"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bPreferController: bpy.props.BoolProperty(name="bPreferController") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
AttacheeSocket = self.inputs.new('NodeSocketString', "Attachee") | |
AttacheeSocket.display_shape = 'SQUARE' | |
AttacheeSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bPreferController") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Attach To Event" | |
class SeqAct_CameraFade(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CameraFade''' | |
bl_idname = 'SeqAct_CameraFade' | |
bl_label = "Fade" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CameraFade'Engine.Default__SeqAct_CameraFade'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FadeColor", "FadeAlpha", "FadeOpacity", "FadeTime", "bPersistFade", "bFadeAudio", "FadeTimeRemaining", "CachedPCs"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FadeColor: bpy.props.StringProperty(name="FadeColor") | |
FadeAlpha: bpy.props.StringProperty(name="FadeAlpha") | |
FadeOpacity: bpy.props.FloatProperty(name="FadeOpacity",default=1.0) | |
FadeTime: bpy.props.FloatProperty(name="FadeTime",default=1.0) | |
bPersistFade: bpy.props.BoolProperty(name="bPersistFade",default=True) | |
bFadeAudio: bpy.props.BoolProperty(name="bFadeAudio") | |
FadeTimeRemaining: bpy.props.FloatProperty(name="FadeTimeRemaining") | |
CachedPCs: bpy.props.StringProperty(name="CachedPCs") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FadeColor") | |
layout.prop(self, "FadeAlpha") | |
layout.prop(self, "FadeOpacity") | |
layout.prop(self, "FadeTime") | |
layout.prop(self, "bPersistFade") | |
layout.prop(self, "bFadeAudio") | |
layout.prop(self, "FadeTimeRemaining") | |
layout.prop(self, "CachedPCs") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Fade" | |
class SeqAct_CameraLookAt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CameraLookAt''' | |
bl_idname = 'SeqAct_CameraLookAt' | |
bl_label = "Look At" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CameraLookAt'Engine.Default__SeqAct_CameraLookAt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bAffectCamera", "bAlwaysFocus", "bAdjustCamera", "bTurnInPlace", "bIgnoreTrace", "bAffectHead", "bRotatePlayerWithCamera", "bToggleGodMode", "bLeaveCameraRotation", "bDisableInput", "bUsedTimer", "bCheckLineOfSight", "InterpSpeedRange", "InFocusFOV", "FocusBoneName", "TextDisplay", "TotalTime", "CameraFOV", "RemainingTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bAffectCamera: bpy.props.BoolProperty(name="bAffectCamera",default=True) | |
bAlwaysFocus: bpy.props.BoolProperty(name="bAlwaysFocus") | |
bAdjustCamera: bpy.props.BoolProperty(name="bAdjustCamera") | |
bTurnInPlace: bpy.props.BoolProperty(name="bTurnInPlace",default=True) | |
bIgnoreTrace: bpy.props.BoolProperty(name="bIgnoreTrace") | |
bAffectHead: bpy.props.BoolProperty(name="bAffectHead") | |
bRotatePlayerWithCamera: bpy.props.BoolProperty(name="bRotatePlayerWithCamera") | |
bToggleGodMode: bpy.props.BoolProperty(name="bToggleGodMode") | |
bLeaveCameraRotation: bpy.props.BoolProperty(name="bLeaveCameraRotation") | |
bDisableInput: bpy.props.BoolProperty(name="bDisableInput",default=True) | |
bUsedTimer: bpy.props.BoolProperty(name="bUsedTimer") | |
bCheckLineOfSight: bpy.props.BoolProperty(name="bCheckLineOfSight") | |
InterpSpeedRange: bpy.props.StringProperty(name="InterpSpeedRange",default="(X=3.0,Y=3.0)") | |
InFocusFOV: bpy.props.StringProperty(name="InFocusFOV",default="(X=1.0,Y=1.0)") | |
FocusBoneName: bpy.props.StringProperty(name="FocusBoneName") | |
TextDisplay: bpy.props.StringProperty(name="TextDisplay") | |
TotalTime: bpy.props.FloatProperty(name="TotalTime") | |
CameraFOV: bpy.props.FloatProperty(name="CameraFOV",default=-1.0) | |
RemainingTime: bpy.props.FloatProperty(name="RemainingTime") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
SucceededSocket = self.outputs.new('NodeSocketString', "Succeeded") | |
SucceededSocket.display_shape = 'CIRCLE_DOT' | |
SucceededSocket.link_limit = 250 | |
FailedSocket = self.outputs.new('NodeSocketString', "Failed") | |
FailedSocket.display_shape = 'CIRCLE_DOT' | |
FailedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
FocusSocket = self.inputs.new('NodeSocketString', "Focus") | |
FocusSocket.display_shape = 'SQUARE' | |
FocusSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bAffectCamera") | |
layout.prop(self, "bAlwaysFocus") | |
layout.prop(self, "bAdjustCamera") | |
layout.prop(self, "bTurnInPlace") | |
layout.prop(self, "bIgnoreTrace") | |
layout.prop(self, "bAffectHead") | |
layout.prop(self, "bRotatePlayerWithCamera") | |
layout.prop(self, "bToggleGodMode") | |
layout.prop(self, "bLeaveCameraRotation") | |
layout.prop(self, "bDisableInput") | |
layout.prop(self, "bUsedTimer") | |
layout.prop(self, "bCheckLineOfSight") | |
layout.prop(self, "InterpSpeedRange") | |
layout.prop(self, "InFocusFOV") | |
layout.prop(self, "FocusBoneName") | |
layout.prop(self, "TextDisplay") | |
layout.prop(self, "TotalTime") | |
layout.prop(self, "CameraFOV") | |
layout.prop(self, "RemainingTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Look At" | |
class SeqAct_CameraShake(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CameraShake''' | |
bl_idname = 'SeqAct_CameraShake' | |
bl_label = "Camera Shake" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CameraShake'Engine.Default__SeqAct_CameraShake'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Shake", "ShakeScale", "bDoControllerVibration", "bRadialShake", "bOrientTowardRadialEpicenter", "RadialShake_InnerRadius", "RadialShake_OuterRadius", "RadialShake_Falloff", "PlaySpace", "LocationActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Shake: bpy.props.StringProperty(name="Shake",default="Shake0") | |
ShakeScale: bpy.props.FloatProperty(name="ShakeScale",default=1.0) | |
bDoControllerVibration: bpy.props.BoolProperty(name="bDoControllerVibration",default=True) | |
bRadialShake: bpy.props.BoolProperty(name="bRadialShake") | |
bOrientTowardRadialEpicenter: bpy.props.BoolProperty(name="bOrientTowardRadialEpicenter") | |
RadialShake_InnerRadius: bpy.props.FloatProperty(name="RadialShake_InnerRadius",default=128.0) | |
RadialShake_OuterRadius: bpy.props.FloatProperty(name="RadialShake_OuterRadius",default=512.0) | |
RadialShake_Falloff: bpy.props.FloatProperty(name="RadialShake_Falloff",default=2.0) | |
PlaySpace: bpy.props.StringProperty(name="PlaySpace") | |
LocationActor: bpy.props.StringProperty(name="LocationActor") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
LocationSocket = self.inputs.new('NodeSocketString', "Location") | |
LocationSocket.display_shape = 'SQUARE' | |
LocationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Shake") | |
layout.prop(self, "ShakeScale") | |
layout.prop(self, "bDoControllerVibration") | |
layout.prop(self, "bRadialShake") | |
layout.prop(self, "bOrientTowardRadialEpicenter") | |
layout.prop(self, "RadialShake_InnerRadius") | |
layout.prop(self, "RadialShake_OuterRadius") | |
layout.prop(self, "RadialShake_Falloff") | |
layout.prop(self, "PlaySpace") | |
layout.prop(self, "LocationActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Camera Shake" | |
class SeqAct_CastToFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CastToFloat''' | |
bl_idname = 'SeqAct_CastToFloat' | |
bl_label = "Cast To Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CastToFloat'Engine.Default__SeqAct_CastToFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Value", "FloatResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Value: bpy.props.IntProperty(name="Value") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
IntSocket = self.inputs.new('NodeSocketInt', "Int") | |
IntSocket.display_shape = 'SQUARE' | |
IntSocket.link_limit = 250 | |
ResultSocket = self.inputs.new('NodeSocketFloat', "Result") | |
ResultSocket.display_shape = 'SQUARE' | |
ResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Value") | |
layout.prop(self, "FloatResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Cast To Float" | |
class SeqAct_CastToInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CastToInt''' | |
bl_idname = 'SeqAct_CastToInt' | |
bl_label = "Cast To Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CastToInt'Engine.Default__SeqAct_CastToInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bTruncate", "Value", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bTruncate: bpy.props.BoolProperty(name="bTruncate") | |
Value: bpy.props.FloatProperty(name="Value") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
IntSocket = self.inputs.new('NodeSocketFloat', "Int") | |
IntSocket.display_shape = 'SQUARE' | |
IntSocket.link_limit = 250 | |
ResultSocket = self.inputs.new('NodeSocketInt', "Result") | |
ResultSocket.display_shape = 'SQUARE' | |
ResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bTruncate") | |
layout.prop(self, "Value") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Cast To Int" | |
class SeqAct_ChangeCollision(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ChangeCollision''' | |
bl_idname = 'SeqAct_ChangeCollision' | |
bl_label = "Change Collision" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ChangeCollision'Engine.Default__SeqAct_ChangeCollision'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bCollideActors", "bBlockActors", "bIgnoreEncroachers", "CollisionType"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bCollideActors: bpy.props.BoolProperty(name="bCollideActors") | |
bBlockActors: bpy.props.BoolProperty(name="bBlockActors") | |
bIgnoreEncroachers: bpy.props.BoolProperty(name="bIgnoreEncroachers") | |
CollisionType: bpy.props.StringProperty(name="CollisionType") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bCollideActors") | |
layout.prop(self, "bBlockActors") | |
layout.prop(self, "bIgnoreEncroachers") | |
layout.prop(self, "CollisionType") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Change Collision" | |
class SeqAct_CommitMapChange(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_CommitMapChange''' | |
bl_idname = 'SeqAct_CommitMapChange' | |
bl_label = "Commit Map Change" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CommitMapChange'Engine.Default__SeqAct_CommitMapChange'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
CommitSocket = self.inputs.new('NodeSocketString', "Commit") | |
CommitSocket.display_shape = 'CIRCLE' | |
CommitSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Commit Map Change" | |
class SeqAct_ConsoleCommand(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ConsoleCommand''' | |
bl_idname = 'SeqAct_ConsoleCommand' | |
bl_label = "Console Command" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ConsoleCommand'Engine.Default__SeqAct_ConsoleCommand'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Command", "Commands"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Command: bpy.props.StringProperty(name="Command") | |
Commands: bpy.props.StringProperty(name="Commands") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Command") | |
layout.prop(self, "Commands") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Console Command" | |
class SeqAct_ControlMovieTexture(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ControlMovieTexture''' | |
bl_idname = 'SeqAct_ControlMovieTexture' | |
bl_label = "Control Movie Texture" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ControlMovieTexture'Engine.Default__SeqAct_ControlMovieTexture'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MovieTexture"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MovieTexture: bpy.props.StringProperty(name="MovieTexture") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
PauseSocket = self.inputs.new('NodeSocketString', "Pause") | |
PauseSocket.display_shape = 'CIRCLE' | |
PauseSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MovieTexture") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Control Movie Texture" | |
class SeqAct_ConvertToString(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ConvertToString''' | |
bl_idname = 'SeqAct_ConvertToString' | |
bl_label = "Convert To String" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 2 | |
ObjectArchetype = "SeqAct_ConvertToString'Engine.Default__SeqAct_ConvertToString'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bIncludeVarComment", "VarSeparator", "NumberOfInputs"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bIncludeVarComment: bpy.props.BoolProperty(name="bIncludeVarComment",default=True) | |
VarSeparator: bpy.props.StringProperty(name="VarSeparator",default=", ") | |
NumberOfInputs: bpy.props.IntProperty(name="NumberOfInputs",default=1) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InputsSocket = self.inputs.new('NodeSocketString', "Inputs") | |
InputsSocket.display_shape = 'SQUARE' | |
InputsSocket.link_limit = 250 | |
OutputSocket = self.inputs.new('NodeSocketString', "Output") | |
OutputSocket.display_shape = 'SQUARE' | |
OutputSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bIncludeVarComment") | |
layout.prop(self, "VarSeparator") | |
layout.prop(self, "NumberOfInputs") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Convert To String" | |
class SeqAct_Delay(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Delay''' | |
bl_idname = 'SeqAct_Delay' | |
bl_label = "Delay" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Delay'Engine.Default__SeqAct_Delay'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bDelayActive", "bStartWillRestart", "DefaultDuration", "Duration", "LastUpdateTime", "RemainingTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bDelayActive: bpy.props.BoolProperty(name="bDelayActive") | |
bStartWillRestart: bpy.props.BoolProperty(name="bStartWillRestart") | |
DefaultDuration: bpy.props.FloatProperty(name="DefaultDuration",default=1.0) | |
Duration: bpy.props.FloatProperty(name="Duration",default=1.0) | |
LastUpdateTime: bpy.props.FloatProperty(name="LastUpdateTime") | |
RemainingTime: bpy.props.FloatProperty(name="RemainingTime") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
PauseSocket = self.inputs.new('NodeSocketString', "Pause") | |
PauseSocket.display_shape = 'CIRCLE' | |
PauseSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
DurationSocket = self.inputs.new('NodeSocketFloat', "Duration") | |
DurationSocket.display_shape = 'SQUARE' | |
DurationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bDelayActive") | |
layout.prop(self, "bStartWillRestart") | |
layout.prop(self, "DefaultDuration") | |
layout.prop(self, "Duration") | |
layout.prop(self, "LastUpdateTime") | |
layout.prop(self, "RemainingTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Delay" | |
class SeqAct_DelaySwitch(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_DelaySwitch''' | |
bl_idname = 'SeqAct_DelaySwitch' | |
bl_label = "Delayed" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DelaySwitch'Engine.Default__SeqAct_DelaySwitch'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["LinkCount", "CurrentIdx", "SwitchDelay", "NextLinkTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
LinkCount: bpy.props.IntProperty(name="LinkCount",default=1) | |
CurrentIdx: bpy.props.IntProperty(name="CurrentIdx") | |
SwitchDelay: bpy.props.FloatProperty(name="SwitchDelay") | |
NextLinkTime: bpy.props.FloatProperty(name="NextLinkTime") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
Link1Socket = self.outputs.new('NodeSocketString', "Link 1") | |
Link1Socket.display_shape = 'CIRCLE_DOT' | |
Link1Socket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
DelaySocket = self.inputs.new('NodeSocketFloat', "Delay") | |
DelaySocket.display_shape = 'SQUARE' | |
DelaySocket.link_limit = 250 | |
ActiveLinkSocket = self.inputs.new('NodeSocketInt', "Active Link") | |
ActiveLinkSocket.display_shape = 'SQUARE' | |
ActiveLinkSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "LinkCount") | |
layout.prop(self, "CurrentIdx") | |
layout.prop(self, "SwitchDelay") | |
layout.prop(self, "NextLinkTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Delayed" | |
class SeqAct_Destroy(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Destroy''' | |
bl_idname = 'SeqAct_Destroy' | |
bl_label = "Destroy" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Destroy'Engine.Default__SeqAct_Destroy'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bDestroyBasedActors", "IgnoreBasedClasses"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bDestroyBasedActors: bpy.props.BoolProperty(name="bDestroyBasedActors") | |
IgnoreBasedClasses: bpy.props.StringProperty(name="IgnoreBasedClasses") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bDestroyBasedActors") | |
layout.prop(self, "IgnoreBasedClasses") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Destroy" | |
class SeqAct_DivideFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_DivideFloat''' | |
bl_idname = 'SeqAct_DivideFloat' | |
bl_label = "Divide Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DivideFloat'Engine.Default__SeqAct_DivideFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Divide Float" | |
class SeqAct_DivideInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_DivideInt''' | |
bl_idname = 'SeqAct_DivideInt' | |
bl_label = "Divide Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DivideInt'Engine.Default__SeqAct_DivideInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Divide Int" | |
class SeqAct_DrawText(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_DrawText''' | |
bl_idname = 'SeqAct_DrawText' | |
bl_label = "Draw Text" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 3 | |
ObjectArchetype = "SeqAct_DrawText'Engine.Default__SeqAct_DrawText'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["DisplayTimeSeconds", "bDisplayOnObject", "DrawTextInfo"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
DisplayTimeSeconds: bpy.props.FloatProperty(name="DisplayTimeSeconds",default=-1.0) | |
bDisplayOnObject: bpy.props.BoolProperty(name="bDisplayOnObject") | |
DrawTextInfo: bpy.props.StringProperty(name="DrawTextInfo",default="(MessageText="",AppendedText="",MessageFont=none,MessageFontScale=(X=1.0,Y=1.0),MessageOffset=(X=0.0,Y=0.0),MessageColor=(R=255,G=255,B=255,A=255),MessageEndTime=-1.0)") | |
def init(self, context): | |
ShowSocket = self.inputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE' | |
ShowSocket.link_limit = 250 | |
HideSocket = self.inputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE' | |
HideSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
StringSocket = self.inputs.new('NodeSocketString', "String") | |
StringSocket.display_shape = 'SQUARE' | |
StringSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "DisplayTimeSeconds") | |
layout.prop(self, "bDisplayOnObject") | |
layout.prop(self, "DrawTextInfo") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Draw Text" | |
class SeqAct_FeatureTest(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_FeatureTest''' | |
bl_idname = 'SeqAct_FeatureTest' | |
bl_label = "Feature Test" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_FeatureTest'Engine.Default__SeqAct_FeatureTest'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FreezeAtParameters", "ScreenShotDelay", "ScreenShotName", "RemainingScreenShotDelay"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FreezeAtParameters: bpy.props.StringProperty(name="FreezeAtParameters") | |
ScreenShotDelay: bpy.props.FloatProperty(name="ScreenShotDelay",default=1.0) | |
ScreenShotName: bpy.props.StringProperty(name="ScreenShotName") | |
RemainingScreenShotDelay: bpy.props.FloatProperty(name="RemainingScreenShotDelay") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FreezeAtParameters") | |
layout.prop(self, "ScreenShotDelay") | |
layout.prop(self, "ScreenShotName") | |
layout.prop(self, "RemainingScreenShotDelay") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Feature Test" | |
class SeqAct_FinishSequence(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_FinishSequence''' | |
bl_idname = 'SeqAct_FinishSequence' | |
bl_label = "Finish Sequence" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_FinishSequence'Engine.Default__SeqAct_FinishSequence'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["OutputLabel"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
OutputLabel: bpy.props.StringProperty(name="OutputLabel",default="Out") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "OutputLabel") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Finish Sequence" | |
class SeqAct_FlyThroughHasEnded(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_FlyThroughHasEnded''' | |
bl_idname = 'SeqAct_FlyThroughHasEnded' | |
bl_label = "FlyThroughHasEnded" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_FlyThroughHasEnded'Engine.Default__SeqAct_FlyThroughHasEnded'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "FlyThroughHasEnded" | |
class SeqAct_ForceFeedback(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ForceFeedback''' | |
bl_idname = 'SeqAct_ForceFeedback' | |
bl_label = "Force Feedback" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ForceFeedback'Engine.Default__SeqAct_ForceFeedback'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FFWaveform", "PredefinedWaveForm"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FFWaveform: bpy.props.StringProperty(name="FFWaveform") | |
PredefinedWaveForm: bpy.props.StringProperty(name="PredefinedWaveForm") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FFWaveform") | |
layout.prop(self, "PredefinedWaveForm") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Force Feedback" | |
class SeqAct_ForceGarbageCollection(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ForceGarbageCollection''' | |
bl_idname = 'SeqAct_ForceGarbageCollection' | |
bl_label = "Force Garbage Collection" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ForceGarbageCollection'Engine.Default__SeqAct_ForceGarbageCollection'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Force Garbage Collection" | |
class SeqAct_Gate(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Gate''' | |
bl_idname = 'SeqAct_Gate' | |
bl_label = "Gate" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Gate'Engine.Default__SeqAct_Gate'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bOpen", "AutoCloseCount", "CurrentCloseCount"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bOpen: bpy.props.BoolProperty(name="bOpen",default=True) | |
AutoCloseCount: bpy.props.IntProperty(name="AutoCloseCount") | |
CurrentCloseCount: bpy.props.IntProperty(name="CurrentCloseCount") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OpenSocket = self.inputs.new('NodeSocketString', "Open") | |
OpenSocket.display_shape = 'CIRCLE' | |
OpenSocket.link_limit = 250 | |
CloseSocket = self.inputs.new('NodeSocketString', "Close") | |
CloseSocket.display_shape = 'CIRCLE' | |
CloseSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bOpen") | |
layout.prop(self, "AutoCloseCount") | |
layout.prop(self, "CurrentCloseCount") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Gate" | |
class SeqAct_GetDistance(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_GetDistance''' | |
bl_idname = 'SeqAct_GetDistance' | |
bl_label = "Get Distance" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetDistance'Engine.Default__SeqAct_GetDistance'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Distance"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Distance: bpy.props.FloatProperty(name="Distance") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketString', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketString', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
DistanceSocket = self.inputs.new('NodeSocketFloat', "Distance") | |
DistanceSocket.display_shape = 'SQUARE' | |
DistanceSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Distance") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Distance" | |
class SeqAct_GetLocationAndRotation(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_GetLocationAndRotation''' | |
bl_idname = 'SeqAct_GetLocationAndRotation' | |
bl_label = "Get Location and Rotation" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetLocationAndRotation'Engine.Default__SeqAct_GetLocationAndRotation'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Location", "RotationVector", "Rotation", "SocketOrBoneName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Location: bpy.props.StringProperty(name="Location") | |
RotationVector: bpy.props.StringProperty(name="RotationVector") | |
Rotation: bpy.props.StringProperty(name="Rotation") | |
SocketOrBoneName: bpy.props.StringProperty(name="SocketOrBoneName") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
LocationSocket = self.inputs.new('NodeSocketVector', "Location") | |
LocationSocket.display_shape = 'SQUARE' | |
LocationSocket.link_limit = 250 | |
RotationVectorSocket = self.inputs.new('NodeSocketVector', "Rotation Vector") | |
RotationVectorSocket.display_shape = 'SQUARE' | |
RotationVectorSocket.link_limit = 250 | |
RotationSocket = self.inputs.new('NodeSocketVector', "Rotation") | |
RotationSocket.display_shape = 'SQUARE' | |
RotationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Location") | |
layout.prop(self, "RotationVector") | |
layout.prop(self, "Rotation") | |
layout.prop(self, "SocketOrBoneName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Location and Rotation" | |
class SeqAct_GetProperty(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_GetProperty''' | |
bl_idname = 'SeqAct_GetProperty' | |
bl_label = "Get Property" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetProperty'Engine.Default__SeqAct_GetProperty'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PropertyName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PropertyName: bpy.props.StringProperty(name="PropertyName") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
ObjectSocket = self.inputs.new('NodeSocketString', "Object") | |
ObjectSocket.display_shape = 'SQUARE' | |
ObjectSocket.link_limit = 250 | |
IntSocket = self.inputs.new('NodeSocketInt', "Int") | |
IntSocket.display_shape = 'SQUARE' | |
IntSocket.link_limit = 250 | |
FloatSocket = self.inputs.new('NodeSocketFloat', "Float") | |
FloatSocket.display_shape = 'SQUARE' | |
FloatSocket.link_limit = 250 | |
StringSocket = self.inputs.new('NodeSocketString', "String") | |
StringSocket.display_shape = 'SQUARE' | |
StringSocket.link_limit = 250 | |
BoolSocket = self.inputs.new('NodeSocketBool', "Bool") | |
BoolSocket.display_shape = 'SQUARE' | |
BoolSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PropertyName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Property" | |
class SeqAct_GetVectorComponents(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_GetVectorComponents''' | |
bl_idname = 'SeqAct_GetVectorComponents' | |
bl_label = "Get Vector Components" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetVectorComponents'Engine.Default__SeqAct_GetVectorComponents'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["InVector", "X", "Y", "Z"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
InVector: bpy.props.StringProperty(name="InVector") | |
X: bpy.props.FloatProperty(name="X") | |
Y: bpy.props.FloatProperty(name="Y") | |
Z: bpy.props.FloatProperty(name="Z") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InputVectorSocket = self.inputs.new('NodeSocketVector', "Input Vector") | |
InputVectorSocket.display_shape = 'SQUARE' | |
InputVectorSocket.link_limit = 250 | |
XSocket = self.inputs.new('NodeSocketFloat', "X") | |
XSocket.display_shape = 'SQUARE' | |
XSocket.link_limit = 250 | |
YSocket = self.inputs.new('NodeSocketFloat', "Y") | |
YSocket.display_shape = 'SQUARE' | |
YSocket.link_limit = 250 | |
ZSocket = self.inputs.new('NodeSocketFloat', "Z") | |
ZSocket.display_shape = 'SQUARE' | |
ZSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "InVector") | |
layout.prop(self, "X") | |
layout.prop(self, "Y") | |
layout.prop(self, "Z") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Vector Components" | |
class SeqAct_GetVelocity(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_GetVelocity''' | |
bl_idname = 'SeqAct_GetVelocity' | |
bl_label = "Get Velocity" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetVelocity'Engine.Default__SeqAct_GetVelocity'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["VelocityMag", "VelocityVect"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
VelocityMag: bpy.props.FloatProperty(name="VelocityMag") | |
VelocityVect: bpy.props.StringProperty(name="VelocityVect") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
VelocityMagSocket = self.inputs.new('NodeSocketFloat', "Velocity Mag") | |
VelocityMagSocket.display_shape = 'SQUARE' | |
VelocityMagSocket.link_limit = 250 | |
VelocityVectSocket = self.inputs.new('NodeSocketVector', "Velocity Vect") | |
VelocityVectSocket.display_shape = 'SQUARE' | |
VelocityVectSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VelocityMag") | |
layout.prop(self, "VelocityVect") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Velocity" | |
class SeqAct_HeadTrackingControl(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_HeadTrackingControl''' | |
bl_idname = 'SeqAct_HeadTrackingControl' | |
bl_label = "HeadTracking Control" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_HeadTrackingControl'Engine.Default__SeqAct_HeadTrackingControl'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["TrackControllerName", "LookAtActorRadius", "bDisableBeyondLimit", "bLookAtPawns", "MaxLookAtTime", "MinLookAtTime", "MaxInterestTime", "ActorClassesToLookAt", "TargetBoneNames", "LookAtTargets", "ActorToComponentMap"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
TrackControllerName: bpy.props.StringProperty(name="TrackControllerName") | |
LookAtActorRadius: bpy.props.FloatProperty(name="LookAtActorRadius",default=500.0) | |
bDisableBeyondLimit: bpy.props.BoolProperty(name="bDisableBeyondLimit",default=True) | |
bLookAtPawns: bpy.props.BoolProperty(name="bLookAtPawns",default=True) | |
MaxLookAtTime: bpy.props.FloatProperty(name="MaxLookAtTime",default=5.0) | |
MinLookAtTime: bpy.props.FloatProperty(name="MinLookAtTime",default=3.0) | |
MaxInterestTime: bpy.props.FloatProperty(name="MaxInterestTime",default=7.0) | |
ActorClassesToLookAt: bpy.props.StringProperty(name="ActorClassesToLookAt") | |
TargetBoneNames: bpy.props.StringProperty(name="TargetBoneNames") | |
LookAtTargets: bpy.props.StringProperty(name="LookAtTargets") | |
ActorToComponentMap: bpy.props.StringProperty(name="ActorToComponentMap") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "TrackControllerName") | |
layout.prop(self, "LookAtActorRadius") | |
layout.prop(self, "bDisableBeyondLimit") | |
layout.prop(self, "bLookAtPawns") | |
layout.prop(self, "MaxLookAtTime") | |
layout.prop(self, "MinLookAtTime") | |
layout.prop(self, "MaxInterestTime") | |
layout.prop(self, "ActorClassesToLookAt") | |
layout.prop(self, "TargetBoneNames") | |
layout.prop(self, "LookAtTargets") | |
layout.prop(self, "ActorToComponentMap") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "HeadTracking Control" | |
class SeqAct_Interp(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Interp''' | |
bl_idname = 'SeqAct_Interp' | |
bl_label = "Matinee" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Interp'Engine.Default__SeqAct_Interp'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SavedActorTransforms", "SavedActorVisibilities", "PlayRate", "Position", "ForceStartPosition", "bIsPlaying", "bPaused", "bIsBeingEdited", "bLooping", "bRewindOnPlay", "bNoResetOnRewind", "bRewindIfAlreadyPlaying", "bReversePlayback", "bInterpForPathBuilding", "bForceStartPos", "bDisableRadioFilter", "bClientSideOnly", "bSkipUpdateIfNotVisible", "bIsSkippable", "bShouldShowGore", "LinkedCover", "InterpData", "GroupInst", "ReplicatedActorClass", "ReplicatedActor", "PreferredSplitScreenNum", "CameraCuts", "TerminationTime", "RenderingOverrides", "ConstantCameraAnim", "ConstantCameraAnimRate"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SavedActorTransforms: bpy.props.StringProperty(name="SavedActorTransforms") | |
SavedActorVisibilities: bpy.props.StringProperty(name="SavedActorVisibilities") | |
PlayRate: bpy.props.FloatProperty(name="PlayRate",default=1.0) | |
Position: bpy.props.FloatProperty(name="Position") | |
ForceStartPosition: bpy.props.FloatProperty(name="ForceStartPosition") | |
bIsPlaying: bpy.props.BoolProperty(name="bIsPlaying") | |
bPaused: bpy.props.BoolProperty(name="bPaused") | |
bIsBeingEdited: bpy.props.BoolProperty(name="bIsBeingEdited") | |
bLooping: bpy.props.BoolProperty(name="bLooping") | |
bRewindOnPlay: bpy.props.BoolProperty(name="bRewindOnPlay") | |
bNoResetOnRewind: bpy.props.BoolProperty(name="bNoResetOnRewind") | |
bRewindIfAlreadyPlaying: bpy.props.BoolProperty(name="bRewindIfAlreadyPlaying") | |
bReversePlayback: bpy.props.BoolProperty(name="bReversePlayback") | |
bInterpForPathBuilding: bpy.props.BoolProperty(name="bInterpForPathBuilding") | |
bForceStartPos: bpy.props.BoolProperty(name="bForceStartPos") | |
bDisableRadioFilter: bpy.props.BoolProperty(name="bDisableRadioFilter") | |
bClientSideOnly: bpy.props.BoolProperty(name="bClientSideOnly") | |
bSkipUpdateIfNotVisible: bpy.props.BoolProperty(name="bSkipUpdateIfNotVisible") | |
bIsSkippable: bpy.props.BoolProperty(name="bIsSkippable") | |
bShouldShowGore: bpy.props.BoolProperty(name="bShouldShowGore") | |
LinkedCover: bpy.props.StringProperty(name="LinkedCover") | |
InterpData: bpy.props.StringProperty(name="InterpData") | |
GroupInst: bpy.props.StringProperty(name="GroupInst") | |
ReplicatedActorClass: bpy.props.StringProperty(name="ReplicatedActorClass") | |
ReplicatedActor: bpy.props.StringProperty(name="ReplicatedActor") | |
PreferredSplitScreenNum: bpy.props.IntProperty(name="PreferredSplitScreenNum") | |
CameraCuts: bpy.props.StringProperty(name="CameraCuts") | |
TerminationTime: bpy.props.FloatProperty(name="TerminationTime") | |
RenderingOverrides: bpy.props.StringProperty(name="RenderingOverrides",default="(bAllowAmbientOcclusion=true,bAllowDominantWholeSceneDynamicShadows=true,bAllowMotionBlurSkinning=true,bAllowTemporalAA=true,bAllowLightShafts=true)") | |
ConstantCameraAnim: bpy.props.StringProperty(name="ConstantCameraAnim") | |
ConstantCameraAnimRate: bpy.props.FloatProperty(name="ConstantCameraAnimRate",default=4.0) | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
ReverseSocket = self.inputs.new('NodeSocketString', "Reverse") | |
ReverseSocket.display_shape = 'CIRCLE' | |
ReverseSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
PauseSocket = self.inputs.new('NodeSocketString', "Pause") | |
PauseSocket.display_shape = 'CIRCLE' | |
PauseSocket.link_limit = 250 | |
ChangeDirSocket = self.inputs.new('NodeSocketString', "Change Dir") | |
ChangeDirSocket.display_shape = 'CIRCLE' | |
ChangeDirSocket.link_limit = 250 | |
CompletedSocket = self.outputs.new('NodeSocketString', "Completed") | |
CompletedSocket.display_shape = 'CIRCLE_DOT' | |
CompletedSocket.link_limit = 250 | |
ReversedSocket = self.outputs.new('NodeSocketString', "Reversed") | |
ReversedSocket.display_shape = 'CIRCLE_DOT' | |
ReversedSocket.link_limit = 250 | |
DataSocket = self.inputs.new('NodeSocketString', "Data") | |
DataSocket.display_shape = 'SQUARE' | |
DataSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SavedActorTransforms") | |
layout.prop(self, "SavedActorVisibilities") | |
layout.prop(self, "PlayRate") | |
layout.prop(self, "Position") | |
layout.prop(self, "ForceStartPosition") | |
layout.prop(self, "bIsPlaying") | |
layout.prop(self, "bPaused") | |
layout.prop(self, "bIsBeingEdited") | |
layout.prop(self, "bLooping") | |
layout.prop(self, "bRewindOnPlay") | |
layout.prop(self, "bNoResetOnRewind") | |
layout.prop(self, "bRewindIfAlreadyPlaying") | |
layout.prop(self, "bReversePlayback") | |
layout.prop(self, "bInterpForPathBuilding") | |
layout.prop(self, "bForceStartPos") | |
layout.prop(self, "bDisableRadioFilter") | |
layout.prop(self, "bClientSideOnly") | |
layout.prop(self, "bSkipUpdateIfNotVisible") | |
layout.prop(self, "bIsSkippable") | |
layout.prop(self, "bShouldShowGore") | |
layout.prop(self, "LinkedCover") | |
layout.prop(self, "InterpData") | |
layout.prop(self, "GroupInst") | |
layout.prop(self, "ReplicatedActorClass") | |
layout.prop(self, "ReplicatedActor") | |
layout.prop(self, "PreferredSplitScreenNum") | |
layout.prop(self, "CameraCuts") | |
layout.prop(self, "TerminationTime") | |
layout.prop(self, "RenderingOverrides") | |
layout.prop(self, "ConstantCameraAnim") | |
layout.prop(self, "ConstantCameraAnimRate") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Matinee" | |
class SeqAct_IsInObjectList(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_IsInObjectList''' | |
bl_idname = 'SeqAct_IsInObjectList' | |
bl_label = "IsIn ObjectList" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IsInObjectList'Engine.Default__SeqAct_IsInObjectList'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bCheckForAllObjects", "bObjectFound"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bCheckForAllObjects: bpy.props.BoolProperty(name="bCheckForAllObjects",default=True) | |
bObjectFound: bpy.props.BoolProperty(name="bObjectFound") | |
def init(self, context): | |
TestifinListSocket = self.inputs.new('NodeSocketString', "Test if in List") | |
TestifinListSocket.display_shape = 'CIRCLE' | |
TestifinListSocket.link_limit = 250 | |
InListSocket = self.outputs.new('NodeSocketString', "In List") | |
InListSocket.display_shape = 'CIRCLE_DOT' | |
InListSocket.link_limit = 250 | |
NotinListSocket = self.outputs.new('NodeSocketString', "Not in List") | |
NotinListSocket.display_shape = 'CIRCLE_DOT' | |
NotinListSocket.link_limit = 250 | |
Object_s_ToTestSocket = self.inputs.new('NodeSocketString', "Object(s)ToTest") | |
Object_s_ToTestSocket.display_shape = 'SQUARE' | |
Object_s_ToTestSocket.link_limit = 250 | |
ObjectListVarSocket = self.inputs.new('NodeSocketString', "ObjectListVar") | |
ObjectListVarSocket.display_shape = 'SQUARE' | |
ObjectListVarSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bCheckForAllObjects") | |
layout.prop(self, "bObjectFound") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "IsIn ObjectList" | |
class SeqAct_Latent(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Latent''' | |
bl_idname = 'SeqAct_Latent' | |
bl_label = "Undefined Latent" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Latent'Engine.Default__SeqAct_Latent'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["LatentActors", "bAborted", "LatentActivationTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
LatentActors: bpy.props.StringProperty(name="LatentActors") | |
bAborted: bpy.props.BoolProperty(name="bAborted") | |
LatentActivationTime: bpy.props.FloatProperty(name="LatentActivationTime") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "LatentActors") | |
layout.prop(self, "bAborted") | |
layout.prop(self, "LatentActivationTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Undefined Latent" | |
class SeqAct_LevelStreaming(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_LevelStreaming''' | |
bl_idname = 'SeqAct_LevelStreaming' | |
bl_label = "Stream Level" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_LevelStreaming'Engine.Default__SeqAct_LevelStreaming'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Level", "LevelName", "bStatusIsOk"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Level: bpy.props.StringProperty(name="Level") | |
LevelName: bpy.props.StringProperty(name="LevelName") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Level") | |
layout.prop(self, "LevelName") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Stream Level" | |
class SeqAct_LevelStreamingBase(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_LevelStreamingBase''' | |
bl_idname = 'SeqAct_LevelStreamingBase' | |
bl_label = "SeqAct_LevelStreamingBase" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_LevelStreamingBase'Engine.Default__SeqAct_LevelStreamingBase'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bMakeVisibleAfterLoad", "bShouldBlockOnLoad"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bMakeVisibleAfterLoad: bpy.props.BoolProperty(name="bMakeVisibleAfterLoad",default=True) | |
bShouldBlockOnLoad: bpy.props.BoolProperty(name="bShouldBlockOnLoad") | |
def init(self, context): | |
LoadSocket = self.inputs.new('NodeSocketString', "Load") | |
LoadSocket.display_shape = 'CIRCLE' | |
LoadSocket.link_limit = 250 | |
UnloadSocket = self.inputs.new('NodeSocketString', "Unload") | |
UnloadSocket.display_shape = 'CIRCLE' | |
UnloadSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bMakeVisibleAfterLoad") | |
layout.prop(self, "bShouldBlockOnLoad") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "SeqAct_LevelStreamingBase" | |
class SeqAct_LevelVisibility(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_LevelVisibility''' | |
bl_idname = 'SeqAct_LevelVisibility' | |
bl_label = "Change Level Visibility" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_LevelVisibility'Engine.Default__SeqAct_LevelVisibility'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Level", "LevelName", "bStatusIsOk"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Level: bpy.props.StringProperty(name="Level") | |
LevelName: bpy.props.StringProperty(name="LevelName") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
MakeVisibleSocket = self.inputs.new('NodeSocketString', "Make Visible") | |
MakeVisibleSocket.display_shape = 'CIRCLE' | |
MakeVisibleSocket.link_limit = 250 | |
HideSocket = self.inputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE' | |
HideSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Level") | |
layout.prop(self, "LevelName") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Change Level Visibility" | |
class SeqAct_Log(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Log''' | |
bl_idname = 'SeqAct_Log' | |
bl_label = "Log" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Log'Engine.Default__SeqAct_Log'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bOutputToScreen", "bIncludeObjComment", "TargetDuration", "TargetOffset", "LogMessage"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bOutputToScreen: bpy.props.BoolProperty(name="bOutputToScreen",default=True) | |
bIncludeObjComment: bpy.props.BoolProperty(name="bIncludeObjComment",default=True) | |
TargetDuration: bpy.props.FloatProperty(name="TargetDuration",default=-1.0) | |
TargetOffset: bpy.props.StringProperty(name="TargetOffset") | |
LogMessage: bpy.props.StringProperty(name="LogMessage") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
StringSocket = self.inputs.new('NodeSocketString', "String") | |
StringSocket.display_shape = 'SQUARE' | |
StringSocket.link_limit = 250 | |
FloatSocket = self.inputs.new('NodeSocketFloat', "Float") | |
FloatSocket.display_shape = 'SQUARE' | |
FloatSocket.link_limit = 250 | |
BoolSocket = self.inputs.new('NodeSocketBool', "Bool") | |
BoolSocket.display_shape = 'SQUARE' | |
BoolSocket.link_limit = 250 | |
ObjectSocket = self.inputs.new('NodeSocketString', "Object") | |
ObjectSocket.display_shape = 'SQUARE' | |
ObjectSocket.link_limit = 250 | |
IntSocket = self.inputs.new('NodeSocketInt', "Int") | |
IntSocket.display_shape = 'SQUARE' | |
IntSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
ObjListSocket = self.inputs.new('NodeSocketString', "Obj List") | |
ObjListSocket.display_shape = 'SQUARE' | |
ObjListSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bOutputToScreen") | |
layout.prop(self, "bIncludeObjComment") | |
layout.prop(self, "TargetDuration") | |
layout.prop(self, "TargetOffset") | |
layout.prop(self, "LogMessage") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Log" | |
class SeqAct_MITV_Activate(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_MITV_Activate''' | |
bl_idname = 'SeqAct_MITV_Activate' | |
bl_label = "MITV Activate" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MITV_Activate'Engine.Default__SeqAct_MITV_Activate'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["DurationOfMITV"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
DurationOfMITV: bpy.props.FloatProperty(name="DurationOfMITV") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
MITVSocket = self.inputs.new('NodeSocketString', "MITV") | |
MITVSocket.display_shape = 'SQUARE' | |
MITVSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "DurationOfMITV") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "MITV Activate" | |
class SeqAct_ModifyCover(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ModifyCover''' | |
bl_idname = 'SeqAct_ModifyCover' | |
bl_label = "Modify Cover" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ModifyCover'Engine.Default__SeqAct_ModifyCover'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Slots", "ManualCoverType", "bManualAdjustPlayersOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Slots: bpy.props.StringProperty(name="Slots") | |
ManualCoverType: bpy.props.StringProperty(name="ManualCoverType") | |
bManualAdjustPlayersOnly: bpy.props.BoolProperty(name="bManualAdjustPlayersOnly") | |
def init(self, context): | |
EnableSlotsSocket = self.inputs.new('NodeSocketString', "Enable Slots") | |
EnableSlotsSocket.display_shape = 'CIRCLE' | |
EnableSlotsSocket.link_limit = 250 | |
DisableSlotsSocket = self.inputs.new('NodeSocketString', "Disable Slots") | |
DisableSlotsSocket.display_shape = 'CIRCLE' | |
DisableSlotsSocket.link_limit = 250 | |
AutoAdjustSocket = self.inputs.new('NodeSocketString', "Auto Adjust") | |
AutoAdjustSocket.display_shape = 'CIRCLE' | |
AutoAdjustSocket.link_limit = 250 | |
ManualAdjustSocket = self.inputs.new('NodeSocketString', "Manual Adjust") | |
ManualAdjustSocket.display_shape = 'CIRCLE' | |
ManualAdjustSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Slots") | |
layout.prop(self, "ManualCoverType") | |
layout.prop(self, "bManualAdjustPlayersOnly") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Modify Cover" | |
class SeqAct_ModifyObjectList(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ModifyObjectList''' | |
bl_idname = 'SeqAct_ModifyObjectList' | |
bl_label = "Modify ObjectList" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ModifyObjectList'Engine.Default__SeqAct_ModifyObjectList'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ListEntriesCount"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ListEntriesCount: bpy.props.IntProperty(name="ListEntriesCount") | |
def init(self, context): | |
AddToListSocket = self.inputs.new('NodeSocketString', "Add To List") | |
AddToListSocket.display_shape = 'CIRCLE' | |
AddToListSocket.link_limit = 250 | |
RemoveFromListSocket = self.inputs.new('NodeSocketString', "Remove From List") | |
RemoveFromListSocket.display_shape = 'CIRCLE' | |
RemoveFromListSocket.link_limit = 250 | |
EmptyListSocket = self.inputs.new('NodeSocketString', "Empty List") | |
EmptyListSocket.display_shape = 'CIRCLE' | |
EmptyListSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ObjectRefSocket = self.inputs.new('NodeSocketString', "ObjectRef") | |
ObjectRefSocket.display_shape = 'SQUARE' | |
ObjectRefSocket.link_limit = 250 | |
ObjectListVarSocket = self.inputs.new('NodeSocketString', "ObjectListVar") | |
ObjectListVarSocket.display_shape = 'SQUARE' | |
ObjectListVarSocket.link_limit = 250 | |
ListEntriesCountSocket = self.inputs.new('NodeSocketInt', "ListEntriesCount") | |
ListEntriesCountSocket.display_shape = 'SQUARE' | |
ListEntriesCountSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ListEntriesCount") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Modify ObjectList" | |
class SeqAct_MultiLevelStreaming(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_MultiLevelStreaming''' | |
bl_idname = 'SeqAct_MultiLevelStreaming' | |
bl_label = "Stream Levels" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MultiLevelStreaming'Engine.Default__SeqAct_MultiLevelStreaming'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Levels", "bUnloadAllOtherLevels", "bStatusIsOk"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Levels: bpy.props.StringProperty(name="Levels") | |
bUnloadAllOtherLevels: bpy.props.BoolProperty(name="bUnloadAllOtherLevels") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Levels") | |
layout.prop(self, "bUnloadAllOtherLevels") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Stream Levels" | |
class SeqAct_MultiplyFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_MultiplyFloat''' | |
bl_idname = 'SeqAct_MultiplyFloat' | |
bl_label = "Multiply Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MultiplyFloat'Engine.Default__SeqAct_MultiplyFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Multiply Float" | |
class SeqAct_MultiplyInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_MultiplyInt''' | |
bl_idname = 'SeqAct_MultiplyInt' | |
bl_label = "Multiply Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MultiplyInt'Engine.Default__SeqAct_MultiplyInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Multiply Int" | |
class SeqAct_ParticleEventGenerator(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ParticleEventGenerator''' | |
bl_idname = 'SeqAct_ParticleEventGenerator' | |
bl_label = "ParticleEvent Generator" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ParticleEventGenerator'Engine.Default__SeqAct_ParticleEventGenerator'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bEnabled", "bUseEmitterLocation", "Instigator", "EventNames", "EventTime", "EventLocation", "EventDirection", "EventVelocity", "EventNormal"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bEnabled: bpy.props.BoolProperty(name="bEnabled",default=True) | |
bUseEmitterLocation: bpy.props.BoolProperty(name="bUseEmitterLocation") | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
EventNames: bpy.props.StringProperty(name="EventNames") | |
EventTime: bpy.props.FloatProperty(name="EventTime") | |
EventLocation: bpy.props.StringProperty(name="EventLocation") | |
EventDirection: bpy.props.StringProperty(name="EventDirection") | |
EventVelocity: bpy.props.StringProperty(name="EventVelocity") | |
EventNormal: bpy.props.StringProperty(name="EventNormal") | |
def init(self, context): | |
TriggerEventSocket = self.inputs.new('NodeSocketString', "Trigger Event") | |
TriggerEventSocket.display_shape = 'CIRCLE' | |
TriggerEventSocket.link_limit = 250 | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
EventNamesSocket = self.inputs.new('NodeSocketString', "EventNames") | |
EventNamesSocket.display_shape = 'SQUARE' | |
EventNamesSocket.link_limit = 250 | |
EventTimeSocket = self.inputs.new('NodeSocketFloat', "EventTime") | |
EventTimeSocket.display_shape = 'SQUARE' | |
EventTimeSocket.link_limit = 250 | |
LocationSocket = self.inputs.new('NodeSocketVector', "Location") | |
LocationSocket.display_shape = 'SQUARE' | |
LocationSocket.link_limit = 250 | |
DirectionSocket = self.inputs.new('NodeSocketVector', "Direction") | |
DirectionSocket.display_shape = 'SQUARE' | |
DirectionSocket.link_limit = 250 | |
VelocitySocket = self.inputs.new('NodeSocketVector', "Velocity") | |
VelocitySocket.display_shape = 'SQUARE' | |
VelocitySocket.link_limit = 250 | |
NormalSocket = self.inputs.new('NodeSocketVector', "Normal") | |
NormalSocket.display_shape = 'SQUARE' | |
NormalSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bEnabled") | |
layout.prop(self, "bUseEmitterLocation") | |
layout.prop(self, "Instigator") | |
layout.prop(self, "EventNames") | |
layout.prop(self, "EventTime") | |
layout.prop(self, "EventLocation") | |
layout.prop(self, "EventDirection") | |
layout.prop(self, "EventVelocity") | |
layout.prop(self, "EventNormal") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "ParticleEvent Generator" | |
class SeqAct_PlayCameraAnim(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_PlayCameraAnim''' | |
bl_idname = 'SeqAct_PlayCameraAnim' | |
bl_label = "Play CameraAnim" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_PlayCameraAnim'Engine.Default__SeqAct_PlayCameraAnim'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CameraAnim", "bLoop", "bRandomStartTime", "BlendInTime", "BlendOutTime", "Rate", "IntensityScale", "PlaySpace", "UserDefinedSpaceActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CameraAnim: bpy.props.StringProperty(name="CameraAnim") | |
bLoop: bpy.props.BoolProperty(name="bLoop") | |
bRandomStartTime: bpy.props.BoolProperty(name="bRandomStartTime") | |
BlendInTime: bpy.props.FloatProperty(name="BlendInTime",default=0.20) | |
BlendOutTime: bpy.props.FloatProperty(name="BlendOutTime",default=0.20) | |
Rate: bpy.props.FloatProperty(name="Rate",default=1.0) | |
IntensityScale: bpy.props.FloatProperty(name="IntensityScale",default=1.0) | |
PlaySpace: bpy.props.StringProperty(name="PlaySpace") | |
UserDefinedSpaceActor: bpy.props.StringProperty(name="UserDefinedSpaceActor") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CameraAnim") | |
layout.prop(self, "bLoop") | |
layout.prop(self, "bRandomStartTime") | |
layout.prop(self, "BlendInTime") | |
layout.prop(self, "BlendOutTime") | |
layout.prop(self, "Rate") | |
layout.prop(self, "IntensityScale") | |
layout.prop(self, "PlaySpace") | |
layout.prop(self, "UserDefinedSpaceActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Play CameraAnim" | |
class SeqAct_PlayFaceFXAnim(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_PlayFaceFXAnim''' | |
bl_idname = 'SeqAct_PlayFaceFXAnim' | |
bl_label = "Play FaceFX Anim" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_PlayFaceFXAnim'Engine.Default__SeqAct_PlayFaceFXAnim'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FaceFXAnimSetRef", "FaceFXGroupName", "FaceFXAnimName", "SoundCueToPlay", "AkEventToPlay"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FaceFXAnimSetRef: bpy.props.StringProperty(name="FaceFXAnimSetRef") | |
FaceFXGroupName: bpy.props.StringProperty(name="FaceFXGroupName") | |
FaceFXAnimName: bpy.props.StringProperty(name="FaceFXAnimName") | |
SoundCueToPlay: bpy.props.StringProperty(name="SoundCueToPlay") | |
AkEventToPlay: bpy.props.StringProperty(name="AkEventToPlay") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FaceFXAnimSetRef") | |
layout.prop(self, "FaceFXGroupName") | |
layout.prop(self, "FaceFXAnimName") | |
layout.prop(self, "SoundCueToPlay") | |
layout.prop(self, "AkEventToPlay") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Play FaceFX Anim" | |
class SeqAct_PlayMusicTrack(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_PlayMusicTrack''' | |
bl_idname = 'SeqAct_PlayMusicTrack' | |
bl_label = "Play Music Track" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_PlayMusicTrack'Engine.Default__SeqAct_PlayMusicTrack'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MusicTrack"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MusicTrack: bpy.props.StringProperty(name="MusicTrack",default="(TheSoundCue=none,bAutoPlay=false,bPersistentAcrossLevels=false,FadeInTime=5.0,FadeInVolumeLevel=1.0,FadeOutTime=5.0,FadeOutVolumeLevel=0.0,MP3Filename="")") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MusicTrack") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Play Music Track" | |
class SeqAct_PlaySound(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_PlaySound''' | |
bl_idname = 'SeqAct_PlaySound' | |
bl_label = "Play Sound" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_PlaySound'Engine.Default__SeqAct_PlaySound'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PlaySound", "ExtraDelay", "bDelayReached", "bSuppressSubtitles", "bStopped", "SoundDuration", "FadeInTime", "FadeOutTime", "VolumeMultiplier", "PitchMultiplier", "BeforeEndTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PlaySound: bpy.props.StringProperty(name="PlaySound") | |
ExtraDelay: bpy.props.FloatProperty(name="ExtraDelay") | |
bDelayReached: bpy.props.BoolProperty(name="bDelayReached") | |
bSuppressSubtitles: bpy.props.BoolProperty(name="bSuppressSubtitles") | |
bStopped: bpy.props.BoolProperty(name="bStopped") | |
SoundDuration: bpy.props.FloatProperty(name="SoundDuration") | |
FadeInTime: bpy.props.FloatProperty(name="FadeInTime") | |
FadeOutTime: bpy.props.FloatProperty(name="FadeOutTime") | |
VolumeMultiplier: bpy.props.FloatProperty(name="VolumeMultiplier",default=1.0) | |
PitchMultiplier: bpy.props.FloatProperty(name="PitchMultiplier",default=1.0) | |
BeforeEndTime: bpy.props.FloatProperty(name="BeforeEndTime") | |
def init(self, context): | |
PlaySocket = self.inputs.new('NodeSocketString', "Play") | |
PlaySocket.display_shape = 'CIRCLE' | |
PlaySocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
StoppedSocket = self.outputs.new('NodeSocketString', "Stopped") | |
StoppedSocket.display_shape = 'CIRCLE_DOT' | |
StoppedSocket.link_limit = 250 | |
BeforeEndSocket = self.outputs.new('NodeSocketString', "BeforeEnd") | |
BeforeEndSocket.display_shape = 'CIRCLE_DOT' | |
BeforeEndSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlaySound") | |
layout.prop(self, "ExtraDelay") | |
layout.prop(self, "bDelayReached") | |
layout.prop(self, "bSuppressSubtitles") | |
layout.prop(self, "bStopped") | |
layout.prop(self, "SoundDuration") | |
layout.prop(self, "FadeInTime") | |
layout.prop(self, "FadeOutTime") | |
layout.prop(self, "VolumeMultiplier") | |
layout.prop(self, "PitchMultiplier") | |
layout.prop(self, "BeforeEndTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Play Sound" | |
class SeqAct_Possess(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Possess''' | |
bl_idname = 'SeqAct_Possess' | |
bl_label = "Possess Pawn" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Possess'Engine.Default__SeqAct_Possess'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PawnToPossess", "bKillOldPawn"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PawnToPossess: bpy.props.StringProperty(name="PawnToPossess") | |
bKillOldPawn: bpy.props.BoolProperty(name="bKillOldPawn") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
PawnTargetSocket = self.inputs.new('NodeSocketString', "Pawn Target") | |
PawnTargetSocket.display_shape = 'SQUARE' | |
PawnTargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PawnToPossess") | |
layout.prop(self, "bKillOldPawn") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Possess Pawn" | |
class SeqAct_PrepareMapChange(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_PrepareMapChange''' | |
bl_idname = 'SeqAct_PrepareMapChange' | |
bl_label = "Prepare Map Change" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_PrepareMapChange'Engine.Default__SeqAct_PrepareMapChange'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MainLevelName", "InitiallyLoadedSecondaryLevelNames", "bIsHighPriority", "bStatusIsOk"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MainLevelName: bpy.props.StringProperty(name="MainLevelName") | |
InitiallyLoadedSecondaryLevelNames: bpy.props.StringProperty(name="InitiallyLoadedSecondaryLevelNames") | |
bIsHighPriority: bpy.props.BoolProperty(name="bIsHighPriority") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
PrepareLoadSocket = self.inputs.new('NodeSocketString', "PrepareLoad") | |
PrepareLoadSocket.display_shape = 'CIRCLE' | |
PrepareLoadSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MainLevelName") | |
layout.prop(self, "InitiallyLoadedSecondaryLevelNames") | |
layout.prop(self, "bIsHighPriority") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Prepare Map Change" | |
class SeqAct_RandomSwitch(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_RandomSwitch''' | |
bl_idname = 'SeqAct_RandomSwitch' | |
bl_label = "Random" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_RandomSwitch'Engine.Default__SeqAct_RandomSwitch'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["AutoDisabledIndices"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
AutoDisabledIndices: bpy.props.StringProperty(name="AutoDisabledIndices") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
ResetSocket = self.inputs.new('NodeSocketString', "Reset") | |
ResetSocket.display_shape = 'CIRCLE' | |
ResetSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ActiveLinkSocket = self.inputs.new('NodeSocketInt', "Active Link") | |
ActiveLinkSocket.display_shape = 'SQUARE' | |
ActiveLinkSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "AutoDisabledIndices") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Random" | |
class SeqAct_RangeSwitch(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_RangeSwitch''' | |
bl_idname = 'SeqAct_RangeSwitch' | |
bl_label = "Ranged" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_RangeSwitch'Engine.Default__SeqAct_RangeSwitch'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Ranges"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Ranges: bpy.props.StringProperty(name="Ranges") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
IndexSocket = self.inputs.new('NodeSocketInt', "Index") | |
IndexSocket.display_shape = 'SQUARE' | |
IndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Ranges") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Ranged" | |
class SeqAct_SetActiveAnimChild(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetActiveAnimChild''' | |
bl_idname = 'SeqAct_SetActiveAnimChild' | |
bl_label = "Set Active Anim Child" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetActiveAnimChild'Engine.Default__SeqAct_SetActiveAnimChild'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["NodeName", "ChildIndex", "BlendTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
NodeName: bpy.props.StringProperty(name="NodeName") | |
ChildIndex: bpy.props.IntProperty(name="ChildIndex") | |
BlendTime: bpy.props.FloatProperty(name="BlendTime",default=0.250) | |
def init(self, context): | |
ActivateSocket = self.inputs.new('NodeSocketString', "Activate") | |
ActivateSocket.display_shape = 'CIRCLE' | |
ActivateSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "NodeName") | |
layout.prop(self, "ChildIndex") | |
layout.prop(self, "BlendTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Active Anim Child" | |
class SeqAct_SetApexClothingParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetApexClothingParam''' | |
bl_idname = 'SeqAct_SetApexClothingParam' | |
bl_label = "Set Apex Clothing Parameter" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetApexClothingParam'Engine.Default__SeqAct_SetApexClothingParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bEnableApexClothingSimulation"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bEnableApexClothingSimulation: bpy.props.BoolProperty(name="bEnableApexClothingSimulation") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bEnableApexClothingSimulation") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Apex Clothing Parameter" | |
class SeqAct_SetBlockRigidBody(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetBlockRigidBody''' | |
bl_idname = 'SeqAct_SetBlockRigidBody' | |
bl_label = "Set BlockRigidBody" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBlockRigidBody'Engine.Default__SeqAct_SetBlockRigidBody'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
TurnOnSocket = self.inputs.new('NodeSocketString', "Turn On") | |
TurnOnSocket.display_shape = 'CIRCLE' | |
TurnOnSocket.link_limit = 250 | |
TurnOffSocket = self.inputs.new('NodeSocketString', "Turn Off") | |
TurnOffSocket.display_shape = 'CIRCLE' | |
TurnOffSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set BlockRigidBody" | |
class SeqAct_SetBool(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetBool''' | |
bl_idname = 'SeqAct_SetBool' | |
bl_label = "Bool" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBool'Engine.Default__SeqAct_SetBool'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["DefaultValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
DefaultValue: bpy.props.BoolProperty(name="DefaultValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketBool', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketBool', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "DefaultValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Bool" | |
class SeqAct_SetCameraTarget(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetCameraTarget''' | |
bl_idname = 'SeqAct_SetCameraTarget' | |
bl_label = "Set Camera Target" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetCameraTarget'Engine.Default__SeqAct_SetCameraTarget'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CameraTarget", "TransitionParams"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CameraTarget: bpy.props.StringProperty(name="CameraTarget") | |
TransitionParams: bpy.props.StringProperty(name="TransitionParams",default="(BlendTime=0.0,BlendFunction=EViewTargetBlendFunction.VTBlend_Cubic,BlendExp=2.0,bLockOutgoing=false)") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
CamTargetSocket = self.inputs.new('NodeSocketString', "Cam Target") | |
CamTargetSocket.display_shape = 'SQUARE' | |
CamTargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CameraTarget") | |
layout.prop(self, "TransitionParams") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Camera Target" | |
class SeqAct_SetDOFParams(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetDOFParams''' | |
bl_idname = 'SeqAct_SetDOFParams' | |
bl_label = "Depth Of Field" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetDOFParams'Engine.Default__SeqAct_SetDOFParams'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FalloffExponent", "BlurKernelSize", "MaxNearBlurAmount", "MinBlurAmount", "MaxFarBlurAmount", "FocusInnerRadius", "FocusDistance", "FocusPosition", "InterpolateSeconds", "InterpolateElapsed", "OldFalloffExponent", "OldBlurKernelSize", "OldMaxNearBlurAmount", "OldMinBlurAmount", "OldMaxFarBlurAmount", "OldFocusInnerRadius", "OldFocusDistance", "OldFocusPosition"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FalloffExponent: bpy.props.FloatProperty(name="FalloffExponent",default=4.0) | |
BlurKernelSize: bpy.props.FloatProperty(name="BlurKernelSize",default=5.0) | |
MaxNearBlurAmount: bpy.props.FloatProperty(name="MaxNearBlurAmount",default=1.0) | |
MinBlurAmount: bpy.props.FloatProperty(name="MinBlurAmount") | |
MaxFarBlurAmount: bpy.props.FloatProperty(name="MaxFarBlurAmount",default=1.0) | |
FocusInnerRadius: bpy.props.FloatProperty(name="FocusInnerRadius",default=600.0) | |
FocusDistance: bpy.props.FloatProperty(name="FocusDistance",default=600.0) | |
FocusPosition: bpy.props.StringProperty(name="FocusPosition") | |
InterpolateSeconds: bpy.props.FloatProperty(name="InterpolateSeconds",default=2.0) | |
InterpolateElapsed: bpy.props.FloatProperty(name="InterpolateElapsed") | |
OldFalloffExponent: bpy.props.FloatProperty(name="OldFalloffExponent") | |
OldBlurKernelSize: bpy.props.FloatProperty(name="OldBlurKernelSize") | |
OldMaxNearBlurAmount: bpy.props.FloatProperty(name="OldMaxNearBlurAmount") | |
OldMinBlurAmount: bpy.props.FloatProperty(name="OldMinBlurAmount") | |
OldMaxFarBlurAmount: bpy.props.FloatProperty(name="OldMaxFarBlurAmount") | |
OldFocusInnerRadius: bpy.props.FloatProperty(name="OldFocusInnerRadius") | |
OldFocusDistance: bpy.props.FloatProperty(name="OldFocusDistance") | |
OldFocusPosition: bpy.props.StringProperty(name="OldFocusPosition") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FalloffExponent") | |
layout.prop(self, "BlurKernelSize") | |
layout.prop(self, "MaxNearBlurAmount") | |
layout.prop(self, "MinBlurAmount") | |
layout.prop(self, "MaxFarBlurAmount") | |
layout.prop(self, "FocusInnerRadius") | |
layout.prop(self, "FocusDistance") | |
layout.prop(self, "FocusPosition") | |
layout.prop(self, "InterpolateSeconds") | |
layout.prop(self, "InterpolateElapsed") | |
layout.prop(self, "OldFalloffExponent") | |
layout.prop(self, "OldBlurKernelSize") | |
layout.prop(self, "OldMaxNearBlurAmount") | |
layout.prop(self, "OldMinBlurAmount") | |
layout.prop(self, "OldMaxFarBlurAmount") | |
layout.prop(self, "OldFocusInnerRadius") | |
layout.prop(self, "OldFocusDistance") | |
layout.prop(self, "OldFocusPosition") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Depth Of Field" | |
class SeqAct_SetFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetFloat''' | |
bl_idname = 'SeqAct_SetFloat' | |
bl_label = "Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetFloat'Engine.Default__SeqAct_SetFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Target", "Value"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Target: bpy.props.FloatProperty(name="Target") | |
Value: bpy.props.StringProperty(name="Value") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketFloat', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketFloat', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Target") | |
layout.prop(self, "Value") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Float" | |
class SeqAct_SetInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetInt''' | |
bl_idname = 'SeqAct_SetInt' | |
bl_label = "Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 2 | |
ObjectArchetype = "SeqAct_SetInt'Engine.Default__SeqAct_SetInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Target", "Value"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Target: bpy.props.IntProperty(name="Target") | |
Value: bpy.props.StringProperty(name="Value") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketInt', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketInt', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Target") | |
layout.prop(self, "Value") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Int" | |
class SeqAct_SetLocation(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetLocation''' | |
bl_idname = 'SeqAct_SetLocation' | |
bl_label = "Set Actor Location" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetLocation'Engine.Default__SeqAct_SetLocation'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bSetLocation", "bSetRotation", "LocationValue", "RotationValue", "Target"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bSetLocation: bpy.props.BoolProperty(name="bSetLocation",default=True) | |
bSetRotation: bpy.props.BoolProperty(name="bSetRotation",default=True) | |
LocationValue: bpy.props.StringProperty(name="LocationValue") | |
RotationValue: bpy.props.StringProperty(name="RotationValue") | |
Target: bpy.props.StringProperty(name="Target") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
LocationSocket = self.inputs.new('NodeSocketVector', "Location") | |
LocationSocket.display_shape = 'SQUARE' | |
LocationSocket.link_limit = 250 | |
RotationSocket = self.inputs.new('NodeSocketVector', "Rotation") | |
RotationSocket.display_shape = 'SQUARE' | |
RotationSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bSetLocation") | |
layout.prop(self, "bSetRotation") | |
layout.prop(self, "LocationValue") | |
layout.prop(self, "RotationValue") | |
layout.prop(self, "Target") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Actor Location" | |
class SeqAct_SetMaterial(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMaterial''' | |
bl_idname = 'SeqAct_SetMaterial' | |
bl_label = "Set Material" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMaterial'Engine.Default__SeqAct_SetMaterial'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["NewMaterial", "MaterialIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
NewMaterial: bpy.props.StringProperty(name="NewMaterial") | |
MaterialIndex: bpy.props.IntProperty(name="MaterialIndex") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "NewMaterial") | |
layout.prop(self, "MaterialIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Material" | |
class SeqAct_SetMatInstScalarParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMatInstScalarParam''' | |
bl_idname = 'SeqAct_SetMatInstScalarParam' | |
bl_label = "Set ScalarParam" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMatInstScalarParam'Engine.Default__SeqAct_SetMatInstScalarParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MatInst", "ParamName", "ScalarValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MatInst: bpy.props.StringProperty(name="MatInst") | |
ParamName: bpy.props.StringProperty(name="ParamName") | |
ScalarValue: bpy.props.FloatProperty(name="ScalarValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ScalarValueSocket = self.inputs.new('NodeSocketFloat', "ScalarValue") | |
ScalarValueSocket.display_shape = 'SQUARE' | |
ScalarValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MatInst") | |
layout.prop(self, "ParamName") | |
layout.prop(self, "ScalarValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set ScalarParam" | |
class SeqAct_SetMatInstTexParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMatInstTexParam''' | |
bl_idname = 'SeqAct_SetMatInstTexParam' | |
bl_label = "Set TextureParam" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMatInstTexParam'Engine.Default__SeqAct_SetMatInstTexParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MatInst", "NewTexture", "ParamName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MatInst: bpy.props.StringProperty(name="MatInst") | |
NewTexture: bpy.props.StringProperty(name="NewTexture") | |
ParamName: bpy.props.StringProperty(name="ParamName") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MatInst") | |
layout.prop(self, "NewTexture") | |
layout.prop(self, "ParamName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set TextureParam" | |
class SeqAct_SetMatInstVectorParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMatInstVectorParam''' | |
bl_idname = 'SeqAct_SetMatInstVectorParam' | |
bl_label = "Set VectorParam" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMatInstVectorParam'Engine.Default__SeqAct_SetMatInstVectorParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MatInst", "ParamName", "VectorValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MatInst: bpy.props.StringProperty(name="MatInst") | |
ParamName: bpy.props.StringProperty(name="ParamName") | |
VectorValue: bpy.props.StringProperty(name="VectorValue",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
VectorValueSocket = self.inputs.new('NodeSocketVector', "VectorValue") | |
VectorValueSocket.display_shape = 'SQUARE' | |
VectorValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MatInst") | |
layout.prop(self, "ParamName") | |
layout.prop(self, "VectorValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set VectorParam" | |
class SeqAct_SetMesh(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMesh''' | |
bl_idname = 'SeqAct_SetMesh' | |
bl_label = "Set Mesh" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMesh'Engine.Default__SeqAct_SetMesh'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["NewSkeletalMesh", "NewStaticMesh", "MeshType", "bIsAllowedToMove", "bAllowDecalsToReattach"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
NewSkeletalMesh: bpy.props.StringProperty(name="NewSkeletalMesh") | |
NewStaticMesh: bpy.props.StringProperty(name="NewStaticMesh") | |
MeshType: bpy.props.StringProperty(name="MeshType") | |
bIsAllowedToMove: bpy.props.BoolProperty(name="bIsAllowedToMove") | |
bAllowDecalsToReattach: bpy.props.BoolProperty(name="bAllowDecalsToReattach") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "NewSkeletalMesh") | |
layout.prop(self, "NewStaticMesh") | |
layout.prop(self, "MeshType") | |
layout.prop(self, "bIsAllowedToMove") | |
layout.prop(self, "bAllowDecalsToReattach") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Mesh" | |
class SeqAct_SetMotionBlurParams(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetMotionBlurParams''' | |
bl_idname = 'SeqAct_SetMotionBlurParams' | |
bl_label = "Motion Blur" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMotionBlurParams'Engine.Default__SeqAct_SetMotionBlurParams'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MotionBlurAmount", "InterpolateSeconds", "InterpolateElapsed", "OldMotionBlurAmount"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MotionBlurAmount: bpy.props.FloatProperty(name="MotionBlurAmount",default=0.10) | |
InterpolateSeconds: bpy.props.FloatProperty(name="InterpolateSeconds",default=2.0) | |
InterpolateElapsed: bpy.props.FloatProperty(name="InterpolateElapsed") | |
OldMotionBlurAmount: bpy.props.FloatProperty(name="OldMotionBlurAmount") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MotionBlurAmount") | |
layout.prop(self, "InterpolateSeconds") | |
layout.prop(self, "InterpolateElapsed") | |
layout.prop(self, "OldMotionBlurAmount") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Motion Blur" | |
class SeqAct_SetObject(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetObject''' | |
bl_idname = 'SeqAct_SetObject' | |
bl_label = "Object" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetObject'Engine.Default__SeqAct_SetObject'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["DefaultValue", "Value"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
DefaultValue: bpy.props.StringProperty(name="DefaultValue") | |
Value: bpy.props.StringProperty(name="Value") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketString', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "DefaultValue") | |
layout.prop(self, "Value") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Object" | |
class SeqAct_SetParticleSysParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetParticleSysParam''' | |
bl_idname = 'SeqAct_SetParticleSysParam' | |
bl_label = "Set Particle Param" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetParticleSysParam'Engine.Default__SeqAct_SetParticleSysParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["InstanceParameters", "bOverrideScalar", "bOverrideVector", "ScalarValue", "VectorValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
InstanceParameters: bpy.props.StringProperty(name="InstanceParameters") | |
bOverrideScalar: bpy.props.BoolProperty(name="bOverrideScalar",default=True) | |
bOverrideVector: bpy.props.BoolProperty(name="bOverrideVector") | |
ScalarValue: bpy.props.FloatProperty(name="ScalarValue") | |
VectorValue: bpy.props.StringProperty(name="VectorValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
ScalarValueSocket = self.inputs.new('NodeSocketFloat', "Scalar Value") | |
ScalarValueSocket.display_shape = 'SQUARE' | |
ScalarValueSocket.link_limit = 250 | |
VectorValueSocket = self.inputs.new('NodeSocketVector', "Vector Value") | |
VectorValueSocket.display_shape = 'SQUARE' | |
VectorValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "InstanceParameters") | |
layout.prop(self, "bOverrideScalar") | |
layout.prop(self, "bOverrideVector") | |
layout.prop(self, "ScalarValue") | |
layout.prop(self, "VectorValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Particle Param" | |
class SeqAct_SetPhysics(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetPhysics''' | |
bl_idname = 'SeqAct_SetPhysics' | |
bl_label = "Set Physics" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetPhysics'Engine.Default__SeqAct_SetPhysics'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["newPhysics"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
newPhysics: bpy.props.StringProperty(name="newPhysics") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "newPhysics") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Physics" | |
class SeqAct_SetRigidBodyIgnoreVehicles(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetRigidBodyIgnoreVehicles''' | |
bl_idname = 'SeqAct_SetRigidBodyIgnoreVehicles' | |
bl_label = "Set RigidBodyIgnoreVehicles" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetRigidBodyIgnoreVehicles'Engine.Default__SeqAct_SetRigidBodyIgnoreVehicles'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
TurnOnSocket = self.inputs.new('NodeSocketString', "Turn On") | |
TurnOnSocket.display_shape = 'CIRCLE' | |
TurnOnSocket.link_limit = 250 | |
TurnOffSocket = self.inputs.new('NodeSocketString', "Turn Off") | |
TurnOffSocket.display_shape = 'CIRCLE' | |
TurnOffSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set RigidBodyIgnoreVehicles" | |
class SeqAct_SetSequenceVariable(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetSequenceVariable''' | |
bl_idname = 'SeqAct_SetSequenceVariable' | |
bl_label = "Set Variable" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetSequenceVariable'Engine.Default__SeqAct_SetSequenceVariable'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Variable" | |
class SeqAct_SetSkelControlTarget(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetSkelControlTarget''' | |
bl_idname = 'SeqAct_SetSkelControlTarget' | |
bl_label = "Set SkelControl Target" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetSkelControlTarget'Engine.Default__SeqAct_SetSkelControlTarget'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SkelControlName", "TargetActors"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SkelControlName: bpy.props.StringProperty(name="SkelControlName") | |
TargetActors: bpy.props.StringProperty(name="TargetActors") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
SkelMeshSocket = self.inputs.new('NodeSocketString', "SkelMesh") | |
SkelMeshSocket.display_shape = 'SQUARE' | |
SkelMeshSocket.link_limit = 250 | |
TargetActorSocket = self.inputs.new('NodeSocketString', "TargetActor") | |
TargetActorSocket.display_shape = 'SQUARE' | |
TargetActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SkelControlName") | |
layout.prop(self, "TargetActors") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set SkelControl Target" | |
class SeqAct_SetSoundMode(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetSoundMode''' | |
bl_idname = 'SeqAct_SetSoundMode' | |
bl_label = "Set Sound Mode" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetSoundMode'Engine.Default__SeqAct_SetSoundMode'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SoundMode", "bTopPriority"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SoundMode: bpy.props.StringProperty(name="SoundMode") | |
bTopPriority: bpy.props.BoolProperty(name="bTopPriority") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SoundMode") | |
layout.prop(self, "bTopPriority") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Sound Mode" | |
class SeqAct_SetString(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetString''' | |
bl_idname = 'SeqAct_SetString' | |
bl_label = "String" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetString'Engine.Default__SeqAct_SetString'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Target", "Value"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Target: bpy.props.StringProperty(name="Target") | |
Value: bpy.props.StringProperty(name="Value") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketString', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Target") | |
layout.prop(self, "Value") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "String" | |
class SeqAct_SetVector(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetVector''' | |
bl_idname = 'SeqAct_SetVector' | |
bl_label = "Vector" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetVector'Engine.Default__SeqAct_SetVector'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["DefaultValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
DefaultValue: bpy.props.StringProperty(name="DefaultValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ValueSocket = self.inputs.new('NodeSocketVector', "Value") | |
ValueSocket.display_shape = 'SQUARE' | |
ValueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketVector', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "DefaultValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Vector" | |
class SeqAct_SetVectorComponents(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetVectorComponents''' | |
bl_idname = 'SeqAct_SetVectorComponents' | |
bl_label = "Set Vector Components" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetVectorComponents'Engine.Default__SeqAct_SetVectorComponents'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["OutVector", "X", "Y", "Z"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
OutVector: bpy.props.StringProperty(name="OutVector") | |
X: bpy.props.FloatProperty(name="X") | |
Y: bpy.props.FloatProperty(name="Y") | |
Z: bpy.props.FloatProperty(name="Z") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
OutputVectorSocket = self.inputs.new('NodeSocketVector', "Output Vector") | |
OutputVectorSocket.display_shape = 'SQUARE' | |
OutputVectorSocket.link_limit = 250 | |
XSocket = self.inputs.new('NodeSocketFloat', "X") | |
XSocket.display_shape = 'SQUARE' | |
XSocket.link_limit = 250 | |
YSocket = self.inputs.new('NodeSocketFloat', "Y") | |
YSocket.display_shape = 'SQUARE' | |
YSocket.link_limit = 250 | |
ZSocket = self.inputs.new('NodeSocketFloat', "Z") | |
ZSocket.display_shape = 'SQUARE' | |
ZSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "OutVector") | |
layout.prop(self, "X") | |
layout.prop(self, "Y") | |
layout.prop(self, "Z") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Vector Components" | |
class SeqAct_SetVelocity(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetVelocity''' | |
bl_idname = 'SeqAct_SetVelocity' | |
bl_label = "Set Velocity" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetVelocity'Engine.Default__SeqAct_SetVelocity'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["VelocityDir", "VelocityMag", "bVelocityRelativeToActorRotation"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
VelocityDir: bpy.props.StringProperty(name="VelocityDir") | |
VelocityMag: bpy.props.FloatProperty(name="VelocityMag") | |
bVelocityRelativeToActorRotation: bpy.props.BoolProperty(name="bVelocityRelativeToActorRotation") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
VelocityDirSocket = self.inputs.new('NodeSocketVector', "Velocity Dir") | |
VelocityDirSocket.display_shape = 'SQUARE' | |
VelocityDirSocket.link_limit = 250 | |
VelocityMagSocket = self.inputs.new('NodeSocketFloat', "Velocity Mag") | |
VelocityMagSocket.display_shape = 'SQUARE' | |
VelocityMagSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VelocityDir") | |
layout.prop(self, "VelocityMag") | |
layout.prop(self, "bVelocityRelativeToActorRotation") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Velocity" | |
class SeqAct_SetWorldAttractorParam(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SetWorldAttractorParam''' | |
bl_idname = 'SeqAct_SetWorldAttractorParam' | |
bl_label = "Set World Attractor Param" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetWorldAttractorParam'Engine.Default__SeqAct_SetWorldAttractorParam'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Attractor", "bEnabledField", "bFalloffTypeField", "bFalloffExponentField", "bRangeField", "bStrengthField", "bEnabled", "FalloffType", "FalloffExponent", "Range", "Strength"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Attractor: bpy.props.StringProperty(name="Attractor") | |
bEnabledField: bpy.props.BoolProperty(name="bEnabledField") | |
bFalloffTypeField: bpy.props.BoolProperty(name="bFalloffTypeField") | |
bFalloffExponentField: bpy.props.BoolProperty(name="bFalloffExponentField") | |
bRangeField: bpy.props.BoolProperty(name="bRangeField") | |
bStrengthField: bpy.props.BoolProperty(name="bStrengthField") | |
bEnabled: bpy.props.BoolProperty(name="bEnabled",default=True) | |
FalloffType: bpy.props.StringProperty(name="FalloffType") | |
FalloffExponent: bpy.props.StringProperty(name="FalloffExponent",default="(Distribution=DistributionFloatConstant'Default__SeqAct_SetWorldAttractorParam.DistributionFalloffExponent',Type=0,Op=1,LookupTableNumElements=1,LookupTableChunkSize=1,LookupTable=(0.0,0.0,0.0,0.0),LookupTableTimeScale=0.0,LookupTableStartTime=0.0)") | |
Range: bpy.props.StringProperty(name="Range",default="(Distribution=DistributionFloatConstant'Default__SeqAct_SetWorldAttractorParam.DistributionRange',Type=0,Op=1,LookupTableNumElements=1,LookupTableChunkSize=1,LookupTable=(0.0,0.0,0.0,0.0),LookupTableTimeScale=0.0,LookupTableStartTime=0.0)") | |
Strength: bpy.props.StringProperty(name="Strength",default="(Distribution=DistributionFloatConstant'Default__SeqAct_SetWorldAttractorParam.DistributionStrength',Type=0,Op=1,LookupTableNumElements=1,LookupTableChunkSize=1,LookupTable=(0.0,0.0,0.0,0.0),LookupTableTimeScale=0.0,LookupTableStartTime=0.0)") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Attractor") | |
layout.prop(self, "bEnabledField") | |
layout.prop(self, "bFalloffTypeField") | |
layout.prop(self, "bFalloffExponentField") | |
layout.prop(self, "bRangeField") | |
layout.prop(self, "bStrengthField") | |
layout.prop(self, "bEnabled") | |
layout.prop(self, "FalloffType") | |
layout.prop(self, "FalloffExponent") | |
layout.prop(self, "Range") | |
layout.prop(self, "Strength") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set World Attractor Param" | |
class SeqAct_StreamInTextures(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_StreamInTextures''' | |
bl_idname = 'SeqAct_StreamInTextures' | |
bl_label = "Stream In Textures" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_StreamInTextures'Engine.Default__SeqAct_StreamInTextures'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bLocationBased", "bStreamingActive", "bHasTriggeredAllLoaded", "Seconds", "StreamingDistanceMultiplier", "NumWantingResourcesID", "StopTimestamp", "LocationActors", "ForceMaterials", "CinematicTextureGroups", "SelectedCinematicTextureGroups"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bLocationBased: bpy.props.BoolProperty(name="bLocationBased") | |
bStreamingActive: bpy.props.BoolProperty(name="bStreamingActive") | |
bHasTriggeredAllLoaded: bpy.props.BoolProperty(name="bHasTriggeredAllLoaded") | |
Seconds: bpy.props.FloatProperty(name="Seconds",default=15.0) | |
StreamingDistanceMultiplier: bpy.props.FloatProperty(name="StreamingDistanceMultiplier",default=1.0) | |
NumWantingResourcesID: bpy.props.IntProperty(name="NumWantingResourcesID") | |
StopTimestamp: bpy.props.FloatProperty(name="StopTimestamp") | |
LocationActors: bpy.props.StringProperty(name="LocationActors") | |
ForceMaterials: bpy.props.StringProperty(name="ForceMaterials") | |
CinematicTextureGroups: bpy.props.StringProperty(name="CinematicTextureGroups") | |
SelectedCinematicTextureGroups: bpy.props.IntProperty(name="SelectedCinematicTextureGroups") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
AllLoadedSocket = self.outputs.new('NodeSocketString', "All Loaded") | |
AllLoadedSocket.display_shape = 'CIRCLE_DOT' | |
AllLoadedSocket.link_limit = 250 | |
ActorSocket = self.inputs.new('NodeSocketString', "Actor") | |
ActorSocket.display_shape = 'SQUARE' | |
ActorSocket.link_limit = 250 | |
LocationSocket = self.inputs.new('NodeSocketString', "Location") | |
LocationSocket.display_shape = 'SQUARE' | |
LocationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bLocationBased") | |
layout.prop(self, "bStreamingActive") | |
layout.prop(self, "bHasTriggeredAllLoaded") | |
layout.prop(self, "Seconds") | |
layout.prop(self, "StreamingDistanceMultiplier") | |
layout.prop(self, "NumWantingResourcesID") | |
layout.prop(self, "StopTimestamp") | |
layout.prop(self, "LocationActors") | |
layout.prop(self, "ForceMaterials") | |
layout.prop(self, "CinematicTextureGroups") | |
layout.prop(self, "SelectedCinematicTextureGroups") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Stream In Textures" | |
class SeqAct_SubtractFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SubtractFloat''' | |
bl_idname = 'SeqAct_SubtractFloat' | |
bl_label = "Subtract Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SubtractFloat'Engine.Default__SeqAct_SubtractFloat'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Subtract Float" | |
class SeqAct_SubtractInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_SubtractInt''' | |
bl_idname = 'SeqAct_SubtractInt' | |
bl_label = "Subtract Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SubtractInt'Engine.Default__SeqAct_SubtractInt'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB", "FloatResult", "IntResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
FloatResult: bpy.props.FloatProperty(name="FloatResult") | |
IntResult: bpy.props.IntProperty(name="IntResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
IntResultSocket = self.inputs.new('NodeSocketInt', "IntResult") | |
IntResultSocket.display_shape = 'SQUARE' | |
IntResultSocket.link_limit = 250 | |
FloatResultSocket = self.inputs.new('NodeSocketFloat', "FloatResult") | |
FloatResultSocket.display_shape = 'SQUARE' | |
FloatResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
layout.prop(self, "FloatResult") | |
layout.prop(self, "IntResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Subtract Int" | |
class SeqAct_Switch(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Switch''' | |
bl_idname = 'SeqAct_Switch' | |
bl_label = "Switch" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Switch'Engine.Default__SeqAct_Switch'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["LinkCount", "IncrementAmount", "bLooping", "bAutoDisableLinks", "Indices"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
LinkCount: bpy.props.IntProperty(name="LinkCount",default=1) | |
IncrementAmount: bpy.props.IntProperty(name="IncrementAmount",default=1) | |
bLooping: bpy.props.BoolProperty(name="bLooping") | |
bAutoDisableLinks: bpy.props.BoolProperty(name="bAutoDisableLinks") | |
Indices: bpy.props.StringProperty(name="Indices") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
Link1Socket = self.outputs.new('NodeSocketString', "Link 1") | |
Link1Socket.display_shape = 'CIRCLE_DOT' | |
Link1Socket.link_limit = 250 | |
IndexSocket = self.inputs.new('NodeSocketInt', "Index") | |
IndexSocket.display_shape = 'SQUARE' | |
IndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "LinkCount") | |
layout.prop(self, "IncrementAmount") | |
layout.prop(self, "bLooping") | |
layout.prop(self, "bAutoDisableLinks") | |
layout.prop(self, "Indices") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Switch" | |
class SeqAct_Teleport(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Teleport''' | |
bl_idname = 'SeqAct_Teleport' | |
bl_label = "Teleport" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Teleport'Engine.Default__SeqAct_Teleport'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bUpdateRotation", "bCheckOverlap", "TeleportDistance", "TeleportVolumes"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bUpdateRotation: bpy.props.BoolProperty(name="bUpdateRotation",default=True) | |
bCheckOverlap: bpy.props.BoolProperty(name="bCheckOverlap") | |
TeleportDistance: bpy.props.FloatProperty(name="TeleportDistance",default=-1.0) | |
TeleportVolumes: bpy.props.StringProperty(name="TeleportVolumes") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
DestinationSocket = self.inputs.new('NodeSocketString', "Destination") | |
DestinationSocket.display_shape = 'SQUARE' | |
DestinationSocket.link_limit = 250 | |
TeleportVolumesSocket = self.inputs.new('NodeSocketString', "Teleport Volumes") | |
TeleportVolumesSocket.display_shape = 'SQUARE' | |
TeleportVolumesSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bUpdateRotation") | |
layout.prop(self, "bCheckOverlap") | |
layout.prop(self, "TeleportDistance") | |
layout.prop(self, "TeleportVolumes") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Teleport" | |
class SeqAct_Timer(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Timer''' | |
bl_idname = 'SeqAct_Timer' | |
bl_label = "Timer" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Timer'Engine.Default__SeqAct_Timer'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ActivationTime", "Time"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ActivationTime: bpy.props.FloatProperty(name="ActivationTime") | |
Time: bpy.props.FloatProperty(name="Time") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TimeSocket = self.inputs.new('NodeSocketFloat', "Time") | |
TimeSocket.display_shape = 'SQUARE' | |
TimeSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ActivationTime") | |
layout.prop(self, "Time") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Timer" | |
class SeqAct_Toggle(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Toggle''' | |
bl_idname = 'SeqAct_Toggle' | |
bl_label = "Toggle" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Toggle'Engine.Default__SeqAct_Toggle'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
TurnOnSocket = self.inputs.new('NodeSocketString', "Turn On") | |
TurnOnSocket.display_shape = 'CIRCLE' | |
TurnOnSocket.link_limit = 250 | |
TurnOffSocket = self.inputs.new('NodeSocketString', "Turn Off") | |
TurnOffSocket.display_shape = 'CIRCLE' | |
TurnOffSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
BoolSocket = self.inputs.new('NodeSocketBool', "Bool") | |
BoolSocket.display_shape = 'SQUARE' | |
BoolSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle" | |
class SeqAct_ToggleAffectedByHitEffects(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleAffectedByHitEffects''' | |
bl_idname = 'SeqAct_ToggleAffectedByHitEffects' | |
bl_label = "Toggle AffectedByHitEffects" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleAffectedByHitEffects'Engine.Default__SeqAct_ToggleAffectedByHitEffects'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle AffectedByHitEffects" | |
class SeqAct_ToggleCinematicMode(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleCinematicMode''' | |
bl_idname = 'SeqAct_ToggleCinematicMode' | |
bl_label = "Toggle Cinematic Mode" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleCinematicMode'Engine.Default__SeqAct_ToggleCinematicMode'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bDisableMovement", "bDisableTurning", "bHidePlayer", "bDisableInput", "bHideHUD", "bDeadBodies", "bDroppedPickups"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bDisableMovement: bpy.props.BoolProperty(name="bDisableMovement",default=True) | |
bDisableTurning: bpy.props.BoolProperty(name="bDisableTurning",default=True) | |
bHidePlayer: bpy.props.BoolProperty(name="bHidePlayer",default=True) | |
bDisableInput: bpy.props.BoolProperty(name="bDisableInput",default=True) | |
bHideHUD: bpy.props.BoolProperty(name="bHideHUD",default=True) | |
bDeadBodies: bpy.props.BoolProperty(name="bDeadBodies",default=True) | |
bDroppedPickups: bpy.props.BoolProperty(name="bDroppedPickups",default=True) | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bDisableMovement") | |
layout.prop(self, "bDisableTurning") | |
layout.prop(self, "bHidePlayer") | |
layout.prop(self, "bDisableInput") | |
layout.prop(self, "bHideHUD") | |
layout.prop(self, "bDeadBodies") | |
layout.prop(self, "bDroppedPickups") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle Cinematic Mode" | |
class SeqAct_ToggleConstraintDrive(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleConstraintDrive''' | |
bl_idname = 'SeqAct_ToggleConstraintDrive' | |
bl_label = "Toggle Constraint Drive" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleConstraintDrive'Engine.Default__SeqAct_ToggleConstraintDrive'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bEnableAngularPositionDrive", "bEnableAngularVelocityDrive", "bEnableLinearPositionDrive", "bEnableLinearvelocityDrive"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bEnableAngularPositionDrive: bpy.props.BoolProperty(name="bEnableAngularPositionDrive") | |
bEnableAngularVelocityDrive: bpy.props.BoolProperty(name="bEnableAngularVelocityDrive") | |
bEnableLinearPositionDrive: bpy.props.BoolProperty(name="bEnableLinearPositionDrive") | |
bEnableLinearvelocityDrive: bpy.props.BoolProperty(name="bEnableLinearvelocityDrive") | |
def init(self, context): | |
EnableDriveSocket = self.inputs.new('NodeSocketString', "Enable Drive") | |
EnableDriveSocket.display_shape = 'CIRCLE' | |
EnableDriveSocket.link_limit = 250 | |
DisableAllDriveSocket = self.inputs.new('NodeSocketString', "Disable All Drive") | |
DisableAllDriveSocket.display_shape = 'CIRCLE' | |
DisableAllDriveSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bEnableAngularPositionDrive") | |
layout.prop(self, "bEnableAngularVelocityDrive") | |
layout.prop(self, "bEnableLinearPositionDrive") | |
layout.prop(self, "bEnableLinearvelocityDrive") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle Constraint Drive" | |
class SeqAct_ToggleGodMode(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleGodMode''' | |
bl_idname = 'SeqAct_ToggleGodMode' | |
bl_label = "Toggle God Mode" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleGodMode'Engine.Default__SeqAct_ToggleGodMode'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle God Mode" | |
class SeqAct_ToggleHidden(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleHidden''' | |
bl_idname = 'SeqAct_ToggleHidden' | |
bl_label = "Toggle Hidden" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleHidden'Engine.Default__SeqAct_ToggleHidden'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bToggleBasedActors", "IgnoreBasedClasses"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bToggleBasedActors: bpy.props.BoolProperty(name="bToggleBasedActors") | |
IgnoreBasedClasses: bpy.props.StringProperty(name="IgnoreBasedClasses") | |
def init(self, context): | |
HideSocket = self.inputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE' | |
HideSocket.link_limit = 250 | |
UnHideSocket = self.inputs.new('NodeSocketString', "UnHide") | |
UnHideSocket.display_shape = 'CIRCLE' | |
UnHideSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bToggleBasedActors") | |
layout.prop(self, "IgnoreBasedClasses") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle Hidden" | |
class SeqAct_ToggleHiddenGame(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleHiddenGame''' | |
bl_idname = 'SeqAct_ToggleHiddenGame' | |
bl_label = "Toggle Hidden Game" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleHiddenGame'Engine.Default__SeqAct_ToggleHiddenGame'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
HideSocket = self.inputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE' | |
HideSocket.link_limit = 250 | |
ShowSocket = self.inputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE' | |
ShowSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle Hidden Game" | |
class SeqAct_ToggleHUD(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleHUD''' | |
bl_idname = 'SeqAct_ToggleHUD' | |
bl_label = "Toggle HUD" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleHUD'Engine.Default__SeqAct_ToggleHUD'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
ShowSocket = self.inputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE' | |
ShowSocket.link_limit = 250 | |
HideSocket = self.inputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE' | |
HideSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle HUD" | |
class SeqAct_ToggleInput(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_ToggleInput''' | |
bl_idname = 'SeqAct_ToggleInput' | |
bl_label = "Toggle Input" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleInput'Engine.Default__SeqAct_ToggleInput'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bToggleMovement", "bToggleTurning"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bToggleMovement: bpy.props.BoolProperty(name="bToggleMovement",default=True) | |
bToggleTurning: bpy.props.BoolProperty(name="bToggleTurning",default=True) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bToggleMovement") | |
layout.prop(self, "bToggleTurning") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle Input" | |
class SeqAct_Trace(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_Trace''' | |
bl_idname = 'SeqAct_Trace' | |
bl_label = "Trace" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Trace'Engine.Default__SeqAct_Trace'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bTraceActors", "bTraceWorld", "TraceExtent", "StartOffset", "EndOffset", "HitObject", "Distance", "HitLocation"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bTraceActors: bpy.props.BoolProperty(name="bTraceActors") | |
bTraceWorld: bpy.props.BoolProperty(name="bTraceWorld",default=True) | |
TraceExtent: bpy.props.StringProperty(name="TraceExtent") | |
StartOffset: bpy.props.StringProperty(name="StartOffset") | |
EndOffset: bpy.props.StringProperty(name="EndOffset") | |
HitObject: bpy.props.StringProperty(name="HitObject") | |
Distance: bpy.props.FloatProperty(name="Distance") | |
HitLocation: bpy.props.StringProperty(name="HitLocation") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
NotObstructedSocket = self.outputs.new('NodeSocketString', "Not Obstructed") | |
NotObstructedSocket.display_shape = 'CIRCLE_DOT' | |
NotObstructedSocket.link_limit = 250 | |
ObstructedSocket = self.outputs.new('NodeSocketString', "Obstructed") | |
ObstructedSocket.display_shape = 'CIRCLE_DOT' | |
ObstructedSocket.link_limit = 250 | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'SQUARE' | |
StartSocket.link_limit = 250 | |
EndSocket = self.inputs.new('NodeSocketString', "End") | |
EndSocket.display_shape = 'SQUARE' | |
EndSocket.link_limit = 250 | |
HitObjectSocket = self.inputs.new('NodeSocketString', "HitObject") | |
HitObjectSocket.display_shape = 'SQUARE' | |
HitObjectSocket.link_limit = 250 | |
DistanceSocket = self.inputs.new('NodeSocketFloat', "Distance") | |
DistanceSocket.display_shape = 'SQUARE' | |
DistanceSocket.link_limit = 250 | |
HitLocSocket = self.inputs.new('NodeSocketVector', "HitLoc") | |
HitLocSocket.display_shape = 'SQUARE' | |
HitLocSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bTraceActors") | |
layout.prop(self, "bTraceWorld") | |
layout.prop(self, "TraceExtent") | |
layout.prop(self, "StartOffset") | |
layout.prop(self, "EndOffset") | |
layout.prop(self, "HitObject") | |
layout.prop(self, "Distance") | |
layout.prop(self, "HitLocation") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Trace" | |
class SeqAct_UpdatePhysBonesFromAnim(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_UpdatePhysBonesFromAnim''' | |
bl_idname = 'SeqAct_UpdatePhysBonesFromAnim' | |
bl_label = "Force Phys Bones To Anim Pose" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_UpdatePhysBonesFromAnim'Engine.Default__SeqAct_UpdatePhysBonesFromAnim'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
UpdateSocket = self.inputs.new('NodeSocketString', "Update") | |
UpdateSocket.display_shape = 'CIRCLE' | |
UpdateSocket.link_limit = 250 | |
DisablePhysicsSocket = self.inputs.new('NodeSocketString', "Disable Physics") | |
DisablePhysicsSocket.display_shape = 'CIRCLE' | |
DisablePhysicsSocket.link_limit = 250 | |
EnablePhysicsSocket = self.inputs.new('NodeSocketString', "Enable Physics") | |
EnablePhysicsSocket.display_shape = 'CIRCLE' | |
EnablePhysicsSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Force Phys Bones To Anim Pose" | |
class SeqAct_WaitForLevelsVisible(Node, KismetNodeTreeNode): | |
'''Engine/SeqAct_WaitForLevelsVisible''' | |
bl_idname = 'SeqAct_WaitForLevelsVisible' | |
bl_label = "Wait for Levels to be visible" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_WaitForLevelsVisible'Engine.Default__SeqAct_WaitForLevelsVisible'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["LevelNames", "bShouldBlockOnLoad"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
LevelNames: bpy.props.StringProperty(name="LevelNames") | |
bShouldBlockOnLoad: bpy.props.BoolProperty(name="bShouldBlockOnLoad",default=True) | |
def init(self, context): | |
WaitSocket = self.inputs.new('NodeSocketString', "Wait") | |
WaitSocket.display_shape = 'CIRCLE' | |
WaitSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "LevelNames") | |
layout.prop(self, "bShouldBlockOnLoad") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Wait for Levels to be visible" | |
class SeqCond_CompareBool(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_CompareBool''' | |
bl_idname = 'SeqCond_CompareBool' | |
bl_label = "Compare Bool" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_CompareBool'Engine.Default__SeqCond_CompareBool'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["bResult"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bResult: bpy.props.BoolProperty(name="bResult") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
BoolSocket = self.inputs.new('NodeSocketBool', "Bool") | |
BoolSocket.display_shape = 'SQUARE' | |
BoolSocket.link_limit = 250 | |
ResultSocket = self.inputs.new('NodeSocketBool', "Result") | |
ResultSocket.display_shape = 'SQUARE' | |
ResultSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bResult") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Compare Bool" | |
class SeqCond_CompareFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_CompareFloat''' | |
bl_idname = 'SeqCond_CompareFloat' | |
bl_label = "Compare Float" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_CompareFloat'Engine.Default__SeqCond_CompareFloat'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
A01BSocket = self.outputs.new('NodeSocketString', "A <= B") | |
A01BSocket.display_shape = 'CIRCLE_DOT' | |
A01BSocket.link_limit = 250 | |
A2BSocket = self.outputs.new('NodeSocketString', "A > B") | |
A2BSocket.display_shape = 'CIRCLE_DOT' | |
A2BSocket.link_limit = 250 | |
A11BSocket = self.outputs.new('NodeSocketString', "A == B") | |
A11BSocket.display_shape = 'CIRCLE_DOT' | |
A11BSocket.link_limit = 250 | |
A0BSocket = self.outputs.new('NodeSocketString', "A < B") | |
A0BSocket.display_shape = 'CIRCLE_DOT' | |
A0BSocket.link_limit = 250 | |
A21BSocket = self.outputs.new('NodeSocketString', "A >= B") | |
A21BSocket.display_shape = 'CIRCLE_DOT' | |
A21BSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Compare Float" | |
class SeqCond_CompareInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_CompareInt''' | |
bl_idname = 'SeqCond_CompareInt' | |
bl_label = "Compare Int" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_CompareInt'Engine.Default__SeqCond_CompareInt'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["ValueA", "ValueB"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
A01BSocket = self.outputs.new('NodeSocketString', "A <= B") | |
A01BSocket.display_shape = 'CIRCLE_DOT' | |
A01BSocket.link_limit = 250 | |
A2BSocket = self.outputs.new('NodeSocketString', "A > B") | |
A2BSocket.display_shape = 'CIRCLE_DOT' | |
A2BSocket.link_limit = 250 | |
A11BSocket = self.outputs.new('NodeSocketString', "A == B") | |
A11BSocket.display_shape = 'CIRCLE_DOT' | |
A11BSocket.link_limit = 250 | |
A0BSocket = self.outputs.new('NodeSocketString', "A < B") | |
A0BSocket.display_shape = 'CIRCLE_DOT' | |
A0BSocket.link_limit = 250 | |
A21BSocket = self.outputs.new('NodeSocketString', "A >= B") | |
A21BSocket.display_shape = 'CIRCLE_DOT' | |
A21BSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Compare Int" | |
class SeqCond_CompareObject(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_CompareObject''' | |
bl_idname = 'SeqCond_CompareObject' | |
bl_label = "Compare Objects" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_CompareObject'Engine.Default__SeqCond_CompareObject'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
A11BSocket = self.outputs.new('NodeSocketString', "A == B") | |
A11BSocket.display_shape = 'CIRCLE_DOT' | |
A11BSocket.link_limit = 250 | |
A31BSocket = self.outputs.new('NodeSocketString', "A != B") | |
A31BSocket.display_shape = 'CIRCLE_DOT' | |
A31BSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketString', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketString', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Compare Objects" | |
class SeqCond_GetServerType(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_GetServerType''' | |
bl_idname = 'SeqCond_GetServerType' | |
bl_label = "Server Type" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_GetServerType'Engine.Default__SeqCond_GetServerType'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
StandaloneSocket = self.outputs.new('NodeSocketString', "Standalone") | |
StandaloneSocket.display_shape = 'CIRCLE_DOT' | |
StandaloneSocket.link_limit = 250 | |
DedicatedServerSocket = self.outputs.new('NodeSocketString', "Dedicated Server") | |
DedicatedServerSocket.display_shape = 'CIRCLE_DOT' | |
DedicatedServerSocket.link_limit = 250 | |
ListenServerSocket = self.outputs.new('NodeSocketString', "Listen Server") | |
ListenServerSocket.display_shape = 'CIRCLE_DOT' | |
ListenServerSocket.link_limit = 250 | |
ClientSocket = self.outputs.new('NodeSocketString', "Client") | |
ClientSocket.display_shape = 'CIRCLE_DOT' | |
ClientSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Server Type" | |
class SeqCond_Increment(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_Increment''' | |
bl_idname = 'SeqCond_Increment' | |
bl_label = "Int Counter" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_Increment'Engine.Default__SeqCond_Increment'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["IncrementAmount", "ValueA", "ValueB"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
IncrementAmount: bpy.props.IntProperty(name="IncrementAmount",default=1) | |
ValueA: bpy.props.IntProperty(name="ValueA") | |
ValueB: bpy.props.IntProperty(name="ValueB") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
A01BSocket = self.outputs.new('NodeSocketString', "A <= B") | |
A01BSocket.display_shape = 'CIRCLE_DOT' | |
A01BSocket.link_limit = 250 | |
A2BSocket = self.outputs.new('NodeSocketString', "A > B") | |
A2BSocket.display_shape = 'CIRCLE_DOT' | |
A2BSocket.link_limit = 250 | |
A11BSocket = self.outputs.new('NodeSocketString', "A == B") | |
A11BSocket.display_shape = 'CIRCLE_DOT' | |
A11BSocket.link_limit = 250 | |
A0BSocket = self.outputs.new('NodeSocketString', "A < B") | |
A0BSocket.display_shape = 'CIRCLE_DOT' | |
A0BSocket.link_limit = 250 | |
A21BSocket = self.outputs.new('NodeSocketString', "A >= B") | |
A21BSocket.display_shape = 'CIRCLE_DOT' | |
A21BSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketInt', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketInt', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "IncrementAmount") | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Int Counter" | |
class SeqCond_IncrementFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IncrementFloat''' | |
bl_idname = 'SeqCond_IncrementFloat' | |
bl_label = "Float Counter" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IncrementFloat'Engine.Default__SeqCond_IncrementFloat'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["IncrementAmount", "ValueA", "ValueB"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
IncrementAmount: bpy.props.FloatProperty(name="IncrementAmount",default=1.0) | |
ValueA: bpy.props.FloatProperty(name="ValueA") | |
ValueB: bpy.props.FloatProperty(name="ValueB") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
A01BSocket = self.outputs.new('NodeSocketString', "A <= B") | |
A01BSocket.display_shape = 'CIRCLE_DOT' | |
A01BSocket.link_limit = 250 | |
A2BSocket = self.outputs.new('NodeSocketString', "A > B") | |
A2BSocket.display_shape = 'CIRCLE_DOT' | |
A2BSocket.link_limit = 250 | |
A11BSocket = self.outputs.new('NodeSocketString', "A == B") | |
A11BSocket.display_shape = 'CIRCLE_DOT' | |
A11BSocket.link_limit = 250 | |
A0BSocket = self.outputs.new('NodeSocketString', "A < B") | |
A0BSocket.display_shape = 'CIRCLE_DOT' | |
A0BSocket.link_limit = 250 | |
A21BSocket = self.outputs.new('NodeSocketString', "A >= B") | |
A21BSocket.display_shape = 'CIRCLE_DOT' | |
A21BSocket.link_limit = 250 | |
ASocket = self.inputs.new('NodeSocketFloat', "A") | |
ASocket.display_shape = 'SQUARE' | |
ASocket.link_limit = 250 | |
BSocket = self.inputs.new('NodeSocketFloat', "B") | |
BSocket.display_shape = 'SQUARE' | |
BSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "IncrementAmount") | |
layout.prop(self, "ValueA") | |
layout.prop(self, "ValueB") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Float Counter" | |
class SeqCond_IsAlive(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsAlive''' | |
bl_idname = 'SeqCond_IsAlive' | |
bl_label = "Is Alive" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsAlive'Engine.Default__SeqCond_IsAlive'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
PlayersSocket = self.inputs.new('NodeSocketString', "Players") | |
PlayersSocket.display_shape = 'SQUARE' | |
PlayersSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Alive" | |
class SeqCond_IsBenchmarking(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsBenchmarking''' | |
bl_idname = 'SeqCond_IsBenchmarking' | |
bl_label = "Is Benchmarking?" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsBenchmarking'Engine.Default__SeqCond_IsBenchmarking'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
YesSocket = self.outputs.new('NodeSocketString', "Yes") | |
YesSocket.display_shape = 'CIRCLE_DOT' | |
YesSocket.link_limit = 250 | |
NoSocket = self.outputs.new('NodeSocketString', "No") | |
NoSocket.display_shape = 'CIRCLE_DOT' | |
NoSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Benchmarking?" | |
class SeqCond_IsConsole(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsConsole''' | |
bl_idname = 'SeqCond_IsConsole' | |
bl_label = "Is Console" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsConsole'Engine.Default__SeqCond_IsConsole'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Console" | |
class SeqCond_IsInCombat(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsInCombat''' | |
bl_idname = 'SeqCond_IsInCombat' | |
bl_label = "In Combat" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsInCombat'Engine.Default__SeqCond_IsInCombat'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
PlayersSocket = self.inputs.new('NodeSocketString', "Players") | |
PlayersSocket.display_shape = 'SQUARE' | |
PlayersSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "In Combat" | |
class SeqCond_IsLoggedIn(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsLoggedIn''' | |
bl_idname = 'SeqCond_IsLoggedIn' | |
bl_label = "Is Logged In" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsLoggedIn'Engine.Default__SeqCond_IsLoggedIn'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["NumNeededLoggedIn"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
NumNeededLoggedIn: bpy.props.IntProperty(name="NumNeededLoggedIn") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
NeededLoggedInSocket = self.inputs.new('NodeSocketInt', "NeededLoggedIn") | |
NeededLoggedInSocket.display_shape = 'SQUARE' | |
NeededLoggedInSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "NumNeededLoggedIn") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Logged In" | |
class SeqCond_IsPIE(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsPIE''' | |
bl_idname = 'SeqCond_IsPIE' | |
bl_label = "Is PIE?" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsPIE'Engine.Default__SeqCond_IsPIE'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
YesSocket = self.outputs.new('NodeSocketString', "Yes") | |
YesSocket.display_shape = 'CIRCLE_DOT' | |
YesSocket.link_limit = 250 | |
NoSocket = self.outputs.new('NodeSocketString', "No") | |
NoSocket.display_shape = 'CIRCLE_DOT' | |
NoSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is PIE?" | |
class SeqCond_IsSameTeam(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_IsSameTeam''' | |
bl_idname = 'SeqCond_IsSameTeam' | |
bl_label = "Same Team" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_IsSameTeam'Engine.Default__SeqCond_IsSameTeam'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
PlayersSocket = self.inputs.new('NodeSocketString', "Players") | |
PlayersSocket.display_shape = 'SQUARE' | |
PlayersSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Same Team" | |
class SeqCond_MatureLanguage(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_MatureLanguage''' | |
bl_idname = 'SeqCond_MatureLanguage' | |
bl_label = "Mature Language Allowed" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_MatureLanguage'Engine.Default__SeqCond_MatureLanguage'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
AllowedSocket = self.outputs.new('NodeSocketString', "Allowed") | |
AllowedSocket.display_shape = 'CIRCLE_DOT' | |
AllowedSocket.link_limit = 250 | |
DisallowedSocket = self.outputs.new('NodeSocketString', "Disallowed") | |
DisallowedSocket.display_shape = 'CIRCLE_DOT' | |
DisallowedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Mature Language Allowed" | |
class SeqCond_ShowGore(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_ShowGore''' | |
bl_idname = 'SeqCond_ShowGore' | |
bl_label = "Show Gore" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_ShowGore'Engine.Default__SeqCond_ShowGore'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
AllowedSocket = self.outputs.new('NodeSocketString', "Allowed") | |
AllowedSocket.display_shape = 'CIRCLE_DOT' | |
AllowedSocket.link_limit = 250 | |
DisallowedSocket = self.outputs.new('NodeSocketString', "Disallowed") | |
DisallowedSocket.display_shape = 'CIRCLE_DOT' | |
DisallowedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Show Gore" | |
class SeqCond_SwitchBase(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_SwitchBase''' | |
bl_idname = 'SeqCond_SwitchBase' | |
bl_label = "SeqCond_SwitchBase" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_SwitchBase'Engine.Default__SeqCond_SwitchBase'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
DefaultSocket = self.outputs.new('NodeSocketString', "Default") | |
DefaultSocket.display_shape = 'CIRCLE_DOT' | |
DefaultSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "SeqCond_SwitchBase" | |
class SeqCond_SwitchClass(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_SwitchClass''' | |
bl_idname = 'SeqCond_SwitchClass' | |
bl_label = "Switch Class" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_SwitchClass'Engine.Default__SeqCond_SwitchClass'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["ClassArray"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ClassArray: bpy.props.StringProperty(name="ClassArray") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ObjectSocket = self.inputs.new('NodeSocketString', "Object") | |
ObjectSocket.display_shape = 'SQUARE' | |
ObjectSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ClassArray") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Switch Class" | |
class SeqCond_SwitchObject(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_SwitchObject''' | |
bl_idname = 'SeqCond_SwitchObject' | |
bl_label = "Switch Object" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_SwitchObject'Engine.Default__SeqCond_SwitchObject'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["SupportedValues"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SupportedValues: bpy.props.StringProperty(name="SupportedValues") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ObjectSocket = self.inputs.new('NodeSocketString', "Object") | |
ObjectSocket.display_shape = 'SQUARE' | |
ObjectSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SupportedValues") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Switch Object" | |
class SeqCond_SwitchPlatform(Node, KismetNodeTreeNode): | |
'''Engine/SeqCond_SwitchPlatform''' | |
bl_idname = 'SeqCond_SwitchPlatform' | |
bl_label = "Platform" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_SwitchPlatform'Engine.Default__SeqCond_SwitchPlatform'" | |
KismetType = 'conditions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
DefaultSocket = self.outputs.new('NodeSocketString', "Default") | |
DefaultSocket.display_shape = 'CIRCLE_DOT' | |
DefaultSocket.link_limit = 250 | |
DesktopSocket = self.outputs.new('NodeSocketString', "Desktop") | |
DesktopSocket.display_shape = 'CIRCLE_DOT' | |
DesktopSocket.link_limit = 250 | |
Console_non_mobile_Socket = self.outputs.new('NodeSocketString', "Console (non-mobile)") | |
Console_non_mobile_Socket.display_shape = 'CIRCLE_DOT' | |
Console_non_mobile_Socket.link_limit = 250 | |
MobileSocket = self.outputs.new('NodeSocketString', "Mobile") | |
MobileSocket.display_shape = 'CIRCLE_DOT' | |
MobileSocket.link_limit = 250 | |
WindowsSocket = self.outputs.new('NodeSocketString', "Windows") | |
WindowsSocket.display_shape = 'CIRCLE_DOT' | |
WindowsSocket.link_limit = 250 | |
Xbox360Socket = self.outputs.new('NodeSocketString', "Xbox360") | |
Xbox360Socket.display_shape = 'CIRCLE_DOT' | |
Xbox360Socket.link_limit = 250 | |
PS3Socket = self.outputs.new('NodeSocketString', "PS3") | |
PS3Socket.display_shape = 'CIRCLE_DOT' | |
PS3Socket.link_limit = 250 | |
iPhoneSocket = self.outputs.new('NodeSocketString', "iPhone") | |
iPhoneSocket.display_shape = 'CIRCLE_DOT' | |
iPhoneSocket.link_limit = 250 | |
Tegra2Socket = self.outputs.new('NodeSocketString', "Tegra2") | |
Tegra2Socket.display_shape = 'CIRCLE_DOT' | |
Tegra2Socket.link_limit = 250 | |
LinuxSocket = self.outputs.new('NodeSocketString', "Linux") | |
LinuxSocket.display_shape = 'CIRCLE_DOT' | |
LinuxSocket.link_limit = 250 | |
MacOSSocket = self.outputs.new('NodeSocketString', "MacOS") | |
MacOSSocket.display_shape = 'CIRCLE_DOT' | |
MacOSSocket.link_limit = 250 | |
NGPSocket = self.outputs.new('NodeSocketString', "NGP") | |
NGPSocket.display_shape = 'CIRCLE_DOT' | |
NGPSocket.link_limit = 250 | |
WiiUSocket = self.outputs.new('NodeSocketString', "WiiU") | |
WiiUSocket.display_shape = 'CIRCLE_DOT' | |
WiiUSocket.link_limit = 250 | |
FlashSocket = self.outputs.new('NodeSocketString', "Flash") | |
FlashSocket.display_shape = 'CIRCLE_DOT' | |
FlashSocket.link_limit = 250 | |
OrbisSocket = self.outputs.new('NodeSocketString', "Orbis") | |
OrbisSocket.display_shape = 'CIRCLE_DOT' | |
OrbisSocket.link_limit = 250 | |
DingoSocket = self.outputs.new('NodeSocketString', "Dingo") | |
DingoSocket.display_shape = 'CIRCLE_DOT' | |
DingoSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Platform" | |
class SeqEvent_AIReachedRouteActor(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_AIReachedRouteActor''' | |
bl_idname = 'SeqEvent_AIReachedRouteActor' | |
bl_label = "Reached Route Actor" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_AIReachedRouteActor'Engine.Default__SeqEvent_AIReachedRouteActor'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Reached Route Actor" | |
class SeqEvent_AISeeEnemy(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_AISeeEnemy''' | |
bl_idname = 'SeqEvent_AISeeEnemy' | |
bl_label = "See Enemy" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_AISeeEnemy'Engine.Default__SeqEvent_AISeeEnemy'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxSightDistance", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
MaxSightDistance: bpy.props.FloatProperty(name="MaxSightDistance") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MaxSightDistance") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "See Enemy" | |
class SeqEvent_AnalogInput(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_AnalogInput''' | |
bl_idname = 'SeqEvent_AnalogInput' | |
bl_label = "Analog Input" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_AnalogInput'Engine.Default__SeqEvent_AnalogInput'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["bTrapInput", "AllowedPlayerIndex", "InputNames", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
bTrapInput: bpy.props.BoolProperty(name="bTrapInput",default=True) | |
AllowedPlayerIndex: bpy.props.IntProperty(name="AllowedPlayerIndex",default=-1) | |
InputNames: bpy.props.StringProperty(name="InputNames") | |
def init(self, context): | |
OutputSocket = self.outputs.new('NodeSocketString', "Output") | |
OutputSocket.display_shape = 'CIRCLE_DOT' | |
OutputSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
InputNameSocket = self.inputs.new('NodeSocketString', "Input Name") | |
InputNameSocket.display_shape = 'SQUARE' | |
InputNameSocket.link_limit = 250 | |
FloatValueSocket = self.inputs.new('NodeSocketFloat', "Float Value") | |
FloatValueSocket.display_shape = 'SQUARE' | |
FloatValueSocket.link_limit = 250 | |
VectorValueSocket = self.inputs.new('NodeSocketVector', "Vector Value") | |
VectorValueSocket.display_shape = 'SQUARE' | |
VectorValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bTrapInput") | |
layout.prop(self, "AllowedPlayerIndex") | |
layout.prop(self, "InputNames") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Analog Input" | |
class SeqEvent_AnimNotify(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_AnimNotify''' | |
bl_idname = 'SeqEvent_AnimNotify' | |
bl_label = "Anim Notify" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_AnimNotify'Engine.Default__SeqEvent_AnimNotify'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["NotifyName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
NotifyName: bpy.props.StringProperty(name="NotifyName") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "NotifyName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Anim Notify" | |
class SeqEvent_Console(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Console''' | |
bl_idname = 'SeqEvent_Console' | |
bl_label = "Console Event" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Console'Engine.Default__SeqEvent_Console'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["ConsoleEventName", "EventDesc", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
ConsoleEventName: bpy.props.StringProperty(name="ConsoleEventName",default="Default") | |
EventDesc: bpy.props.StringProperty(name="EventDesc",default="No description") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ConsoleEventName") | |
layout.prop(self, "EventDesc") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Console Event" | |
class SeqEvent_ConstraintBroken(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_ConstraintBroken''' | |
bl_idname = 'SeqEvent_ConstraintBroken' | |
bl_label = "Constraint Broken" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_ConstraintBroken'Engine.Default__SeqEvent_ConstraintBroken'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Constraint Broken" | |
class SeqEvent_Death(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Death''' | |
bl_idname = 'SeqEvent_Death' | |
bl_label = "Death" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Death'Engine.Default__SeqEvent_Death'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Death" | |
class SeqEvent_Destroyed(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Destroyed''' | |
bl_idname = 'SeqEvent_Destroyed' | |
bl_label = "Destroyed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Destroyed'Engine.Default__SeqEvent_Destroyed'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Destroyed" | |
class SeqEvent_HitWall(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_HitWall''' | |
bl_idname = 'SeqEvent_HitWall' | |
bl_label = "Hit Wall" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_HitWall'Engine.Default__SeqEvent_HitWall'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Hit Wall" | |
class SeqEvent_Input(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Input''' | |
bl_idname = 'SeqEvent_Input' | |
bl_label = "Key/Button Pressed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Input'Engine.Default__SeqEvent_Input'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["bTrapInput", "AllowedPlayerIndex", "InputNames", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
bTrapInput: bpy.props.BoolProperty(name="bTrapInput",default=True) | |
AllowedPlayerIndex: bpy.props.IntProperty(name="AllowedPlayerIndex",default=-1) | |
InputNames: bpy.props.StringProperty(name="InputNames") | |
def init(self, context): | |
PressedSocket = self.outputs.new('NodeSocketString', "Pressed") | |
PressedSocket.display_shape = 'CIRCLE_DOT' | |
PressedSocket.link_limit = 250 | |
RepeatedSocket = self.outputs.new('NodeSocketString', "Repeated") | |
RepeatedSocket.display_shape = 'CIRCLE_DOT' | |
RepeatedSocket.link_limit = 250 | |
ReleasedSocket = self.outputs.new('NodeSocketString', "Released") | |
ReleasedSocket.display_shape = 'CIRCLE_DOT' | |
ReleasedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
InputNameSocket = self.inputs.new('NodeSocketString', "Input Name") | |
InputNameSocket.display_shape = 'SQUARE' | |
InputNameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bTrapInput") | |
layout.prop(self, "AllowedPlayerIndex") | |
layout.prop(self, "InputNames") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Key/Button Pressed" | |
class SeqEvent_LevelBeginning(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_LevelBeginning''' | |
bl_idname = 'SeqEvent_LevelBeginning' | |
bl_label = "Level Beginning" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_LevelBeginning'Engine.Default__SeqEvent_LevelBeginning'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Level Beginning" | |
class SeqEvent_LevelLoaded(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_LevelLoaded''' | |
bl_idname = 'SeqEvent_LevelLoaded' | |
bl_label = "Level Loaded" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_LevelLoaded'Engine.Default__SeqEvent_LevelLoaded'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
LoadedandVisibleSocket = self.outputs.new('NodeSocketString', "Loaded and Visible") | |
LoadedandVisibleSocket.display_shape = 'CIRCLE_DOT' | |
LoadedandVisibleSocket.link_limit = 250 | |
BeginningofLevelSocket = self.outputs.new('NodeSocketString', "Beginning of Level") | |
BeginningofLevelSocket.display_shape = 'CIRCLE_DOT' | |
BeginningofLevelSocket.link_limit = 250 | |
LevelResetSocket = self.outputs.new('NodeSocketString', "Level Reset") | |
LevelResetSocket.display_shape = 'CIRCLE_DOT' | |
LevelResetSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Level Loaded" | |
class SeqEvent_LevelStartup(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_LevelStartup''' | |
bl_idname = 'SeqEvent_LevelStartup' | |
bl_label = "Level Startup" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_LevelStartup'Engine.Default__SeqEvent_LevelStartup'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Level Startup" | |
class SeqEvent_LOS(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_LOS''' | |
bl_idname = 'SeqEvent_LOS' | |
bl_label = "Line Of Sight" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_LOS'Engine.Default__SeqEvent_LOS'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["ScreenCenterDistance", "TriggerDistance", "bCheckForObstructions", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
ScreenCenterDistance: bpy.props.FloatProperty(name="ScreenCenterDistance",default=50.0) | |
TriggerDistance: bpy.props.FloatProperty(name="TriggerDistance",default=2048.0) | |
bCheckForObstructions: bpy.props.BoolProperty(name="bCheckForObstructions",default=True) | |
def init(self, context): | |
LookSocket = self.outputs.new('NodeSocketString', "Look") | |
LookSocket.display_shape = 'CIRCLE_DOT' | |
LookSocket.link_limit = 250 | |
StopLookSocket = self.outputs.new('NodeSocketString', "Stop Look") | |
StopLookSocket.display_shape = 'CIRCLE_DOT' | |
StopLookSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ScreenCenterDistance") | |
layout.prop(self, "TriggerDistance") | |
layout.prop(self, "bCheckForObstructions") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Line Of Sight" | |
class SeqEvent_MobileTouch(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_MobileTouch''' | |
bl_idname = 'SeqEvent_MobileTouch' | |
bl_label = "MobileInput Touch Actor" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_MobileTouch'Engine.Default__SeqEvent_MobileTouch'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
TapSocket = self.outputs.new('NodeSocketString', "Tap") | |
TapSocket.display_shape = 'CIRCLE_DOT' | |
TapSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "MobileInput Touch Actor" | |
class SeqEvent_Mover(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Mover''' | |
bl_idname = 'SeqEvent_Mover' | |
bl_label = "Mover" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Mover'Engine.Default__SeqEvent_Mover'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["StayOpenTime", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
StayOpenTime: bpy.props.FloatProperty(name="StayOpenTime",default=1.50) | |
def init(self, context): | |
PawnAttachedSocket = self.outputs.new('NodeSocketString', "Pawn Attached") | |
PawnAttachedSocket.display_shape = 'CIRCLE_DOT' | |
PawnAttachedSocket.link_limit = 250 | |
PawnDetachedSocket = self.outputs.new('NodeSocketString', "Pawn Detached") | |
PawnDetachedSocket.display_shape = 'CIRCLE_DOT' | |
PawnDetachedSocket.link_limit = 250 | |
OpenFinishedSocket = self.outputs.new('NodeSocketString', "Open Finished") | |
OpenFinishedSocket.display_shape = 'CIRCLE_DOT' | |
OpenFinishedSocket.link_limit = 250 | |
HitActorSocket = self.outputs.new('NodeSocketString', "Hit Actor") | |
HitActorSocket.display_shape = 'CIRCLE_DOT' | |
HitActorSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
ActorHitSocket = self.inputs.new('NodeSocketString', "Actor Hit") | |
ActorHitSocket.display_shape = 'SQUARE' | |
ActorHitSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "StayOpenTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Mover" | |
class SeqEvent_ParticleEvent(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_ParticleEvent''' | |
bl_idname = 'SeqEvent_ParticleEvent' | |
bl_label = "ParticleEvent" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_ParticleEvent'Engine.Default__SeqEvent_ParticleEvent'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["EventType", "EventPosition", "EventEmitterTime", "EventVelocity", "EventParticleTime", "EventNormal", "UseRelfectedImpactVector", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
EventType: bpy.props.StringProperty(name="EventType") | |
EventPosition: bpy.props.StringProperty(name="EventPosition") | |
EventEmitterTime: bpy.props.FloatProperty(name="EventEmitterTime") | |
EventVelocity: bpy.props.StringProperty(name="EventVelocity") | |
EventParticleTime: bpy.props.FloatProperty(name="EventParticleTime") | |
EventNormal: bpy.props.StringProperty(name="EventNormal") | |
UseRelfectedImpactVector: bpy.props.BoolProperty(name="UseRelfectedImpactVector") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TypeSocket = self.inputs.new('NodeSocketInt', "Type") | |
TypeSocket.display_shape = 'SQUARE' | |
TypeSocket.link_limit = 250 | |
PosSocket = self.inputs.new('NodeSocketVector', "Pos") | |
PosSocket.display_shape = 'SQUARE' | |
PosSocket.link_limit = 250 | |
ETimeSocket = self.inputs.new('NodeSocketFloat', "ETime") | |
ETimeSocket.display_shape = 'SQUARE' | |
ETimeSocket.link_limit = 250 | |
VelSocket = self.inputs.new('NodeSocketVector', "Vel") | |
VelSocket.display_shape = 'SQUARE' | |
VelSocket.link_limit = 250 | |
PTimeSocket = self.inputs.new('NodeSocketFloat', "PTime") | |
PTimeSocket.display_shape = 'SQUARE' | |
PTimeSocket.link_limit = 250 | |
NormalSocket = self.inputs.new('NodeSocketVector', "Normal") | |
NormalSocket.display_shape = 'SQUARE' | |
NormalSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "EventType") | |
layout.prop(self, "EventPosition") | |
layout.prop(self, "EventEmitterTime") | |
layout.prop(self, "EventVelocity") | |
layout.prop(self, "EventParticleTime") | |
layout.prop(self, "EventNormal") | |
layout.prop(self, "UseRelfectedImpactVector") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "ParticleEvent" | |
class SeqEvent_PickupStatusChange(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_PickupStatusChange''' | |
bl_idname = 'SeqEvent_PickupStatusChange' | |
bl_label = "Pickup Status Change" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_PickupStatusChange'Engine.Default__SeqEvent_PickupStatusChange'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
AvailableSocket = self.outputs.new('NodeSocketString', "Available") | |
AvailableSocket.display_shape = 'CIRCLE_DOT' | |
AvailableSocket.link_limit = 250 | |
TakenSocket = self.outputs.new('NodeSocketString', "Taken") | |
TakenSocket.display_shape = 'CIRCLE_DOT' | |
TakenSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Pickup Status Change" | |
class SeqEvent_PlayerSpawned(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_PlayerSpawned''' | |
bl_idname = 'SeqEvent_PlayerSpawned' | |
bl_label = "Player Spawned" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_PlayerSpawned'Engine.Default__SeqEvent_PlayerSpawned'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["SpawnLocation", "SpawnRotation", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
SpawnLocation: bpy.props.StringProperty(name="SpawnLocation") | |
SpawnRotation: bpy.props.StringProperty(name="SpawnRotation") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
SpawnLocationSocket = self.inputs.new('NodeSocketString', "Spawn Location") | |
SpawnLocationSocket.display_shape = 'SQUARE' | |
SpawnLocationSocket.link_limit = 250 | |
SpawnRotationSocket = self.inputs.new('NodeSocketString', "Spawn Rotation") | |
SpawnRotationSocket.display_shape = 'SQUARE' | |
SpawnRotationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SpawnLocation") | |
layout.prop(self, "SpawnRotation") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Player Spawned" | |
class SeqEvent_RemoteEvent(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_RemoteEvent''' | |
bl_idname = 'SeqEvent_RemoteEvent' | |
bl_label = "Remote Event" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_RemoteEvent'Engine.Default__SeqEvent_RemoteEvent'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["EventName", "bStatusIsOk", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
EventName: bpy.props.StringProperty(name="EventName",default="DefaultEvent") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "EventName") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Remote Event" | |
class SeqEvent_RigidBodyCollision(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_RigidBodyCollision''' | |
bl_idname = 'SeqEvent_RigidBodyCollision' | |
bl_label = "Rigid Body Collision" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_RigidBodyCollision'Engine.Default__SeqEvent_RigidBodyCollision'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MinCollisionVelocity", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
MinCollisionVelocity: bpy.props.FloatProperty(name="MinCollisionVelocity") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
ImpactVelocitySocket = self.inputs.new('NodeSocketFloat', "ImpactVelocity") | |
ImpactVelocitySocket.display_shape = 'SQUARE' | |
ImpactVelocitySocket.link_limit = 250 | |
ImpactLocationSocket = self.inputs.new('NodeSocketVector', "ImpactLocation") | |
ImpactLocationSocket.display_shape = 'SQUARE' | |
ImpactLocationSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MinCollisionVelocity") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Rigid Body Collision" | |
class SeqEvent_SeeDeath(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_SeeDeath''' | |
bl_idname = 'SeqEvent_SeeDeath' | |
bl_label = "See Death" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_SeeDeath'Engine.Default__SeqEvent_SeeDeath'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
VictimSocket = self.inputs.new('NodeSocketString', "Victim") | |
VictimSocket.display_shape = 'SQUARE' | |
VictimSocket.link_limit = 250 | |
KillerSocket = self.inputs.new('NodeSocketString', "Killer") | |
KillerSocket.display_shape = 'SQUARE' | |
KillerSocket.link_limit = 250 | |
WitnessSocket = self.inputs.new('NodeSocketString', "Witness") | |
WitnessSocket.display_shape = 'SQUARE' | |
WitnessSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "See Death" | |
class SeqEvent_SequenceActivated(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_SequenceActivated''' | |
bl_idname = 'SeqEvent_SequenceActivated' | |
bl_label = "Sequence Activated" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_SequenceActivated'Engine.Default__SeqEvent_SequenceActivated'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["InputLabel", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
InputLabel: bpy.props.StringProperty(name="InputLabel",default="In") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "InputLabel") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Sequence Activated" | |
class SeqEvent_Touch(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Touch''' | |
bl_idname = 'SeqEvent_Touch' | |
bl_label = "Touch" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Touch'Engine.Default__SeqEvent_Touch'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["ClassProximityTypes", "IgnoredClassProximityTypes", "bForceOverlapping", "TouchedList", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
ClassProximityTypes: bpy.props.StringProperty(name="ClassProximityTypes") | |
IgnoredClassProximityTypes: bpy.props.StringProperty(name="IgnoredClassProximityTypes") | |
bForceOverlapping: bpy.props.BoolProperty(name="bForceOverlapping",default=True) | |
TouchedList: bpy.props.StringProperty(name="TouchedList") | |
def init(self, context): | |
TouchedSocket = self.outputs.new('NodeSocketString', "Touched") | |
TouchedSocket.display_shape = 'CIRCLE_DOT' | |
TouchedSocket.link_limit = 250 | |
UnTouchedSocket = self.outputs.new('NodeSocketString', "UnTouched") | |
UnTouchedSocket.display_shape = 'CIRCLE_DOT' | |
UnTouchedSocket.link_limit = 250 | |
EmptySocket = self.outputs.new('NodeSocketString', "Empty") | |
EmptySocket.display_shape = 'CIRCLE_DOT' | |
EmptySocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ClassProximityTypes") | |
layout.prop(self, "IgnoredClassProximityTypes") | |
layout.prop(self, "bForceOverlapping") | |
layout.prop(self, "TouchedList") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Touch" | |
class SeqEvent_TouchInput(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_TouchInput''' | |
bl_idname = 'SeqEvent_TouchInput' | |
bl_label = "Touch Input" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_TouchInput'Engine.Default__SeqEvent_TouchInput'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["bTrapInput", "AllowedPlayerIndex", "AllowedTouchIndex", "AllowedTouchpadIndex", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
bTrapInput: bpy.props.BoolProperty(name="bTrapInput",default=True) | |
AllowedPlayerIndex: bpy.props.IntProperty(name="AllowedPlayerIndex",default=-1) | |
AllowedTouchIndex: bpy.props.IntProperty(name="AllowedTouchIndex") | |
AllowedTouchpadIndex: bpy.props.IntProperty(name="AllowedTouchpadIndex") | |
def init(self, context): | |
PressedSocket = self.outputs.new('NodeSocketString', "Pressed") | |
PressedSocket.display_shape = 'CIRCLE_DOT' | |
PressedSocket.link_limit = 250 | |
RepeatedSocket = self.outputs.new('NodeSocketString', "Repeated") | |
RepeatedSocket.display_shape = 'CIRCLE_DOT' | |
RepeatedSocket.link_limit = 250 | |
ReleasedSocket = self.outputs.new('NodeSocketString', "Released") | |
ReleasedSocket.display_shape = 'CIRCLE_DOT' | |
ReleasedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TouchXSocket = self.inputs.new('NodeSocketFloat', "Touch X") | |
TouchXSocket.display_shape = 'SQUARE' | |
TouchXSocket.link_limit = 250 | |
TouchYSocket = self.inputs.new('NodeSocketFloat', "Touch Y") | |
TouchYSocket.display_shape = 'SQUARE' | |
TouchYSocket.link_limit = 250 | |
TouchIndexSocket = self.inputs.new('NodeSocketInt', "Touch Index") | |
TouchIndexSocket.display_shape = 'SQUARE' | |
TouchIndexSocket.link_limit = 250 | |
TouchpadIndexSocket = self.inputs.new('NodeSocketInt', "Touchpad Index") | |
TouchpadIndexSocket.display_shape = 'SQUARE' | |
TouchpadIndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bTrapInput") | |
layout.prop(self, "AllowedPlayerIndex") | |
layout.prop(self, "AllowedTouchIndex") | |
layout.prop(self, "AllowedTouchpadIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Touch Input" | |
class SeqEvent_Used(Node, KismetNodeTreeNode): | |
'''Engine/SeqEvent_Used''' | |
bl_idname = 'SeqEvent_Used' | |
bl_label = "Used" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Used'Engine.Default__SeqEvent_Used'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["bAimToInteract", "InteractDistance", "InteractText", "InteractIcon", "ClassProximityTypes", "IgnoredClassProximityTypes", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
bAimToInteract: bpy.props.BoolProperty(name="bAimToInteract",default=True) | |
InteractDistance: bpy.props.FloatProperty(name="InteractDistance",default=128.0) | |
InteractText: bpy.props.StringProperty(name="InteractText",default="Use") | |
InteractIcon: bpy.props.StringProperty(name="InteractIcon") | |
ClassProximityTypes: bpy.props.StringProperty(name="ClassProximityTypes") | |
IgnoredClassProximityTypes: bpy.props.StringProperty(name="IgnoredClassProximityTypes") | |
def init(self, context): | |
UsedSocket = self.outputs.new('NodeSocketString', "Used") | |
UsedSocket.display_shape = 'CIRCLE_DOT' | |
UsedSocket.link_limit = 250 | |
UnusedSocket = self.outputs.new('NodeSocketString', "Unused") | |
UnusedSocket.display_shape = 'CIRCLE_DOT' | |
UnusedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
DistanceSocket = self.inputs.new('NodeSocketFloat', "Distance") | |
DistanceSocket.display_shape = 'SQUARE' | |
DistanceSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bAimToInteract") | |
layout.prop(self, "InteractDistance") | |
layout.prop(self, "InteractText") | |
layout.prop(self, "InteractIcon") | |
layout.prop(self, "ClassProximityTypes") | |
layout.prop(self, "IgnoredClassProximityTypes") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Used" | |
class SeqVar_Bool(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Bool''' | |
bl_idname = 'SeqVar_Bool' | |
bl_label = "Bool" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Bool'Engine.Default__SeqVar_Bool'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["bValue", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
bValue: bpy.props.IntProperty(name="bValue") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Bool" | |
class SeqVar_Byte(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Byte''' | |
bl_idname = 'SeqVar_Byte' | |
bl_label = "Byte" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Byte'Engine.Default__SeqVar_Byte'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Byte" | |
class SeqVar_Character(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Character''' | |
bl_idname = 'SeqVar_Character' | |
bl_label = "SeqVar_Character" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Character'Engine.Default__SeqVar_Character'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["PawnClass", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
PawnClass: bpy.props.StringProperty(name="PawnClass") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PawnClass") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "SeqVar_Character" | |
class SeqVar_External(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_External''' | |
bl_idname = 'SeqVar_External' | |
bl_label = "External Variable" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_External'Engine.Default__SeqVar_External'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["ExpectedType", "VariableLabel", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
ExpectedType: bpy.props.StringProperty(name="ExpectedType") | |
VariableLabel: bpy.props.StringProperty(name="VariableLabel",default="Default Var") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ExpectedType") | |
layout.prop(self, "VariableLabel") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "External Variable" | |
class SeqVar_Float(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Float''' | |
bl_idname = 'SeqVar_Float' | |
bl_label = "Float" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Float'Engine.Default__SeqVar_Float'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["FloatValue", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
FloatValue: bpy.props.FloatProperty(name="FloatValue") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FloatValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Float" | |
class SeqVar_Group(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Group''' | |
bl_idname = 'SeqVar_Group' | |
bl_label = "Group" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Group'Engine.Default__SeqVar_Group'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["GroupName", "bCachedList", "Actors", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
GroupName: bpy.props.StringProperty(name="GroupName") | |
bCachedList: bpy.props.BoolProperty(name="bCachedList") | |
Actors: bpy.props.StringProperty(name="Actors") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "GroupName") | |
layout.prop(self, "bCachedList") | |
layout.prop(self, "Actors") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Group" | |
class SeqVar_Int(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Int''' | |
bl_idname = 'SeqVar_Int' | |
bl_label = "Int" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Int'Engine.Default__SeqVar_Int'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["IntValue", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
IntValue: bpy.props.IntProperty(name="IntValue") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "IntValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Int" | |
class SeqVar_Name(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Name''' | |
bl_idname = 'SeqVar_Name' | |
bl_label = "Name" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Name'Engine.Default__SeqVar_Name'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Name" | |
class SeqVar_Named(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Named''' | |
bl_idname = 'SeqVar_Named' | |
bl_label = "Named Variable" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Named'Engine.Default__SeqVar_Named'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["ExpectedType", "FindVarName", "bStatusIsOk", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
ExpectedType: bpy.props.StringProperty(name="ExpectedType") | |
FindVarName: bpy.props.StringProperty(name="FindVarName") | |
bStatusIsOk: bpy.props.BoolProperty(name="bStatusIsOk") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ExpectedType") | |
layout.prop(self, "FindVarName") | |
layout.prop(self, "bStatusIsOk") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Named Variable" | |
class SeqVar_Object(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Object''' | |
bl_idname = 'SeqVar_Object' | |
bl_label = "Object" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Object'Engine.Default__SeqVar_Object'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["ObjValue", "ActorLocation", "SupportedClasses", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
ObjValue: bpy.props.StringProperty(name="ObjValue") | |
ActorLocation: bpy.props.StringProperty(name="ActorLocation") | |
SupportedClasses: bpy.props.StringProperty(name="SupportedClasses") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ObjValue") | |
layout.prop(self, "ActorLocation") | |
layout.prop(self, "SupportedClasses") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Object" | |
class SeqVar_ObjectList(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_ObjectList''' | |
bl_idname = 'SeqVar_ObjectList' | |
bl_label = "Object List" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_ObjectList'Engine.Default__SeqVar_ObjectList'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["ObjList", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
ObjList: bpy.props.StringProperty(name="ObjList") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ObjList") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Object List" | |
class SeqVar_ObjectVolume(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_ObjectVolume''' | |
bl_idname = 'SeqVar_ObjectVolume' | |
bl_label = "Object Volume" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_ObjectVolume'Engine.Default__SeqVar_ObjectVolume'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["LastUpdateTime", "ContainedObjects", "ExcludeClassList", "bCollidingOnly", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
LastUpdateTime: bpy.props.FloatProperty(name="LastUpdateTime") | |
ContainedObjects: bpy.props.StringProperty(name="ContainedObjects") | |
ExcludeClassList: bpy.props.StringProperty(name="ExcludeClassList") | |
bCollidingOnly: bpy.props.BoolProperty(name="bCollidingOnly",default=True) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "LastUpdateTime") | |
layout.prop(self, "ContainedObjects") | |
layout.prop(self, "ExcludeClassList") | |
layout.prop(self, "bCollidingOnly") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Object Volume" | |
class SeqVar_Player(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Player''' | |
bl_idname = 'SeqVar_Player' | |
bl_label = "Player" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Player'Engine.Default__SeqVar_Player'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Players", "bAllPlayers", "PlayerIdx", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
Players: bpy.props.StringProperty(name="Players") | |
bAllPlayers: bpy.props.BoolProperty(name="bAllPlayers",default=True) | |
PlayerIdx: bpy.props.IntProperty(name="PlayerIdx") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Players") | |
layout.prop(self, "bAllPlayers") | |
layout.prop(self, "PlayerIdx") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Player" | |
class SeqVar_RandomFloat(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_RandomFloat''' | |
bl_idname = 'SeqVar_RandomFloat' | |
bl_label = "Random Float" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_RandomFloat'Engine.Default__SeqVar_RandomFloat'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Min", "Max", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
Min: bpy.props.FloatProperty(name="Min") | |
Max: bpy.props.FloatProperty(name="Max",default=1.0) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Min") | |
layout.prop(self, "Max") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Random Float" | |
class SeqVar_RandomInt(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_RandomInt''' | |
bl_idname = 'SeqVar_RandomInt' | |
bl_label = "Random Int" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_RandomInt'Engine.Default__SeqVar_RandomInt'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Min", "Max", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
Min: bpy.props.IntProperty(name="Min") | |
Max: bpy.props.IntProperty(name="Max",default=100) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Min") | |
layout.prop(self, "Max") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Random Int" | |
class SeqVar_String(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_String''' | |
bl_idname = 'SeqVar_String' | |
bl_label = "String" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_String'Engine.Default__SeqVar_String'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["StrValue", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
StrValue: bpy.props.StringProperty(name="StrValue") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "StrValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "String" | |
class SeqVar_Union(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Union''' | |
bl_idname = 'SeqVar_Union' | |
bl_label = "Union" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Union'Engine.Default__SeqVar_Union'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Union" | |
class SeqVar_Vector(Node, KismetNodeTreeNode): | |
'''Engine/SeqVar_Vector''' | |
bl_idname = 'SeqVar_Vector' | |
bl_label = "Vector" | |
bl_icon = 'EVENT_V' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqVar_Vector'Engine.Default__SeqVar_Vector'" | |
KismetType = 'variables' | |
_SequenceItemVariableNames = ["VectValue", "Varname"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
Varname: bpy.props.StringProperty(name='Varname', default='') | |
VectValue: bpy.props.StringProperty(name="VectValue") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'SQUARE' | |
OutSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VectValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'Varname') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Vector" | |
class SeqAct_NonNativeUpdate_X(Node, KismetNodeTreeNode): | |
'''ProjectX/SeqAct_NonNativeUpdate_X''' | |
bl_idname = 'SeqAct_NonNativeUpdate_X' | |
bl_label = "Non Native Update" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_NonNativeUpdate_X'ProjectX.Default__SeqAct_NonNativeUpdate_X'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Non Native Update" | |
class SeqAct_SpawnArchetype_X(Node, KismetNodeTreeNode): | |
'''ProjectX/SeqAct_SpawnArchetype_X''' | |
bl_idname = 'SeqAct_SpawnArchetype_X' | |
bl_label = "Spawn Archetype" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SpawnArchetype_X'ProjectX.Default__SeqAct_SpawnArchetype_X'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ActorArchetype", "Velocity", "Speed", "SpawnOwners", "SpawnPoints", "Spawned"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ActorArchetype: bpy.props.StringProperty(name="ActorArchetype") | |
Velocity: bpy.props.StringProperty(name="Velocity") | |
Speed: bpy.props.FloatProperty(name="Speed") | |
SpawnOwners: bpy.props.StringProperty(name="SpawnOwners") | |
SpawnPoints: bpy.props.StringProperty(name="SpawnPoints") | |
Spawned: bpy.props.StringProperty(name="Spawned") | |
def init(self, context): | |
SpawnSocket = self.inputs.new('NodeSocketString', "Spawn") | |
SpawnSocket.display_shape = 'CIRCLE' | |
SpawnSocket.link_limit = 250 | |
DestroySocket = self.inputs.new('NodeSocketString', "Destroy") | |
DestroySocket.display_shape = 'CIRCLE' | |
DestroySocket.link_limit = 250 | |
SpawnedSocket = self.outputs.new('NodeSocketString', "Spawned") | |
SpawnedSocket.display_shape = 'CIRCLE_DOT' | |
SpawnedSocket.link_limit = 250 | |
DestroyedSocket = self.outputs.new('NodeSocketString', "Destroyed") | |
DestroyedSocket.display_shape = 'CIRCLE_DOT' | |
DestroyedSocket.link_limit = 250 | |
SpawnPointSocket = self.inputs.new('NodeSocketString', "Spawn Point") | |
SpawnPointSocket.display_shape = 'SQUARE' | |
SpawnPointSocket.link_limit = 250 | |
SpawnOwnerSocket = self.inputs.new('NodeSocketString', "Spawn Owner") | |
SpawnOwnerSocket.display_shape = 'SQUARE' | |
SpawnOwnerSocket.link_limit = 250 | |
SpawnedSocket = self.inputs.new('NodeSocketString', "Spawned") | |
SpawnedSocket.display_shape = 'SQUARE' | |
SpawnedSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ActorArchetype") | |
layout.prop(self, "Velocity") | |
layout.prop(self, "Speed") | |
layout.prop(self, "SpawnOwners") | |
layout.prop(self, "SpawnPoints") | |
layout.prop(self, "Spawned") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawn Archetype" | |
class SeqAct_TriggerFXActor_X(Node, KismetNodeTreeNode): | |
'''ProjectX/SeqAct_TriggerFXActor_X''' | |
bl_idname = 'SeqAct_TriggerFXActor_X' | |
bl_label = "Trigger FXActor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_TriggerFXActor_X'ProjectX.Default__SeqAct_TriggerFXActor_X'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Event", "AttachTo"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Event: bpy.props.StringProperty(name="Event") | |
AttachTo: bpy.props.StringProperty(name="AttachTo") | |
def init(self, context): | |
PushSocket = self.inputs.new('NodeSocketString', "Push") | |
PushSocket.display_shape = 'CIRCLE' | |
PushSocket.link_limit = 250 | |
PopSocket = self.inputs.new('NodeSocketString', "Pop") | |
PopSocket.display_shape = 'CIRCLE' | |
PopSocket.link_limit = 250 | |
ToggleSocket = self.inputs.new('NodeSocketString', "Toggle") | |
ToggleSocket.display_shape = 'CIRCLE' | |
ToggleSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
AttachToSocket = self.inputs.new('NodeSocketString', "AttachTo") | |
AttachToSocket.display_shape = 'SQUARE' | |
AttachToSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Event") | |
layout.prop(self, "AttachTo") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Trigger FXActor" | |
class SeqEvent_Spawned_X(Node, KismetNodeTreeNode): | |
'''ProjectX/SeqEvent_Spawned_X''' | |
bl_idname = 'SeqEvent_Spawned_X' | |
bl_label = "Spawned" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_Spawned_X'ProjectX.Default__SeqEvent_Spawned_X'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["Spawned", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
Spawned: bpy.props.StringProperty(name="Spawned") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
SpawnedSocket = self.inputs.new('NodeSocketString', "Spawned") | |
SpawnedSocket.display_shape = 'SQUARE' | |
SpawnedSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Spawned") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawned" | |
class SeqAct_AddGameBall_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_AddGameBall_TA''' | |
bl_idname = 'SeqAct_AddGameBall_TA' | |
bl_label = "Add Game Ball" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AddGameBall_TA'TAGame.Default__SeqAct_AddGameBall_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SpawnedBall", "Instigator", "SpawnTransform", "PlacedBall", "bWake", "BallArchetype"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SpawnedBall: bpy.props.StringProperty(name="SpawnedBall") | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
SpawnTransform: bpy.props.StringProperty(name="SpawnTransform") | |
PlacedBall: bpy.props.StringProperty(name="PlacedBall") | |
bWake: bpy.props.BoolProperty(name="bWake",default=True) | |
BallArchetype: bpy.props.StringProperty(name="BallArchetype") | |
def init(self, context): | |
AddSocket = self.inputs.new('NodeSocketString', "Add") | |
AddSocket.display_shape = 'CIRCLE' | |
AddSocket.link_limit = 250 | |
DestroySocket = self.inputs.new('NodeSocketString', "Destroy") | |
DestroySocket.display_shape = 'CIRCLE' | |
DestroySocket.link_limit = 250 | |
DestroyAllSocket = self.inputs.new('NodeSocketString', "DestroyAll") | |
DestroyAllSocket.display_shape = 'CIRCLE' | |
DestroyAllSocket.link_limit = 250 | |
WakeSocket = self.inputs.new('NodeSocketString', "Wake") | |
WakeSocket.display_shape = 'CIRCLE' | |
WakeSocket.link_limit = 250 | |
AddPlacedBallSocket = self.inputs.new('NodeSocketString', "AddPlacedBall") | |
AddPlacedBallSocket.display_shape = 'CIRCLE' | |
AddPlacedBallSocket.link_limit = 250 | |
AddedSocket = self.outputs.new('NodeSocketString', "Added") | |
AddedSocket.display_shape = 'CIRCLE_DOT' | |
AddedSocket.link_limit = 250 | |
DestroyedSocket = self.outputs.new('NodeSocketString', "Destroyed") | |
DestroyedSocket.display_shape = 'CIRCLE_DOT' | |
DestroyedSocket.link_limit = 250 | |
DestroyedAllSocket = self.outputs.new('NodeSocketString', "DestroyedAll") | |
DestroyedAllSocket.display_shape = 'CIRCLE_DOT' | |
DestroyedAllSocket.link_limit = 250 | |
AwakeSocket = self.outputs.new('NodeSocketString', "Awake") | |
AwakeSocket.display_shape = 'CIRCLE_DOT' | |
AwakeSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
SpawnTransformSocket = self.inputs.new('NodeSocketString', "SpawnTransform") | |
SpawnTransformSocket.display_shape = 'SQUARE' | |
SpawnTransformSocket.link_limit = 250 | |
SpawnedBallSocket = self.inputs.new('NodeSocketString', "SpawnedBall") | |
SpawnedBallSocket.display_shape = 'SQUARE' | |
SpawnedBallSocket.link_limit = 250 | |
PlacedBallSocket = self.inputs.new('NodeSocketString', "PlacedBall") | |
PlacedBallSocket.display_shape = 'SQUARE' | |
PlacedBallSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SpawnedBall") | |
layout.prop(self, "Instigator") | |
layout.prop(self, "SpawnTransform") | |
layout.prop(self, "PlacedBall") | |
layout.prop(self, "bWake") | |
layout.prop(self, "BallArchetype") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Add Game Ball" | |
class SeqAct_AnalyzeMusicFromCsv_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_AnalyzeMusicFromCsv_TA''' | |
bl_idname = 'SeqAct_AnalyzeMusicFromCsv_TA' | |
bl_label = "Analyze Music from CSV" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AnalyzeMusicFromCsv_TA'TAGame.Default__SeqAct_AnalyzeMusicFromCsv_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["VfTable_FTickableObject", "CsvFileName", "StartOverrideTime", "OverrideTime", "bTickable"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
VfTable_FTickableObject: bpy.props.StringProperty(name="VfTable_FTickableObject") | |
CsvFileName: bpy.props.StringProperty(name="CsvFileName") | |
StartOverrideTime: bpy.props.FloatProperty(name="StartOverrideTime") | |
OverrideTime: bpy.props.FloatProperty(name="OverrideTime") | |
bTickable: bpy.props.BoolProperty(name="bTickable") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VfTable_FTickableObject") | |
layout.prop(self, "CsvFileName") | |
layout.prop(self, "StartOverrideTime") | |
layout.prop(self, "OverrideTime") | |
layout.prop(self, "bTickable") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Analyze Music from CSV" | |
class SeqAct_ApplyCarProducts_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ApplyCarProducts_TA''' | |
bl_idname = 'SeqAct_ApplyCarProducts_TA' | |
bl_label = "Apply Car Products" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ApplyCarProducts_TA'TAGame.Default__SeqAct_ApplyCarProducts_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Assets", "TeamColor", "AccentColor", "TeamFinish", "CustomFinish", "CarPreviewActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Assets: bpy.props.StringProperty(name="Assets") | |
TeamColor: bpy.props.StringProperty(name="TeamColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
AccentColor: bpy.props.StringProperty(name="AccentColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
TeamFinish: bpy.props.StringProperty(name="TeamFinish") | |
CustomFinish: bpy.props.StringProperty(name="CustomFinish") | |
CarPreviewActor: bpy.props.StringProperty(name="CarPreviewActor") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
CarPreviewActorSocket = self.inputs.new('NodeSocketString', "CarPreviewActor") | |
CarPreviewActorSocket.display_shape = 'SQUARE' | |
CarPreviewActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Assets") | |
layout.prop(self, "TeamColor") | |
layout.prop(self, "AccentColor") | |
layout.prop(self, "TeamFinish") | |
layout.prop(self, "CustomFinish") | |
layout.prop(self, "CarPreviewActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Apply Car Products" | |
class SeqAct_AttachAssetToCar_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_AttachAssetToCar_TA''' | |
bl_idname = 'SeqAct_AttachAssetToCar_TA' | |
bl_label = "Attach Asset to Car" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AttachAssetToCar_TA'TAGame.Default__SeqAct_AttachAssetToCar_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["StaticMeshToAttach", "SkeletalMeshToAttach", "ParticleSystemToAttach", "BoneToAttachTo"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
StaticMeshToAttach: bpy.props.StringProperty(name="StaticMeshToAttach") | |
SkeletalMeshToAttach: bpy.props.StringProperty(name="SkeletalMeshToAttach") | |
ParticleSystemToAttach: bpy.props.StringProperty(name="ParticleSystemToAttach") | |
BoneToAttachTo: bpy.props.StringProperty(name="BoneToAttachTo",default="chassis_jnt") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "StaticMeshToAttach") | |
layout.prop(self, "SkeletalMeshToAttach") | |
layout.prop(self, "ParticleSystemToAttach") | |
layout.prop(self, "BoneToAttachTo") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Attach Asset to Car" | |
class SeqAct_AttachFX_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_AttachFX_TA''' | |
bl_idname = 'SeqAct_AttachFX_TA' | |
bl_label = "Attach FX" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_AttachFX_TA'TAGame.Default__SeqAct_AttachFX_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PSC"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PSC: bpy.props.StringProperty(name="PSC") | |
def init(self, context): | |
AddSocket = self.inputs.new('NodeSocketString', "Add") | |
AddSocket.display_shape = 'CIRCLE' | |
AddSocket.link_limit = 250 | |
RemoveSocket = self.inputs.new('NodeSocketString', "Remove") | |
RemoveSocket.display_shape = 'CIRCLE' | |
RemoveSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
AddedSocket = self.outputs.new('NodeSocketString', "Added") | |
AddedSocket.display_shape = 'CIRCLE_DOT' | |
AddedSocket.link_limit = 250 | |
RemovedSocket = self.outputs.new('NodeSocketString', "Removed") | |
RemovedSocket.display_shape = 'CIRCLE_DOT' | |
RemovedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PSC") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Attach FX" | |
class SeqAct_CarMatinee_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_CarMatinee_TA''' | |
bl_idname = 'SeqAct_CarMatinee_TA' | |
bl_label = "Car Matinee" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CarMatinee_TA'TAGame.Default__SeqAct_CarMatinee_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CinematicCarArchPath", "bHideAfterPause", "bHideAfterCompleted", "ClassesToNotShow"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CinematicCarArchPath: bpy.props.StringProperty(name="CinematicCarArchPath") | |
bHideAfterPause: bpy.props.BoolProperty(name="bHideAfterPause") | |
bHideAfterCompleted: bpy.props.BoolProperty(name="bHideAfterCompleted",default=True) | |
ClassesToNotShow: bpy.props.StringProperty(name="ClassesToNotShow") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CinematicCarArchPath") | |
layout.prop(self, "bHideAfterPause") | |
layout.prop(self, "bHideAfterCompleted") | |
layout.prop(self, "ClassesToNotShow") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Car Matinee" | |
class SeqAct_CheckRotationAngle_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_CheckRotationAngle_TA''' | |
bl_idname = 'SeqAct_CheckRotationAngle_TA' | |
bl_label = "Check Rotation Angle" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CheckRotationAngle_TA'TAGame.Default__SeqAct_CheckRotationAngle_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Actor", "CheckActor", "RotationAngle", "LastRotation", "LastDirection", "CheckAxis", "TurnAxis", "MaxRotationAngle", "bResetOnDirectionChange", "AxisDirection"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Actor: bpy.props.StringProperty(name="Actor") | |
CheckActor: bpy.props.StringProperty(name="CheckActor") | |
RotationAngle: bpy.props.FloatProperty(name="RotationAngle") | |
LastRotation: bpy.props.StringProperty(name="LastRotation") | |
LastDirection: bpy.props.FloatProperty(name="LastDirection") | |
CheckAxis: bpy.props.StringProperty(name="CheckAxis") | |
TurnAxis: bpy.props.StringProperty(name="TurnAxis") | |
MaxRotationAngle: bpy.props.FloatProperty(name="MaxRotationAngle",default=360.0) | |
bResetOnDirectionChange: bpy.props.BoolProperty(name="bResetOnDirectionChange",default=True) | |
AxisDirection: bpy.props.StringProperty(name="AxisDirection",default="ECheckAxis.ECA_Yaw") | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
CompletedSocket = self.outputs.new('NodeSocketString', "Completed") | |
CompletedSocket.display_shape = 'CIRCLE_DOT' | |
CompletedSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
ActorToCheckSocket = self.inputs.new('NodeSocketString', "Actor To Check") | |
ActorToCheckSocket.display_shape = 'SQUARE' | |
ActorToCheckSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Actor") | |
layout.prop(self, "CheckActor") | |
layout.prop(self, "RotationAngle") | |
layout.prop(self, "LastRotation") | |
layout.prop(self, "LastDirection") | |
layout.prop(self, "CheckAxis") | |
layout.prop(self, "TurnAxis") | |
layout.prop(self, "MaxRotationAngle") | |
layout.prop(self, "bResetOnDirectionChange") | |
layout.prop(self, "AxisDirection") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Check Rotation Angle" | |
class SeqAct_CinematicIntroStartNextSeq_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_CinematicIntroStartNextSeq_TA''' | |
bl_idname = 'SeqAct_CinematicIntroStartNextSeq_TA' | |
bl_label = "Cinematic Intro Start Next Sequence" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CinematicIntroStartNextSeq_TA'TAGame.Default__SeqAct_CinematicIntroStartNextSeq_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CurrentSequenceIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CurrentSequenceIndex: bpy.props.IntProperty(name="CurrentSequenceIndex") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
SequenceIndexSocket = self.inputs.new('NodeSocketInt', "SequenceIndex") | |
SequenceIndexSocket.display_shape = 'SQUARE' | |
SequenceIndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CurrentSequenceIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Cinematic Intro Start Next Sequence" | |
class SeqAct_CompleteFTECheckpoint_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_CompleteFTECheckpoint_TA''' | |
bl_idname = 'SeqAct_CompleteFTECheckpoint_TA' | |
bl_label = "Complete FTE Checkpoint" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CompleteFTECheckpoint_TA'TAGame.Default__SeqAct_CompleteFTECheckpoint_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CheckpointName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CheckpointName: bpy.props.StringProperty(name="CheckpointName") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
CheckpointNameSocket = self.inputs.new('NodeSocketString', "CheckpointName") | |
CheckpointNameSocket.display_shape = 'SQUARE' | |
CheckpointNameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CheckpointName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Complete FTE Checkpoint" | |
class SeqAct_ControlCarMovement_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ControlCarMovement_TA''' | |
bl_idname = 'SeqAct_ControlCarMovement_TA' | |
bl_label = "Control Car Movement" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ControlCarMovement_TA'TAGame.Default__SeqAct_ControlCarMovement_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Control Car Movement" | |
class SeqAct_Counter_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_Counter_TA''' | |
bl_idname = 'SeqAct_Counter_TA' | |
bl_label = "Counter" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_Counter_TA'TAGame.Default__SeqAct_Counter_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MaxCount"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MaxCount: bpy.props.IntProperty(name="MaxCount") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
IncrementScoreSocket = self.inputs.new('NodeSocketString', "Increment Score") | |
IncrementScoreSocket.display_shape = 'CIRCLE' | |
IncrementScoreSocket.link_limit = 250 | |
IncrementRoundSocket = self.inputs.new('NodeSocketString', "Increment Round") | |
IncrementRoundSocket.display_shape = 'CIRCLE' | |
IncrementRoundSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
HitMaxScoreSocket = self.outputs.new('NodeSocketString', "Hit Max Score") | |
HitMaxScoreSocket.display_shape = 'CIRCLE_DOT' | |
HitMaxScoreSocket.link_limit = 250 | |
HitMaxRoundSocket = self.outputs.new('NodeSocketString', "Hit Max Round") | |
HitMaxRoundSocket.display_shape = 'CIRCLE_DOT' | |
HitMaxRoundSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MaxCount") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Counter" | |
class SeqAct_CreateAttachComponent_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_CreateAttachComponent_TA''' | |
bl_idname = 'SeqAct_CreateAttachComponent_TA' | |
bl_label = "Create Attach Component" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_CreateAttachComponent_TA'TAGame.Default__SeqAct_CreateAttachComponent_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["AttachTo", "AttachingComponent"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
AttachTo: bpy.props.StringProperty(name="AttachTo") | |
AttachingComponent: bpy.props.StringProperty(name="AttachingComponent") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
AttachToSocket = self.inputs.new('NodeSocketString', "AttachTo") | |
AttachToSocket.display_shape = 'SQUARE' | |
AttachToSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "AttachTo") | |
layout.prop(self, "AttachingComponent") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Create Attach Component" | |
class SeqAct_DemoCar_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_DemoCar_TA''' | |
bl_idname = 'SeqAct_DemoCar_TA' | |
bl_label = "Demo Car" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DemoCar_TA'TAGame.Default__SeqAct_DemoCar_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Demo Car" | |
class SeqAct_DisableForceInFXActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_DisableForceInFXActor_TA''' | |
bl_idname = 'SeqAct_DisableForceInFXActor_TA' | |
bl_label = "Disable Force Feedback in FXActor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DisableForceInFXActor_TA'TAGame.Default__SeqAct_DisableForceInFXActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["InFXActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
InFXActor: bpy.props.StringProperty(name="InFXActor") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FXActorSocket = self.inputs.new('NodeSocketString', "FX Actor") | |
FXActorSocket.display_shape = 'SQUARE' | |
FXActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "InFXActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Disable Force Feedback in FXActor" | |
class SeqAct_DisplayMessage_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_DisplayMessage_TA''' | |
bl_idname = 'SeqAct_DisplayMessage_TA' | |
bl_label = "Display Message" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DisplayMessage_TA'TAGame.Default__SeqAct_DisplayMessage_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "Title", "Body", "bShowButtonOne", "bShowButtonTwo", "ButtonOneTitle", "ButtonTwoTitle"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
Title: bpy.props.StringProperty(name="Title",default="Title") | |
Body: bpy.props.StringProperty(name="Body",default="Body") | |
bShowButtonOne: bpy.props.BoolProperty(name="bShowButtonOne") | |
bShowButtonTwo: bpy.props.BoolProperty(name="bShowButtonTwo") | |
ButtonOneTitle: bpy.props.StringProperty(name="ButtonOneTitle",default="Continue") | |
ButtonTwoTitle: bpy.props.StringProperty(name="ButtonTwoTitle",default="Skip") | |
def init(self, context): | |
SetSocket = self.inputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE' | |
SetSocket.link_limit = 250 | |
ButtonOneClickedSocket = self.outputs.new('NodeSocketString', "Button One Clicked") | |
ButtonOneClickedSocket.display_shape = 'CIRCLE_DOT' | |
ButtonOneClickedSocket.link_limit = 250 | |
ButtonTwoClickedSocket = self.outputs.new('NodeSocketString', "Button Two Clicked") | |
ButtonTwoClickedSocket.display_shape = 'CIRCLE_DOT' | |
ButtonTwoClickedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "Title") | |
layout.prop(self, "Body") | |
layout.prop(self, "bShowButtonOne") | |
layout.prop(self, "bShowButtonTwo") | |
layout.prop(self, "ButtonOneTitle") | |
layout.prop(self, "ButtonTwoTitle") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Display Message" | |
class SeqAct_DriveSpline_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_DriveSpline_TA''' | |
bl_idname = 'SeqAct_DriveSpline_TA' | |
bl_label = "Drive Spline" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DriveSpline_TA'TAGame.Default__SeqAct_DriveSpline_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ForwardOffset", "Spline", "Throttle", "bDebug", "Cars"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ForwardOffset: bpy.props.FloatProperty(name="ForwardOffset",default=500.0) | |
Spline: bpy.props.StringProperty(name="Spline") | |
Throttle: bpy.props.FloatProperty(name="Throttle",default=1.0) | |
bDebug: bpy.props.BoolProperty(name="bDebug") | |
Cars: bpy.props.StringProperty(name="Cars") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
SplineSocket = self.inputs.new('NodeSocketString', "Spline") | |
SplineSocket.display_shape = 'SQUARE' | |
SplineSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ForwardOffset") | |
layout.prop(self, "Spline") | |
layout.prop(self, "Throttle") | |
layout.prop(self, "bDebug") | |
layout.prop(self, "Cars") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Drive Spline" | |
class SeqAct_DumpMovie_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_DumpMovie_TA''' | |
bl_idname = 'SeqAct_DumpMovie_TA' | |
bl_label = "Dump Movie" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_DumpMovie_TA'TAGame.Default__SeqAct_DumpMovie_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Dump Movie" | |
class SeqAct_EndTutorial_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_EndTutorial_TA''' | |
bl_idname = 'SeqAct_EndTutorial_TA' | |
bl_label = "End Tutorial" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_EndTutorial_TA'TAGame.Default__SeqAct_EndTutorial_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
def init(self, context): | |
EndSocket = self.inputs.new('NodeSocketString', "End") | |
EndSocket.display_shape = 'CIRCLE' | |
EndSocket.link_limit = 250 | |
FailSocket = self.inputs.new('NodeSocketString', "Fail") | |
FailSocket.display_shape = 'CIRCLE' | |
FailSocket.link_limit = 250 | |
CompleteSocket = self.inputs.new('NodeSocketString', "Complete") | |
CompleteSocket.display_shape = 'CIRCLE' | |
CompleteSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "End Tutorial" | |
class SeqAct_ExitToMainMenu_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ExitToMainMenu_TA''' | |
bl_idname = 'SeqAct_ExitToMainMenu_TA' | |
bl_label = "Exit To Main Menu" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ExitToMainMenu_TA'TAGame.Default__SeqAct_ExitToMainMenu_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Exit To Main Menu" | |
class SeqAct_ExplodeGameBall_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ExplodeGameBall_TA''' | |
bl_idname = 'SeqAct_ExplodeGameBall_TA' | |
bl_label = "Explode Game Ball" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ExplodeGameBall_TA'TAGame.Default__SeqAct_ExplodeGameBall_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
BlueSocket = self.inputs.new('NodeSocketString', "Blue") | |
BlueSocket.display_shape = 'CIRCLE' | |
BlueSocket.link_limit = 250 | |
OrangeSocket = self.inputs.new('NodeSocketString', "Orange") | |
OrangeSocket.display_shape = 'CIRCLE' | |
OrangeSocket.link_limit = 250 | |
NoneSocket = self.inputs.new('NodeSocketString', "None") | |
NoneSocket.display_shape = 'CIRCLE' | |
NoneSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Explode Game Ball" | |
class SeqAct_GameURLHasOption_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GameURLHasOption_TA''' | |
bl_idname = 'SeqAct_GameURLHasOption_TA' | |
bl_label = "Game URL Has Option" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GameURLHasOption_TA'TAGame.Default__SeqAct_GameURLHasOption_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Option"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Option: bpy.props.StringProperty(name="Option") | |
def init(self, context): | |
HasOptionSocket = self.inputs.new('NodeSocketString', "Has Option") | |
HasOptionSocket.display_shape = 'CIRCLE' | |
HasOptionSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Option") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Game URL Has Option" | |
class SeqAct_GetDetailMode_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetDetailMode_TA''' | |
bl_idname = 'SeqAct_GetDetailMode_TA' | |
bl_label = "Get Detail Mode" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetDetailMode_TA'TAGame.Default__SeqAct_GetDetailMode_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
GetSocket = self.inputs.new('NodeSocketString', "Get") | |
GetSocket.display_shape = 'CIRCLE' | |
GetSocket.link_limit = 250 | |
DM_LowSocket = self.outputs.new('NodeSocketString', "DM_Low") | |
DM_LowSocket.display_shape = 'CIRCLE_DOT' | |
DM_LowSocket.link_limit = 250 | |
DM_MediumSocket = self.outputs.new('NodeSocketString', "DM_Medium") | |
DM_MediumSocket.display_shape = 'CIRCLE_DOT' | |
DM_MediumSocket.link_limit = 250 | |
DM_HighSocket = self.outputs.new('NodeSocketString', "DM_High") | |
DM_HighSocket.display_shape = 'CIRCLE_DOT' | |
DM_HighSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Detail Mode" | |
class SeqAct_GetEdition_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetEdition_TA''' | |
bl_idname = 'SeqAct_GetEdition_TA' | |
bl_label = "Get Edition" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetEdition_TA'TAGame.Default__SeqAct_GetEdition_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
GetSocket = self.inputs.new('NodeSocketString', "Get") | |
GetSocket.display_shape = 'CIRCLE' | |
GetSocket.link_limit = 250 | |
DefaultSocket = self.outputs.new('NodeSocketString', "Default") | |
DefaultSocket.display_shape = 'CIRCLE_DOT' | |
DefaultSocket.link_limit = 250 | |
ChinaSocket = self.outputs.new('NodeSocketString', "China") | |
ChinaSocket.display_shape = 'CIRCLE_DOT' | |
ChinaSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Edition" | |
class SeqAct_GetEffectIntensity_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetEffectIntensity_TA''' | |
bl_idname = 'SeqAct_GetEffectIntensity_TA' | |
bl_label = "Get Effect Intensity" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetEffectIntensity_TA'TAGame.Default__SeqAct_GetEffectIntensity_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
GetSocket = self.inputs.new('NodeSocketString', "Get") | |
GetSocket.display_shape = 'CIRCLE' | |
GetSocket.link_limit = 250 | |
DefaultSocket = self.outputs.new('NodeSocketString', "Default") | |
DefaultSocket.display_shape = 'CIRCLE_DOT' | |
DefaultSocket.link_limit = 250 | |
LowSocket = self.outputs.new('NodeSocketString', "Low") | |
LowSocket.display_shape = 'CIRCLE_DOT' | |
LowSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Effect Intensity" | |
class SeqAct_GetFTEState_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetFTEState_TA''' | |
bl_idname = 'SeqAct_GetFTEState_TA' | |
bl_label = "Get FTE State" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetFTEState_TA'TAGame.Default__SeqAct_GetFTEState_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CheckpointName", "bIsActive"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CheckpointName: bpy.props.StringProperty(name="CheckpointName") | |
bIsActive: bpy.props.BoolProperty(name="bIsActive") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
CheckpointNameSocket = self.inputs.new('NodeSocketString', "CheckpointName") | |
CheckpointNameSocket.display_shape = 'SQUARE' | |
CheckpointNameSocket.link_limit = 250 | |
bIsActiveSocket = self.inputs.new('NodeSocketBool', "bIsActive") | |
bIsActiveSocket.display_shape = 'SQUARE' | |
bIsActiveSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CheckpointName") | |
layout.prop(self, "bIsActive") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get FTE State" | |
class SeqAct_GetGameBall_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetGameBall_TA''' | |
bl_idname = 'SeqAct_GetGameBall_TA' | |
bl_label = "Get Game Ball" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetGameBall_TA'TAGame.Default__SeqAct_GetGameBall_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Ball"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Ball: bpy.props.StringProperty(name="Ball") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
HasBallSocket = self.outputs.new('NodeSocketString', "Has Ball") | |
HasBallSocket.display_shape = 'CIRCLE_DOT' | |
HasBallSocket.link_limit = 250 | |
NoBallSocket = self.outputs.new('NodeSocketString', "No Ball") | |
NoBallSocket.display_shape = 'CIRCLE_DOT' | |
NoBallSocket.link_limit = 250 | |
BallSocket = self.inputs.new('NodeSocketString', "Ball") | |
BallSocket.display_shape = 'SQUARE' | |
BallSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Ball") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Game Ball" | |
class SeqAct_GetPlayerCar_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetPlayerCar_TA''' | |
bl_idname = 'SeqAct_GetPlayerCar_TA' | |
bl_label = "Get Player Car" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetPlayerCar_TA'TAGame.Default__SeqAct_GetPlayerCar_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PlayerName", "FoundActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PlayerName: bpy.props.StringProperty(name="PlayerName") | |
FoundActor: bpy.props.StringProperty(name="FoundActor") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
FoundActorSocket = self.inputs.new('NodeSocketString', "Found Actor") | |
FoundActorSocket.display_shape = 'SQUARE' | |
FoundActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlayerName") | |
layout.prop(self, "FoundActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Player Car" | |
class SeqAct_GetPlaylistType_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetPlaylistType_TA''' | |
bl_idname = 'SeqAct_GetPlaylistType_TA' | |
bl_label = "Get Playlist Type" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetPlaylistType_TA'TAGame.Default__SeqAct_GetPlaylistType_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
GetSocket = self.inputs.new('NodeSocketString', "Get") | |
GetSocket.display_shape = 'CIRCLE' | |
GetSocket.link_limit = 250 | |
CasualSocket = self.outputs.new('NodeSocketString', "Casual") | |
CasualSocket.display_shape = 'CIRCLE_DOT' | |
CasualSocket.link_limit = 250 | |
CompetitiveSocket = self.outputs.new('NodeSocketString', "Competitive") | |
CompetitiveSocket.display_shape = 'CIRCLE_DOT' | |
CompetitiveSocket.link_limit = 250 | |
TournamentSocket = self.outputs.new('NodeSocketString', "Tournament") | |
TournamentSocket.display_shape = 'CIRCLE_DOT' | |
TournamentSocket.link_limit = 250 | |
PrivateSocket = self.outputs.new('NodeSocketString', "Private") | |
PrivateSocket.display_shape = 'CIRCLE_DOT' | |
PrivateSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Playlist Type" | |
class SeqAct_GetRarityColor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetRarityColor_TA''' | |
bl_idname = 'SeqAct_GetRarityColor_TA' | |
bl_label = "Get Rarity Color" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetRarityColor_TA'TAGame.Default__SeqAct_GetRarityColor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["RarityColorsPrime", "RarityColorsChina", "bRandomize", "MinimumRandomQuality", "ColorIdx", "OutColor", "LastRandomIdx"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
RarityColorsPrime: bpy.props.StringProperty(name="RarityColorsPrime") | |
RarityColorsChina: bpy.props.StringProperty(name="RarityColorsChina") | |
bRandomize: bpy.props.BoolProperty(name="bRandomize") | |
MinimumRandomQuality: bpy.props.StringProperty(name="MinimumRandomQuality",default="EProductQuality.EPQ_Rare") | |
ColorIdx: bpy.props.IntProperty(name="ColorIdx") | |
OutColor: bpy.props.StringProperty(name="OutColor") | |
LastRandomIdx: bpy.props.IntProperty(name="LastRandomIdx",default=-1) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
RarityIndexSocket = self.inputs.new('NodeSocketInt', "Rarity Index") | |
RarityIndexSocket.display_shape = 'SQUARE' | |
RarityIndexSocket.link_limit = 250 | |
RandomSocket = self.inputs.new('NodeSocketBool', "Random") | |
RandomSocket.display_shape = 'SQUARE' | |
RandomSocket.link_limit = 250 | |
ColorSocket = self.inputs.new('NodeSocketVector', "Color") | |
ColorSocket.display_shape = 'SQUARE' | |
ColorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "RarityColorsPrime") | |
layout.prop(self, "RarityColorsChina") | |
layout.prop(self, "bRandomize") | |
layout.prop(self, "MinimumRandomQuality") | |
layout.prop(self, "ColorIdx") | |
layout.prop(self, "OutColor") | |
layout.prop(self, "LastRandomIdx") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Rarity Color" | |
class SeqAct_GetSaveData_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetSaveData_TA''' | |
bl_idname = 'SeqAct_GetSaveData_TA' | |
bl_label = "Get Save Data" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetSaveData_TA'TAGame.Default__SeqAct_GetSaveData_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SaveData"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SaveData: bpy.props.StringProperty(name="SaveData") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
Socket = self.inputs.new('NodeSocketString', "") | |
Socket.display_shape = 'SQUARE' | |
Socket.link_limit = 250 | |
SaveDataSocket = self.inputs.new('NodeSocketString', "Save Data") | |
SaveDataSocket.display_shape = 'SQUARE' | |
SaveDataSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SaveData") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Save Data" | |
class SeqAct_GetTeamScore_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetTeamScore_TA''' | |
bl_idname = 'SeqAct_GetTeamScore_TA' | |
bl_label = "Get Team Score" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetTeamScore_TA'TAGame.Default__SeqAct_GetTeamScore_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["TeamIndex", "TeamScore"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
TeamIndex: bpy.props.IntProperty(name="TeamIndex") | |
TeamScore: bpy.props.IntProperty(name="TeamScore") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TeamIndexSocket = self.inputs.new('NodeSocketInt', "Team Index") | |
TeamIndexSocket.display_shape = 'SQUARE' | |
TeamIndexSocket.link_limit = 250 | |
TeamScoreSocket = self.inputs.new('NodeSocketInt', "Team Score") | |
TeamScoreSocket.display_shape = 'SQUARE' | |
TeamScoreSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "TeamIndex") | |
layout.prop(self, "TeamScore") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Team Score" | |
class SeqAct_GetTutorialType_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetTutorialType_TA''' | |
bl_idname = 'SeqAct_GetTutorialType_TA' | |
bl_label = "Get Tutorial Type" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetTutorialType_TA'TAGame.Default__SeqAct_GetTutorialType_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
NoneSocket = self.outputs.new('NodeSocketString', "None") | |
NoneSocket.display_shape = 'CIRCLE_DOT' | |
NoneSocket.link_limit = 250 | |
BasicSocket = self.outputs.new('NodeSocketString', "Basic") | |
BasicSocket.display_shape = 'CIRCLE_DOT' | |
BasicSocket.link_limit = 250 | |
AdvancedSocket = self.outputs.new('NodeSocketString', "Advanced") | |
AdvancedSocket.display_shape = 'CIRCLE_DOT' | |
AdvancedSocket.link_limit = 250 | |
BasicV2Socket = self.outputs.new('NodeSocketString', "BasicV2") | |
BasicV2Socket.display_shape = 'CIRCLE_DOT' | |
BasicV2Socket.link_limit = 250 | |
AdvancedV2Socket = self.outputs.new('NodeSocketString', "AdvancedV2") | |
AdvancedV2Socket.display_shape = 'CIRCLE_DOT' | |
AdvancedV2Socket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Tutorial Type" | |
class SeqAct_GetWeatherEnabled_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GetWeatherEnabled_TA''' | |
bl_idname = 'SeqAct_GetWeatherEnabled_TA' | |
bl_label = "Get Weather Enabled" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GetWeatherEnabled_TA'TAGame.Default__SeqAct_GetWeatherEnabled_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["bEnabled"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bEnabled: bpy.props.BoolProperty(name="bEnabled") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
EnabledSocket = self.inputs.new('NodeSocketBool', "Enabled") | |
EnabledSocket.display_shape = 'SQUARE' | |
EnabledSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bEnabled") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Get Weather Enabled" | |
class SeqAct_GiveBoost_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_GiveBoost_TA''' | |
bl_idname = 'SeqAct_GiveBoost_TA' | |
bl_label = "Give Boost" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_GiveBoost_TA'TAGame.Default__SeqAct_GiveBoost_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "BoostAmount"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
BoostAmount: bpy.props.FloatProperty(name="BoostAmount",default=33.0) | |
def init(self, context): | |
GiveBoostAmountSocket = self.inputs.new('NodeSocketString', "Give Boost Amount") | |
GiveBoostAmountSocket.display_shape = 'CIRCLE' | |
GiveBoostAmountSocket.link_limit = 250 | |
GiveSuperBoostSocket = self.inputs.new('NodeSocketString', "Give Super Boost") | |
GiveSuperBoostSocket.display_shape = 'CIRCLE' | |
GiveSuperBoostSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "BoostAmount") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Give Boost" | |
class SeqAct_HideDuplicateCar_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_HideDuplicateCar_TA''' | |
bl_idname = 'SeqAct_HideDuplicateCar_TA' | |
bl_label = "Hide Duplicate Cars" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_HideDuplicateCar_TA'TAGame.Default__SeqAct_HideDuplicateCar_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ActorNameToHide", "bKeepAllInstancesHidden", "bFoundDemoedCar"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ActorNameToHide: bpy.props.StringProperty(name="ActorNameToHide") | |
bKeepAllInstancesHidden: bpy.props.BoolProperty(name="bKeepAllInstancesHidden") | |
bFoundDemoedCar: bpy.props.BoolProperty(name="bFoundDemoedCar") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ActorNameToHide") | |
layout.prop(self, "bKeepAllInstancesHidden") | |
layout.prop(self, "bFoundDemoedCar") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Hide Duplicate Cars" | |
class SeqAct_HighlightReelFinished_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_HighlightReelFinished_TA''' | |
bl_idname = 'SeqAct_HighlightReelFinished_TA' | |
bl_label = "Highlight Reel Finished" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_HighlightReelFinished_TA'TAGame.Default__SeqAct_HighlightReelFinished_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Highlight Reel Finished" | |
class SeqAct_InstanceMaterial_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_InstanceMaterial_TA''' | |
bl_idname = 'SeqAct_InstanceMaterial_TA' | |
bl_label = "Instance Material" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_InstanceMaterial_TA'TAGame.Default__SeqAct_InstanceMaterial_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MaterialInstance", "SK", "SM", "InstancedMaterial", "MatIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MaterialInstance: bpy.props.StringProperty(name="MaterialInstance") | |
SK: bpy.props.StringProperty(name="SK") | |
SM: bpy.props.StringProperty(name="SM") | |
InstancedMaterial: bpy.props.StringProperty(name="InstancedMaterial") | |
MatIndex: bpy.props.IntProperty(name="MatIndex") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
StaticMeshActorSocket = self.inputs.new('NodeSocketString', "Static Mesh Actor") | |
StaticMeshActorSocket.display_shape = 'SQUARE' | |
StaticMeshActorSocket.link_limit = 250 | |
MaterialIndexSocket = self.inputs.new('NodeSocketInt', "Material Index") | |
MaterialIndexSocket.display_shape = 'SQUARE' | |
MaterialIndexSocket.link_limit = 250 | |
InstancedMaterialSocket = self.inputs.new('NodeSocketString', "Instanced Material") | |
InstancedMaterialSocket.display_shape = 'SQUARE' | |
InstancedMaterialSocket.link_limit = 250 | |
SkeletalMeshActorSocket = self.inputs.new('NodeSocketString', "Skeletal Mesh Actor") | |
SkeletalMeshActorSocket.display_shape = 'SQUARE' | |
SkeletalMeshActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MaterialInstance") | |
layout.prop(self, "SK") | |
layout.prop(self, "SM") | |
layout.prop(self, "InstancedMaterial") | |
layout.prop(self, "MatIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Instance Material" | |
class SeqAct_IntroMenuCarsInPosition_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_IntroMenuCarsInPosition_TA''' | |
bl_idname = 'SeqAct_IntroMenuCarsInPosition_TA' | |
bl_label = "Intro Menu Cars In Position" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IntroMenuCarsInPosition_TA'TAGame.Default__SeqAct_IntroMenuCarsInPosition_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Intro Menu Cars In Position" | |
class SeqAct_IsActionPressed_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_IsActionPressed_TA''' | |
bl_idname = 'SeqAct_IsActionPressed_TA' | |
bl_label = "Is Action Pressed" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IsActionPressed_TA'TAGame.Default__SeqAct_IsActionPressed_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "ActionName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
ActionName: bpy.props.StringProperty(name="ActionName") | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "ActionName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Action Pressed" | |
class SeqAct_IsCrateRouletteEnabled_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_IsCrateRouletteEnabled_TA''' | |
bl_idname = 'SeqAct_IsCrateRouletteEnabled_TA' | |
bl_label = "Is Crate Roulette Enabled" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IsCrateRouletteEnabled_TA'TAGame.Default__SeqAct_IsCrateRouletteEnabled_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Crate Roulette Enabled" | |
class SeqAct_IsHumanPlayer_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_IsHumanPlayer_TA''' | |
bl_idname = 'SeqAct_IsHumanPlayer_TA' | |
bl_label = "Is Human Player" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IsHumanPlayer_TA'TAGame.Default__SeqAct_IsHumanPlayer_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "Target"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
Target: bpy.props.StringProperty(name="Target") | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "Target") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Human Player" | |
class SeqAct_IsTargetInPlayerCameraView(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_IsTargetInPlayerCameraView''' | |
bl_idname = 'SeqAct_IsTargetInPlayerCameraView' | |
bl_label = "Is Target In Player Camera View" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_IsTargetInPlayerCameraView'TAGame.Default__SeqAct_IsTargetInPlayerCameraView'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "Target", "MaxConeAngle"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
Target: bpy.props.StringProperty(name="Target") | |
MaxConeAngle: bpy.props.FloatProperty(name="MaxConeAngle") | |
def init(self, context): | |
CheckSocket = self.inputs.new('NodeSocketString', "Check") | |
CheckSocket.display_shape = 'CIRCLE' | |
CheckSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetIsInViewSocket = self.outputs.new('NodeSocketString', "Target Is In View") | |
TargetIsInViewSocket.display_shape = 'CIRCLE_DOT' | |
TargetIsInViewSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "Target") | |
layout.prop(self, "MaxConeAngle") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Is Target In Player Camera View" | |
class SeqAct_LoadMap_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_LoadMap_TA''' | |
bl_idname = 'SeqAct_LoadMap_TA' | |
bl_label = "Load Map" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_LoadMap_TA'TAGame.Default__SeqAct_LoadMap_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Map"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Map: bpy.props.StringProperty(name="Map") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Map") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Load Map" | |
class SeqAct_LookAtActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_LookAtActor_TA''' | |
bl_idname = 'SeqAct_LookAtActor_TA' | |
bl_label = "Look At Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_LookAtActor_TA'TAGame.Default__SeqAct_LookAtActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Actor", "ActorToLookAt", "InterpSpeed", "bConstantInterpSpeed", "bUpdating"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Actor: bpy.props.StringProperty(name="Actor") | |
ActorToLookAt: bpy.props.StringProperty(name="ActorToLookAt") | |
InterpSpeed: bpy.props.FloatProperty(name="InterpSpeed",default=3.0) | |
bConstantInterpSpeed: bpy.props.BoolProperty(name="bConstantInterpSpeed") | |
bUpdating: bpy.props.BoolProperty(name="bUpdating") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StopSocket = self.inputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE' | |
StopSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ActorSocket = self.inputs.new('NodeSocketString', "Actor") | |
ActorSocket.display_shape = 'SQUARE' | |
ActorSocket.link_limit = 250 | |
ActorToLookAtSocket = self.inputs.new('NodeSocketString', "ActorToLookAt") | |
ActorToLookAtSocket.display_shape = 'SQUARE' | |
ActorToLookAtSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Actor") | |
layout.prop(self, "ActorToLookAt") | |
layout.prop(self, "InterpSpeed") | |
layout.prop(self, "bConstantInterpSpeed") | |
layout.prop(self, "bUpdating") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Look At Actor" | |
class SeqAct_MainMenuSwitch_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_MainMenuSwitch_TA''' | |
bl_idname = 'SeqAct_MainMenuSwitch_TA' | |
bl_label = "Main Menu Switch" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MainMenuSwitch_TA'TAGame.Default__SeqAct_MainMenuSwitch_TA'" | |
KismetType = 'actions' | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
DefaultSocket = self.outputs.new('NodeSocketString', "Default") | |
DefaultSocket.display_shape = 'CIRCLE_DOT' | |
DefaultSocket.link_limit = 250 | |
UtopiaSnowSocket = self.outputs.new('NodeSocketString', "Utopia Snow") | |
UtopiaSnowSocket.display_shape = 'CIRCLE_DOT' | |
UtopiaSnowSocket.link_limit = 250 | |
HauntedStationSocket = self.outputs.new('NodeSocketString', "Haunted Station") | |
HauntedStationSocket.display_shape = 'CIRCLE_DOT' | |
HauntedStationSocket.link_limit = 250 | |
BeachSocket = self.outputs.new('NodeSocketString', "Beach") | |
BeachSocket.display_shape = 'CIRCLE_DOT' | |
BeachSocket.link_limit = 250 | |
BeachNightSocket = self.outputs.new('NodeSocketString', "Beach Night") | |
BeachNightSocket.display_shape = 'CIRCLE_DOT' | |
BeachNightSocket.link_limit = 250 | |
HalloweenSocket = self.outputs.new('NodeSocketString', "Halloween") | |
HalloweenSocket.display_shape = 'CIRCLE_DOT' | |
HalloweenSocket.link_limit = 250 | |
ChinaSocket = self.outputs.new('NodeSocketString', "China") | |
ChinaSocket.display_shape = 'CIRCLE_DOT' | |
ChinaSocket.link_limit = 250 | |
ParkDaySocket = self.outputs.new('NodeSocketString', "Park Day") | |
ParkDaySocket.display_shape = 'CIRCLE_DOT' | |
ParkDaySocket.link_limit = 250 | |
MusicSocket = self.outputs.new('NodeSocketString', "Music") | |
MusicSocket.display_shape = 'CIRCLE_DOT' | |
MusicSocket.link_limit = 250 | |
ThrowbackHockeySocket = self.outputs.new('NodeSocketString', "Throwback Hockey") | |
ThrowbackHockeySocket.display_shape = 'CIRCLE_DOT' | |
ThrowbackHockeySocket.link_limit = 250 | |
StadiumCircuitSocket = self.outputs.new('NodeSocketString', "Stadium Circuit") | |
StadiumCircuitSocket.display_shape = 'CIRCLE_DOT' | |
StadiumCircuitSocket.link_limit = 250 | |
OutlawSocket = self.outputs.new('NodeSocketString', "Outlaw") | |
OutlawSocket.display_shape = 'CIRCLE_DOT' | |
OutlawSocket.link_limit = 250 | |
ArcSocket = self.outputs.new('NodeSocketString', "Arc") | |
ArcSocket.display_shape = 'CIRCLE_DOT' | |
ArcSocket.link_limit = 250 | |
ParkSnowySocket = self.outputs.new('NodeSocketString', "Park Snowy") | |
ParkSnowySocket.display_shape = 'CIRCLE_DOT' | |
ParkSnowySocket.link_limit = 250 | |
TokyoToonSocket = self.outputs.new('NodeSocketString', "Tokyo Toon") | |
TokyoToonSocket.display_shape = 'CIRCLE_DOT' | |
TokyoToonSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Main Menu Switch" | |
class SeqAct_MatchCountdown_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_MatchCountdown_TA''' | |
bl_idname = 'SeqAct_MatchCountdown_TA' | |
bl_label = "MatchCountdown" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MatchCountdown_TA'TAGame.Default__SeqAct_MatchCountdown_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["CountdownTime"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
CountdownTime: bpy.props.IntProperty(name="CountdownTime",default=3) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CountdownTime") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "MatchCountdown" | |
class SeqAct_MoveActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_MoveActor_TA''' | |
bl_idname = 'SeqAct_MoveActor_TA' | |
bl_label = "Move Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_MoveActor_TA'TAGame.Default__SeqAct_MoveActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Actor", "MoveTransform", "InterpSpeed", "bConstantInterpSpeed", "bMove"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Actor: bpy.props.StringProperty(name="Actor") | |
MoveTransform: bpy.props.StringProperty(name="MoveTransform") | |
InterpSpeed: bpy.props.FloatProperty(name="InterpSpeed",default=3.0) | |
bConstantInterpSpeed: bpy.props.BoolProperty(name="bConstantInterpSpeed") | |
bMove: bpy.props.BoolProperty(name="bMove") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
FinishedMoveSocket = self.outputs.new('NodeSocketString', "Finished Move") | |
FinishedMoveSocket.display_shape = 'CIRCLE_DOT' | |
FinishedMoveSocket.link_limit = 250 | |
AbortedSocket = self.outputs.new('NodeSocketString', "Aborted") | |
AbortedSocket.display_shape = 'CIRCLE_DOT' | |
AbortedSocket.link_limit = 250 | |
ActorSocket = self.inputs.new('NodeSocketString', "Actor") | |
ActorSocket.display_shape = 'SQUARE' | |
ActorSocket.link_limit = 250 | |
MoveTransformSocket = self.inputs.new('NodeSocketString', "MoveTransform") | |
MoveTransformSocket.display_shape = 'SQUARE' | |
MoveTransformSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Actor") | |
layout.prop(self, "MoveTransform") | |
layout.prop(self, "InterpSpeed") | |
layout.prop(self, "bConstantInterpSpeed") | |
layout.prop(self, "bMove") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Move Actor" | |
class SeqAct_NotifyEventOnTutorial_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_NotifyEventOnTutorial_TA''' | |
bl_idname = 'SeqAct_NotifyEventOnTutorial_TA' | |
bl_label = "Notify Event On Tutorial" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_NotifyEventOnTutorial_TA'TAGame.Default__SeqAct_NotifyEventOnTutorial_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["EventName", "Instigator"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
EventName: bpy.props.StringProperty(name="EventName") | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
def init(self, context): | |
CallSocket = self.inputs.new('NodeSocketString', "Call") | |
CallSocket.display_shape = 'CIRCLE' | |
CallSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "EventName") | |
layout.prop(self, "Instigator") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Notify Event On Tutorial" | |
class SeqAct_ReinitPhys_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ReinitPhys_TA''' | |
bl_idname = 'SeqAct_ReinitPhys_TA' | |
bl_label = "Reinitialize RB Physics" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ReinitPhys_TA'TAGame.Default__SeqAct_ReinitPhys_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["RBObj"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
RBObj: bpy.props.StringProperty(name="RBObj") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
RBActorSocket = self.inputs.new('NodeSocketString', "RB Actor") | |
RBActorSocket.display_shape = 'SQUARE' | |
RBActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "RBObj") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Reinitialize RB Physics" | |
class SeqAct_RotateActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_RotateActor_TA''' | |
bl_idname = 'SeqAct_RotateActor_TA' | |
bl_label = "Rotate Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_RotateActor_TA'TAGame.Default__SeqAct_RotateActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Actor", "RotateTransform", "InterpSpeed", "bConstantInterpSpeed", "bUpdating", "RotateTolerance"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Actor: bpy.props.StringProperty(name="Actor") | |
RotateTransform: bpy.props.StringProperty(name="RotateTransform") | |
InterpSpeed: bpy.props.FloatProperty(name="InterpSpeed",default=3.0) | |
bConstantInterpSpeed: bpy.props.BoolProperty(name="bConstantInterpSpeed") | |
bUpdating: bpy.props.BoolProperty(name="bUpdating") | |
RotateTolerance: bpy.props.FloatProperty(name="RotateTolerance",default=0.10) | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ActorSocket = self.inputs.new('NodeSocketString', "Actor") | |
ActorSocket.display_shape = 'SQUARE' | |
ActorSocket.link_limit = 250 | |
RotateTransformSocket = self.inputs.new('NodeSocketString', "RotateTransform") | |
RotateTransformSocket.display_shape = 'SQUARE' | |
RotateTransformSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Actor") | |
layout.prop(self, "RotateTransform") | |
layout.prop(self, "InterpSpeed") | |
layout.prop(self, "bConstantInterpSpeed") | |
layout.prop(self, "bUpdating") | |
layout.prop(self, "RotateTolerance") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Rotate Actor" | |
class SeqAct_ScreenFade(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ScreenFade''' | |
bl_idname = 'SeqAct_ScreenFade' | |
bl_label = "Screen Fade" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ScreenFade'TAGame.Default__SeqAct_ScreenFade'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "FadeColor", "FadeTime", "bFadeAudio"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
FadeColor: bpy.props.StringProperty(name="FadeColor") | |
FadeTime: bpy.props.FloatProperty(name="FadeTime",default=0.30) | |
bFadeAudio: bpy.props.BoolProperty(name="bFadeAudio",default=True) | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "FadeColor") | |
layout.prop(self, "FadeTime") | |
layout.prop(self, "bFadeAudio") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Screen Fade" | |
class SeqAct_ScreenFade_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ScreenFade_TA''' | |
bl_idname = 'SeqAct_ScreenFade_TA' | |
bl_label = "Screen Fade" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ScreenFade_TA'TAGame.Default__SeqAct_ScreenFade_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "FadeColor", "FadeTime", "bFadeAudio"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
FadeColor: bpy.props.StringProperty(name="FadeColor") | |
FadeTime: bpy.props.FloatProperty(name="FadeTime",default=0.30) | |
bFadeAudio: bpy.props.BoolProperty(name="bFadeAudio",default=True) | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "FadeColor") | |
layout.prop(self, "FadeTime") | |
layout.prop(self, "bFadeAudio") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Screen Fade" | |
class SeqAct_SetBallCamTarget_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetBallCamTarget_TA''' | |
bl_idname = 'SeqAct_SetBallCamTarget_TA' | |
bl_label = "Set BallCam Target" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBallCamTarget_TA'TAGame.Default__SeqAct_SetBallCamTarget_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Target", "Instigator", "bForceBallCamTarget"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Target: bpy.props.StringProperty(name="Target") | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
bForceBallCamTarget: bpy.props.BoolProperty(name="bForceBallCamTarget") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Target") | |
layout.prop(self, "Instigator") | |
layout.prop(self, "bForceBallCamTarget") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set BallCam Target" | |
class SeqAct_SetBallMaterial_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetBallMaterial_TA''' | |
bl_idname = 'SeqAct_SetBallMaterial_TA' | |
bl_label = "Set Ball Material" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBallMaterial_TA'TAGame.Default__SeqAct_SetBallMaterial_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Ball", "Material", "MaterialID"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Ball: bpy.props.StringProperty(name="Ball") | |
Material: bpy.props.StringProperty(name="Material") | |
MaterialID: bpy.props.IntProperty(name="MaterialID") | |
def init(self, context): | |
SetSocket = self.inputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE' | |
SetSocket.link_limit = 250 | |
SetSocket = self.outputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE_DOT' | |
SetSocket.link_limit = 250 | |
BallSocket = self.inputs.new('NodeSocketString', "Ball") | |
BallSocket.display_shape = 'SQUARE' | |
BallSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Ball") | |
layout.prop(self, "Material") | |
layout.prop(self, "MaterialID") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Ball Material" | |
class SeqAct_SetBreakoutBallCharge_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetBreakoutBallCharge_TA''' | |
bl_idname = 'SeqAct_SetBreakoutBallCharge_TA' | |
bl_label = "Set Breakout Ball Charge" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBreakoutBallCharge_TA'TAGame.Default__SeqAct_SetBreakoutBallCharge_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["BallObj", "Charge", "Team"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
BallObj: bpy.props.StringProperty(name="BallObj") | |
Charge: bpy.props.IntProperty(name="Charge") | |
Team: bpy.props.IntProperty(name="Team") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
BreakoutBallSocket = self.inputs.new('NodeSocketString', "Breakout Ball") | |
BreakoutBallSocket.display_shape = 'SQUARE' | |
BreakoutBallSocket.link_limit = 250 | |
ChargeSocket = self.inputs.new('NodeSocketInt', "Charge") | |
ChargeSocket.display_shape = 'SQUARE' | |
ChargeSocket.link_limit = 250 | |
TeamSocket = self.inputs.new('NodeSocketInt', "Team") | |
TeamSocket.display_shape = 'SQUARE' | |
TeamSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "BallObj") | |
layout.prop(self, "Charge") | |
layout.prop(self, "Team") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Breakout Ball Charge" | |
class SeqAct_SetBreakoutTileDamage_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetBreakoutTileDamage_TA''' | |
bl_idname = 'SeqAct_SetBreakoutTileDamage_TA' | |
bl_label = "Set Breakout Platform Damage" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetBreakoutTileDamage_TA'TAGame.Default__SeqAct_SetBreakoutTileDamage_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["PlatformObj", "Damage"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
PlatformObj: bpy.props.StringProperty(name="PlatformObj") | |
Damage: bpy.props.IntProperty(name="Damage") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
BreakoutPlatformSocket = self.inputs.new('NodeSocketString', "Breakout Platform") | |
BreakoutPlatformSocket.display_shape = 'SQUARE' | |
BreakoutPlatformSocket.link_limit = 250 | |
DamageSocket = self.inputs.new('NodeSocketInt', "Damage") | |
DamageSocket.display_shape = 'SQUARE' | |
DamageSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlatformObj") | |
layout.prop(self, "Damage") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Breakout Platform Damage" | |
class SeqAct_SetCarTransform_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetCarTransform_TA''' | |
bl_idname = 'SeqAct_SetCarTransform_TA' | |
bl_label = "Set Car Transform" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetCarTransform_TA'TAGame.Default__SeqAct_SetCarTransform_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "Transform"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
Transform: bpy.props.StringProperty(name="Transform") | |
def init(self, context): | |
SetSocket = self.inputs.new('NodeSocketString', "Set") | |
SetSocket.display_shape = 'CIRCLE' | |
SetSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
TransformSocket = self.inputs.new('NodeSocketString', "Transform") | |
TransformSocket.display_shape = 'SQUARE' | |
TransformSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "Transform") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Car Transform" | |
class SeqAct_SetGreenScreen_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetGreenScreen_TA''' | |
bl_idname = 'SeqAct_SetGreenScreen_TA' | |
bl_label = "Set Green Screen" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetGreenScreen_TA'TAGame.Default__SeqAct_SetGreenScreen_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ColorToUse"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ColorToUse: bpy.props.StringProperty(name="ColorToUse",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
def init(self, context): | |
OnSocket = self.inputs.new('NodeSocketString', "On") | |
OnSocket.display_shape = 'CIRCLE' | |
OnSocket.link_limit = 250 | |
OffSocket = self.inputs.new('NodeSocketString', "Off") | |
OffSocket.display_shape = 'CIRCLE' | |
OffSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ColorToUse") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Green Screen" | |
class SeqAct_SetLoadout_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetLoadout_TA''' | |
bl_idname = 'SeqAct_SetLoadout_TA' | |
bl_label = "Set Loadout" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetLoadout_TA'TAGame.Default__SeqAct_SetLoadout_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Products", "ProductsWithPaint", "TeamFinish", "AccentFinish", "bUseInGameColors", "bOverwriteCurrent", "bUseDefaultLoadout", "bApplyToAllCars", "TeamColor", "AccentColor", "ForcedTeamOverride", "BodyPaint", "SkinPaint", "WheelPaint", "BoostPaint", "SSTrailPaint", "AntennaPaint", "HatPaint", "GoalExplosionPaint", "ParentCar"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Products: bpy.props.StringProperty(name="Products") | |
ProductsWithPaint: bpy.props.StringProperty(name="ProductsWithPaint") | |
TeamFinish: bpy.props.StringProperty(name="TeamFinish") | |
AccentFinish: bpy.props.StringProperty(name="AccentFinish") | |
bUseInGameColors: bpy.props.BoolProperty(name="bUseInGameColors",default=True) | |
bOverwriteCurrent: bpy.props.BoolProperty(name="bOverwriteCurrent") | |
bUseDefaultLoadout: bpy.props.BoolProperty(name="bUseDefaultLoadout") | |
bApplyToAllCars: bpy.props.BoolProperty(name="bApplyToAllCars") | |
TeamColor: bpy.props.StringProperty(name="TeamColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
AccentColor: bpy.props.StringProperty(name="AccentColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
ForcedTeamOverride: bpy.props.StringProperty(name="ForcedTeamOverride") | |
BodyPaint: bpy.props.StringProperty(name="BodyPaint") | |
SkinPaint: bpy.props.StringProperty(name="SkinPaint") | |
WheelPaint: bpy.props.StringProperty(name="WheelPaint") | |
BoostPaint: bpy.props.StringProperty(name="BoostPaint") | |
SSTrailPaint: bpy.props.StringProperty(name="SSTrailPaint") | |
AntennaPaint: bpy.props.StringProperty(name="AntennaPaint") | |
HatPaint: bpy.props.StringProperty(name="HatPaint") | |
GoalExplosionPaint: bpy.props.StringProperty(name="GoalExplosionPaint") | |
ParentCar: bpy.props.StringProperty(name="ParentCar") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Products") | |
layout.prop(self, "ProductsWithPaint") | |
layout.prop(self, "TeamFinish") | |
layout.prop(self, "AccentFinish") | |
layout.prop(self, "bUseInGameColors") | |
layout.prop(self, "bOverwriteCurrent") | |
layout.prop(self, "bUseDefaultLoadout") | |
layout.prop(self, "bApplyToAllCars") | |
layout.prop(self, "TeamColor") | |
layout.prop(self, "AccentColor") | |
layout.prop(self, "ForcedTeamOverride") | |
layout.prop(self, "BodyPaint") | |
layout.prop(self, "SkinPaint") | |
layout.prop(self, "WheelPaint") | |
layout.prop(self, "BoostPaint") | |
layout.prop(self, "SSTrailPaint") | |
layout.prop(self, "AntennaPaint") | |
layout.prop(self, "HatPaint") | |
layout.prop(self, "GoalExplosionPaint") | |
layout.prop(self, "ParentCar") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Loadout" | |
class SeqAct_SetMatInstVectorParam_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetMatInstVectorParam_TA''' | |
bl_idname = 'SeqAct_SetMatInstVectorParam_TA' | |
bl_label = "Set VectorParam MatInst" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMatInstVectorParam_TA'TAGame.Default__SeqAct_SetMatInstVectorParam_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MatInst", "ParamName", "VectorValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MatInst: bpy.props.StringProperty(name="MatInst") | |
ParamName: bpy.props.StringProperty(name="ParamName") | |
VectorValue: bpy.props.StringProperty(name="VectorValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
VectorValueSocket = self.inputs.new('NodeSocketVector', "VectorValue") | |
VectorValueSocket.display_shape = 'SQUARE' | |
VectorValueSocket.link_limit = 250 | |
MatInstValueSocket = self.inputs.new('NodeSocketString', "MatInstValue") | |
MatInstValueSocket.display_shape = 'SQUARE' | |
MatInstValueSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MatInst") | |
layout.prop(self, "ParamName") | |
layout.prop(self, "VectorValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set VectorParam MatInst" | |
class SeqAct_SetMeshMaterialScalarParameter_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetMeshMaterialScalarParameter_TA''' | |
bl_idname = 'SeqAct_SetMeshMaterialScalarParameter_TA' | |
bl_label = "Set Scalar Parameter on Static Meshes" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetMeshMaterialScalarParameter_TA'TAGame.Default__SeqAct_SetMeshMaterialScalarParameter_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MeshList", "ParamName", "ScalarValue"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MeshList: bpy.props.StringProperty(name="MeshList") | |
ParamName: bpy.props.StringProperty(name="ParamName") | |
ScalarValue: bpy.props.FloatProperty(name="ScalarValue") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
MeshesSocket = self.inputs.new('NodeSocketString', "Meshes") | |
MeshesSocket.display_shape = 'SQUARE' | |
MeshesSocket.link_limit = 250 | |
ScalarValueSocket = self.inputs.new('NodeSocketFloat', "ScalarValue") | |
ScalarValueSocket.display_shape = 'SQUARE' | |
ScalarValueSocket.link_limit = 250 | |
ParamNameSocket = self.inputs.new('NodeSocketString', "ParamName") | |
ParamNameSocket.display_shape = 'SQUARE' | |
ParamNameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MeshList") | |
layout.prop(self, "ParamName") | |
layout.prop(self, "ScalarValue") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Scalar Parameter on Static Meshes" | |
class SeqAct_SetNameplate_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetNameplate_TA''' | |
bl_idname = 'SeqAct_SetNameplate_TA' | |
bl_label = "Set Nameplate" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetNameplate_TA'TAGame.Default__SeqAct_SetNameplate_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "LocalizedPlayerName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
LocalizedPlayerName: bpy.props.StringProperty(name="LocalizedPlayerName") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
FinishedSocket = self.outputs.new('NodeSocketString', "Finished") | |
FinishedSocket.display_shape = 'CIRCLE_DOT' | |
FinishedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "LocalizedPlayerName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Nameplate" | |
class SeqAct_SetPostProcess_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetPostProcess_TA''' | |
bl_idname = 'SeqAct_SetPostProcess_TA' | |
bl_label = "Set Post Process" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetPostProcess_TA'TAGame.Default__SeqAct_SetPostProcess_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Chains", "bReplaceCurrentChain"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Chains: bpy.props.StringProperty(name="Chains") | |
bReplaceCurrentChain: bpy.props.BoolProperty(name="bReplaceCurrentChain",default=True) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Chains") | |
layout.prop(self, "bReplaceCurrentChain") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Post Process" | |
class SeqAct_SetReplayCamera_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetReplayCamera_TA''' | |
bl_idname = 'SeqAct_SetReplayCamera_TA' | |
bl_label = "Set Replay Camera" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetReplayCamera_TA'TAGame.Default__SeqAct_SetReplayCamera_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FocusActor", "LocationOffset", "Rotation", "FOV"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FocusActor: bpy.props.StringProperty(name="FocusActor") | |
LocationOffset: bpy.props.StringProperty(name="LocationOffset",default="(X=-300.0,Y=0.0,Z=75.0)") | |
Rotation: bpy.props.StringProperty(name="Rotation",default="(Pitch=-3000,Yaw=0,Roll=0)") | |
FOV: bpy.props.FloatProperty(name="FOV",default=90.0) | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FocusActor") | |
layout.prop(self, "LocationOffset") | |
layout.prop(self, "Rotation") | |
layout.prop(self, "FOV") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Replay Camera" | |
class SeqAct_SetReplayFX_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetReplayFX_TA''' | |
bl_idname = 'SeqAct_SetReplayFX_TA' | |
bl_label = "Set Replay FX" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetReplayFX_TA'TAGame.Default__SeqAct_SetReplayFX_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["FocusDistance", "FocusBlur", "FocusStrength", "bUseGreenScreen", "bUseVignetteOverlay", "GreenScreenColor", "ImageFilterIndex", "ImageFilterIntensity", "Vignette"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
FocusDistance: bpy.props.FloatProperty(name="FocusDistance",default=100.0) | |
FocusBlur: bpy.props.IntProperty(name="FocusBlur",default=2) | |
FocusStrength: bpy.props.FloatProperty(name="FocusStrength",default=100.0) | |
bUseGreenScreen: bpy.props.BoolProperty(name="bUseGreenScreen") | |
bUseVignetteOverlay: bpy.props.BoolProperty(name="bUseVignetteOverlay") | |
GreenScreenColor: bpy.props.StringProperty(name="GreenScreenColor",default="(R=0.0,G=1.0,B=0.0,A=1.0)") | |
ImageFilterIndex: bpy.props.StringProperty(name="ImageFilterIndex") | |
ImageFilterIntensity: bpy.props.FloatProperty(name="ImageFilterIntensity",default=1.0) | |
Vignette: bpy.props.FloatProperty(name="Vignette") | |
def init(self, context): | |
OnSocket = self.inputs.new('NodeSocketString', "On") | |
OnSocket.display_shape = 'CIRCLE' | |
OnSocket.link_limit = 250 | |
OffSocket = self.inputs.new('NodeSocketString', "Off") | |
OffSocket.display_shape = 'CIRCLE' | |
OffSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FocusDistance") | |
layout.prop(self, "FocusBlur") | |
layout.prop(self, "FocusStrength") | |
layout.prop(self, "bUseGreenScreen") | |
layout.prop(self, "bUseVignetteOverlay") | |
layout.prop(self, "GreenScreenColor") | |
layout.prop(self, "ImageFilterIndex") | |
layout.prop(self, "ImageFilterIntensity") | |
layout.prop(self, "Vignette") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Replay FX" | |
class SeqAct_SetSkelMATLoadout_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetSkelMATLoadout_TA''' | |
bl_idname = 'SeqAct_SetSkelMATLoadout_TA' | |
bl_label = "Set SkelMAT Loadout" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetSkelMATLoadout_TA'TAGame.Default__SeqAct_SetSkelMATLoadout_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ActorMAT", "ControllerOrPawn", "LoadoutIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ActorMAT: bpy.props.StringProperty(name="ActorMAT") | |
ControllerOrPawn: bpy.props.StringProperty(name="ControllerOrPawn") | |
LoadoutIndex: bpy.props.IntProperty(name="LoadoutIndex") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
SkelMATSocket = self.inputs.new('NodeSocketString', "Skel MAT") | |
SkelMATSocket.display_shape = 'SQUARE' | |
SkelMATSocket.link_limit = 250 | |
PlayerSocket = self.inputs.new('NodeSocketString', "Player") | |
PlayerSocket.display_shape = 'SQUARE' | |
PlayerSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ActorMAT") | |
layout.prop(self, "ControllerOrPawn") | |
layout.prop(self, "LoadoutIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set SkelMAT Loadout" | |
class SeqAct_SetStadiumTeamColors_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetStadiumTeamColors_TA''' | |
bl_idname = 'SeqAct_SetStadiumTeamColors_TA' | |
bl_label = "Set Stadium Team Colors" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetStadiumTeamColors_TA'TAGame.Default__SeqAct_SetStadiumTeamColors_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["BlueColors", "OrangeColors"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
BlueColors: bpy.props.StringProperty(name="BlueColors") | |
OrangeColors: bpy.props.StringProperty(name="OrangeColors") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "BlueColors") | |
layout.prop(self, "OrangeColors") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Stadium Team Colors" | |
class SeqAct_SetTimeDilation_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetTimeDilation_TA''' | |
bl_idname = 'SeqAct_SetTimeDilation_TA' | |
bl_label = "Set Time Dilation" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetTimeDilation_TA'TAGame.Default__SeqAct_SetTimeDilation_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["VfTable_FTickableObject", "bUseCurve", "bActivated", "CurrentTime", "EndTime", "SlomoValue", "SlomoCurve"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
VfTable_FTickableObject: bpy.props.StringProperty(name="VfTable_FTickableObject") | |
bUseCurve: bpy.props.BoolProperty(name="bUseCurve") | |
bActivated: bpy.props.BoolProperty(name="bActivated") | |
CurrentTime: bpy.props.FloatProperty(name="CurrentTime") | |
EndTime: bpy.props.FloatProperty(name="EndTime") | |
SlomoValue: bpy.props.FloatProperty(name="SlomoValue") | |
SlomoCurve: bpy.props.StringProperty(name="SlomoCurve",default="(Distribution=DistributionFloatConstantCurve'Default__SeqAct_SetTimeDilation_TA.DistributionVelOverLife',Type=0,Op=1,LookupTableNumElements=1,LookupTableChunkSize=1,LookupTable=(0.0,0.0,0.0,0.0),LookupTableTimeScale=0.0,LookupTableStartTime=0.0)") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VfTable_FTickableObject") | |
layout.prop(self, "bUseCurve") | |
layout.prop(self, "bActivated") | |
layout.prop(self, "CurrentTime") | |
layout.prop(self, "EndTime") | |
layout.prop(self, "SlomoValue") | |
layout.prop(self, "SlomoCurve") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Time Dilation" | |
class SeqAct_SetTutorialGameEvent_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetTutorialGameEvent_TA''' | |
bl_idname = 'SeqAct_SetTutorialGameEvent_TA' | |
bl_label = "Set Tutorial GameEvent" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetTutorialGameEvent_TA'TAGame.Default__SeqAct_SetTutorialGameEvent_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["TutorialType"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
TutorialType: bpy.props.StringProperty(name="TutorialType") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "TutorialType") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Tutorial GameEvent" | |
class SeqAct_SetTutorialTip_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetTutorialTip_TA''' | |
bl_idname = 'SeqAct_SetTutorialTip_TA' | |
bl_label = "Set Tutorial Tip" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetTutorialTip_TA'TAGame.Default__SeqAct_SetTutorialTip_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Tip", "ActionNames"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Tip: bpy.props.StringProperty(name="Tip") | |
ActionNames: bpy.props.StringProperty(name="ActionNames") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Tip") | |
layout.prop(self, "ActionNames") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Tutorial Tip" | |
class SeqAct_SetVehicleInput_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SetVehicleInput_TA''' | |
bl_idname = 'SeqAct_SetVehicleInput_TA' | |
bl_label = "Set Vehicle Input" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SetVehicleInput_TA'TAGame.Default__SeqAct_SetVehicleInput_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Input"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Input: bpy.props.StringProperty(name="Input") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Input") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Set Vehicle Input" | |
class SeqAct_SpawnActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SpawnActor_TA''' | |
bl_idname = 'SeqAct_SpawnActor_TA' | |
bl_label = "Spawn Actor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SpawnActor_TA'TAGame.Default__SeqAct_SpawnActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["ActorArchetype", "Transform", "SpawnedActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
ActorArchetype: bpy.props.StringProperty(name="ActorArchetype") | |
Transform: bpy.props.StringProperty(name="Transform") | |
SpawnedActor: bpy.props.StringProperty(name="SpawnedActor") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ActorArchetypeSocket = self.inputs.new('NodeSocketString', "Actor Archetype") | |
ActorArchetypeSocket.display_shape = 'SQUARE' | |
ActorArchetypeSocket.link_limit = 250 | |
TransformSocket = self.inputs.new('NodeSocketString', "Transform") | |
TransformSocket.display_shape = 'SQUARE' | |
TransformSocket.link_limit = 250 | |
SpawnedActorSocket = self.inputs.new('NodeSocketString', "Spawned Actor") | |
SpawnedActorSocket.display_shape = 'SQUARE' | |
SpawnedActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "ActorArchetype") | |
layout.prop(self, "Transform") | |
layout.prop(self, "SpawnedActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawn Actor" | |
class SeqAct_SpawnBot_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SpawnBot_TA''' | |
bl_idname = 'SeqAct_SpawnBot_TA' | |
bl_label = "Spawn Bot" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SpawnBot_TA'TAGame.Default__SeqAct_SpawnBot_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["SpawnedBot", "SpawnTransform", "SkillLevel", "bDisableAllLogic", "bCollideWithBall", "bCollideWithVehicle", "TeamIndex"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
SpawnedBot: bpy.props.StringProperty(name="SpawnedBot") | |
SpawnTransform: bpy.props.StringProperty(name="SpawnTransform") | |
SkillLevel: bpy.props.FloatProperty(name="SkillLevel") | |
bDisableAllLogic: bpy.props.BoolProperty(name="bDisableAllLogic") | |
bCollideWithBall: bpy.props.BoolProperty(name="bCollideWithBall",default=True) | |
bCollideWithVehicle: bpy.props.BoolProperty(name="bCollideWithVehicle",default=True) | |
TeamIndex: bpy.props.IntProperty(name="TeamIndex") | |
def init(self, context): | |
SpawnSocket = self.inputs.new('NodeSocketString', "Spawn") | |
SpawnSocket.display_shape = 'CIRCLE' | |
SpawnSocket.link_limit = 250 | |
DestroySocket = self.inputs.new('NodeSocketString', "Destroy") | |
DestroySocket.display_shape = 'CIRCLE' | |
DestroySocket.link_limit = 250 | |
SpawnedSocket = self.outputs.new('NodeSocketString', "Spawned") | |
SpawnedSocket.display_shape = 'CIRCLE_DOT' | |
SpawnedSocket.link_limit = 250 | |
DestroyedSocket = self.outputs.new('NodeSocketString', "Destroyed") | |
DestroyedSocket.display_shape = 'CIRCLE_DOT' | |
DestroyedSocket.link_limit = 250 | |
SpawnedBotSocket = self.inputs.new('NodeSocketString', "Spawned Bot") | |
SpawnedBotSocket.display_shape = 'SQUARE' | |
SpawnedBotSocket.link_limit = 250 | |
SpawnTransformSocket = self.inputs.new('NodeSocketString', "Spawn Transform") | |
SpawnTransformSocket.display_shape = 'SQUARE' | |
SpawnTransformSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SpawnedBot") | |
layout.prop(self, "SpawnTransform") | |
layout.prop(self, "SkillLevel") | |
layout.prop(self, "bDisableAllLogic") | |
layout.prop(self, "bCollideWithBall") | |
layout.prop(self, "bCollideWithVehicle") | |
layout.prop(self, "TeamIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawn Bot" | |
class SeqAct_SpawnCarColors_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SpawnCarColors_TA''' | |
bl_idname = 'SeqAct_SpawnCarColors_TA' | |
bl_label = "Spawn Car Colors" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SpawnCarColors_TA'TAGame.Default__SeqAct_SpawnCarColors_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["AccentColors", "AccentTeamColor", "BlueTeamColors", "OrangeTeamColors", "TeamAccentColor", "Body", "Skin", "CarYaw", "CarOffsetX", "CarOffsetY", "SetOffsetY", "BaseOffsetY"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
AccentColors: bpy.props.StringProperty(name="AccentColors",default="(ColorSet=none,bRender=true)") | |
AccentTeamColor: bpy.props.StringProperty(name="AccentTeamColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
BlueTeamColors: bpy.props.StringProperty(name="BlueTeamColors",default="(ColorSet=none,bRender=true)") | |
OrangeTeamColors: bpy.props.StringProperty(name="OrangeTeamColors",default="(ColorSet=none,bRender=true)") | |
TeamAccentColor: bpy.props.StringProperty(name="TeamAccentColor",default="(R=0.0,G=0.0,B=0.0,A=1.0)") | |
Body: bpy.props.StringProperty(name="Body") | |
Skin: bpy.props.StringProperty(name="Skin") | |
CarYaw: bpy.props.IntProperty(name="CarYaw",default=-90) | |
CarOffsetX: bpy.props.FloatProperty(name="CarOffsetX",default=100.0) | |
CarOffsetY: bpy.props.FloatProperty(name="CarOffsetY",default=200.0) | |
SetOffsetY: bpy.props.FloatProperty(name="SetOffsetY",default=300.0) | |
BaseOffsetY: bpy.props.FloatProperty(name="BaseOffsetY") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "AccentColors") | |
layout.prop(self, "AccentTeamColor") | |
layout.prop(self, "BlueTeamColors") | |
layout.prop(self, "OrangeTeamColors") | |
layout.prop(self, "TeamAccentColor") | |
layout.prop(self, "Body") | |
layout.prop(self, "Skin") | |
layout.prop(self, "CarYaw") | |
layout.prop(self, "CarOffsetX") | |
layout.prop(self, "CarOffsetY") | |
layout.prop(self, "SetOffsetY") | |
layout.prop(self, "BaseOffsetY") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawn Car Colors" | |
class SeqAct_SpawnFXActor_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_SpawnFXActor_TA''' | |
bl_idname = 'SeqAct_SpawnFXActor_TA' | |
bl_label = "Spawn FXActor" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_SpawnFXActor_TA'TAGame.Default__SeqAct_SpawnFXActor_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["VfTable_FTickableObject", "FXActor", "Product", "Transform", "Location", "Rotation", "ActorToSpawnOn", "SpawnedFXActor", "Paint", "PaintParameterNames", "bTickable", "BallLocMic"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
VfTable_FTickableObject: bpy.props.StringProperty(name="VfTable_FTickableObject") | |
FXActor: bpy.props.StringProperty(name="FXActor") | |
Product: bpy.props.StringProperty(name="Product") | |
Transform: bpy.props.StringProperty(name="Transform") | |
Location: bpy.props.StringProperty(name="Location") | |
Rotation: bpy.props.StringProperty(name="Rotation") | |
ActorToSpawnOn: bpy.props.StringProperty(name="ActorToSpawnOn") | |
SpawnedFXActor: bpy.props.StringProperty(name="SpawnedFXActor") | |
Paint: bpy.props.StringProperty(name="Paint") | |
PaintParameterNames: bpy.props.StringProperty(name="PaintParameterNames",default="CustomColor") | |
bTickable: bpy.props.BoolProperty(name="bTickable",default=True) | |
BallLocMic: bpy.props.StringProperty(name="BallLocMic") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
ActortoSpawnOnSocket = self.inputs.new('NodeSocketString', "Actor to Spawn On") | |
ActortoSpawnOnSocket.display_shape = 'SQUARE' | |
ActortoSpawnOnSocket.link_limit = 250 | |
FXActorSocket = self.inputs.new('NodeSocketString', "FXActor") | |
FXActorSocket.display_shape = 'SQUARE' | |
FXActorSocket.link_limit = 250 | |
TransformSocket = self.inputs.new('NodeSocketString', "Transform") | |
TransformSocket.display_shape = 'SQUARE' | |
TransformSocket.link_limit = 250 | |
SpawnedFXActorSocket = self.inputs.new('NodeSocketString', "Spawned FXActor") | |
SpawnedFXActorSocket.display_shape = 'SQUARE' | |
SpawnedFXActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "VfTable_FTickableObject") | |
layout.prop(self, "FXActor") | |
layout.prop(self, "Product") | |
layout.prop(self, "Transform") | |
layout.prop(self, "Location") | |
layout.prop(self, "Rotation") | |
layout.prop(self, "ActorToSpawnOn") | |
layout.prop(self, "SpawnedFXActor") | |
layout.prop(self, "Paint") | |
layout.prop(self, "PaintParameterNames") | |
layout.prop(self, "bTickable") | |
layout.prop(self, "BallLocMic") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Spawn FXActor" | |
class SeqAct_StartTutorial_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_StartTutorial_TA''' | |
bl_idname = 'SeqAct_StartTutorial_TA' | |
bl_label = "Start Tutorial" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_StartTutorial_TA'TAGame.Default__SeqAct_StartTutorial_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["Instigator", "TutorialName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
Instigator: bpy.props.StringProperty(name="Instigator") | |
TutorialName: bpy.props.StringProperty(name="TutorialName") | |
def init(self, context): | |
StartSocket = self.inputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE' | |
StartSocket.link_limit = 250 | |
StartSkipFadeSocket = self.inputs.new('NodeSocketString', "StartSkipFade") | |
StartSkipFadeSocket.display_shape = 'CIRCLE' | |
StartSkipFadeSocket.link_limit = 250 | |
EndedSocket = self.outputs.new('NodeSocketString', "Ended") | |
EndedSocket.display_shape = 'CIRCLE_DOT' | |
EndedSocket.link_limit = 250 | |
CompletedSocket = self.outputs.new('NodeSocketString', "Completed") | |
CompletedSocket.display_shape = 'CIRCLE_DOT' | |
CompletedSocket.link_limit = 250 | |
FailedSocket = self.outputs.new('NodeSocketString', "Failed") | |
FailedSocket.display_shape = 'CIRCLE_DOT' | |
FailedSocket.link_limit = 250 | |
ScreenFadedInSocket = self.outputs.new('NodeSocketString', "Screen Faded In") | |
ScreenFadedInSocket.display_shape = 'CIRCLE_DOT' | |
ScreenFadedInSocket.link_limit = 250 | |
ScreenFadedOutSocket = self.outputs.new('NodeSocketString', "Screen Faded Out") | |
ScreenFadedOutSocket.display_shape = 'CIRCLE_DOT' | |
ScreenFadedOutSocket.link_limit = 250 | |
AllMessagesDisplayedSocket = self.outputs.new('NodeSocketString', "All Messages Displayed") | |
AllMessagesDisplayedSocket.display_shape = 'CIRCLE_DOT' | |
AllMessagesDisplayedSocket.link_limit = 250 | |
StartedSocket = self.outputs.new('NodeSocketString', "Started") | |
StartedSocket.display_shape = 'CIRCLE_DOT' | |
StartedSocket.link_limit = 250 | |
ResetSocket = self.outputs.new('NodeSocketString', "Reset") | |
ResetSocket.display_shape = 'CIRCLE_DOT' | |
ResetSocket.link_limit = 250 | |
SkippedSocket = self.outputs.new('NodeSocketString', "Skipped") | |
SkippedSocket.display_shape = 'CIRCLE_DOT' | |
SkippedSocket.link_limit = 250 | |
AnswerRightSocket = self.outputs.new('NodeSocketString', "Answer Right") | |
AnswerRightSocket.display_shape = 'CIRCLE_DOT' | |
AnswerRightSocket.link_limit = 250 | |
AnswerWrongSocket = self.outputs.new('NodeSocketString', "Answer Wrong") | |
AnswerWrongSocket.display_shape = 'CIRCLE_DOT' | |
AnswerWrongSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Instigator") | |
layout.prop(self, "TutorialName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Start Tutorial" | |
class SeqAct_TermPhys_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_TermPhys_TA''' | |
bl_idname = 'SeqAct_TermPhys_TA' | |
bl_label = "Terminate RB Physics" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_TermPhys_TA'TAGame.Default__SeqAct_TermPhys_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["RBObj"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
RBObj: bpy.props.StringProperty(name="RBObj") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
RBActorSocket = self.inputs.new('NodeSocketString', "RB Actor") | |
RBActorSocket.display_shape = 'SQUARE' | |
RBActorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "RBObj") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Terminate RB Physics" | |
class SeqAct_ToggleUIOverlay_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_ToggleUIOverlay_TA''' | |
bl_idname = 'SeqAct_ToggleUIOverlay_TA' | |
bl_label = "Toggle UI Overlay" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_ToggleUIOverlay_TA'TAGame.Default__SeqAct_ToggleUIOverlay_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["UIOverlayName"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
UIOverlayName: bpy.props.StringProperty(name="UIOverlayName") | |
def init(self, context): | |
EnableSocket = self.inputs.new('NodeSocketString', "Enable") | |
EnableSocket.display_shape = 'CIRCLE' | |
EnableSocket.link_limit = 250 | |
DisableSocket = self.inputs.new('NodeSocketString', "Disable") | |
DisableSocket.display_shape = 'CIRCLE' | |
DisableSocket.link_limit = 250 | |
EnabledSocket = self.outputs.new('NodeSocketString', "Enabled") | |
EnabledSocket.display_shape = 'CIRCLE_DOT' | |
EnabledSocket.link_limit = 250 | |
DisabledSocket = self.outputs.new('NodeSocketString', "Disabled") | |
DisabledSocket.display_shape = 'CIRCLE_DOT' | |
DisabledSocket.link_limit = 250 | |
TargetSocket = self.inputs.new('NodeSocketString', "Target") | |
TargetSocket.display_shape = 'SQUARE' | |
TargetSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "UIOverlayName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Toggle UI Overlay" | |
class SeqAct_UpdateAd_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqAct_UpdateAd_TA''' | |
bl_idname = 'SeqAct_UpdateAd_TA' | |
bl_label = "UpdateAd" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqAct_UpdateAd_TA'TAGame.Default__SeqAct_UpdateAd_TA'" | |
KismetType = 'actions' | |
_SequenceItemVariableNames = ["MeshActor"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
MeshActor: bpy.props.StringProperty(name="MeshActor") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
MeshSocket = self.inputs.new('NodeSocketString', "Mesh") | |
MeshSocket.display_shape = 'SQUARE' | |
MeshSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "MeshActor") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "UpdateAd" | |
class SeqCond_CompareString_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqCond_CompareString_TA''' | |
bl_idname = 'SeqCond_CompareString_TA' | |
bl_label = "Compare String" | |
bl_icon = 'NODETREE' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqCond_CompareString_TA'TAGame.Default__SeqCond_CompareString_TA'" | |
KismetType = 'conditions' | |
_SequenceItemVariableNames = ["bIgnoreCase", "StringA", "StringB"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
breakpoint: bpy.props.BoolProperty(name='breakpoint', default=False) | |
bIgnoreCase: bpy.props.BoolProperty(name="bIgnoreCase",default=True) | |
StringA: bpy.props.StringProperty(name="StringA") | |
StringB: bpy.props.StringProperty(name="StringB") | |
def init(self, context): | |
InSocket = self.inputs.new('NodeSocketString', "In") | |
InSocket.display_shape = 'CIRCLE' | |
InSocket.link_limit = 250 | |
TrueSocket = self.outputs.new('NodeSocketString', "True") | |
TrueSocket.display_shape = 'CIRCLE_DOT' | |
TrueSocket.link_limit = 250 | |
FalseSocket = self.outputs.new('NodeSocketString', "False") | |
FalseSocket.display_shape = 'CIRCLE_DOT' | |
FalseSocket.link_limit = 250 | |
StringASocket = self.inputs.new('NodeSocketString', "String A") | |
StringASocket.display_shape = 'SQUARE' | |
StringASocket.link_limit = 250 | |
StringBSocket = self.inputs.new('NodeSocketString', "String B") | |
StringBSocket.display_shape = 'SQUARE' | |
StringBSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bIgnoreCase") | |
layout.prop(self, "StringA") | |
layout.prop(self, "StringB") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'breakpoint') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Compare String" | |
class SeqEvent_BallInRange_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_BallInRange_TA''' | |
bl_idname = 'SeqEvent_BallInRange_TA' | |
bl_label = "Ball In Range" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_BallInRange_TA'TAGame.Default__SeqEvent_BallInRange_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
EnterRangeSocket = self.outputs.new('NodeSocketString', "Enter Range") | |
EnterRangeSocket.display_shape = 'CIRCLE_DOT' | |
EnterRangeSocket.link_limit = 250 | |
ExitRangeSocket = self.outputs.new('NodeSocketString', "Exit Range") | |
ExitRangeSocket.display_shape = 'CIRCLE_DOT' | |
ExitRangeSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Ball In Range" | |
class SeqEvent_CarSelectStart_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CarSelectStart_TA''' | |
bl_idname = 'SeqEvent_CarSelectStart_TA' | |
bl_label = "Car Selection" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CarSelectStart_TA'TAGame.Default__SeqEvent_CarSelectStart_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
EndSocket = self.outputs.new('NodeSocketString', "End") | |
EndSocket.display_shape = 'CIRCLE_DOT' | |
EndSocket.link_limit = 250 | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Car Selection" | |
class SeqEvent_CarSpawned_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CarSpawned_TA''' | |
bl_idname = 'SeqEvent_CarSpawned_TA' | |
bl_label = "Car Spawned" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CarSpawned_TA'TAGame.Default__SeqEvent_CarSpawned_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["PlayerName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
PlayerName: bpy.props.StringProperty(name="PlayerName") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PlayerName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Car Spawned" | |
class SeqEvent_CarTouchBall_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CarTouchBall_TA''' | |
bl_idname = 'SeqEvent_CarTouchBall_TA' | |
bl_label = "Car Touch Ball" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CarTouchBall_TA'TAGame.Default__SeqEvent_CarTouchBall_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["bOneTouchOnly", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
bOneTouchOnly: bpy.props.BoolProperty(name="bOneTouchOnly") | |
def init(self, context): | |
OnTouchSocket = self.outputs.new('NodeSocketString', "On Touch") | |
OnTouchSocket.display_shape = 'CIRCLE_DOT' | |
OnTouchSocket.link_limit = 250 | |
AlreadyTouchedSocket = self.outputs.new('NodeSocketString', "Already Touched") | |
AlreadyTouchedSocket.display_shape = 'CIRCLE_DOT' | |
AlreadyTouchedSocket.link_limit = 250 | |
BallSocket = self.inputs.new('NodeSocketString', "Ball") | |
BallSocket.display_shape = 'SQUARE' | |
BallSocket.link_limit = 250 | |
CarSocket = self.inputs.new('NodeSocketString', "Car") | |
CarSocket.display_shape = 'SQUARE' | |
CarSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "bOneTouchOnly") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Car Touch Ball" | |
class SeqEvent_CinematicIntroSeqFinished_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CinematicIntroSeqFinished_TA''' | |
bl_idname = 'SeqEvent_CinematicIntroSeqFinished_TA' | |
bl_label = "Cinematic Intro Sequence Finished" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CinematicIntroSeqFinished_TA'TAGame.Default__SeqEvent_CinematicIntroSeqFinished_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["SequenceIndex", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
SequenceIndex: bpy.props.IntProperty(name="SequenceIndex") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
SequenceIndexSocket = self.inputs.new('NodeSocketInt', "SequenceIndex") | |
SequenceIndexSocket.display_shape = 'SQUARE' | |
SequenceIndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SequenceIndex") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Cinematic Intro Sequence Finished" | |
class SeqEvent_CountDownCompleted_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CountDownCompleted_TA''' | |
bl_idname = 'SeqEvent_CountDownCompleted_TA' | |
bl_label = "CountDown Completed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CountDownCompleted_TA'TAGame.Default__SeqEvent_CountDownCompleted_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
EndCountDownSocket = self.outputs.new('NodeSocketString', "End CountDown") | |
EndCountDownSocket.display_shape = 'CIRCLE_DOT' | |
EndCountDownSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "CountDown Completed" | |
class SeqEvent_CountDownStart_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_CountDownStart_TA''' | |
bl_idname = 'SeqEvent_CountDownStart_TA' | |
bl_label = "CountDown Start" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_CountDownStart_TA'TAGame.Default__SeqEvent_CountDownStart_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
StartCountDownSocket = self.outputs.new('NodeSocketString', "Start CountDown") | |
StartCountDownSocket.display_shape = 'CIRCLE_DOT' | |
StartCountDownSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "CountDown Start" | |
class SeqEvent_GameEventStateChanged_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_GameEventStateChanged_TA''' | |
bl_idname = 'SeqEvent_GameEventStateChanged_TA' | |
bl_label = "GameEvent State Changed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_GameEventStateChanged_TA'TAGame.Default__SeqEvent_GameEventStateChanged_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["StateName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
StateName: bpy.props.StringProperty(name="StateName") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
StateNameSocket = self.inputs.new('NodeSocketString', "State Name") | |
StateNameSocket.display_shape = 'SQUARE' | |
StateNameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "StateName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "GameEvent State Changed" | |
class SeqEvent_GameTimeChanged_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_GameTimeChanged_TA''' | |
bl_idname = 'SeqEvent_GameTimeChanged_TA' | |
bl_label = "Game Time Changed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_GameTimeChanged_TA'TAGame.Default__SeqEvent_GameTimeChanged_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["CallTimePercent", "bHasBeenCalled", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
CallTimePercent: bpy.props.FloatProperty(name="CallTimePercent") | |
bHasBeenCalled: bpy.props.BoolProperty(name="bHasBeenCalled") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
CallTimePercentSocket = self.inputs.new('NodeSocketFloat', "Call Time Percent") | |
CallTimePercentSocket.display_shape = 'SQUARE' | |
CallTimePercentSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "CallTimePercent") | |
layout.prop(self, "bHasBeenCalled") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Game Time Changed" | |
class SeqEvent_GarageComplexState_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_GarageComplexState_TA''' | |
bl_idname = 'SeqEvent_GarageComplexState_TA' | |
bl_label = "GarageComplex State" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_GarageComplexState_TA'TAGame.Default__SeqEvent_GarageComplexState_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["GarageState", "PreviousGarageState", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
GarageState: bpy.props.StringProperty(name="GarageState") | |
PreviousGarageState: bpy.props.StringProperty(name="PreviousGarageState") | |
def init(self, context): | |
OnStateChangeSocket = self.outputs.new('NodeSocketString', "On State Change") | |
OnStateChangeSocket.display_shape = 'CIRCLE_DOT' | |
OnStateChangeSocket.link_limit = 250 | |
EnterCenterCarSocket = self.outputs.new('NodeSocketString', "Enter Center Car") | |
EnterCenterCarSocket.display_shape = 'CIRCLE_DOT' | |
EnterCenterCarSocket.link_limit = 250 | |
ExitCenterCarSocket = self.outputs.new('NodeSocketString', "Exit Center Car") | |
ExitCenterCarSocket.display_shape = 'CIRCLE_DOT' | |
ExitCenterCarSocket.link_limit = 250 | |
GarageStateSocket = self.inputs.new('NodeSocketString', "GarageState") | |
GarageStateSocket.display_shape = 'SQUARE' | |
GarageStateSocket.link_limit = 250 | |
PreviousGarageStateSocket = self.inputs.new('NodeSocketString', "PreviousGarageState") | |
PreviousGarageStateSocket.display_shape = 'SQUARE' | |
PreviousGarageStateSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "GarageState") | |
layout.prop(self, "PreviousGarageState") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "GarageComplex State" | |
class SeqEvent_GoalScored_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_GoalScored_TA''' | |
bl_idname = 'SeqEvent_GoalScored_TA' | |
bl_label = "Goal Scored" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_GoalScored_TA'TAGame.Default__SeqEvent_GoalScored_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
BlueSocket = self.outputs.new('NodeSocketString', "Blue") | |
BlueSocket.display_shape = 'CIRCLE_DOT' | |
BlueSocket.link_limit = 250 | |
RedSocket = self.outputs.new('NodeSocketString', "Red") | |
RedSocket.display_shape = 'CIRCLE_DOT' | |
RedSocket.link_limit = 250 | |
KillEffectsSocket = self.outputs.new('NodeSocketString', "Kill Effects") | |
KillEffectsSocket.display_shape = 'CIRCLE_DOT' | |
KillEffectsSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Goal Scored" | |
class SeqEvent_InputSequence_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_InputSequence_TA''' | |
bl_idname = 'SeqEvent_InputSequence_TA' | |
bl_label = "Input Sequence" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_InputSequence_TA'TAGame.Default__SeqEvent_InputSequence_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["SequenceName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
SequenceName: bpy.props.StringProperty(name="SequenceName") | |
def init(self, context): | |
ActivatedSocket = self.outputs.new('NodeSocketString', "Activated") | |
ActivatedSocket.display_shape = 'CIRCLE_DOT' | |
ActivatedSocket.link_limit = 250 | |
NameSocket = self.inputs.new('NodeSocketString', "Name") | |
NameSocket.display_shape = 'SQUARE' | |
NameSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SequenceName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Input Sequence" | |
class SeqEvent_IntroMenu_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_IntroMenu_TA''' | |
bl_idname = 'SeqEvent_IntroMenu_TA' | |
bl_label = "Intro Menu" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_IntroMenu_TA'TAGame.Default__SeqEvent_IntroMenu_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
EndSocket = self.outputs.new('NodeSocketString', "End") | |
EndSocket.display_shape = 'CIRCLE_DOT' | |
EndSocket.link_limit = 250 | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Intro Menu" | |
class SeqEvent_LiveReplay_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_LiveReplay_TA''' | |
bl_idname = 'SeqEvent_LiveReplay_TA' | |
bl_label = "Live Replay Start" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_LiveReplay_TA'TAGame.Default__SeqEvent_LiveReplay_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
LiveReplayStartedSocket = self.outputs.new('NodeSocketString', "Live Replay Started") | |
LiveReplayStartedSocket.display_shape = 'CIRCLE_DOT' | |
LiveReplayStartedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Live Replay Start" | |
class SeqEvent_MainMenuSwitched_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_MainMenuSwitched_TA''' | |
bl_idname = 'SeqEvent_MainMenuSwitched_TA' | |
bl_label = "Main Menu Switched" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_MainMenuSwitched_TA'TAGame.Default__SeqEvent_MainMenuSwitched_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["PrevBackground", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
PrevBackground: bpy.props.StringProperty(name="PrevBackground",default="EMainMenuBackground.None") | |
def init(self, context): | |
ChangedSocket = self.outputs.new('NodeSocketString', "Changed") | |
ChangedSocket.display_shape = 'CIRCLE_DOT' | |
ChangedSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "PrevBackground") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Main Menu Switched" | |
class SeqEvent_MTXGarageBlueprintPreview_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_MTXGarageBlueprintPreview_TA''' | |
bl_idname = 'SeqEvent_MTXGarageBlueprintPreview_TA' | |
bl_label = "Garage Blueprint Preview" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_MTXGarageBlueprintPreview_TA'TAGame.Default__SeqEvent_MTXGarageBlueprintPreview_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
ShowSocket = self.outputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE_DOT' | |
ShowSocket.link_limit = 250 | |
HideSocket = self.outputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE_DOT' | |
HideSocket.link_limit = 250 | |
RarityIndexSocket = self.inputs.new('NodeSocketInt', "Rarity Index") | |
RarityIndexSocket.display_shape = 'SQUARE' | |
RarityIndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Garage Blueprint Preview" | |
class SeqEvent_MTXGarageReveal_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_MTXGarageReveal_TA''' | |
bl_idname = 'SeqEvent_MTXGarageReveal_TA' | |
bl_label = "Garage Reveal" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_MTXGarageReveal_TA'TAGame.Default__SeqEvent_MTXGarageReveal_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
ShowSocket = self.outputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE_DOT' | |
ShowSocket.link_limit = 250 | |
HideSocket = self.outputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE_DOT' | |
HideSocket.link_limit = 250 | |
RarityIndexSocket = self.inputs.new('NodeSocketInt', "Rarity Index") | |
RarityIndexSocket.display_shape = 'SQUARE' | |
RarityIndexSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Garage Reveal" | |
class SeqEvent_PodiumStart_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_PodiumStart_TA''' | |
bl_idname = 'SeqEvent_PodiumStart_TA' | |
bl_label = "Podium Start" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_PodiumStart_TA'TAGame.Default__SeqEvent_PodiumStart_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Podium Start" | |
class SeqEvent_PreviewGoalExplosion_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_PreviewGoalExplosion_TA''' | |
bl_idname = 'SeqEvent_PreviewGoalExplosion_TA' | |
bl_label = "Preview Goal Explosion" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_PreviewGoalExplosion_TA'TAGame.Default__SeqEvent_PreviewGoalExplosion_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["FXInstance", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
FXInstance: bpy.props.StringProperty(name="FXInstance") | |
def init(self, context): | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
StopSocket = self.outputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE_DOT' | |
StopSocket.link_limit = 250 | |
ExplosionFXActorInstanceSocket = self.inputs.new('NodeSocketString', "Explosion FXActor Instance") | |
ExplosionFXActorInstanceSocket.display_shape = 'SQUARE' | |
ExplosionFXActorInstanceSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "FXInstance") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Preview Goal Explosion" | |
class SeqEvent_PreviewMusicStingerVisualizer_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_PreviewMusicStingerVisualizer_TA''' | |
bl_idname = 'SeqEvent_PreviewMusicStingerVisualizer_TA' | |
bl_label = "Preview Music Stinger Visualizer" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_PreviewMusicStingerVisualizer_TA'TAGame.Default__SeqEvent_PreviewMusicStingerVisualizer_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
StopSocket = self.outputs.new('NodeSocketString', "Stop") | |
StopSocket.display_shape = 'CIRCLE_DOT' | |
StopSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Preview Music Stinger Visualizer" | |
class SeqEvent_ReplayTime_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_ReplayTime_TA''' | |
bl_idname = 'SeqEvent_ReplayTime_TA' | |
bl_label = "Replay Time" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_ReplayTime_TA'TAGame.Default__SeqEvent_ReplayTime_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["TimeSeconds", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
TimeSeconds: bpy.props.FloatProperty(name="TimeSeconds") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "TimeSeconds") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Replay Time" | |
class SeqEvent_RoundStart_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_RoundStart_TA''' | |
bl_idname = 'SeqEvent_RoundStart_TA' | |
bl_label = "Round Start" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_RoundStart_TA'TAGame.Default__SeqEvent_RoundStart_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
StartRoundSocket = self.outputs.new('NodeSocketString', "Start Round") | |
StartRoundSocket.display_shape = 'CIRCLE_DOT' | |
StartRoundSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Round Start" | |
class SeqEvent_ScoreChanged_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_ScoreChanged_TA''' | |
bl_idname = 'SeqEvent_ScoreChanged_TA' | |
bl_label = "Score Changed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_ScoreChanged_TA'TAGame.Default__SeqEvent_ScoreChanged_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["BlueScore", "RedScore", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
BlueScore: bpy.props.IntProperty(name="BlueScore") | |
RedScore: bpy.props.IntProperty(name="RedScore") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
BlueScoreSocket = self.inputs.new('NodeSocketInt', "Blue Score") | |
BlueScoreSocket.display_shape = 'SQUARE' | |
BlueScoreSocket.link_limit = 250 | |
RedScoreSocket = self.inputs.new('NodeSocketInt', "Red Score") | |
RedScoreSocket.display_shape = 'SQUARE' | |
RedScoreSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "BlueScore") | |
layout.prop(self, "RedScore") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Score Changed" | |
class SeqEvent_ShowGarageComplex_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_ShowGarageComplex_TA''' | |
bl_idname = 'SeqEvent_ShowGarageComplex_TA' | |
bl_label = "Show Garage Complex" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_ShowGarageComplex_TA'TAGame.Default__SeqEvent_ShowGarageComplex_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
HideSocket = self.outputs.new('NodeSocketString', "Hide") | |
HideSocket.display_shape = 'CIRCLE_DOT' | |
HideSocket.link_limit = 250 | |
ShowSocket = self.outputs.new('NodeSocketString', "Show") | |
ShowSocket.display_shape = 'CIRCLE_DOT' | |
ShowSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Show Garage Complex" | |
class SeqEvent_StadiumTeamColorsChanged_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_StadiumTeamColorsChanged_TA''' | |
bl_idname = 'SeqEvent_StadiumTeamColorsChanged_TA' | |
bl_label = "Stadium Team Colors Changed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_StadiumTeamColorsChanged_TA'TAGame.Default__SeqEvent_StadiumTeamColorsChanged_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["Team", "Primary", "Secondary", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
Team: bpy.props.IntProperty(name="Team") | |
Primary: bpy.props.StringProperty(name="Primary") | |
Secondary: bpy.props.StringProperty(name="Secondary") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
PrimarySocket = self.inputs.new('NodeSocketVector', "Primary") | |
PrimarySocket.display_shape = 'SQUARE' | |
PrimarySocket.link_limit = 250 | |
SecondarySocket = self.inputs.new('NodeSocketVector', "Secondary") | |
SecondarySocket.display_shape = 'SQUARE' | |
SecondarySocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "Team") | |
layout.prop(self, "Primary") | |
layout.prop(self, "Secondary") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Stadium Team Colors Changed" | |
class SeqEvent_StartHighlightReel_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_StartHighlightReel_TA''' | |
bl_idname = 'SeqEvent_StartHighlightReel_TA' | |
bl_label = "Start Highlight Reel" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_StartHighlightReel_TA'TAGame.Default__SeqEvent_StartHighlightReel_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
StartSocket = self.outputs.new('NodeSocketString', "Start") | |
StartSocket.display_shape = 'CIRCLE_DOT' | |
StartSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Start Highlight Reel" | |
class SeqEvent_TutorialHelper_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_TutorialHelper_TA''' | |
bl_idname = 'SeqEvent_TutorialHelper_TA' | |
bl_label = "Activate Tutorial Helper" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_TutorialHelper_TA'TAGame.Default__SeqEvent_TutorialHelper_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Activate Tutorial Helper" | |
class SeqEvent_TutorialStarted_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_TutorialStarted_TA''' | |
bl_idname = 'SeqEvent_TutorialStarted_TA' | |
bl_label = "Tutorial Started" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_TutorialStarted_TA'TAGame.Default__SeqEvent_TutorialStarted_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
EndedSocket = self.outputs.new('NodeSocketString', "Ended") | |
EndedSocket.display_shape = 'CIRCLE_DOT' | |
EndedSocket.link_limit = 250 | |
CompletedSocket = self.outputs.new('NodeSocketString', "Completed") | |
CompletedSocket.display_shape = 'CIRCLE_DOT' | |
CompletedSocket.link_limit = 250 | |
FailedSocket = self.outputs.new('NodeSocketString', "Failed") | |
FailedSocket.display_shape = 'CIRCLE_DOT' | |
FailedSocket.link_limit = 250 | |
ScreenFadedInSocket = self.outputs.new('NodeSocketString', "Screen Faded In") | |
ScreenFadedInSocket.display_shape = 'CIRCLE_DOT' | |
ScreenFadedInSocket.link_limit = 250 | |
ScreenFadedOutSocket = self.outputs.new('NodeSocketString', "Screen Faded Out") | |
ScreenFadedOutSocket.display_shape = 'CIRCLE_DOT' | |
ScreenFadedOutSocket.link_limit = 250 | |
AllMessagesDisplayedSocket = self.outputs.new('NodeSocketString', "All Messages Displayed") | |
AllMessagesDisplayedSocket.display_shape = 'CIRCLE_DOT' | |
AllMessagesDisplayedSocket.link_limit = 250 | |
StartedSocket = self.outputs.new('NodeSocketString', "Started") | |
StartedSocket.display_shape = 'CIRCLE_DOT' | |
StartedSocket.link_limit = 250 | |
ResetSocket = self.outputs.new('NodeSocketString', "Reset") | |
ResetSocket.display_shape = 'CIRCLE_DOT' | |
ResetSocket.link_limit = 250 | |
SkippedSocket = self.outputs.new('NodeSocketString', "Skipped") | |
SkippedSocket.display_shape = 'CIRCLE_DOT' | |
SkippedSocket.link_limit = 250 | |
AnswerRightSocket = self.outputs.new('NodeSocketString', "Answer Right") | |
AnswerRightSocket.display_shape = 'CIRCLE_DOT' | |
AnswerRightSocket.link_limit = 250 | |
AnswerWrongSocket = self.outputs.new('NodeSocketString', "Answer Wrong") | |
AnswerWrongSocket.display_shape = 'CIRCLE_DOT' | |
AnswerWrongSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Tutorial Started" | |
class SeqEvent_UIStateChange_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_UIStateChange_TA''' | |
bl_idname = 'SeqEvent_UIStateChange_TA' | |
bl_label = "UI State Change" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_UIStateChange_TA'TAGame.Default__SeqEvent_UIStateChange_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["UIState", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
UIState: bpy.props.StringProperty(name="UIState") | |
def init(self, context): | |
StartMenuSocket = self.outputs.new('NodeSocketString', "StartMenu") | |
StartMenuSocket.display_shape = 'CIRCLE_DOT' | |
StartMenuSocket.link_limit = 250 | |
MainMenuSocket = self.outputs.new('NodeSocketString', "MainMenu") | |
MainMenuSocket.display_shape = 'CIRCLE_DOT' | |
MainMenuSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "UIState") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "UI State Change" | |
class SeqEvent_UserSettingChanged_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_UserSettingChanged_TA''' | |
bl_idname = 'SeqEvent_UserSettingChanged_TA' | |
bl_label = "User Setting Changed" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_UserSettingChanged_TA'TAGame.Default__SeqEvent_UserSettingChanged_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["SettingName", "MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
SettingName: bpy.props.StringProperty(name="SettingName") | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
layout.prop(self, "SettingName") | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "User Setting Changed" | |
class SeqEvent_WeatherToggled_TA(Node, KismetNodeTreeNode): | |
'''TAGame/SeqEvent_WeatherToggled_TA''' | |
bl_idname = 'SeqEvent_WeatherToggled_TA' | |
bl_label = "Weather Toggled" | |
bl_icon = 'OUTLINER' | |
ObjInstanceVersion = 1 | |
ObjectArchetype = "SeqEvent_WeatherToggled_TA'TAGame.Default__SeqEvent_WeatherToggled_TA'" | |
KismetType = 'events' | |
_SequenceItemVariableNames = ["MaxTriggerCount", "ReTriggerDelay", "bEnabled", "Priority", "bPlayerOnly", "bClientsideOnly"] | |
ObjComment: bpy.props.StringProperty(name='ObjComment', default='') | |
bOutputObjCommentToScreen: bpy.props.BoolProperty(name='bOutputObjCommentToScreen', default=False) | |
bSuppressAutoComment: bpy.props.BoolProperty(name='bSuppressAutoComment', default=True) | |
MaxTriggerCount: bpy.props.IntProperty(name='MaxTriggerCount', default=0) | |
ReTriggerDelay: bpy.props.FloatProperty(name='ReTriggerDelay', default=0.00) | |
bEnabled: bpy.props.BoolProperty(name='bEnabled', default=True) | |
Priority: bpy.props.IntProperty(name='Priority', default=0) | |
bPlayerOnly: bpy.props.BoolProperty(name='bPlayerOnly', default=True) | |
bClientsideOnly: bpy.props.BoolProperty(name='bClientsideOnly', default=False) | |
def init(self, context): | |
OutSocket = self.outputs.new('NodeSocketString', "Out") | |
OutSocket.display_shape = 'CIRCLE_DOT' | |
OutSocket.link_limit = 250 | |
InstigatorSocket = self.outputs.new('NodeSocketString', "Instigator") | |
InstigatorSocket.display_shape = 'SQUARE' | |
InstigatorSocket.link_limit = 250 | |
def copy(self, node): | |
print("Copying from node ", node) | |
def free(self): | |
print("Removing node ", self, ", Goodbye!") | |
def draw_buttons_ext(self, context, layout): | |
defaults = layout.box() | |
label_text = self.KismetType[0].upper() + self.KismetType[1:-1] + ' Properties' | |
defaults.label(text=label_text) | |
defaults.prop(self, 'ObjComment') | |
defaults.prop(self, 'bOutputObjCommentToScreen') | |
defaults.prop(self, 'bSuppressAutoComment') | |
defaults.prop(self, 'MaxTriggerCount') | |
defaults.prop(self, 'ReTriggerDelay') | |
defaults.prop(self, 'bEnabled') | |
defaults.prop(self, 'Priority') | |
defaults.prop(self, 'bPlayerOnly') | |
defaults.prop(self, 'bClientsideOnly') | |
# Optional: custom label | |
# Explicit user label overrides this, but here we can define a label dynamically | |
def draw_label(self): | |
return "Weather Toggled" | |
def export_colors (inputs, ignore_empty): | |
output = '(' | |
empty = 0 | |
for index, color in enumerate(inputs): | |
if color != 0.6079999804496765: | |
empty += 1 | |
output += ['R', 'G', 'B'][index] + '=' + int(color * 255).__str__() + ',' | |
if ignore_empty and empty == 0: | |
return False | |
return output + 'A=255)' | |
def find_index (name, items): | |
index = 0 | |
for item in items: | |
if name == item[2]: | |
index = item[1] | |
return index | |
def generate_indexes (nodes): | |
indexes = [] | |
for node in nodes: | |
has_node = False | |
for index in indexes: | |
if not has_node and index[0] == node.ObjectArchetype: | |
indexes.append([node.ObjectArchetype, index[1] + 1, node.name]) | |
has_node = True | |
if not has_node: | |
indexes.append([node.ObjectArchetype, 0, node.name]) | |
return indexes | |
def format_list (items): | |
output = '' | |
for item in items: | |
output += item | |
if items.index(item) < (len(items) - 1): | |
output += ',' | |
return output | |
def validate_sockets (link): | |
from_icon = link.from_socket.display_shape | |
to_icon = link.to_socket.display_shape | |
is_var_link = from_icon == 'CIRCLE' or to_icon == 'CIRCLE' | |
if is_var_link: | |
return from_icon == 'CIRCLE' and to_icon == 'CIRCLE' | |
else: | |
return True | |
class NODE_OT_export_kismet(bpy.types.Operator): | |
bl_idname = "udk.export_active_kismet" | |
bl_label = "Copy kismet" | |
bl_description = "Copy this sequence from Blender to be used in UDK" | |
@classmethod | |
def poll(cls, context): | |
return context.space_data.tree_type == 'KismetTreeType' | |
def execute (self, context): | |
node_tree = context.space_data.edit_tree | |
sequence_name = 'Main_Sequence' if node_tree.name == 'NodeTree' else node_tree.name | |
sequence_text = '' | |
if len(node_tree.nodes) == 0: | |
self.report({ 'ERROR' }, 'No kismet nodes found in this sequence...') | |
return { 'CANCELLED' } | |
indexes = generate_indexes(node_tree.nodes) | |
for node in node_tree.nodes: | |
node_index = find_index(node.name, indexes) | |
node_text = '' | |
node_variables = [ | |
f"ObjInstanceVersion={node.ObjInstanceVersion}", | |
f"ParentSequence=Sequence'{sequence_name}'", | |
f"ObjPosX={int(node.location[0])}", | |
f"ObjPosY={int(node.location[1])}", | |
f'Name="{node.bl_idname}_{node_index}"', | |
f"ObjectArchetype={node.ObjectArchetype}" | |
] | |
node_colors = export_colors(node.color, True) | |
if node_colors: | |
node_variables.append(f"ObjColor={node_colors}") | |
if 'breakpoint' in node and node.breakpoint: | |
node_variables.append("bIsBreakpointSet=True") | |
if '_SequenceItemVariableNames' in node and node._SequenceItemVariableNames is not None: | |
for _item_name in node._SequenceItemVariableNames: | |
node_variables.append(f"{_item_name}={node[_item_name]}") | |
for connection_index, connection in enumerate(node.outputs): | |
connected_items = [] | |
# Check if connection is not variable | |
if len(connection.links) > 0 and connection.display_shape != 'SQUARE': | |
for link in connection.links: | |
to_class = link.to_node.bl_idname | |
to_index = find_index(link.to_node.name, indexes) | |
if not validate_sockets(link): | |
self.report({ 'WARNING' }, f'Invalid variable connection made between {link.from_node} and {link.to_node}') | |
link_text = f"(LinkedOp={to_class}'{to_class}_{to_index}'" | |
socket_index = link.to_node.inputs[:].index(link.to_socket) | |
if socket_index > 0: | |
link_text += f",InputLinkIdx={socket_index}" | |
link_text += ')' | |
print(link_text) | |
connected_items.append(link_text) | |
linked_items_text = '' | |
if len(connected_items) > 0: | |
linked_items_text += f"Links=({format_list(connected_items)})," | |
node_variables.append( | |
f"OutputLinks({connection_index})=({linked_items_text}DrawY=0,OverrideDelta=0)" | |
) | |
if len(node.inputs) > 0: | |
variable_inputs = [link for link in node.inputs if link.display_shape == 'SQUARE'] | |
normal_inputs = [link for link in node.inputs if link.display_shape != 'SQUARE'] | |
if len(normal_inputs) > 0: | |
for input in normal_inputs: | |
for link in input.links: | |
if not validate_sockets(link): | |
self.report({ 'WARNING' }, f'Invalid variable connection made between {link.from_node} and {link.to_node}') | |
node_variables.append( | |
f"InputLinks({normal_inputs.index(input)})=(DrawY=0,OverrideDelta=0)" | |
) | |
if len(variable_inputs) > 0: | |
for variable in variable_inputs: | |
linked_variables = [] | |
variable_index = variable_inputs.index(variable) | |
for link in variable.links: | |
if not validate_sockets(link): | |
self.report({ 'WARNING' }, f'Invalid variable connection made between {link.from_node} and {link.to_node}') | |
var_class = link.from_node.bl_idname | |
var_index = find_index(link.from_node.name, indexes) | |
linked_variables.append( | |
f"{var_class}'{var_class}_{var_index}'" | |
) | |
linked_variables_text = '' | |
if len(linked_variables) > 0: | |
linked_variables_text += f"LinkedVariables=({format_list(linked_variables)})," | |
node_variables.append( | |
f"VariableLinks({variable_index})=({linked_variables_text}DrawX=0,OverrideDelta=0)" | |
) | |
node_text += f"Begin Object Class={node.bl_idname} Name={node.bl_idname}_{node_index}\n" | |
for node_variable in node_variables: | |
node_text += f" {node_variable}\n" | |
node_text += "End Object\n" | |
sequence_text += node_text | |
paperclip.copy(sequence_text.rstrip()) | |
print(sequence_text.rstrip()) | |
self.report({ 'INFO' }, 'Copied kismet nodes') | |
return { 'FINISHED' } | |
def draw_export_button(self, context): | |
if context.space_data.tree_type == 'KismetTreeType': | |
self.layout.operator(NODE_OT_export_kismet.bl_idname) | |
import nodeitems_utils | |
from nodeitems_utils import NodeCategory, NodeItem | |
class KismetNodeCategory(NodeCategory): | |
@classmethod | |
def poll(cls, context): | |
return context.space_data.tree_type == 'KismetTreeType' | |
node_categories = [ | |
KismetNodeCategory('ACTIONS', "actions", items=[ | |
NodeItem("SeqAct_AkClearBanks"), | |
NodeItem("SeqAct_AkEnvironment"), | |
NodeItem("SeqAct_AkLoadBank"), | |
NodeItem("SeqAct_AkPlayMusicWithCues"), | |
NodeItem("SeqAct_AkPlaySound"), | |
NodeItem("SeqAct_AkPlaySoundAndSeek"), | |
NodeItem("SeqAct_AkPostEvent"), | |
NodeItem("SeqAct_AkPostTrigger"), | |
NodeItem("SeqAct_AkSetRTPCValue"), | |
NodeItem("SeqAct_AkSetState"), | |
NodeItem("SeqAct_AkSetSwitch"), | |
NodeItem("SeqAct_AkStartAmbientSound"), | |
NodeItem("SeqAct_AkStopAll"), | |
NodeItem("SeqAct_AccessObjectList"), | |
NodeItem("SeqAct_ActivateRemoteEvent"), | |
NodeItem("SeqAct_ActorFactory"), | |
NodeItem("SeqAct_ActorFactoryEx"), | |
NodeItem("SeqAct_AddFloat"), | |
NodeItem("SeqAct_AddInt"), | |
NodeItem("SeqAct_AddRemoveFaceFXAnimSet"), | |
NodeItem("SeqAct_AIAbortMoveToActor"), | |
NodeItem("SeqAct_AIMoveToActor"), | |
NodeItem("SeqAct_AndGate"), | |
NodeItem("SeqAct_ApplySoundNode"), | |
NodeItem("SeqAct_AssignController"), | |
NodeItem("SeqAct_AttachToActor"), | |
NodeItem("SeqAct_AttachToEvent"), | |
NodeItem("SeqAct_CameraFade"), | |
NodeItem("SeqAct_CameraLookAt"), | |
NodeItem("SeqAct_CameraShake"), | |
NodeItem("SeqAct_CastToFloat"), | |
NodeItem("SeqAct_CastToInt"), | |
NodeItem("SeqAct_ChangeCollision"), | |
NodeItem("SeqAct_CommitMapChange"), | |
NodeItem("SeqAct_ConsoleCommand"), | |
NodeItem("SeqAct_ControlMovieTexture"), | |
NodeItem("SeqAct_ConvertToString"), | |
NodeItem("SeqAct_Delay"), | |
NodeItem("SeqAct_DelaySwitch"), | |
NodeItem("SeqAct_Destroy"), | |
NodeItem("SeqAct_DivideFloat"), | |
NodeItem("SeqAct_DivideInt"), | |
NodeItem("SeqAct_DrawText"), | |
NodeItem("SeqAct_FeatureTest"), | |
NodeItem("SeqAct_FinishSequence"), | |
NodeItem("SeqAct_FlyThroughHasEnded"), | |
NodeItem("SeqAct_ForceFeedback"), | |
NodeItem("SeqAct_ForceGarbageCollection"), | |
NodeItem("SeqAct_Gate"), | |
NodeItem("SeqAct_GetDistance"), | |
NodeItem("SeqAct_GetLocationAndRotation"), | |
NodeItem("SeqAct_GetProperty"), | |
NodeItem("SeqAct_GetVectorComponents"), | |
NodeItem("SeqAct_GetVelocity"), | |
NodeItem("SeqAct_HeadTrackingControl"), | |
NodeItem("SeqAct_Interp"), | |
NodeItem("SeqAct_IsInObjectList"), | |
NodeItem("SeqAct_Latent"), | |
NodeItem("SeqAct_LevelStreaming"), | |
NodeItem("SeqAct_LevelStreamingBase"), | |
NodeItem("SeqAct_LevelVisibility"), | |
NodeItem("SeqAct_Log"), | |
NodeItem("SeqAct_MITV_Activate"), | |
NodeItem("SeqAct_ModifyCover"), | |
NodeItem("SeqAct_ModifyObjectList"), | |
NodeItem("SeqAct_MultiLevelStreaming"), | |
NodeItem("SeqAct_MultiplyFloat"), | |
NodeItem("SeqAct_MultiplyInt"), | |
NodeItem("SeqAct_ParticleEventGenerator"), | |
NodeItem("SeqAct_PlayCameraAnim"), | |
NodeItem("SeqAct_PlayFaceFXAnim"), | |
NodeItem("SeqAct_PlayMusicTrack"), | |
NodeItem("SeqAct_PlaySound"), | |
NodeItem("SeqAct_Possess"), | |
NodeItem("SeqAct_PrepareMapChange"), | |
NodeItem("SeqAct_RandomSwitch"), | |
NodeItem("SeqAct_RangeSwitch"), | |
NodeItem("SeqAct_SetActiveAnimChild"), | |
NodeItem("SeqAct_SetApexClothingParam"), | |
NodeItem("SeqAct_SetBlockRigidBody"), | |
NodeItem("SeqAct_SetBool"), | |
NodeItem("SeqAct_SetCameraTarget"), | |
NodeItem("SeqAct_SetDOFParams"), | |
NodeItem("SeqAct_SetFloat"), | |
NodeItem("SeqAct_SetInt"), | |
NodeItem("SeqAct_SetLocation"), | |
NodeItem("SeqAct_SetMaterial"), | |
NodeItem("SeqAct_SetMatInstScalarParam"), | |
NodeItem("SeqAct_SetMatInstTexParam"), | |
NodeItem("SeqAct_SetMatInstVectorParam"), | |
NodeItem("SeqAct_SetMesh"), | |
NodeItem("SeqAct_SetMotionBlurParams"), | |
NodeItem("SeqAct_SetObject"), | |
NodeItem("SeqAct_SetParticleSysParam"), | |
NodeItem("SeqAct_SetPhysics"), | |
NodeItem("SeqAct_SetRigidBodyIgnoreVehicles"), | |
NodeItem("SeqAct_SetSequenceVariable"), | |
NodeItem("SeqAct_SetSkelControlTarget"), | |
NodeItem("SeqAct_SetSoundMode"), | |
NodeItem("SeqAct_SetString"), | |
NodeItem("SeqAct_SetVector"), | |
NodeItem("SeqAct_SetVectorComponents"), | |
NodeItem("SeqAct_SetVelocity"), | |
NodeItem("SeqAct_SetWorldAttractorParam"), | |
NodeItem("SeqAct_StreamInTextures"), | |
NodeItem("SeqAct_SubtractFloat"), | |
NodeItem("SeqAct_SubtractInt"), | |
NodeItem("SeqAct_Switch"), | |
NodeItem("SeqAct_Teleport"), | |
NodeItem("SeqAct_Timer"), | |
NodeItem("SeqAct_Toggle"), | |
NodeItem("SeqAct_ToggleAffectedByHitEffects"), | |
NodeItem("SeqAct_ToggleCinematicMode"), | |
NodeItem("SeqAct_ToggleConstraintDrive"), | |
NodeItem("SeqAct_ToggleGodMode"), | |
NodeItem("SeqAct_ToggleHidden"), | |
NodeItem("SeqAct_ToggleHiddenGame"), | |
NodeItem("SeqAct_ToggleHUD"), | |
NodeItem("SeqAct_ToggleInput"), | |
NodeItem("SeqAct_Trace"), | |
NodeItem("SeqAct_UpdatePhysBonesFromAnim"), | |
NodeItem("SeqAct_WaitForLevelsVisible"), | |
NodeItem("SeqAct_NonNativeUpdate_X"), | |
NodeItem("SeqAct_SpawnArchetype_X"), | |
NodeItem("SeqAct_TriggerFXActor_X"), | |
NodeItem("SeqAct_AddGameBall_TA"), | |
NodeItem("SeqAct_AnalyzeMusicFromCsv_TA"), | |
NodeItem("SeqAct_ApplyCarProducts_TA"), | |
NodeItem("SeqAct_AttachAssetToCar_TA"), | |
NodeItem("SeqAct_AttachFX_TA"), | |
NodeItem("SeqAct_CarMatinee_TA"), | |
NodeItem("SeqAct_CheckRotationAngle_TA"), | |
NodeItem("SeqAct_CinematicIntroStartNextSeq_TA"), | |
NodeItem("SeqAct_CompleteFTECheckpoint_TA"), | |
NodeItem("SeqAct_ControlCarMovement_TA"), | |
NodeItem("SeqAct_Counter_TA"), | |
NodeItem("SeqAct_CreateAttachComponent_TA"), | |
NodeItem("SeqAct_DemoCar_TA"), | |
NodeItem("SeqAct_DisableForceInFXActor_TA"), | |
NodeItem("SeqAct_DisplayMessage_TA"), | |
NodeItem("SeqAct_DriveSpline_TA"), | |
NodeItem("SeqAct_DumpMovie_TA"), | |
NodeItem("SeqAct_EndTutorial_TA"), | |
NodeItem("SeqAct_ExitToMainMenu_TA"), | |
NodeItem("SeqAct_ExplodeGameBall_TA"), | |
NodeItem("SeqAct_GameURLHasOption_TA"), | |
NodeItem("SeqAct_GetDetailMode_TA"), | |
NodeItem("SeqAct_GetEdition_TA"), | |
NodeItem("SeqAct_GetEffectIntensity_TA"), | |
NodeItem("SeqAct_GetFTEState_TA"), | |
NodeItem("SeqAct_GetGameBall_TA"), | |
NodeItem("SeqAct_GetPlayerCar_TA"), | |
NodeItem("SeqAct_GetPlaylistType_TA"), | |
NodeItem("SeqAct_GetRarityColor_TA"), | |
NodeItem("SeqAct_GetSaveData_TA"), | |
NodeItem("SeqAct_GetTeamScore_TA"), | |
NodeItem("SeqAct_GetTutorialType_TA"), | |
NodeItem("SeqAct_GetWeatherEnabled_TA"), | |
NodeItem("SeqAct_GiveBoost_TA"), | |
NodeItem("SeqAct_HideDuplicateCar_TA"), | |
NodeItem("SeqAct_HighlightReelFinished_TA"), | |
NodeItem("SeqAct_InstanceMaterial_TA"), | |
NodeItem("SeqAct_IntroMenuCarsInPosition_TA"), | |
NodeItem("SeqAct_IsActionPressed_TA"), | |
NodeItem("SeqAct_IsCrateRouletteEnabled_TA"), | |
NodeItem("SeqAct_IsHumanPlayer_TA"), | |
NodeItem("SeqAct_IsTargetInPlayerCameraView"), | |
NodeItem("SeqAct_LoadMap_TA"), | |
NodeItem("SeqAct_LookAtActor_TA"), | |
NodeItem("SeqAct_MainMenuSwitch_TA"), | |
NodeItem("SeqAct_MatchCountdown_TA"), | |
NodeItem("SeqAct_MoveActor_TA"), | |
NodeItem("SeqAct_NotifyEventOnTutorial_TA"), | |
NodeItem("SeqAct_ReinitPhys_TA"), | |
NodeItem("SeqAct_RotateActor_TA"), | |
NodeItem("SeqAct_ScreenFade"), | |
NodeItem("SeqAct_ScreenFade_TA"), | |
NodeItem("SeqAct_SetBallCamTarget_TA"), | |
NodeItem("SeqAct_SetBallMaterial_TA"), | |
NodeItem("SeqAct_SetBreakoutBallCharge_TA"), | |
NodeItem("SeqAct_SetBreakoutTileDamage_TA"), | |
NodeItem("SeqAct_SetCarTransform_TA"), | |
NodeItem("SeqAct_SetGreenScreen_TA"), | |
NodeItem("SeqAct_SetLoadout_TA"), | |
NodeItem("SeqAct_SetMatInstVectorParam_TA"), | |
NodeItem("SeqAct_SetMeshMaterialScalarParameter_TA"), | |
NodeItem("SeqAct_SetNameplate_TA"), | |
NodeItem("SeqAct_SetPostProcess_TA"), | |
NodeItem("SeqAct_SetReplayCamera_TA"), | |
NodeItem("SeqAct_SetReplayFX_TA"), | |
NodeItem("SeqAct_SetSkelMATLoadout_TA"), | |
NodeItem("SeqAct_SetStadiumTeamColors_TA"), | |
NodeItem("SeqAct_SetTimeDilation_TA"), | |
NodeItem("SeqAct_SetTutorialGameEvent_TA"), | |
NodeItem("SeqAct_SetTutorialTip_TA"), | |
NodeItem("SeqAct_SetVehicleInput_TA"), | |
NodeItem("SeqAct_SpawnActor_TA"), | |
NodeItem("SeqAct_SpawnBot_TA"), | |
NodeItem("SeqAct_SpawnCarColors_TA"), | |
NodeItem("SeqAct_SpawnFXActor_TA"), | |
NodeItem("SeqAct_StartTutorial_TA"), | |
NodeItem("SeqAct_TermPhys_TA"), | |
NodeItem("SeqAct_ToggleUIOverlay_TA"), | |
NodeItem("SeqAct_UpdateAd_TA")]), | |
KismetNodeCategory('EVENTS', "events", items=[ | |
NodeItem("SeqEvent_AkMusicCue"), | |
NodeItem("SeqEvent_AIReachedRouteActor"), | |
NodeItem("SeqEvent_AISeeEnemy"), | |
NodeItem("SeqEvent_AnalogInput"), | |
NodeItem("SeqEvent_AnimNotify"), | |
NodeItem("SeqEvent_Console"), | |
NodeItem("SeqEvent_ConstraintBroken"), | |
NodeItem("SeqEvent_Death"), | |
NodeItem("SeqEvent_Destroyed"), | |
NodeItem("SeqEvent_HitWall"), | |
NodeItem("SeqEvent_Input"), | |
NodeItem("SeqEvent_LevelBeginning"), | |
NodeItem("SeqEvent_LevelLoaded"), | |
NodeItem("SeqEvent_LevelStartup"), | |
NodeItem("SeqEvent_LOS"), | |
NodeItem("SeqEvent_MobileTouch"), | |
NodeItem("SeqEvent_Mover"), | |
NodeItem("SeqEvent_ParticleEvent"), | |
NodeItem("SeqEvent_PickupStatusChange"), | |
NodeItem("SeqEvent_PlayerSpawned"), | |
NodeItem("SeqEvent_RemoteEvent"), | |
NodeItem("SeqEvent_RigidBodyCollision"), | |
NodeItem("SeqEvent_SeeDeath"), | |
NodeItem("SeqEvent_SequenceActivated"), | |
NodeItem("SeqEvent_Touch"), | |
NodeItem("SeqEvent_TouchInput"), | |
NodeItem("SeqEvent_Used"), | |
NodeItem("SeqEvent_Spawned_X"), | |
NodeItem("SeqEvent_BallInRange_TA"), | |
NodeItem("SeqEvent_CarSelectStart_TA"), | |
NodeItem("SeqEvent_CarSpawned_TA"), | |
NodeItem("SeqEvent_CarTouchBall_TA"), | |
NodeItem("SeqEvent_CinematicIntroSeqFinished_TA"), | |
NodeItem("SeqEvent_CountDownCompleted_TA"), | |
NodeItem("SeqEvent_CountDownStart_TA"), | |
NodeItem("SeqEvent_GameEventStateChanged_TA"), | |
NodeItem("SeqEvent_GameTimeChanged_TA"), | |
NodeItem("SeqEvent_GarageComplexState_TA"), | |
NodeItem("SeqEvent_GoalScored_TA"), | |
NodeItem("SeqEvent_InputSequence_TA"), | |
NodeItem("SeqEvent_IntroMenu_TA"), | |
NodeItem("SeqEvent_LiveReplay_TA"), | |
NodeItem("SeqEvent_MainMenuSwitched_TA"), | |
NodeItem("SeqEvent_MTXGarageBlueprintPreview_TA"), | |
NodeItem("SeqEvent_MTXGarageReveal_TA"), | |
NodeItem("SeqEvent_PodiumStart_TA"), | |
NodeItem("SeqEvent_PreviewGoalExplosion_TA"), | |
NodeItem("SeqEvent_PreviewMusicStingerVisualizer_TA"), | |
NodeItem("SeqEvent_ReplayTime_TA"), | |
NodeItem("SeqEvent_RoundStart_TA"), | |
NodeItem("SeqEvent_ScoreChanged_TA"), | |
NodeItem("SeqEvent_ShowGarageComplex_TA"), | |
NodeItem("SeqEvent_StadiumTeamColorsChanged_TA"), | |
NodeItem("SeqEvent_StartHighlightReel_TA"), | |
NodeItem("SeqEvent_TutorialHelper_TA"), | |
NodeItem("SeqEvent_TutorialStarted_TA"), | |
NodeItem("SeqEvent_UIStateChange_TA"), | |
NodeItem("SeqEvent_UserSettingChanged_TA"), | |
NodeItem("SeqEvent_WeatherToggled_TA")]), | |
KismetNodeCategory('CONDITIONS', "conditions", items=[ | |
NodeItem("SeqCond_CompareBool"), | |
NodeItem("SeqCond_CompareFloat"), | |
NodeItem("SeqCond_CompareInt"), | |
NodeItem("SeqCond_CompareObject"), | |
NodeItem("SeqCond_GetServerType"), | |
NodeItem("SeqCond_Increment"), | |
NodeItem("SeqCond_IncrementFloat"), | |
NodeItem("SeqCond_IsAlive"), | |
NodeItem("SeqCond_IsBenchmarking"), | |
NodeItem("SeqCond_IsConsole"), | |
NodeItem("SeqCond_IsInCombat"), | |
NodeItem("SeqCond_IsLoggedIn"), | |
NodeItem("SeqCond_IsPIE"), | |
NodeItem("SeqCond_IsSameTeam"), | |
NodeItem("SeqCond_MatureLanguage"), | |
NodeItem("SeqCond_ShowGore"), | |
NodeItem("SeqCond_SwitchBase"), | |
NodeItem("SeqCond_SwitchClass"), | |
NodeItem("SeqCond_SwitchObject"), | |
NodeItem("SeqCond_SwitchPlatform"), | |
NodeItem("SeqCond_CompareString_TA")]), | |
KismetNodeCategory('VARIABLES', "variables", items=[ | |
NodeItem("SeqVar_Bool"), | |
NodeItem("SeqVar_Byte"), | |
NodeItem("SeqVar_Character"), | |
NodeItem("SeqVar_External"), | |
NodeItem("SeqVar_Float"), | |
NodeItem("SeqVar_Group"), | |
NodeItem("SeqVar_Int"), | |
NodeItem("SeqVar_Name"), | |
NodeItem("SeqVar_Named"), | |
NodeItem("SeqVar_Object"), | |
NodeItem("SeqVar_ObjectList"), | |
NodeItem("SeqVar_ObjectVolume"), | |
NodeItem("SeqVar_Player"), | |
NodeItem("SeqVar_RandomFloat"), | |
NodeItem("SeqVar_RandomInt"), | |
NodeItem("SeqVar_String"), | |
NodeItem("SeqVar_Union"), | |
NodeItem("SeqVar_Vector")]) | |
] | |
classes = ( | |
KismetNodeTree, | |
NODE_OT_export_kismet, | |
SeqAct_AkClearBanks, | |
SeqAct_AkEnvironment, | |
SeqAct_AkLoadBank, | |
SeqAct_AkPlayMusicWithCues, | |
SeqAct_AkPlaySound, | |
SeqAct_AkPlaySoundAndSeek, | |
SeqAct_AkPostEvent, | |
SeqAct_AkPostTrigger, | |
SeqAct_AkSetRTPCValue, | |
SeqAct_AkSetState, | |
SeqAct_AkSetSwitch, | |
SeqAct_AkStartAmbientSound, | |
SeqAct_AkStopAll, | |
SeqAct_AccessObjectList, | |
SeqAct_ActivateRemoteEvent, | |
SeqAct_ActorFactory, | |
SeqAct_ActorFactoryEx, | |
SeqAct_AddFloat, | |
SeqAct_AddInt, | |
SeqAct_AddRemoveFaceFXAnimSet, | |
SeqAct_AIAbortMoveToActor, | |
SeqAct_AIMoveToActor, | |
SeqAct_AndGate, | |
SeqAct_ApplySoundNode, | |
SeqAct_AssignController, | |
SeqAct_AttachToActor, | |
SeqAct_AttachToEvent, | |
SeqAct_CameraFade, | |
SeqAct_CameraLookAt, | |
SeqAct_CameraShake, | |
SeqAct_CastToFloat, | |
SeqAct_CastToInt, | |
SeqAct_ChangeCollision, | |
SeqAct_CommitMapChange, | |
SeqAct_ConsoleCommand, | |
SeqAct_ControlMovieTexture, | |
SeqAct_ConvertToString, | |
SeqAct_Delay, | |
SeqAct_DelaySwitch, | |
SeqAct_Destroy, | |
SeqAct_DivideFloat, | |
SeqAct_DivideInt, | |
SeqAct_DrawText, | |
SeqAct_FeatureTest, | |
SeqAct_FinishSequence, | |
SeqAct_FlyThroughHasEnded, | |
SeqAct_ForceFeedback, | |
SeqAct_ForceGarbageCollection, | |
SeqAct_Gate, | |
SeqAct_GetDistance, | |
SeqAct_GetLocationAndRotation, | |
SeqAct_GetProperty, | |
SeqAct_GetVectorComponents, | |
SeqAct_GetVelocity, | |
SeqAct_HeadTrackingControl, | |
SeqAct_Interp, | |
SeqAct_IsInObjectList, | |
SeqAct_Latent, | |
SeqAct_LevelStreaming, | |
SeqAct_LevelStreamingBase, | |
SeqAct_LevelVisibility, | |
SeqAct_Log, | |
SeqAct_MITV_Activate, | |
SeqAct_ModifyCover, | |
SeqAct_ModifyObjectList, | |
SeqAct_MultiLevelStreaming, | |
SeqAct_MultiplyFloat, | |
SeqAct_MultiplyInt, | |
SeqAct_ParticleEventGenerator, | |
SeqAct_PlayCameraAnim, | |
SeqAct_PlayFaceFXAnim, | |
SeqAct_PlayMusicTrack, | |
SeqAct_PlaySound, | |
SeqAct_Possess, | |
SeqAct_PrepareMapChange, | |
SeqAct_RandomSwitch, | |
SeqAct_RangeSwitch, | |
SeqAct_SetActiveAnimChild, | |
SeqAct_SetApexClothingParam, | |
SeqAct_SetBlockRigidBody, | |
SeqAct_SetBool, | |
SeqAct_SetCameraTarget, | |
SeqAct_SetDOFParams, | |
SeqAct_SetFloat, | |
SeqAct_SetInt, | |
SeqAct_SetLocation, | |
SeqAct_SetMaterial, | |
SeqAct_SetMatInstScalarParam, | |
SeqAct_SetMatInstTexParam, | |
SeqAct_SetMatInstVectorParam, | |
SeqAct_SetMesh, | |
SeqAct_SetMotionBlurParams, | |
SeqAct_SetObject, | |
SeqAct_SetParticleSysParam, | |
SeqAct_SetPhysics, | |
SeqAct_SetRigidBodyIgnoreVehicles, | |
SeqAct_SetSequenceVariable, | |
SeqAct_SetSkelControlTarget, | |
SeqAct_SetSoundMode, | |
SeqAct_SetString, | |
SeqAct_SetVector, | |
SeqAct_SetVectorComponents, | |
SeqAct_SetVelocity, | |
SeqAct_SetWorldAttractorParam, | |
SeqAct_StreamInTextures, | |
SeqAct_SubtractFloat, | |
SeqAct_SubtractInt, | |
SeqAct_Switch, | |
SeqAct_Teleport, | |
SeqAct_Timer, | |
SeqAct_Toggle, | |
SeqAct_ToggleAffectedByHitEffects, | |
SeqAct_ToggleCinematicMode, | |
SeqAct_ToggleConstraintDrive, | |
SeqAct_ToggleGodMode, | |
SeqAct_ToggleHidden, | |
SeqAct_ToggleHiddenGame, | |
SeqAct_ToggleHUD, | |
SeqAct_ToggleInput, | |
SeqAct_Trace, | |
SeqAct_UpdatePhysBonesFromAnim, | |
SeqAct_WaitForLevelsVisible, | |
SeqAct_NonNativeUpdate_X, | |
SeqAct_SpawnArchetype_X, | |
SeqAct_TriggerFXActor_X, | |
SeqAct_AddGameBall_TA, | |
SeqAct_AnalyzeMusicFromCsv_TA, | |
SeqAct_ApplyCarProducts_TA, | |
SeqAct_AttachAssetToCar_TA, | |
SeqAct_AttachFX_TA, | |
SeqAct_CarMatinee_TA, | |
SeqAct_CheckRotationAngle_TA, | |
SeqAct_CinematicIntroStartNextSeq_TA, | |
SeqAct_CompleteFTECheckpoint_TA, | |
SeqAct_ControlCarMovement_TA, | |
SeqAct_Counter_TA, | |
SeqAct_CreateAttachComponent_TA, | |
SeqAct_DemoCar_TA, | |
SeqAct_DisableForceInFXActor_TA, | |
SeqAct_DisplayMessage_TA, | |
SeqAct_DriveSpline_TA, | |
SeqAct_DumpMovie_TA, | |
SeqAct_EndTutorial_TA, | |
SeqAct_ExitToMainMenu_TA, | |
SeqAct_ExplodeGameBall_TA, | |
SeqAct_GameURLHasOption_TA, | |
SeqAct_GetDetailMode_TA, | |
SeqAct_GetEdition_TA, | |
SeqAct_GetEffectIntensity_TA, | |
SeqAct_GetFTEState_TA, | |
SeqAct_GetGameBall_TA, | |
SeqAct_GetPlayerCar_TA, | |
SeqAct_GetPlaylistType_TA, | |
SeqAct_GetRarityColor_TA, | |
SeqAct_GetSaveData_TA, | |
SeqAct_GetTeamScore_TA, | |
SeqAct_GetTutorialType_TA, | |
SeqAct_GetWeatherEnabled_TA, | |
SeqAct_GiveBoost_TA, | |
SeqAct_HideDuplicateCar_TA, | |
SeqAct_HighlightReelFinished_TA, | |
SeqAct_InstanceMaterial_TA, | |
SeqAct_IntroMenuCarsInPosition_TA, | |
SeqAct_IsActionPressed_TA, | |
SeqAct_IsCrateRouletteEnabled_TA, | |
SeqAct_IsHumanPlayer_TA, | |
SeqAct_IsTargetInPlayerCameraView, | |
SeqAct_LoadMap_TA, | |
SeqAct_LookAtActor_TA, | |
SeqAct_MainMenuSwitch_TA, | |
SeqAct_MatchCountdown_TA, | |
SeqAct_MoveActor_TA, | |
SeqAct_NotifyEventOnTutorial_TA, | |
SeqAct_ReinitPhys_TA, | |
SeqAct_RotateActor_TA, | |
SeqAct_ScreenFade, | |
SeqAct_ScreenFade_TA, | |
SeqAct_SetBallCamTarget_TA, | |
SeqAct_SetBallMaterial_TA, | |
SeqAct_SetBreakoutBallCharge_TA, | |
SeqAct_SetBreakoutTileDamage_TA, | |
SeqAct_SetCarTransform_TA, | |
SeqAct_SetGreenScreen_TA, | |
SeqAct_SetLoadout_TA, | |
SeqAct_SetMatInstVectorParam_TA, | |
SeqAct_SetMeshMaterialScalarParameter_TA, | |
SeqAct_SetNameplate_TA, | |
SeqAct_SetPostProcess_TA, | |
SeqAct_SetReplayCamera_TA, | |
SeqAct_SetReplayFX_TA, | |
SeqAct_SetSkelMATLoadout_TA, | |
SeqAct_SetStadiumTeamColors_TA, | |
SeqAct_SetTimeDilation_TA, | |
SeqAct_SetTutorialGameEvent_TA, | |
SeqAct_SetTutorialTip_TA, | |
SeqAct_SetVehicleInput_TA, | |
SeqAct_SpawnActor_TA, | |
SeqAct_SpawnBot_TA, | |
SeqAct_SpawnCarColors_TA, | |
SeqAct_SpawnFXActor_TA, | |
SeqAct_StartTutorial_TA, | |
SeqAct_TermPhys_TA, | |
SeqAct_ToggleUIOverlay_TA, | |
SeqAct_UpdateAd_TA, | |
SeqEvent_AkMusicCue, | |
SeqEvent_AIReachedRouteActor, | |
SeqEvent_AISeeEnemy, | |
SeqEvent_AnalogInput, | |
SeqEvent_AnimNotify, | |
SeqEvent_Console, | |
SeqEvent_ConstraintBroken, | |
SeqEvent_Death, | |
SeqEvent_Destroyed, | |
SeqEvent_HitWall, | |
SeqEvent_Input, | |
SeqEvent_LevelBeginning, | |
SeqEvent_LevelLoaded, | |
SeqEvent_LevelStartup, | |
SeqEvent_LOS, | |
SeqEvent_MobileTouch, | |
SeqEvent_Mover, | |
SeqEvent_ParticleEvent, | |
SeqEvent_PickupStatusChange, | |
SeqEvent_PlayerSpawned, | |
SeqEvent_RemoteEvent, | |
SeqEvent_RigidBodyCollision, | |
SeqEvent_SeeDeath, | |
SeqEvent_SequenceActivated, | |
SeqEvent_Touch, | |
SeqEvent_TouchInput, | |
SeqEvent_Used, | |
SeqEvent_Spawned_X, | |
SeqEvent_BallInRange_TA, | |
SeqEvent_CarSelectStart_TA, | |
SeqEvent_CarSpawned_TA, | |
SeqEvent_CarTouchBall_TA, | |
SeqEvent_CinematicIntroSeqFinished_TA, | |
SeqEvent_CountDownCompleted_TA, | |
SeqEvent_CountDownStart_TA, | |
SeqEvent_GameEventStateChanged_TA, | |
SeqEvent_GameTimeChanged_TA, | |
SeqEvent_GarageComplexState_TA, | |
SeqEvent_GoalScored_TA, | |
SeqEvent_InputSequence_TA, | |
SeqEvent_IntroMenu_TA, | |
SeqEvent_LiveReplay_TA, | |
SeqEvent_MainMenuSwitched_TA, | |
SeqEvent_MTXGarageBlueprintPreview_TA, | |
SeqEvent_MTXGarageReveal_TA, | |
SeqEvent_PodiumStart_TA, | |
SeqEvent_PreviewGoalExplosion_TA, | |
SeqEvent_PreviewMusicStingerVisualizer_TA, | |
SeqEvent_ReplayTime_TA, | |
SeqEvent_RoundStart_TA, | |
SeqEvent_ScoreChanged_TA, | |
SeqEvent_ShowGarageComplex_TA, | |
SeqEvent_StadiumTeamColorsChanged_TA, | |
SeqEvent_StartHighlightReel_TA, | |
SeqEvent_TutorialHelper_TA, | |
SeqEvent_TutorialStarted_TA, | |
SeqEvent_UIStateChange_TA, | |
SeqEvent_UserSettingChanged_TA, | |
SeqEvent_WeatherToggled_TA, | |
SeqCond_CompareBool, | |
SeqCond_CompareFloat, | |
SeqCond_CompareInt, | |
SeqCond_CompareObject, | |
SeqCond_GetServerType, | |
SeqCond_Increment, | |
SeqCond_IncrementFloat, | |
SeqCond_IsAlive, | |
SeqCond_IsBenchmarking, | |
SeqCond_IsConsole, | |
SeqCond_IsInCombat, | |
SeqCond_IsLoggedIn, | |
SeqCond_IsPIE, | |
SeqCond_IsSameTeam, | |
SeqCond_MatureLanguage, | |
SeqCond_ShowGore, | |
SeqCond_SwitchBase, | |
SeqCond_SwitchClass, | |
SeqCond_SwitchObject, | |
SeqCond_SwitchPlatform, | |
SeqCond_CompareString_TA, | |
SeqVar_Bool, | |
SeqVar_Byte, | |
SeqVar_Character, | |
SeqVar_External, | |
SeqVar_Float, | |
SeqVar_Group, | |
SeqVar_Int, | |
SeqVar_Name, | |
SeqVar_Named, | |
SeqVar_Object, | |
SeqVar_ObjectList, | |
SeqVar_ObjectVolume, | |
SeqVar_Player, | |
SeqVar_RandomFloat, | |
SeqVar_RandomInt, | |
SeqVar_String, | |
SeqVar_Union, | |
SeqVar_Vector | |
) | |
def register(): | |
from bpy.utils import register_class | |
for cls in classes: | |
register_class(cls) | |
try: | |
nodeitems_utils.register_node_categories('KISMET_NODES', node_categories) | |
bpy.types.NODE_HT_header.append(draw_export_button) | |
except: | |
nodeitems_utils.unregister_node_categories('KISMET_NODES') | |
nodeitems_utils.register_node_categories('KISMET_NODES', node_categories) | |
def unregister(): | |
nodeitems_utils.unregister_node_categories('KISMET_NODES') | |
bpy.types.NODE_HT_header.remove(draw_export_button) | |
from bpy.utils import unregister_class | |
for cls in reversed(classes): | |
unregister_class(cls) | |
if __name__ == "__main__": | |
register() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment