The Game Modding Community - Since 2001

Custom detail props

A Forum Thread for Half-Life 2: Episode Two

Hello,

I have a problem.

I'm trying to make my own detail props but every time i run my map the game crashes.

"failed to lock vertex buffer in CMeshDX8::LockVertexBuffer: nVertexCount=-36, nFirstVertex=24"

in the compile window it says:

KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file detail_grass_01.vbsp

detail, Grass_floor, 

KeyValues Error: LoadFromBuffer: missing { in file detail_grass_01.vbsp

(*detail*), (*Grass_floor*), 


my vbsp file look like this:

detail
{
    Grass_floor
    {
        density 500
        {
             alpha 0
             Grass
             {
                        sprite "0 0 256 128 256"
                        spritesize "0.5 1 10 20"
                        spriterandomscale .3
                        sprite_shape tri
                        sway 0.5
                        upright 1
                        maxangle 70

             }

        }

    }

}


I also tryed to duplicate detail.vbsp and rename it to detail2.vbsp than set it in map properties ...but it also didn't work...


When I set to orginal detail.vbsp it works...

Texture is custom and has %detailtype in vmt...

I don't know whats the problem...I folowed every tutorial for detail props.

Thanks for help.
Promotional Content

Posts

None found

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Author

DomiTibingen avatar
DomiTibingen Joined 5y ago
Offline
1,411 points Ranked 3564th
16 medals 1 rare
  • Submitted 15 Models Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon

DomiTibingen
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 616 Views
  • 0 Posts
  • 1y Submitted

Attention Gamer! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Stop Lurking! Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel