StardogChampion
Tank
- Joined
- Jul 19, 2003
- Messages
- 8,037
- Reaction score
- 2
This is starting to piss me off now. I've made a simple 128x128x128 box in max, textured it, and exported it as a reference meaning the texture goes with it.
I've put the texture into:
USERNAME\half-life 2 deathmatch\hl2mp\materials\rose\boxx.vtf (I've got other textures into the game this way)
The .SMD + .QC file are in:
USERNAME\sourcesdk_content\hl2mp\modelsrc\boxx.smd AND boxx.qc
In the boxx.qc is (I had to go to the dark side to get this code):
What do I put for the $sequence? If I remove it I get an error when I try to compile.
Why did Valve create that annoying sourcesdk_content folder, it just confuses me, god damnit. When I figure it out I'm going to write the best tutorial in the entire UNIVERSE on how to do this. Someone please spare me some bandwidth and host it when I'm done.
I've put the texture into:
USERNAME\half-life 2 deathmatch\hl2mp\materials\rose\boxx.vtf (I've got other textures into the game this way)
The .SMD + .QC file are in:
USERNAME\sourcesdk_content\hl2mp\modelsrc\boxx.smd AND boxx.qc
In the boxx.qc is (I had to go to the dark side to get this code):
Code:
// Output .MDL
$modelname boxx.mdl
//Location of textures in the materials folder
$cdmaterials rose/boxx
$staticprop
$scale 1.0
// Whole body
$body studio "./boxx.smd"
// Sequences: all sequences are in $cd
$sequence idle "[Your model's animation sequences" loop fps 15
$collisionmodel "boxx.smd" {
// Mass in kilograms
$Mass 100
$concave
}
Why did Valve create that annoying sourcesdk_content folder, it just confuses me, god damnit. When I figure it out I'm going to write the best tutorial in the entire UNIVERSE on how to do this. Someone please spare me some bandwidth and host it when I'm done.