Sanada
Newbie
- Joined
- Aug 28, 2004
- Messages
- 504
- Reaction score
- 0
I've made a table that can be broken into smaller parts (just like the coffee table in cs_office). I'm having a problem with the $attachment part. When the table is first broken, it breaks into 3 pieces. In the .qc file of one of them, I've put:
$attachment "placementOrigin" "static_prop" 0.00 6.85 18.09 rotate 0.00 0.00 0.00
"0.00" is the X axis, "6.85" the Y axis and "18.09" as Z. This is where I want the part to spawn from it's origin when the table is broken. When I check the model in the Model Viewer and look at "Attachments" then the "QC String", it says:
$attachment "placementOrigin" "static_prop" -6.85 -0.00 18.09 rotate 0 90 0
For some reason it turns + to - and rotates it by 90 degrees even though I never put that in the QC file. This means that in-game it spawns in the wrong posistion.
$attachment "placementOrigin" "static_prop" 0.00 6.85 18.09 rotate 0.00 0.00 0.00
"0.00" is the X axis, "6.85" the Y axis and "18.09" as Z. This is where I want the part to spawn from it's origin when the table is broken. When I check the model in the Model Viewer and look at "Attachments" then the "QC String", it says:
$attachment "placementOrigin" "static_prop" -6.85 -0.00 18.09 rotate 0 90 0
For some reason it turns + to - and rotates it by 90 degrees even though I never put that in the QC file. This means that in-game it spawns in the wrong posistion.