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