Hi all,
Pretty sure this hasn't been addressed specifically elsewhere, a search of the forum hasn't turned anything up at least.
I am currently setting up the fed_TNG_starbase so all four of the main doors open and close, I've prepared everything and given it three animations per door (launch, dock and close) and am looking at the kad_FuelPod example to see how the pros have done it. First thing I notice is the "_MAD[1]" Sub Parameter, this seems tied in with the different animations but there's nothing on the ANIM joints to tie these together
How/where are these actually linked? Nothing in the kad_fuelpod *.madstate file looked like it really linked these together except for these "wrappers" below
--
-- State-specific wrappers
--
--
-- Docking path 0
--
KAD_FUELPOD_DockPathOpen_OnSet = function(ship)
KAD_FUELPOD_DockPathOpenArm_OnSet(ship, "DockPathOpen", "FightL0Open", "FightL0Close")
end
KAD_FUELPOD_DockPathOpen_OnPause = function(ship)
KAD_FUELPOD_DockPathOpenArm_OnPause(ship, "DockPathOpen", "FightL0Open", "FightL0Close")
end
KAD_FUELPOD_DockPathClosed_OnSet = function(ship)
KAD_FUELPOD_DockPathClosedArm_OnSet(ship, "DockPathClosed", "FightL0Open", "FightL0Close")
end
KAD_FUELPOD_DockPathClosed_OnPause = function(ship)
KAD_FUELPOD_DockPathClosedArm_OnPause(ship, "DockPathClosed", "FightL0Open", "FightL0Close")
setState(ship, "DockPathClose", 1)
end
--
-- Docking path 1
--
KAD_FUELPOD_DockPathOpen1_OnSet = function(ship)
KAD_FUELPOD_DockPathOpenArm_OnSet(ship, "DockPathOpen1", "FightL1Open", "FightL1Close")
end
KAD_FUELPOD_DockPathOpen1_OnPause = function(ship)
KAD_FUELPOD_DockPathOpenArm_OnPause(ship, "DockPathOpen1", "FightL1Open", "FightL1Close")
end
KAD_FUELPOD_DockPathClosed1_OnSet = function(ship)
KAD_FUELPOD_DockPathClosedArm_OnSet(ship, "DockPathClosed1", "FightL1Open", "FightL1Close")
end
KAD_FUELPOD_DockPathClosed1_OnPause = function(ship)
KAD_FUELPOD_DockPathClosedArm_OnPause(ship, "DockPathClosed1", "FightL1Open", "FightL1Close")
setState(ship, "DockPathClose1", 1)
end
The only difference being the number inserted into the name of the _OnSet functions... is this the link? Am I missing something? If anyone has played with this before please let me know of your experience ![:smiley: :smiley:]()