philat wrote:Yeah, when I saw this, it seemed odd that this would work properly. I already told you that I'm pretty sure you have to write out DynamicDisplayable by long hand.
Pardon my ignorance, but what would that look like? Can I nest the Composite Inside it? Or do I convert the entire LiveComposite to a DynamicDisplayable?
Here's an example of a Live Composite I have:
Code: Select all
image template_1_doll = LiveComposite(
(1024,768),
(0,0), "images/characters/template_1/hair/style_1/hair_[char_list[%s].hair].png"%curr_char,
(0,0), "images/characters/template_1/body/[char_list[%s].race].png"%curr_char,
(0,0), "images/characters/template_1/[char_list[%s].gender]_[char_list[%s].race]_head.png"%(curr_char, curr_char),
(0,0), ConditionSwitch(
"char_list[%s].clothing == 'formal'"%curr_char, ConditionSwitch(
"char_list[%s].eyes == 'blue'"%curr_char, "images/characters/template_1/clothes/formal_1_blue.png",
"char_list[%s].eyes == 'brown'"%curr_char, "images/characters/template_1/clothes/formal_1_purple.png",
"char_list[%s].eyes == 'green'"%curr_char, "images/characters/template_1/clothes/formal_1_green.png",
),
"char_list[%s].clothing == 'casual'"%curr_char, ConditionSwitch(
"char_list[%s].eyes == 'blue'"%curr_char, "images/characters/template_1/clothes/casual_1_blue.png",
"char_list[%s].eyes == 'brown'"%curr_char, "images/characters/template_1/clothes/casual_1_purple.png",
"char_list[%s].eyes == 'green'"%curr_char, "images/characters/template_1/clothes/casual_1_green.png",
),
),
I was looking at
this post but it didn't seem to work correctly when I tried to implement it. Sorry I'm so dense on this stuff sometimes.