Model not casting shadow

A Forum Thread for Source Engine

Hello world. 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 KonataHamster points.
  • Post: Give KonataHamster 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!

Sign up

Already a Bananite? Login

My model appears to be a vampire, won't cast a shadow

While I could spend countless hours tweaking and testing and recompiling this model, I figure I might as well ask on the off chance theres someone with the know-how. Its so specific I doubt I could find it quickly enough by searching the valve dev site, which I have done. 

I have a model I need to cast soft shadows on itself, if it matters its SFM, so SDK 2007 basis applies.

The model however will not cast shadows on itself, nor the ground. I'm sure it has something to do with the .qc file, but I don't know which parameter it is. 


Now, I did not create this model but I am planning on modifying it a bit to my needs for a specific scene, however if I can't get soft shadows inside the cabin its kinda not worth the trouble. 

Here are all the parameters unique to the model, listed under $attachments and $cdmaterials
$surfaceprop "metalvehicle"
$contents "solid"
$hboxset "default"
$hbox 0 "base" -70 27.5 -312.5 70 182.5 312.5
$hboxset "entryboxes"
$hbox 1 "base" -1.5 28.5 -1.5 1.5 31.5 1.5
$skipboneinbbox
Do any of these tell the engine not to cast shadows? I'll find out soon enough but I'd still like to know for future reference; I have other models that have this issue too.

Posts

Embed

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

Submitter

KonataHamster avatar
Member Joined 7y
16,133 points Ranked 267th
28 medals 1 legendary 6 rare
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • 10 submissions featured Medal icon
  • 6 years a member Medal icon
  • Submitted 30 Polls Medal icon
  • Submitted 100 Threads Medal icon

KonataHamster
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
4
Views
158
Date Added
28d
bcp.crwdcntrl.net tracking pixel