Adding caubemap to anything?

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
User avatar
shortbusheros4





Posts: 198
Joined: Mon Nov 26, 2007 4:08 pm

Adding caubemap to anything?

Post by shortbusheros4 »

How can you add a cubemap to something like the cliff walls of bloodgulch? I really just want to try swapping with existing cubemaps before I get into making original ones.
User avatar
Pepsi




Snitch! Wordewatician 500

Posts: 2052
Joined: Thu Dec 28, 2006 11:11 pm
Location: Stalking Hamp With A PipeWrench

Post by Pepsi »

most cubes can be swapped on the fly by extracting them and then injecting them over a existing ones. Getting a cube to show up on a cliff wall would require what ever bitmap you installed to have a alpha layer so the cube could reflect off of it. The cliff walls dont have alpha layers so they cant. Cliff walls are DXT1 and thoes so not carry alpha information. A exception to this are weapons, vehicles and bipeds cause their multipurpose has a alpha channel since the multi saving format is DXT3. When you see a weapons cubemap its simply a reference to the warthog cubemap thats used.

hope this helped.
Life is not how you survive the storm, but how you dance in the rain
User avatar
shortbusheros4





Posts: 198
Joined: Mon Nov 26, 2007 4:08 pm

Post by shortbusheros4 »

will be helpful for future references. But theres no way to add alpha to the walls then?
User avatar
Pepsi




Snitch! Wordewatician 500

Posts: 2052
Joined: Thu Dec 28, 2006 11:11 pm
Location: Stalking Hamp With A PipeWrench

Post by Pepsi »

You can, but Halo wont recognize it.
Life is not how you survive the storm, but how you dance in the rain
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

What? Can't you just swap the 'n'th depenency in HHT? You can give things details like this.
For anybody still wondering where FTD has gone, here it is.
User avatar
shortbusheros4





Posts: 198
Joined: Mon Nov 26, 2007 4:08 pm

Post by shortbusheros4 »

which dependancies would I have to swap to do that?
User avatar
TAZZ





Posts: 275
Joined: Sun Jul 18, 2004 3:41 pm
Location: Englishland

Post by TAZZ »

Philly wrote:What? Can't you just swap the 'n'th depenency in HHT? You can give things details like this.
I'm sure pepsi's right on this, I've tried this before.. say if I want to put a cubemap on the tank, then I'd go to [soso] in HHT and swap the hull dependencies from 'nulled out' to something like 'pistol cubemap'?

If this is what you're talking about, then it won't work because the tanks multi is in DXT1, however, if you wanted to change something that shares the cubemap then this method works, for example, the Ghost and Banshee shares the banshee cubemap.
User avatar
shortbusheros4





Posts: 198
Joined: Mon Nov 26, 2007 4:08 pm

Post by shortbusheros4 »

ok so do you know of any alternatives?
User avatar
TAZZ





Posts: 275
Joined: Sun Jul 18, 2004 3:41 pm
Location: Englishland

Post by TAZZ »

Not that I know of but, going back to this:
Pepsi wrote:Cliff walls are DXT1 and thoes so not carry alpha information. A exception to this are weapons, vehicles and bipeds cause their multipurpose has a alpha channel since the multi saving format is DXT3.
Don't the weaps use DXT1 and Vehicles use DXT3 on the multis?

The only thing I have been able to do so far with cubes in HHT are make things like the Ghost and Banshee not share the same ones and also null them out on things I don't want, I can't think of any other way to add them to other things.
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Why does the multi need to be in DXT3? Why does there even need to be a multi?
For anybody still wondering where FTD has gone, here it is.
User avatar
TAZZ





Posts: 275
Joined: Sun Jul 18, 2004 3:41 pm
Location: Englishland

Post by TAZZ »

The multi refers to how much shine there is on a weapon, well its for other reasons too, but, cover the multi in blue and its super shiney, I thought you already knew this Philly?

EDIT: forgot to say the shine is the cubemap.
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Yes, I know that:

Red = Detail
Green = Glow
Blue = Shine

But, why do you need an alpha channel? The only place I've seen it is for colour change.
For anybody still wondering where FTD has gone, here it is.
User avatar
TAZZ





Posts: 275
Joined: Sun Jul 18, 2004 3:41 pm
Location: Englishland

Post by TAZZ »

Well the alpha channel in the multipurpose controls the level of shine I think, correct me if I'm wrong but the whiter it is the more it shines and the darker it is the duller it is.

White= full shine
Black= Completely dull
User avatar
Pepsi




Snitch! Wordewatician 500

Posts: 2052
Joined: Thu Dec 28, 2006 11:11 pm
Location: Stalking Hamp With A PipeWrench

Post by Pepsi »

>_>

the alpha controls how much the cube map comes in play on the item. its not "shine" its the cubemap.
Life is not how you survive the storm, but how you dance in the rain
User avatar
TAZZ





Posts: 275
Joined: Sun Jul 18, 2004 3:41 pm
Location: Englishland

Post by TAZZ »

^ There's your answer. :wink:
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

So? DXT 1 bitmaps have a white alpha by default. :?
For anybody still wondering where FTD has gone, here it is.
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

Philly wrote:So? DXT 1 bitmaps have a white alpha by default. :?
Is true. DXT1 format has "sorta" alpha. One of the colors in a 4 color texel can be transparent but that's about it.
Image
Download Eschaton: Halomods | Filefront | Mediafire
User avatar
shortbusheros4





Posts: 198
Joined: Mon Nov 26, 2007 4:08 pm

Post by shortbusheros4 »

what if I swapped the meta or tag or whatever of like the tank skin(which is dxt 1) with something that requires a dxt 3 skin and injected my own dxt3 formated tank over it?
Post Reply