Page 3 of 7

Re: Chamassa

PostPosted: Tue Mar 09, 2010 1:49 pm
by boblishman
usually no hotspot is because you have not made the clickable object and actor ... with bounds ... and remember that your avatar must be standing inside the click region in order to get a hotspot. Check also that the region has NO scaling (i.e. 1.00) ... press crt+A to apply scaling

Re: Chamassa

PostPosted: Tue Mar 09, 2010 3:05 pm
by I.Brattin
I have the object, and have it convex hull and actor, and scaled it with ctrl-A. Maybe my region isn't big enough.

Re: Chamassa

PostPosted: Tue Mar 09, 2010 4:37 pm
by boblishman
did you make sure the clickable object has no scalinging as well (1.0)

Re: Chamassa

PostPosted: Tue Mar 09, 2010 4:56 pm
by I.Brattin
Yes, in fact I have started over 3 times and get the same results.

Re: Chamassa

PostPosted: Tue Mar 09, 2010 7:53 pm
by I.Brattin
K here is my alcscript

Code: Select all
AquhBook:
   physical:
      pinned: true
   quickscript:
      simpleclick:
         pythonfile: ChamassaBookGUI
         region: AquhRegion   
            
Journal1:
   physical:
      pinned: true
   quickscript:
      simpleclick:
         pythonfile: ChamassaBookGUI
         region: JournalRegion


And here is the book object and the region stuff. Can you see what might be wrong here?

Re: Chamassa

PostPosted: Wed Mar 10, 2010 11:04 am
by D'Lanor
Please post your export log file.

Re: Chamassa

PostPosted: Wed Mar 10, 2010 4:48 pm
by I.Brattin
You can get the log here.

It was too large to post and when I tried to upload it here as an attachment, it wouldn't let me.

Re: Chamassa

PostPosted: Wed Mar 10, 2010 5:17 pm
by D'Lanor
Nothing wrong with the logic modifiers. They exported fine according to the log file. Not sure what is going on there.

Maybe you can try it without quickscript:

Code: Select all
AquhBook:
    logic:
        modifiers:
          - name: AquhBookClick
            cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: AquhRegion
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: pythonfile
                ref: :PythAquhBook
        actions:
          - type: pythonfile
            name: PythAquhBook
            pythonfile:
                file: ChamassaBookGUI
                parameters:
                  - type: activator
                    ref: logicmod:AquhBookClick
                  - type: string
                    value: AquhBook

Journal1:
    logic:
        modifiers:
          - name: Journal1Click
            cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: JournalRegion
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: pythonfile
                ref: :PythJournal1
        actions:
          - type: pythonfile
            name: PythJournal1
            pythonfile:
                file: ChamassaBookGUI
                parameters:
                  - type: activator
                    ref: logicmod:Journal1Click
                  - type: string
                    value: Journal1


If that still doesn't help can you post the Python.0.elf logfile?

Re: Chamassa

PostPosted: Wed Mar 10, 2010 5:58 pm
by I.Brattin
If I need to yeah I can post it.

Exporting Chamassa now with the new alcscript and will report what happens.

Edit: Still No Hot Spot. Give me a second to upload.

Edit: Python.0.elf file

Re: Chamassa

PostPosted: Thu Mar 11, 2010 10:14 am
by D'Lanor
The Python file doesn't load:
Code: Select all
(03/10 19:03:36)   File "D:\DOCUME~1\Garrett\LOCALS~1\Temp\tmp18A.tmp\ChamassaBookGUI.py", line 10, in ?
(03/10 19:03:36) ImportError: No module named *YourAge*PageDefs
(03/10 19:03:36) Python file ChamassaBookGUI.py was not found.

It seems you forgot to replace the PageDef reference. Though I'm not sure why that would stop the hotspot.