Half-Life 2: Episode Two Icon HL2:EP2 Thread

Custom detail props

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending DomiTibingen points.
  • Post: Give DomiTibingen your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Stop Lurking!

Become a Bananite

Already a Bananite? Login

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.

Posts

None found

Share

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

More embeddable images

Bookmark and Share

Submitter

DomiTibingen avatar
Member Joined 5y
1,271 points Ranked 3631st
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
Send a Private Message to the submitter

Category

Stats

Posts
0
Views
193
Date Added
3mo