Author Topic: Bug: Fix rscripts  (Read 1808 times)

Zorchenhimer

  • Autococker
  • Posts: 2614
Bug: Fix rscripts
« on: January 20, 2008, 02: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 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):

Eiii

  • Autococker
  • Posts: 4595
Re: Bug: Fix rscripts
« Reply #1 on: January 20, 2008, 03:06:35 PM »
Lol, try 'sine' and 'cosine'. I don't think tangent is supported.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Bug: Fix rscripts
« Reply #2 on: January 21, 2008, 12:57:30 PM »
Nope, doesn't work.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Bug: Fix rscripts
« Reply #3 on: January 21, 2008, 01:03:42 PM »
sinabs/cosabs?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Fix rscripts
« Reply #4 on: January 22, 2008, 04: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.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Bug: Fix rscripts
« Reply #5 on: January 23, 2008, 12:34:04 AM »
Ah, ok.  Thanks.  In that case, I think some documentation needs to be either corrected or written.