- Sep 19, 2017
- 5
- 0
Hi, i'm new at this, i'm trying to add side image to existing game (the tyrant).
I read renpy documents, and search how to do it in the internet...
I decompile the game and i found this
Init:
$ pov = Character("[pov]", color="ffffff", what_color="ffffff")
$ ls = Character("[ls]", color="#cc00ff", what_color="#cc00ff")
$ bs = Character("[bs]", color="007408", what_color="007408")
$ mother = Character("[mother]")
if p1 == False:
$ mom = Character("Mom", color="02a9ff", what_color="02a9ff")
else:
$ mom = Character("daniela")
$ father = Character("Bruce")
$ steve = Character("Steve", color="ffc600", what_color="ffc600")
$ davide = Character("Davide", color="00fcff", what_color="00fcff")
$ frank = Character("Frank", color="00fcff", what_color="00fcff")
if p1 == False:
$ dad = Character("Dad", color="ff0000", what_color="ff0000")
else:
$ dad = Character("Bruce")
$ martin = Character("Martin", color="ff0000", what_color="ffffff")
$ irina = Character("[irina]", color="cc00ff", what_color="cc00ff")
$ susan = Character("[susan]", color="cc00ff", what_color="cc00ff")
$ dummy = Character("Dummy", color="cc00ff", what_color="cc00ff")
$ kate = Character("[kate]", color="cc00ff", what_color="cc00ff")
$ vivian = Character("[vivian]", color="cc00ff", what_color="cc00ff")
$ miranda = Character("[miranda]", color="cc00ff", what_color="cc00ff")
So i write this script.
init python:
def return_str(str):
return str
define config.say_menu_text_filter = return_str
define ls = Character("[ls]", color="cc00ff", image = "ls", )
define mom = Character("[mother]", color="02a9ff", image = "mom", )
define irina = Character("[irina]", color="02a9ff", image = "irina", )
image side ls = "images/faces/side_ls.png"
image side mom = "images/faces/side_mom.png"
image side irina = "images/faces/side_irina.png"
The weird part is only works for the Mom image, and i can't make it work for the rest. What i doing wrong?, Someone can help me?.
Thanks in advance!.
I read renpy documents, and search how to do it in the internet...
I decompile the game and i found this
Init:
$ pov = Character("[pov]", color="ffffff", what_color="ffffff")
$ ls = Character("[ls]", color="#cc00ff", what_color="#cc00ff")
$ bs = Character("[bs]", color="007408", what_color="007408")
$ mother = Character("[mother]")
if p1 == False:
$ mom = Character("Mom", color="02a9ff", what_color="02a9ff")
else:
$ mom = Character("daniela")
$ father = Character("Bruce")
$ steve = Character("Steve", color="ffc600", what_color="ffc600")
$ davide = Character("Davide", color="00fcff", what_color="00fcff")
$ frank = Character("Frank", color="00fcff", what_color="00fcff")
if p1 == False:
$ dad = Character("Dad", color="ff0000", what_color="ff0000")
else:
$ dad = Character("Bruce")
$ martin = Character("Martin", color="ff0000", what_color="ffffff")
$ irina = Character("[irina]", color="cc00ff", what_color="cc00ff")
$ susan = Character("[susan]", color="cc00ff", what_color="cc00ff")
$ dummy = Character("Dummy", color="cc00ff", what_color="cc00ff")
$ kate = Character("[kate]", color="cc00ff", what_color="cc00ff")
$ vivian = Character("[vivian]", color="cc00ff", what_color="cc00ff")
$ miranda = Character("[miranda]", color="cc00ff", what_color="cc00ff")
So i write this script.
init python:
def return_str(str):
return str
define config.say_menu_text_filter = return_str
define ls = Character("[ls]", color="cc00ff", image = "ls", )
define mom = Character("[mother]", color="02a9ff", image = "mom", )
define irina = Character("[irina]", color="02a9ff", image = "irina", )
image side ls = "images/faces/side_ls.png"
image side mom = "images/faces/side_mom.png"
image side irina = "images/faces/side_irina.png"
The weird part is only works for the Mom image, and i can't make it work for the rest. What i doing wrong?, Someone can help me?.
Thanks in advance!.