Advertisement
ReverendV92

SCar Tutorial File - Chassis.qc

Feb 20th, 2015
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.09 KB | None | 0 0
  1.  
  2. $modelname SCarTutorialFiles/synergy_buggy_chassis.mdl  // Name of the compiled model, with path
  3. $model "Nice Name" "chassis"                // A nice name to be seen in model viewers, and a name of the base mesh
  4. $cdmaterials "models/scartutorialfiles/synergy"     // This is the path to the materials folder
  5. $texturegroup skinfamilies              // this vehicle doesn't have any skins, but this is here for you to learn
  6. {
  7.     { "texture1" }
  8.     { "texture2" }
  9. }
  10. $hboxset "default"      // Don't remove this, but don't change it
  11. $surfaceprop "metalvehicle"     // The physical property of the Chassis
  12. $illumposition 0 0 0        // The illumination origin point of shadows on the model - put near the center
  13. $sequence idle idle fps 1   // This is the idle sequence for our prop
  14. $collisionmodel phy {       // This is the name of the physics file
  15.  
  16.     $concave        // IF this line is not included, the model will be shrink-wrapped to make a simple, one-piece collision mesh
  17.     $mass 5000.0        // This is the mass of the vehicle in kilograms. The engine maximum is 50,000
  18.  
  19.     $inertia 1.00       // Don't mess with these
  20.     $damping 0.00
  21.     $rotdamping 0.00
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement