View unanswered posts | View active topics It is currently Wed Dec 25, 2024 8:54 pm



Reply to topic  [ 14 posts ] 
 Background doesn't apper! 
Author Message
User avatar

Joined: Sun Jul 27, 2008 4:26 pm
Posts: 11
Reply with quote
Post Background doesn't apper!
I just finished my level, and it works just fine, however whenever I play it the background is nothing but black.

How do I get it to show my background pictures?


Tue Jul 29, 2008 7:34 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Background doesn't apper!
It could be that you've added the background layers in the wrong order. Especially if one of your layers is entirely black. Try adding them in the opposite order and see if that fixes it.


Wed Jul 30, 2008 1:15 am
Profile
User avatar

Joined: Sun Jul 27, 2008 4:26 pm
Posts: 11
Reply with quote
Post Re: Background doesn't apper!
None of my backgrounds are solid black.

This is my first mod really, and I am really new to this stuff. How would I change the order of the layers?


Thu Jul 31, 2008 7:56 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Background doesn't apper!
You just change the order that it's added in the code.

I.E. For Grasslands, it's:
Code:
   AddBackgroundLayer = SceneLayer
      CopyOf = Near Layer
   AddBackgroundLayer = SceneLayer
      CopyOf = Clouds Layer
   AddBackgroundLayer = SceneLayer
      CopyOf = Sky Layer


The near layer is the first one added, and it goes on top of each one added after it.


Fri Aug 01, 2008 1:29 am
Profile
User avatar

Joined: Mon Apr 28, 2008 1:35 am
Posts: 383
Reply with quote
Post Re: Background doesn't apper!
I have the exact same problem, but it's not the order of the layers that is doing it. All I did was copy the base backdrops and edit them a bit. All I changed in the background code is the path of the file. I've attached it if you wanna give it a look.

edit: aha, figured out what the problem is! I tabbed wrong. That's probably what you did wrong too, so I hope you see this message.


Sun Aug 03, 2008 7:38 pm
Profile
User avatar

Joined: Sun Jul 27, 2008 4:26 pm
Posts: 11
Reply with quote
Post Re: Background doesn't apper!
What do you mean by tabbed? as in indentation?


Sun Aug 10, 2008 4:13 am
Profile
User avatar

Joined: Mon Apr 28, 2008 1:35 am
Posts: 383
Reply with quote
Post Re: Background doesn't apper!
yeah, there is a tab before the line


Sun Aug 10, 2008 5:44 am
Profile
User avatar

Joined: Wed Feb 02, 2005 2:17 pm
Posts: 58
Location: Finland
Reply with quote
Post Re: Background doesn't apper!
What code do I need to define a single background image to a custom scene in v21?
I tried to study other scene ini-files but it didn't help and I'm going nuts already.


Wed Oct 08, 2008 10:17 pm
Profile WWW
User avatar

Joined: Mon Apr 28, 2008 1:35 am
Posts: 383
Reply with quote
Post Re: Background doesn't apper!
in scene.ini in base.rte there is a addscenelayer=scenelayer or something like that and you use that and all the stuff under it to get a background. You have to change the filepath though, and if you wanna change the speed or anything you can do that too.


Wed Oct 08, 2008 11:37 pm
Profile
User avatar

Joined: Wed Feb 02, 2005 2:17 pm
Posts: 58
Location: Finland
Reply with quote
Post Re: Background doesn't apper!
Sucks. I have it like this but it's black.
Code:
AddBackgroundLayer = SceneLayer
   PresetName = Street Near Layer
   AddToGroup = Near Backdrops
   DrawTransparent = 1
   WrapX = 0
   WrapY = 0
   ScrollRatio = Vector
      X = 0
      Y = 0
   BitmapFile = ContentFile
      Path = Base.rte/Null.bmp

AddBackgroundLayer = SceneLayer
   PresetName = Street Clouds Layer
   AddToGroup = Mid Backdrops
   DrawTransparent = 1
   WrapX = 0
   WrapY = 0
   ScrollRatio = Vector
      X = 0
      Y = 0
   BitmapFile = ContentFile
      Path = Base.rte/Null.bmp

AddBackgroundLayer = SceneLayer
   PresetName = Street Sky Layer
   AddToGroup = Far Backdrops
   DrawTransparent = 0
   WrapX = 0
   WrapY = 0
   ScrollRatio = Vector
      X = 0
      Y = 0
   BitmapFile = ContentFile
      Path = Street.rte/Scenes/StreetBack.bmp
I'm making a one-screen map. (800x600)


Thu Oct 09, 2008 7:17 pm
Profile WWW
User avatar

Joined: Mon Apr 28, 2008 1:35 am
Posts: 383
Reply with quote
Post Re: Background doesn't apper!
It's because you have two null backdrops in front of it. You really don't need to have any code there at all, just cut the first 2 backgrounds out.


Fri Oct 10, 2008 1:25 am
Profile
User avatar

Joined: Wed Feb 02, 2005 2:17 pm
Posts: 58
Location: Finland
Reply with quote
Post Re: Background doesn't apper!
Good to know, thanks.
...But it's still black.


Fri Oct 10, 2008 1:09 pm
Profile WWW
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Background doesn't apper!
If it's just one image, take out the line AddToGroups. My one image scene background works that way anyway.


Fri Oct 10, 2008 1:18 pm
Profile
User avatar

Joined: Wed Feb 02, 2005 2:17 pm
Posts: 58
Location: Finland
Reply with quote
Post Re: Background doesn't apper!
darkness prevails...


Fri Oct 10, 2008 3:16 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.062s | 14 Queries | GZIP : Off ]