1. INTRODUCTIONDISCLAIMER: I'm not a court maker or an artist....I just look inside floor files to check if it would be possible to edit them....so my research is focused to allow great NLSC court maker to create beautiful floor/court
This tutorial will allow you to recreate Madison Square Garden Floor with correct colors & logo (like Chase logo on the side)..this method is really really similar to what we had in 2k11-2k14, AFIK we can't still use a single texture...we need 3D Editor by Greg for this.....
***** I'm not taken any floor mod request that's not my JOB! Don't PM me on this or ask for requests *****2. PREPARATIONI think Bulls floor is good as a base.....It has all the logos.....but parquet & outside color is wrong (red) while I like dark blue like current Knicks.....so what we can do?
Well 06 mavs paint & outside color is near perfect.....so I did also extract that file:
- f003.iff (bulls default)
- f623.iff (06 mavs floor)
- f014.iff (knicks logos)
I will also need knicks floor file for Knicks logos.....so we need to extract this file too.....
3. IFF FLOOR FILESUncompress the fxxx.iff file using 7-zip so you'll get 3 folders:
- f003
- f623
- f014
Now f003 will be our "base" floor....we'll mostly edit only files inside this folder. Every floor is composed by many files but we can find 3 main file types:
- Textures
- Shaders
- Scene Descriptor
- 3d model of the floor
4. SCNE FILESFirst file you want to look at is floor.SCNE inside f003 folder....this is the floor scene descriptor...go down at the end of the file "Model" section:
"apron_withlogo": {
"Mesh": "_Floor_floor_geoShape",
"Type": "TRIANGLE_LIST",
"Count": 438
}
"color": {
"Count": 393
},
"
"apron"" is actually the out parquet outside the floor...while "color" is the parquet paint area color.....and so on here you have all the objects that must have also a 3d object in the model file...but don't worry about this by now ^__^
Now every Model has a material and every material is rendered with a shader...remember:
Model->Material->Pixel ShaderIn few words 2K stores color in the pixel shaders...but If we can change the Pixel Shader a Model is using we'll get a different color. So the Mavs 06 floor has somewhat the same
"apron" model but with different Pixel Shader....why not just use Mavs pixel shader? In that way we'll get "Blue" color instead of "Red" color of the bulls floor.
Now let's see how we can achieve this....search for "apron_withlogo" inside Bulls .SCNE
Then look for "floor.fx#28" .....you'll get to Shader Header section.....you'll have many section here:
- Default ("Main Game Shading")
- ProjectTexture ("Presentation Shading")
- ProjectMovie ("Presentation Shading")
- StoryScene ("Presentation Shading")
- StorySceneHard ("Presentation Shading")
- OnlyDepth ("Don't Know")
- Simple ("Don't Know")
Each section is related to a game moment......just focus on "Main game Shading"...."Default"....and remeber
we only care about ps=pixel shader...we won't care about vs=vertex shader..............Pixel shader control colour...vertex shader control geometry (basically):
"PS": {
"Binary": "ps.6f0bbff8063922d5.shader"
This pixel shader control the color which is "Red" for Bulls....but If you go inside Mavs 06 floor files a different Pixel Shader is used to get "Dark Blue" color....I'm sure you already got the solution:
- You go inside Mavs 06 folder
- You look at the same "Apron" model in the mavs floor .SCNE file
- You look at the material and floor.fx used
- You look at what pixel shader it uses....then it copy the file into f003 folder and you change the reference to this new Pixel Shader into bulls SCNE File
Here you can find some pictures of the Mavs .SCNE file structure...again this should be not so difficult to understand:
"PS": {
"Binary": "ps.c7caca75e97b3326.shader",
Now you save the new file to create the file to be usable ingame....you just select all the files inside the f003 folder and create a LZMA .zip file using 7-zip with Ultra compression....then you rename it as f014.iff
Put this file into modded folder of your NBA2k16 and start the game....outside floor color will be now "Dark Blue" and not "Red"
5. OTHER FLOOR "MODELS"There are many other "Models" that you can just edit like paint colors and line colors.....models I've found are:
"apron" = color outside of the floor
"color" = paint color #1
"color1" = paint color #2 (for Floors with 2 colors paint)
"lines" = variuos floor lines like 2pt 3pt etc etc
"Floorwood" = main parquet
"Floorwood1" = second parquet color (like Minnesota i suppose)
The process is the same as described above....I was able to change paint color without any problem....
6. TEXTURESSelf explanatory......bascially bulls logo and textures must be replaced with Knicks textures and logos...more on this later
For "hide" some textures like 4 bulls logo near the paint just play a bit with alpha channel....you can hide them ^_^
7. CHANGE COLORS TO RGB INSTEAD OF REPLACING FROM ANOTHER FLOORUnfortunately .shader are checksummed so it's not possible to edit and put custom colors in
FINAL RESULT