speaking character image tag error

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Goha
Newbie
Posts: 1
Joined: Fri Jun 22, 2018 9:06 am
Contact:

speaking character image tag error

#1 Post by Goha » Fri Jun 22, 2018 9:12 am

sorry for bad english.
I used lenpy 6.99.12.4 version. now I'm trying to change the version to 7.0
but I have a problem!
The image tag which recognized well in 6.99.12.4 isn't recognized in 7.0.

I defined the same character for nvl and adv.
nvl character doesn't have a problem, but when i put the facial expression in the 'say dialogue' that 
using the adv character, A problem comes up.
Is there anybody who can fix it? help me! thank you very much!

this is the character definition. 

a1 = Character('cha1', what_prefix='「', what_suffix='」', kind = nvl, image = 'a', ctc=anim.Blink('ctc.png'), ctc_pause=anim.Blink('ctc.png'), ctc_timedpause=Null())
b1 = Character('cha2', kind=a1, image = 'b')

a2 = Character('cha1', what_prefix='「', what_suffix='」', kind=adv, image = 'a', ctc=anim.Blink('ctc.png'), ctc_pause=anim.Blink('ctc.png'), ctc_timedpause=Null())
b2 = Character('cha2', kind=a2, image = 'b')



and trackback message

While running game code:
File "game/script.rpy", line 553, in script
b2 happy "dialogue"
File "renpy/common/00library.rpy", line 106, in _default_empty_window
store.narrator.empty_window()
Exception: Say has image attributes (u'\uc9dc\uc99d',), but there's no image tag associated with the speaking character.


-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 553, in script
b2 happy "dialogue"
File "D:\작업\renpy-7.0.0-sdk\renpy\ast.py", line 652, in execute
renpy.exports.say(who, what, interact=self.interact, *args, **kwargs)
File "D:\작업\renpy-7.0.0-sdk\renpy\exports.py", line 1199, in say
who(what, *args, **kwargs)
File "D:\작업\renpy-7.0.0-sdk\renpy\character.py", line 949, in __call__
self.resolve_say_attributes(False, wanted=speaking)
File "D:\작업\renpy-7.0.0-sdk\renpy\character.py", line 881, in resolve_say_attributes
renpy.exports.with_statement(trans)
File "D:\작업\renpy-7.0.0-sdk\renpy\exports.py", line 1452, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "D:\작업\renpy-7.0.0-sdk\renpy\display\core.py", line 2207, in do_with
clear=clear)
File "D:\작업\renpy-7.0.0-sdk\renpy\display\core.py", line 2633, in interact
self.show_window()
File "D:\작업\renpy-7.0.0-sdk\renpy\display\core.py", line 2190, in show_window
renpy.config.empty_window()
File "renpy/common/00library.rpy", line 106, in _default_empty_window
store.narrator.empty_window()
File "D:\작업\renpy-7.0.0-sdk\renpy\character.py", line 913, in empty_window
self("", interact=False, _call_done=False)
File "D:\작업\renpy-7.0.0-sdk\renpy\character.py", line 949, in __call__
self.resolve_say_attributes(False, wanted=speaking)
File "D:\작업\renpy-7.0.0-sdk\renpy\character.py", line 845, in resolve_say_attributes
raise Exception("Say has image attributes %r, but there's no image tag associated with the speaking character." % (attrs,))
Exception: Say has image attributes (u'\uc9dc\uc99d',), but there's no image tag associated with the speaking character.

Post Reply

Who is online

Users browsing this forum: DragoonHP