PDA

View Full Version : Problem exporting



johnnyblaz20
January 14th, 2008, 01:20 AM
This is my first problem exporting something. I have some lights placed on my map as instanced geometry and they don't export correctly. Their names are %light01, %light01 ect.... and for a material is just directed to the only light shader in f_im that h2v tools comes with.

When i export i get an error

[WARNING] %light01 has non-uniform node scale, x-axis value exported.

Besides the background texture the lights are supposed to look like this.
I have glass hiden infront of the light thats why i can't render.http://img110.imageshack.us/img110/4821/supposedgm1.jpg

And in sapien after compiling "on checkerboard" it looks like thishttp://img513.imageshack.us/img513/7453/doesae0.jpg

SuperSunny
January 14th, 2008, 02:08 AM
It's hard to see exactly what you are aiming for, can you explain a bit more?

johnnyblaz20
January 14th, 2008, 02:53 AM
Those are supposed to be florecent lights. That is the ceiling of my map. They are supposed to streach across the entire glassed in area. pic 1

And after compiling they are only like 1/4 the length they are supposed to be.

Edit: Damn, nothing but problems tonight. I recompiled without my last changes i made with the lights and now i'm not able to package. It keeps quiting at bitmap 124. Is there a way to see what bitmap that is?

Vicky
January 14th, 2008, 06:29 AM
1st, the first error u mentioned is just a warning. What error do you get on the bitmap? Maybe recompiling the bitmaps will help...

johnnyblaz20
January 14th, 2008, 05:26 PM
I didn't get an error on the bitmap, I was trying to package my map and it hung up on a bitmap and the cmd closed down.

armoman92
January 14th, 2008, 05:49 PM
its because you used the scale tool in 3ds max. It messes up the lenghts, u probably got that "you need to reexport x-value" message. Try remodeling the lights without the scale tool to make them bigger or smaller (ie move tool or manually).

Vicky
January 14th, 2008, 05:49 PM
You could try running the tool from a dos-box to see if any error is reported. Open dos-box, type something like:

cd "\Halo 2 Map Editor"

or whatever your dir for the editor is then type:

h2tool build-cache-file "\Halo 2 Map Editor\tags\scenarios\multi\mymap\mymap"

^ this is 1 line

and mymap is your mapname.

johnnyblaz20
January 14th, 2008, 06:58 PM
Thanks guys. I'll try those ideas out when i get home.

It sounds like armoman had the same problem i'm having with instanced geometery because i did use the scale tool. Damn, i have alot of those lights.

If your idea does not help me vicky i think i'm gonna have to try changing shaders one by one till it works. I can only compile my map 1/2 the time and when i do i can't package it like i said. It hangs up on one certain bitmap. I think i might know what one it is now that i think about it.

Huh, my problem was the panel_railing_rust.shader. I believe that one installed with the map editor but my map wouldn't package with that shader attached. Anyways now i have to spend another hour making new fluorescent style lights.

Con
January 15th, 2008, 09:02 PM
See my post here: http://www.h2vista.net/forums/showthread.php?t=8169

johnnyblaz20
January 15th, 2008, 10:00 PM
I just re-made my lights without using the scale tool. Why does it do that? I scaled my whole map up and didn't have this problem like the other dude did in the link you sent me, but i scale a few small objects and i get that error. I'm guessing that the problem is when you just scale in the X or Y direction and not scaling the whole map up.

Con
January 15th, 2008, 10:11 PM
Yeah, I think that's where the "nonuniform" comes from, as the scales aren't the same in all axis.