Difference between revisions of "BrawlBox Tricks"

From Custom Mario Kart
Jump to navigation Jump to search
(Created page with "{{under-construction}} This page describes several tricks to do in brawlbox. '''Important:''' Brawlbox isn't able to open MDL0's of CTools, but it is able to open ones of SZS m...")
 
Line 39: Line 39:
  
 
Don't know what the HP effect is? [[Harry Potter Effect]]
 
Don't know what the HP effect is? [[Harry Potter Effect]]
 +
 +
== Culling ==
 +
Special Culling settings are mostly used for transparent materials like fences. It makes you see this texture from both sides instead of one side. Just make Culling to ''no culling''.

Revision as of 14:16, 30 May 2012

Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

This page describes several tricks to do in brawlbox.

Important: Brawlbox isn't able to open MDL0's of CTools, but it is able to open ones of SZS modifier. If you have created a brres in CTools, you can fix the problem by saving the MDL0 in szs modifier once (just open and save, it doesnt even need to fully parse). Note that a small problem still exists, the scale and translation of materials are messed up. Fix this by setting for each material the scale to (1,1) and the translation to (0,0). If you don't set the scale, you'll see a solid color ingame.

Opacity

To enable opacity on a mesh/polygon, browse to the mesh's material (this is found in the MDL0, THIS IS NOT THE TEXTURE!!).
Set the following settings:

  • Ref0 and Ref 1: 0
  • Comp0 and Comp1: Always
  • EnableBlend = true
  • XLU Material = true (will become true when you enable blend automatically, so dont worry about this)
  • EnableAlphaFunction = false (This is for stuff with alpha that doesn't use EnableBlend)
  • EnableDepthTest = true
  • EnableDepthUpdate = false

You can also make a material (more) transparent by setting Constant Alpha Enabled = true and the Value to the value of transparency(0 = opague, 255 = fully transparent).


Animation

SRT0

yet to be done

CLR0

yet to be done

PAT0

yet to be done

Harry Potter Effect Fix

Set for the transparent material EnableAlphaFunction = true. (this is obviously not needed for polygons with opacity)

Don't know what the HP effect is? Harry Potter Effect

Culling

Special Culling settings are mostly used for transparent materials like fences. It makes you see this texture from both sides instead of one side. Just make Culling to no culling.