Page Refs in Alcscript?

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Page Refs in Alcscript?

Postby Race » Sun Nov 23, 2008 2:52 pm

Hi all, I am trying to add a footprint decal to the groundplane but I am doing it on a different page, is this possible? I have my script set correctly, my footprint plane uvmapped and assigned to the chosen page number but I am not seeing the footprint in the age? Do I need to also reference the page number in the alcscript, and if so how would I set this up? Can anyone help me with this? Thank you :)
Race
 
Posts: 51
Joined: Tue May 20, 2008 9:32 am

Re: Page Refs in Alcscript?

Postby D'Lanor » Sun Nov 23, 2008 3:57 pm

The information you are looking for can be found here.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Page Refs in Alcscript?

Postby Race » Sun Nov 23, 2008 5:39 pm

That looks like a pretty scary piece of script to me :shock: Would you be able to show me a sample script of what I want to do and how it would look all together, if I can see it laid out then I will be able to better understand and get the hang of it. Thats the best way for me to learn. A pretend footprint plane added to a mesh on a different page sample script would be helpful. I can then fill in my own values. Thanks for the response D'Lanor, much appreciated.
Race
 
Posts: 51
Joined: Tue May 20, 2008 9:32 am

Re: Page Refs in Alcscript?

Postby D'Lanor » Mon Nov 24, 2008 9:29 am

This is the example from the Footstep Decals wiki.

Code: Select all
<object name>:
    logic:
        actions:
          - type: footmgr
            footmgr:
                matpreshade: <material ref>
                matrtshade: <material ref>
                lifespan: 20
                targets:
                  - <object name>
                  - <object name>


And here is my footprint example from Prad. If I wanted to make the footprints appear on object Terrain03 on another page called mainRoom I would reference Terrain03 like this:

Code: Select all
FootDecal:
    logic:
        actions:
          - type: footmgr
            footmgr:
                matpreshade: MatFoot
                matrtshade: MatFoot
                wetlength: 6.0
                decaystart: 0.75
                lifespan: 12.0
                targets:
                  - scnobj:Terrain03@mainRoom


Whether this works or not I have no idea since I never had to do something like this.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Page Refs in Alcscript?

Postby Race » Mon Nov 24, 2008 12:29 pm

I will give that a shot, it has to be doable somehow, with all the talent here I know we will nail it. Thanks again for the help D'Lanor.
Race
 
Posts: 51
Joined: Tue May 20, 2008 9:32 am


Return to Building

Who is online

Users browsing this forum: No registered users and 3 guests

cron