Digital Paint Discussion Board

Development => General Development => Topic started by: Zorchenhimer on January 20, 2008, 03:34:28 PM

Title: Bug: Fix rscripts
Post by: Zorchenhimer on January 20, 2008, 03:34:28 PM
If I'm not doing this correctly, I would really love to be proven wrong.  :P  Anyway, I was messing around with rscripts yesterday and i found out that they didn't do what I was told they would.

Code: [Select]
textures/zhmr/mrtext
{
safe
{
map textures/zhmr/brick1_1.jpg
blendfunc blend
}
{
map textures/zhmr/mrtext.tga
blendfunc blend
scroll sin 1 sin 0
}
}

From my understanding (from this (http://dplogin.com/forums/index.php?topic=6558.msg73452) topic), if I use "scroll sin 1 sin 0" that the picture should move back and forth in a wave like pattern on the X axis.  However, it just scrolls in a static fashion along the X axis.  I also noticed that "sin", "cos", and "tan" do not work with scale either.

Once again, if I'm not doing this right, please correct me.

Oh, btw, the above two textures look like this (not that it matters much):
(http://dplogin.com/forums/index.php?action=dlattach;topic=6442.0;attach=3944;image)
Title: Re: Bug: Fix rscripts
Post by: Eiii on January 20, 2008, 04:06:35 PM
Lol, try 'sine' and 'cosine'. I don't think tangent is supported.
Title: Re: Bug: Fix rscripts
Post by: Zorchenhimer on January 21, 2008, 01:57:30 PM
Nope, doesn't work.
Title: Re: Bug: Fix rscripts
Post by: ViciouZ on January 21, 2008, 02:03:42 PM
sinabs/cosabs?
Title: Re: Bug: Fix rscripts
Post by: jitspoe on January 22, 2008, 05:35:45 PM
Code: [Select]
textures/zhmr/mrtext
{
{
map textures/pball/brick1_1.jpg
}
{
map textures/zhmr/mrtext.tga
blendfunc blend
scroll sine 1 static 0
}
}
Works fine for me.
Title: Re: Bug: Fix rscripts
Post by: Zorchenhimer on January 23, 2008, 01:34:04 AM
Ah, ok.  Thanks.  In that case, I think some documentation needs to be either corrected or written.