000
17.06.2001, 12:34
Dr. Psycho
|
ich hab für HL ein Model gebastelt, eine abgesägte Schrotflinte! Ich wollte, dass es mit eigenen Sprites und Sounds funktioniert, aber ich hab ein Problem! Ich hab das qc-file geschrieben ... aber das mit den attachments bekomm ich nicht hin! Im Model selbst hab ich am Anfang der Rohre zwei Bones gemacht (sprite1, sprite2)! Anschliessend hab ich das qc-file geschrieben:
$scale 1.0
// 2 attachments
$attachment 0 "sprite1" 0 0 0
$attachment 1 "sprite2" 0 0 0
// 0 bone controllers
// 10 hit boxes
$hbox 0 "r - Arm" -2.110000 -2.490000 -1.500000 1.080000 1.100000 9.870000
$hbox 0 "r - Hand 2" -1.010000 -0.620000 -0.040000 0.180000 1.640000 2.330000
$hbox 0 "l - Arm" -1.450000 -2.140000 -2.280000 1.340000 1.590000 9.120000
$hbox 0 "l - Hand" -1.350000 -1.540000 0.000000 0.570000 0.500000 2.510000
$hbox 0 "l - Hand 2" -1.460944 -1.322143 0.000000 0.008399 0.000000 1.833535
$hbox 0 "gun1" -1.920000 -3.560000 -3.960000 1.440000 0.740000 3.220000
$hbox 0 "gun3" -0.650000 -0.100000 -0.420000 0.630000 1.190000 0.600000
$hbox 0 "gun4" -3.040000 -1.140000 -0.980000 1.280000 1.730000 5.840000
$hbox 0 "Ammo2" -0.890000 -0.460000 -0.560000 0.530000 0.720000 1.530000
$hbox 0 "Ammo1" -0.860000 -0.500000 -0.550000 0.560000 0.680000 1.540000
$bodygroup body
{
studio "reference"
}
// 5 sequences
$sequence idle1 "idle1" loop fps 9
$sequence shoot1 "shoot1" fps 26 { event 5001 0 "41" } { event 5011 0 "41" } { event 5004 4 "sounds/weapons/shoot.wav" }
$sequence reload "reload" fps 30 { event 5004 14 "sounds/weapons/klick.wav" } { event 5004 25 "sounds/weapons/ammo.wav" } { event 5004 26 "sounds/weapons/ammo.wav" } { event 5004 38 "sounds/weapons/ammo.wav" } { event 5004 56 "sounds/weapons/ammo.wav" } { event 5004 60 "sounds/weapons/klicklaut.wav" }
$sequence draw "draw" fps 30
$sequence reholster "reholster" fps 30
nur wenn ich es kompiliere kommt am Schluss der Fehler "unknown attachment link 'sprite1' " ....
wenn ich es ohne attachments kompiliere funzt alles einwandfrei! Helft mir bitte !!!
--
|
|
Profil || Suche
|
001
21.06.2001, 19:25
Nuts
|
Moin,
ich kann dir zwar nicht richtig helfen, aber
zumindest raten diese Frage mal in "Kompiler-Probleme".
unter Übersicht zu finden oder:
diesem Link folgen
Probiers da mal
--
|
|
Profil || Suche
|
002
21.06.2001, 19:55
Da Maakus
|
Are you nuts?
Unser Kumpel hier will ein MODEL kompilieren, da hilft auch kein Kompilierfehlerartikel für Maps ;D
--
"Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe."
|
|
Profil || Suche
|