Jump to content
Official BF Editor Forums

Static Object Crash In Editor


Outlawz

Recommended Posts

I'm working on a custom static and it crashes when I load it into the Object editor due 'invalid texture slot'. What am I doing wrong?

Log

D:\bf2editor\Code\BF2\Geom\StaticMeshTemplate.cpp(1221): numMaterials 2

D:\bf2editor\Code\BF2\RendDX9\ShaderManager.cpp(166): Effect loaded: Shaders/StaticMesh.fx

D:\bf2editor\Code\BF2\Geom\StaticMeshStateManager.cpp(204): Fx technique BaseDetailCrackNCrack

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(735): load textureData:objects/staticobjects/common/textures/common_01_c

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(212): Texture loaded: objects/staticobjects/common/textures/common_01_c.dds (as objects/staticobjects/common/textures/common_01_c)

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(735): load textureData:objects/staticobjects/common/textures/conc_256_de

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(212): Texture loaded: objects/staticobjects/common/textures/conc_256_de.dds (as objects/staticobjects/common/textures/conc_256_de)

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(735): load textureData:objects/staticobjects/common/textures/common_01_cr

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(212): Texture loaded: objects/staticobjects/common/textures/common_01_cr.dds (as objects/staticobjects/common/textures/common_01_cr)

D:\bf2editor\Code\BF2\Geom\StaticMeshStateManager.cpp(249): (currentTextureSlot < 8) Invalid texture slot!

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(735): load textureData:objects/staticobjects/common/textures/common_01_crb

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(212): Texture loaded: objects/staticobjects/common/textures/common_01_crb.dds (as objects/staticobjects/common/textures/common_01_crb)

Link to comment
Share on other sites

If you've installed the BF2 tools for 3DSMax, there are 3 textdocuments with all valid techniques in /3DSMax/_BF2Help/Documents/Objects/Common/MaterialsNames/. For statics :

 Base
BaseDetail
BaseDetailDirt
BaseDetailNDetail
BaseDetailDirtNDetail
BaseDetailCrackNDetailNCrack
BaseDetailNDetailparallaxdetail
BaseDetailDirtCrackNDetailNCrack
BaseNDetail
alpha_one

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...