Sentry Turret
ArsoN
Join Date: 2003-06-10 Member: 17177Members
<div class="IPBDescription">"Lets Twist Again"</div> Ok, i've finished making a new, uber low poly (222) sentry turret, a few hours ago.
Anyway, enough with that, i have a problem, and have lost about 80% of my hair trying to figure it out. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo--> I noticed ingame that, when a sentry fires, it will not turn to face what's it's firing at (see screenshot; plane B), the top just stays static, however it elevates (see screenshot; plane A) perfectly fine.
In addition, the skeleton is ripped straight from the original, and the same sections are attacked to the bones on my model, as on the original.
I've tried searching, but got bombarded with 469,217,609 threads on people releasing sentry models. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
Any help would be appreciate. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Screenshot 1/1:
<img src='http://invis.free.anonymizer.com/http://www.geocities.com/arsonons/sentryproblem.jpg' border='0' alt='user posted image'>
Anyway, enough with that, i have a problem, and have lost about 80% of my hair trying to figure it out. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo--> I noticed ingame that, when a sentry fires, it will not turn to face what's it's firing at (see screenshot; plane B), the top just stays static, however it elevates (see screenshot; plane A) perfectly fine.
In addition, the skeleton is ripped straight from the original, and the same sections are attacked to the bones on my model, as on the original.
I've tried searching, but got bombarded with 469,217,609 threads on people releasing sentry models. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
Any help would be appreciate. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Screenshot 1/1:
<img src='http://invis.free.anonymizer.com/http://www.geocities.com/arsonons/sentryproblem.jpg' border='0' alt='user posted image'>
Comments
Here's my .QC as it is now:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->$modelname "H:\Modelling\LowPolySentry\Compilation\b_sentry.mdl"
$cd "\Modelling\LowPolySentry\Compilation"
$cdtexture "\Modelling\LowPolySentry\Compilation"
$cliptotextures
$externaltextures
$scale 1.0
// 2 attachments
$attachment 0 "Dummy04" 0.000000 0.000000 12.000000
$attachment 1 "Dummy04" 0.000000 0.000000 0.000000
// 2 bone controllers
$controller 0 "Dummy02" 0 360
$controller 1 "Dummy04" XR -60 60
// 11 hit boxes
$hbox 0 "Dummy01" -8.840000 -14.610001 0.000000 8.860000 8.330000 42.061226
$hbox 0 "Dummy02" -9.470000 -0.940000 -9.470000 9.530000 16.219999 3.090000
$hbox 0 "D_ammochain01" -1.880000 -1.308814 -3.829270 1.940000 0.750000 0.160000
$hbox 0 "D_ammochain02" -1.880000 -0.490000 -4.247740 1.940000 0.550000 0.180000
$hbox 0 "D_ammochain03" -1.880000 -0.560000 -2.938813 1.940000 2.914068 0.090000
$hbox 0 "D_ammochain04" -1.880000 -0.240000 -1.182028 1.940000 4.369955 0.490000
$hbox 0 "D_ammochain05" -1.880000 -0.240000 -0.500000 1.940000 4.397474 1.540223
$hbox 0 "D_ammochain06" -1.880000 -0.490000 -0.370000 1.940000 2.199258 3.237689
$hbox 0 "D_ammochain07" -1.880000 -0.480000 -0.020000 1.940000 0.650000 4.508045
$hbox 0 "Dummy04" -5.470000 -5.110000 -8.930000 4.940000 6.790000 11.963336
$hbox 0 "D_sentry_barrel" -3.060000 -3.140000 -4.400000 3.230000 3.140000 0.000000
$bodygroup studio
{
studio "sentry01_reference"
}
// 6 sequences
$sequence idle_off "idle_off" fps 1
$sequence fire "fire" loop fps 20 { event 5001 0 "21" } { event 5001 2 "21" } { event 5001 4 "31" } { event 5001 6 "21" } { event 5001 8 "21" } { event 5001 10 "31" } { event 5001 12 "21" } { event 5001 14 "21" }
$sequence spin "spin" loop fps 10
$sequence deploy "deploy" fps 20
$sequence retire "retire" fps 10
$sequence die "die" fps 15
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
as you can see theres no controller assignet on the axis that goes 360 degrees around...
it just says.. 0-360 degrees.. but not on wich axis.. just add YR (or ZR) in front
this is a common decompile error on turrets..
I will understand what you just said!
[edit]YAY it's fixed, i just knew it would be something simple, atleast now i know for future reference, thanks sheena. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> [/edit]
// 2 bone controllers
$controller 0 "Dummy02" 0 360 <<<<<<<<<--------------MEEEEP! NO AXIS!!!
$controller 1 "Dummy04" XR -60 60
change it to that
// 2 bone controllers
$controller 0 "Dummy02" YR 0 360
$controller 1 "Dummy04" XR -60 60
or that
// 2 bone controllers
$controller 0 "Dummy02" ZR 0 360
$controller 1 "Dummy04" XR -60 60
try that
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->$modelname "H:\Modelling\LowPolySentry\Compilation\b_sentry.mdl"
$cd "\Modelling\LowPolySentry\Compilation"
$cdtexture "\Modelling\LowPolySentry\Compilation"
$cliptotextures
$externaltextures
$scale 1.0
// 2 attachments
$attachment 0 "Dummy04" 0.000000 0.000000 12.000000
$attachment 1 "Dummy04" 0.000000 0.000000 0.000000
// 2 bone controllers
$controller 0 "Dummy02" YR 0 360
$controller 1 "Dummy04" XR -60 60
// 11 hit boxes
$hbox 0 "Dummy01" -8.840000 -14.610001 0.000000 8.860000 8.330000 42.061226
$hbox 0 "Dummy02" -9.470000 -0.940000 -9.470000 9.530000 16.219999 3.090000
$hbox 0 "D_ammochain01" -1.880000 -1.308814 -3.829270 1.940000 0.750000 0.160000
$hbox 0 "D_ammochain02" -1.880000 -0.490000 -4.247740 1.940000 0.550000 0.180000
$hbox 0 "D_ammochain03" -1.880000 -0.560000 -2.938813 1.940000 2.914068 0.090000
$hbox 0 "D_ammochain04" -1.880000 -0.240000 -1.182028 1.940000 4.369955 0.490000
$hbox 0 "D_ammochain05" -1.880000 -0.240000 -0.500000 1.940000 4.397474 1.540223
$hbox 0 "D_ammochain06" -1.880000 -0.490000 -0.370000 1.940000 2.199258 3.237689
$hbox 0 "D_ammochain07" -1.880000 -0.480000 -0.020000 1.940000 0.650000 4.508045
$hbox 0 "Dummy04" -5.470000 -5.110000 -8.930000 4.940000 6.790000 11.963336
$hbox 0 "D_sentry_barrel" -3.060000 -3.140000 -4.400000 3.230000 3.140000 0.000000
$bodygroup studio
{
studio "sentry01_reference"
}
// 6 sequences
$sequence idle_off "idle_off" fps 1
$sequence fire "fire" loop fps 20 { event 5001 0 "21" } { event 5001 2 "21" } { event 5001 4 "31" } { event 5001 6 "21" } { event 5001 8 "21" } { event 5001 10 "31" } { event 5001 12 "21" } { event 5001 14 "21" }
$sequence spin "spin" loop fps 10
$sequence deploy "deploy" fps 20
$sequence retire "retire" fps 10
$sequence die "die" fps 15 <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
its not very helpfull when you give the turret a bonecontroller with 360 degree freedom without a axis where it can spin around on..
It is ZR, i tried YR first, and my turret "head" was rotation round into the legs, lmao. Thanks again. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
I feel like such a dope. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
|
|
|
Y----------X
<!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->