Page 1 of 3

Problems with footprints.

PostPosted: Sat May 31, 2008 9:11 am
by Valdez
I was trying to make some footprints (not activated by water) and they don't work. What I don't get are the matpreshade and matrtshade entries of the AlcScript. What is the datablock that I have to input into those entries?

Re: Problems with footprints.

PostPosted: Sat May 31, 2008 9:43 am
by boblishman
Image

Re: Problems with footprints.

PostPosted: Sat May 31, 2008 2:28 pm
by Valdez
Hmmm, well I had it set to there all along. Are MipMap and Interpol supposed to be on? And what are some common errors in this?

Re: Problems with footprints.

PostPosted: Sat May 31, 2008 5:22 pm
by boblishman
have you got ...

lifespan: 20

in your alcscript ? (yes, it was missing from the Wiki)

lifespan.jpg
lifespan.jpg (19.66 KiB) Viewed 4504 times


EDIT: now added to the Wiki

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 5:15 am
by Valdez
Well that didn't work, I added the AlcScript and still, no footprints. Like I said, am I supposed to have the footprint texture set to mipmap and interpol? And if you need it here is my AlcScript for my footprint:

Code: Select all
footstep_good:
    logic:
        actions:
          - type: footmgr
            footmgr:
                matpreshade: footstep_decal
                matrtshade: footstep_decal
                lifespan: 20
            targets:
                  - footstep_good


I know I have all the targets and materials set correctly, but this is just to be sure. And also, do I have to have an activator surface for footprints? And when I copy-pasted this, this is what it looked like so picture 'targets' lined up with everything else. But note that that entry has different indentation than the rest of the code.

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 5:54 am
by boblishman
Valdez wrote:... am I supposed to have the footprint texture set to mipmap and interpol?

yes, mipmap & interpol are fine ... remember to use "Alpha" as well ...

your Alcscript should be exactly like this (the spacing and indents are crucial! ) ...


Code: Select all
footstep_good:
    logic:
        actions:
          - type: footmgr
            footmgr:
                matpreshade: footstep_decal
                matrtshade: footstep_decal
                lifespan: 20
                targets:
                  - footstep_good



footstep_good should be the name of the object that you want the footsteps to appear on, (not the name of the object that the footsteps texture is UV mapped to - you don't use the name of that object at all, only that object's Material Name, footstep_decal) ...

Valdez wrote:...do I have to have an activator surface for footprints? ...


not for "ordinary" footprints...

also, make sure that Shadbuf is OFF on both the footsteps decal object and the object that you want the footsteps to appear on ... oh, and make them both "shadeless"

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 9:45 am
by Valdez
Well the footprints still don't come up. What else could I have done wrong? And does it matter if the object you want footprints to be on has an activated Alpha layer?

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 9:51 am
by andylegate
Don't feel bad.....I've done everything that you've read above Valdez, and I too do not have footsteps, nor can I get them to work at all. In one Age, it makes the Age crash.

I just gave up on them.

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 10:04 am
by boblishman
Valdez wrote:...And does it matter if the object you want footprints to be on has an activated Alpha layer?


no ... my footsteps show up on an object with 4 texture layers which include a stencil layer and an alpha layer ...

EDIT: however, I am NOT using any Zoff settings ... I'm not sure if that could cause a problem ...

Re: Problems with footprints.

PostPosted: Sun Jun 01, 2008 10:09 am
by boblishman
andylegate wrote: In one Age, it makes the Age crash....


I hope you're not using a footstep sound type listed here ... scroll to "Available footstep sounds" ... :?


andylegate wrote:I just gave up on them.


doesn't sound like you Andy ... :o
(welcome back home, btw)