Oh - one area i defenitately aint strong in - the orienations of weapons in the CMP files!! However, i cheat terribly here most of the time. In fact - i have only three times made mounts from scratch......i just usually steal values - like, for lack of rotation, i take say a
torps values instead, as they have bloody awful rotation (ie - shoot forwards) - but after looking, i found they have the same values as weapon slots, - so its back to the old fashioned way!!
okay - here is what i know about it!!
The Axis is for which rotation plane it will rotate
in - so its like the rest of FL, based upon an x, y, z axis system. It always has the same value from what i see though - so keep it as that i say!
That is:
0.000000
1.000000
0.000000
Now this supposedly moves in the horizontal plane - but we all know it moves up and down as well - sooooo, does it move through two planes? ie, fixed in the third plane, moves in the other two!? Not sure personally - i don't spend much time doing CMP editing, i usually use other mounts and make em take what i want!
Next - its the max and min rotation values: Now - this is where my naff diagram comes in to it.
180
--------------+-----------------
180
Crap or what eh? - okay - this is a straight line, there are 180 degrees between one line and the other okay? Total = 360 degrees. Now it is to do with radians that it is then split into Pie (as in 3.14) - if you remember school maths, 2Pie in radians is 360 degrees. So then - each 180 is Pie, and pie is 3.14 yeah? so for the gun to move through 180 degrees, the game works in radians, that equals 3.14 (so 1 degree of movement is about 0.001 here). Now then, if you want your gun to move through a 180 degree ark, then you put in the value for pie....if you want your gun to move through a 360 degree ark - you put in two pie (its radains remember!!). so that would be 6.28 or so..........
if you want to LIMIT your guns movements, then you have to work out the angle - ie 3.14/180 = the value for 1 degree, now multiply by the amount of degrees you want to move through - and enter that value!........- now i also don't know what the second value does. However, i am baffled by the min value - what is that? Is that moves one way or the other (vertical ark for min?) i am not sure, but it seems to be negative instead.........just use the same small value here.
Basically - to get pathetic movement, enter a value about 0.52 to get 30 degrees of rotation. that aint too bad, make it 0.26 to get 15 degrees, now that is more like it!
orientation is the way it faces, i cannot explain that very well - i steal values from other guns, and position - well, I just move it somewhere (guess), then go mount a gun and keep on checking till its where i want it(using turret cam). Its a long process here, but unless you are good at maths it will take you a LONG time to sort this one out. Basically - keep max and min values very small for crap rotation - and make sure your orientation has it facing the right way (duplicate forward facing guns.....)
Chips
p.s - yep, my maths sucks. Anyone who can explain this better - go for it. I know what i am doing (reasonably well) when editing CMP files, but i don't know how to tell others to do it
"I don't
suffer from insanity, I enjoy
every minute of it!"