Jump to content

Problems with custom gibs models (source)


Recommended Posts

Posted

Hey guys, I'm trying to make the electrician's ladder breakable but I'm having some troubles with it: The bastards just don't appear ingame when I set them to phys_prop (they work fine as prop_static though). I also modeled custom gibs for it. Anyways, here's the .qc for the main model:

$modelname generic/wooden_ladder_mino_breakable

$cdmaterials models/generic

$surfaceprop "wood_plank"

$scale 1.0

$body studio "wooden_ladder_mino"

$lod 45

{

replacemodel "wooden_ladder_mino" "wooden_ladder_mino_lod"

}

$sequence idle "wooden_ladder_mino" loop fps 15

$collisionmodel "wooden_ladder_mino_col"

{

$Mass 35

$concave

}

$keyvalues

{

"prop_data"

{

"base" "Wooden.Large"

"health" "140"

}

}

$collisiontext

{

break { "model" "wooden_ladder_mino_gib1" "health" "0" "fadetime" "40" }

break { "model" "wooden_ladder_mino_gib2" "health" "0" "fadetime" "40" }

break { "model" "wooden_ladder_mino_gib3" "health" "0" "fadetime" "40" }

}

Gibs models .qc file:

$modelname generic/wooden_ladder_mino_gib1

$cdmaterials models/generic

$surfaceprop "wood_plank"

$scale 1.0

$autocenter

$body studio "wooden_ladder_mino_gib1"

$sequence idle "wooden_ladder_mino_gib1" loop fps 15

Posted

the example files I have from my noessis DVD's also list a keyvalues options for the gibs. is the unbroken model also not showing up?

He also has $staticprop and its placed as a prop dynamic.

There is no health in the whole model under keyvalues, but the tutorial sets health under the prop_dynamic_overide entity options.

But it shold also be possible to make a prop_physics that breaks, maybe they could not figure it out either? ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

  • Mapcore Supporters

    aphexjh       Badroenis       celery⭐      EGO DEATH ⭐      Freaky_Banana      FMPONE ⭐      Harry Godden      JimWood ⭐      JSadones      poLemin      Vaya

    Funds go towards hosting and license costs, Discord server boosts, and more. If you'd like to donate, check out our Patreon announcement.

×
×
  • Create New...