1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Animation in Source

  • tofu
  • February 12, 2009 at 7:54 PM
  • tofu
    • February 12, 2009 at 7:54 PM
    • #1

    Hey guys,

    First time trying to get an animation into source, and it's not working

    Anyone see a problem with the below .qc I have for my model? I can see the "playing" animation under Sequences in the editor, but the animation doesn't play (even in preview window). It's a simple 1 bone, 360 degree rotating animation so I can't see how something in max may be screwed... but if anyone has any ideas - I'm all ears.

    Code
    $modelname "plgh/plgh_model.mdl"
    
    
    $body "Body" "plgh_model.smd"
    
    
    $cdmaterials "plgh"
    
    
    
    
    $staticprop
    
    
    $scale 1
    
    
    $surfaceprop "Metal"
    
    
    
    
    $sequence playing "plgh_model_anim" loop fps 30
    
    
    
    
    $collisionmodel "plgh_model.smd"
    
    
    	{
    
    
    		$concave
    
    
    	}
    Display More

    The anim sequence export is named plgh_model_anim.SMD

  • AlexM
    • February 13, 2009 at 1:51 AM
    • #2

    you have the switch $staticprop in there. That defines the model as a static non-animated model IIRC.

    Try removing it and I think it should work.

  • tofu
    • February 14, 2009 at 10:09 AM
    • #3

    Awesome, that worked a treat. Thanks mate!

  • AlexM
    • February 15, 2009 at 3:49 AM
    • #4

    no problemo

  • Wunderboy
    • February 18, 2009 at 1:19 AM
    • #5

    Yeah just for reference, when you use the $staticprop flag it removes ALL bones from the model/anim and creates a single "root" bone at the world origin (0,0,0) and parents everything to that.

  • Wunderboy
    • February 19, 2009 at 12:00 AM
    • #6

    Well in the context of a breakable prop, $autocenter is probably what you want. Might work for non-breakables too.

  • AlexM
    • February 20, 2009 at 12:42 AM
    • #7

    thanks for the in depth explanation wunderboy

    also thanks for the tools! you've made hl2 editing MUCH easier, I use your tools every day

  • Wunderboy
    • February 23, 2009 at 10:33 PM
    • #8
    Quote from SpicyTanuki

    thanks for the in depth explanation wunderboyalso thanks for the tools! you've made hl2 editing MUCH easier, I use your tools every day

    Send cash. Now.

  • AlexM
    • February 27, 2009 at 7:44 AM
    • #9

    I'm broke

    do you accept pies?

  • kayanat
    • March 12, 2009 at 7:55 AM
    • #10

    I AM AN IDIOT ASKING FOR WAREZ

    -Pericolos0

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™