Author Topic: Semi-Transparent AND Scrolling Codes?  (Read 1878 times)

Offline .Sasha.

  • Experienced Traveler
  • **
  • Posts: 238
  • Country: de
  • Floof-O-Meter: 7
  • in a relationship with 50 non existent characters
    • View Profile
Semi-Transparent AND Scrolling Codes?
« on: June 24, 2015, 08:18:50 pm »
Im making a preset where the base is semi-transparent, so a full body just a bit see-through, and another, scrolling/moving one above. But i tried a couple of scripts from Tiggs thread and in all of them the body was either completely invisible or completely there...so uh, any help?
In-game; .Sasha.
Yes hello this the dad of FH. Mostly seen at The Grounds.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile

Offline .Sasha.

  • Experienced Traveler
  • **
  • Posts: 238
  • Country: de
  • Floof-O-Meter: 7
  • in a relationship with 50 non existent characters
    • View Profile
Re: Semi-Transparent AND Scrolling Codes?
« Reply #2 on: June 25, 2015, 10:06:47 am »
I tried around a bit, but the body still turns out completely invisible, i guess the semi-transparency code and the scrolling one can't be combined?

this is what i got now, maybe someone can see the issue?

Code: [Select]
{
receive_shadows on
technique
{
pass
{
depth_check on
depth_write off
scene_blend alpha_blend
texture_unit
{
texture preset_6body.png
}
texture_unit
{
texture preset_6bodymove.png
scroll_anim 0.0 0.1
}
}
}
}
In-game; .Sasha.
Yes hello this the dad of FH. Mostly seen at The Grounds.

Offline Enoki

  • Herba Chronographus
  • Elder Grey Pelt
  • ****
  • Posts: 2,698
  • Country: us
  • Floof-O-Meter: 121
  • Who lives in a portabella under a tree?
    • FantasyFungus
    • EnokiTheDryphon
    • Enoki_G
    • View Profile
    • The Realms of Yugure
Re: Semi-Transparent AND Scrolling Codes?
« Reply #3 on: June 26, 2015, 05:16:25 am »
Hmmm, unfortunately, I cannot tell what is going on in y'er coding. I'm not particularly code-savvy, but, I do not think ye can do both. Y'er scrolling requires a non-transparent background to scroll.

But, I wonder if ye can make y'er scrolling texture somewhat transparent instead of y'er preset's body.

Sorry I couldn't be of more help. Good luck with y'er preset floof!

Tmw you planned a ten minute nap but instead took a whole year.
☙Icon by dA JRProducts; Sig by PocketMutt❧

Offline Whinp

  • Finest Floof
  • ***
  • Posts: 916
  • Country: 00
  • Floof-O-Meter: 50
    • View Profile
Re: Semi-Transparent AND Scrolling Codes?
« Reply #4 on: June 26, 2015, 07:16:37 am »
are you trying to do semitransparent AND scrolling on a single part of the body or just semi on one and scrolling on another?


because iirc you can't do the first


edit: oh nvm, i was confusing semitransparent with a paw for example being transparent, sorry. a sec


edit2: pretty sure the code is supposed to be like this (left & right body only)

Code: [Select]
material preset_6_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_6bodymove.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   depth_check on
   depth_write off
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_6body.png
   }
  }
 }
}
material preset_6_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_6bodymove.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   depth_check on
   depth_write off
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_6body.png
   }
  }
 }
}
« Last Edit: June 26, 2015, 07:38:59 am by Kijiako »




In-game name as: Whinp




Offline .Sasha.

  • Experienced Traveler
  • **
  • Posts: 238
  • Country: de
  • Floof-O-Meter: 7
  • in a relationship with 50 non existent characters
    • View Profile
Re: Semi-Transparent AND Scrolling Codes?
« Reply #5 on: June 26, 2015, 06:31:15 pm »
Welp, looks like it doesn't work then, i tried the code but the body is still fully visible...

Anyways, thanks to everyone for the help! c:
In-game; .Sasha.
Yes hello this the dad of FH. Mostly seen at The Grounds.