Just some suggestions from me to help you with your problem Grogyan:
Make sure that in Blender, you logic for your Journal says:
String Name:clickfileX (name of the BookGUI.py file)
The X on the Clickfile is needed.
In your python scripting, make sure that in the PageDefs.py file you made, you have the following:
- Code: Select all
AgeBooks = {'andyjournal': ('<cover src="coverandyjournal"><margin right=32 left=32>', '<font size=12 face=Arial color=000000>', 0, 0),
'agejournal': ('<cover src="leather2"><margin right=32 left=32>', '<font size=12 face=Arial color=000000', 0, 0), 'jishinjournal': ('<cover src="jishincover"><margin right=32 left=32>', '<font size=12 face=Airal color=000000>', 0, 0), 'nynavevejournal': ('<cover src="nyncover"><margin right=32 left=32>', '<font size=12 face=Arial color=000000>', 0, 0), 'philipphjournal': ('<cover src="philipcov">', '', 0, 0)}
Each of these are the actual names you gave the object that is the journals in Blender. 'andyjournal' is the name I gave the object that is my journal in Blender.
Are you getting a click hot spot when you try, but nothing happens when you click? If that's true, then more than likely it's the scripting I just mentioned above that's wrong. Look at the Python log. If you don't see an error in the log, that's most likely it.
If you DON'T get a click hot spot when you move your mouse over the journal, then the problem is in Blender. Check the logic properties for the journal and make sure you have the ALCscript set up right too. Should look like this:
- Code: Select all
andyjournal:
quickscript:
simpleclick:
pythonfile: Zephyr_CoveBookGUI
region: andyjournalreg
Where Region is the logic region I put around the journal, and pythonfile points to the BookGUI python file in the Age's pak file.
Hope this helps as I run into this all the time, and normally it's I forgot to do something, or named something wrong.