Mirror Conundrum

deadjoe666

New member
Hi there...

So I have a level with mirrors. It was working fine... until it suddenly stopped. I dunno what I did wrong. The shadow is mirroring, but not the sprite.
To show what I mean...
Clipboard01.jpg


See? You can see the shadow in the mirror, but you cannot see the sprite.
You used to be able to see the sprite. And then I guess I changed something, but for the life of me I cannot see what I did.
I thought it was after I adjusted the BGheight in the levels.txt, but changing it back didn't do anything.

Help!?
 
Oops, sure!

Code:
#-----INFO
cameratype	1
type 		1 0 0
direction 	both
notime		1
mirror		1


#-----LIGHTING

light   	0 60
at      	0
shadowcolor 	1
at 		0
shadowalpha 	6
at 		0

#-----LAYOUT
bgspeed		1

#bglayer	path					xrate	zrate	xpos	zpos	xspace	zspace	xrept	zrept	transp	alpha	water	amplit	wvlgth	wvspd	bgspratio
#background	data/bgs/mirrors/sky.gif		0.1	0	0	0	0	0	-1	1	0	0	0	0	0	0	-0.4
bglayer 	data/bgs/mirrors/mirrors.gif 		0	0	66	37	0	0	-1	1	1	0	0	0	0	0	0

panel   	data/bgs/mirrors/panel.gif
order	a

#fglayer	path					zpos	xrate	zrate	xpos	zpos	xspace	zspace	xrept	zrept	transp	alpha	water	amplit	wvlgth	wvspd	bgspratio
fglayer		data/bgs/mirrors/fg2.gif		5	-0.4	0	0	16	0	0	-1	1	1	0	0	0	0	0	0
fglayer		data/bgs/mirrors/fg.gif			5	-0.4	0	0	16	0	0	-1	1	1	0	0	0	0	0	0
#-----LAYOUT CONT


#-----LAYOUT CONT

#-----SPAWN POINTS/Empties (For deletion)
spawn1  145 20 200

spawn Empty
coords 500 195
at 0 

spawn Empty
coords 500 195
at 1000

Could it be something in the character file or the levels file?
 
Try moving the layout section to the top, so it is declared before the mirror command. 

I'd have it as this order.

Code:
#1 LAYOUT

#2 INFO

#3 LIGHTING

#4 SPAWN POINTS
 
I tried doing this, but it didn't work.

Then I completely recreated the level from scratch, but that didn't work.
Then I tried importing the Batman character to another mod, in a different mirror level, and the mirror level worked normally.
Then I made a new level from scratch using different resources, but that didn't work.
Then I tried importing the character from the other mod into this mod, but in this mod the mirroring didn't work.
Then I imported this original level into the other mod, and the mirroring didn't work.
Then I tested the level in that mod that I had mirror on, and it did work.
Then I tried adding mirroring to another level, and it didn't work.
Then I added the one working mirror level to the Batman mod, and it worked!
So then I recreated the original level by copying and pasting the info onto that level and it worked.

HOWEVER, in my levels.txt file when I change z, it stops working. The test used "z 163 260" and with that mirroring works, but if I change to "z 200 260" it stops working and only the gfxshadow shows reflected.

I changed my original mirror level to "z 163 260" and it worked.
"z 200 260 200" doesn't work either.
"z 163 260 200" does work.
After some testing... "z 199 260" works! As soon as I go to 200 it stops working. So strange.
 
I had problems with mirror effect on the past, and I found the culprit (in my case):
http://www.chronocrash.com/forum/index.php?topic=1773.msg22648#msg22648

Read the whole topic to see if anything helps you
 
Back
Top Bottom