still having problems with sky

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

still having problems with sky

Post by m4rine »

when i try to put a sky all around my map it goes all blury when i look at it. even if 1mm of my screen catches it it locks the screen up and when u move the mouse the objects in my map blur in a sort of 'Windows solitaire way when u win wsolitaire' then i removed it for a plain grey sky and it did the same!!!!!!!!!

:cry: i cant progress on my map if i don't get this sorted, please help!
"We must become the change we want to see in the world" (Mahatma Gandhi)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

The effect you described is know as 'hall of mirrors' (HOM). To prevent it from happening, type 'r_clear 1' in the console.

What sky texture did you use?
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

africa_night_1
"We must become the change we want to see in the world" (Mahatma Gandhi)
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

is there a way of scripting 'r_clear 1' so u dont have to type it? cos if i release my map i dont want to have to tell people to type 'r_clear 1' everytime they play, can it be done automaticly? :?
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
Butch
Lieutenant Colonel
Posts: 398
Joined: Fri Jan 24, 2003 11:30 am

Post by Butch »

what about after waittill prespawn put

iprint r_clear 1

or something similar?
PFC.Butch
B Company, 2nd Ranger Battalion
US Army
Slyk
Lieutenant Colonel
Posts: 361
Joined: Sun Jul 14, 2002 12:42 am
Location: Elizabethtown, PA

Post by Slyk »

I will guarentee you that you have an overlapping/conflicting or non-aligned sky box brush on the part giving the mirror effect. Sometimes can be tough to find, but go over your sky box very carefully checking all the corners and top and bottom.

You'll eventually find the issue...but I'd bet it's a brush alignment causing it.
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

i wouldnt put r_clear in your script. On servers this command will be cheat-protected i guess(?). R_clear is a command (just like lock_pvs; don't know the command for mohaa) used by mappers to properly and manually VIS their map. It then replaces the HOM by an opaque color so the mapper can see which parts of the map are actually drawn from a certain point.
I think, as Slyk said, you'll have to check your map for leaks or overlaps. Use thick (+/- 64units) skybrushes and try not to enclose the whole map with sky. Just use it as a 'lit' or 'canopy'. But it sure is a strange effect you have. Whenever I have a leak in my map, I only see HOM-effects in the places where it leaks into the void.

(side view of map):
,...__...., < skybrush in the middle
|______| < ground
Now I would only see HOM-effect where the dots are. If nothing helps then delete the whole sky and make a new one, ya never know.
solar
Colour Sergeant
Posts: 99
Joined: Fri Mar 21, 2003 2:40 pm
Location: Toledo, OH

Post by solar »

Pantera Wrote:
R_clear is a command (just like lock_pvs; don't know the command for mohaa) used by mappers to properly and manually VIS their map.
I'm having FPS problems in my map. Can I ask if using this command will aid me in optimizing my FPS, or should I start a thread on it?
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

(to Solar:) yeah we'd better stay on the sky-topic, right? But okay, the proper command is r_lockpvs 1 (no need to use r_clear for this). If I remember correctly this stands for Potential Visibility Set. To test this, start a SP-mission and type r_lockpvs 1 in the console. Then use noclip (notarget, the whole bunch;) to see which parts of the SP-unit are being drawn when entering the level. Type r_lockpvs 0 to turn it off. Try moving to another point in the mission, and then type r_lockpvs 1 again to see which parts are being drawn after you've moved to another point in the level.
However in most small/medium MP maps it looks like the whole map is being drawn regardless of your position in the map. But it can be a good way to see if your vis-leafgroups are doing their job right. If you have more questions about this you'd better start a new thread.
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

yo, r_clear doesnt work!

and ive tried about 12 different sky brushes, including 2 hollowed, but the rest all seperate brushes. What i did was go to the XY Top view and draw a box all around my map, then either hollow it or make it thin and add 5 more. Was it too far away or something? Right the way around my map.
:? i'm confused..........

:cry: please help!!!!!!
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

As far as I understood, you get this effect in MOHAA not in MOHradiant?
What about maps that are made by someone else?
What happens in maps where the skytextures are replaced by a non-sky texture, i.e. without sky?
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

got it sorted, it turned out to be that i had put the sky brush right around the map, so the sky was ((in the game) literally about 5500 km from the ground and it messed up. ive got it sorted now though 8)
"We must become the change we want to see in the world" (Mahatma Gandhi)
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

sorry about that
:oops:
"We must become the change we want to see in the world" (Mahatma Gandhi)
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

cheers Image
Hashmark13
Major
Posts: 299
Joined: Mon Nov 25, 2002 12:20 am
Location: USA

Post by Hashmark13 »

ugh... how did you make that face with the drink :?
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Post Reply