Fixed guns on fighters
-
Sushi, fantastic. It works, exactly what I was looking for.
Cheers,
Rik -
cata123 wrote:
What version of CMP exporter is that ?2.0
@Rik: Good. Glad to hear it.
-
I’ve found that the .30 cmp exporter is a lot more buggy. Its messed up my .cmp files several times, mostly with its scaling issues.
Furthermore, at least for turrets, you just need the .rev data not the cons_fix. For normal ship models, however, I use w0dk4s and shadow assassins .cmp exporter for 3dsMax because its incredible. Creates wireframes for you, up to 6 LODs, plus fixing smoothing errors by allowing multiple smoothing groups, etc.
You can find that exporter on the starforge if you’re interested.
-
Here, I have the compiled versions attached to the post.
Has both x86 and x64 for 3ds Max 2010 2011
-
This is from a post of mine on TLR in Warzog’s Privateer mod thread. From '05, I think. I was trying and eventually succeeded in making non-revolute guns. There was concern as to the utility, and NPC’s were likely to have issues firing, so it was not used.
“…I did it by changing the ‘min’ and ‘max’ of the ‘hp_connect’ rotating Hp in the gun’s .cmp file to 0 {EDIT Actually, as long as your orientation is correct for all hp’s in the .cmp file, you can use ‘Fixed’ hardpoints so its easier./EDIT}, turning the ‘force_gun_ori = false’ to ‘= true’, and then making the turn rate = 0…”
At the time, I used HardCMP for this, but the new UTF editor works nicely :). The edit (from the old thread) was because if you want completely stationary guns on a ship, [d]you can just edit the ship’s hardpoints to be fixed rather than revolute, and then the[/d] (edit2: I just rediscovered that for forward firing guns, you don’t even have to edit the models! Try it It’s really easy if you want stationary guns) ‘force_gun_ori = true’ and ‘turn_rate = 0’ keep it pointed in one direction.
The ‘force_gun_ori’ and ‘Turn Rate’ are from the munition and Gun sections of the Weapons.ini file. (edit3: force_gun_ori makes the munition only fire the way the weapon is pointing, turn rate is how fast the gun can turn. Changing the 1st makes guns that only fire where they’re pointing, and changing the 2nd makes guns that turn slower, faster or not at all. Last edit I promise)
One benefit/side effect is that the gun fires (forward) even when pointed away from the camera, such as in turret view.
Just another option
(edit1: The cockpit targeting reticle would be useful, and is the only thing that I could think of to show your center of fire. The targeting reticles in front of other craft should still be accurate, to my way of thinking. Perhaps I’m missing something.)