Battlezone Universe

Battlezone Universe => Battlezone 2 => Maps and Modding => Topic started by: BNG Da BZ Fool on July 30, 2009, 05:58:17 PM

Title: Can scene lights be added to the model hierarchy tree structure?
Post by: BNG Da BZ Fool on July 30, 2009, 05:58:17 PM
Can I add the lights that light my model into the tree structure of a model, or would that cause a problem for BZ? I use TS 7.6 and it has scene lights that affect the way it illuminates in the modeler workspace, but is adding them to the model itself a bad thing for BZ or does it make no dif. at all as BZ just ignores such objects? Tanks, BNG.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: TheJamsh on July 30, 2009, 06:03:07 PM
you could add hp_light hardpoints to it, but youre limited to 4, and you would have to probably create custom lights.

They would affect everything they hit though, not just youre object, as spot_lights are pretty heavy in TA5.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: BNG Da BZ Fool on July 30, 2009, 06:14:45 PM
Not as hp_lights TJ as model parts illuminating the model geometry. Would the light objects cause BZ to crash if BZ tried to read them and cause a problem when rendering the model in game?
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: TheJamsh on July 30, 2009, 06:24:46 PM
dont think it would cause a crash, i just dont think it will work. BZ2 probably won't understand it.

You can use vertex colours, also they only appear correctly when lights are set to none, which very few people use.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: Rocket on July 30, 2009, 06:33:04 PM
QuoteCan scene lights be added to the model hierarchy tree structure?

I'm quite sure they can't.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: BNG Da BZ Fool on July 30, 2009, 06:54:16 PM
No prob. Thanks for the feedback. BNG.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: Nielk1 on July 30, 2009, 07:08:03 PM
I suspect if its pre XSI the exporter will ignore it and if it is post BZ2 will ignore it,
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: mrtwosheds on July 30, 2009, 07:14:09 PM
From Ivtank.xsi
SI_Angle {
   0;
}

SI_Camera  Camera1 {
   1.297981; 2.646989; 3.466687;;
   -1.766339; 1.376721; 2.805893;;
   0.000000;
   60.000031;
   0.100000;
   32768.000000;
}

SI_Ambience {
   0.000000; 0.000000; 0.000000;;
}

SI_Fog {
   0;
   0;
   0.500000; 0.500000; 0.500000;;
   20.000000;
   100.000000;
}

SI_Light  light1 {
   0;
   1.000000; 1.000000; 1.000000;;
   0.000000; 5.966998; 0.000000;;
}
These are presumably the scene lights/fog/camera from SI, they do nothing in bz2.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: AHadley on July 30, 2009, 07:18:21 PM
What's SI?
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: VSMIT on July 30, 2009, 07:30:28 PM
Soft Image.  The format.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: AHadley on July 30, 2009, 08:59:30 PM
Ah. Thought he was referring to a game or something.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: BNG Da BZ Fool on August 05, 2009, 02:53:48 PM
I was just curious, but I guess BZ must illuminate objects internally via setting in the trn file referencing the sun color and other settings? The map editor is BZ is quite interesting and I wish that more detailled information was available in terms of what can and can not be accomplished creating maps from it. BNG.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: mrtwosheds on August 05, 2009, 04:23:45 PM
Quite allot of those settings in the .trn files, do nothing at all, the sun color included. (seem to be just left over from bz1 or something) all the lighting, fog etc can be adjusted in the bz2 console.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: TheJamsh on August 05, 2009, 09:23:04 PM
The skydome data is invalid and not-read in either. You CAN however, use .TRN files for .dll purposes, and allow the .dll to read from them.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: Nielk1 on August 06, 2009, 06:28:47 AM
Quote from: TheJamsh on August 05, 2009, 09:23:04 PM
The skydome data is invalid and not-read in either. You CAN however, use .TRN files for .dll purposes, and allow the .dll to read from them.

What are you the BZ Gaffe Machine?

Yes, they do something, but only when the map is first made. After that it is all done via the console and saved into the sky file.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: TheJamsh on August 06, 2009, 07:16:50 AM
Gaffe Machine ??
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: mrtwosheds on August 08, 2009, 02:27:20 AM
QuoteYes, they do something, but only when the map is first made
This never works for me, sky's are always completely blank when I make a new map.
Title: Re: Can scene lights be added to the model hierarchy tree structure?
Post by: TheJamsh on August 08, 2009, 10:25:39 AM
Same for me. I've never had the info read in. You're supposed to be able to create maps from scratch with .trn files only but that never works for me.