Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Aardwolf on September 10, 2006, 05:43:42 pm

Title: How to add turrets? (Having WEIRD problems)
Post by: Aardwolf on September 10, 2006, 05:43:42 pm
How do I add turrets to a ship?

Specifically, two things: how do I get the firing points to be on top of the turret, and why the heck does it render random polygons on the screen in fred and fs2?

More specifically, why does it not render the normal polygons until all of the turrets are destroyed?

I know these are not normal problems. If you have a solution though, I would like to hear it.
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Aardwolf on September 10, 2006, 06:27:44 pm
I tried it with only one very simple turret, a sphere, not touching the rest of the model anywhere, and even that does not work. In fred it shows the sphere and every few frames a colored triangle will randomly appear, with one edge or vertex passing through or lying on the center of the ship. What is wrong with my model? It works just fine without turrets.
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Vengence on September 10, 2006, 06:32:02 pm
I never had that problem before :confused:. What modeling program and pof editing tools do you use?
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Aardwolf on September 10, 2006, 07:13:44 pm
Wings3D > LithUnwrap > TrueSpace 3.2 > POFConstructorSuite > FRED2_Open / FS2_Open

The problem only appears in FRED and FS2.

I tried using Segeltuch, but that didn't help any (it can only add primaries and secondaries, but no turrets).
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Getter Robo G on September 10, 2006, 08:08:36 pm
if you feel like it post your .cob file. Maybe it's something simple.


Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Aardwolf on September 11, 2006, 02:24:21 pm
Well, a few other people have taken a look at the file, and they haven't seen anything wrong, and for them it works properly. It may be my video card, but I hope not.
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Aardwolf on September 11, 2006, 05:30:24 pm
Turns out I just needed to run it in d3d and not ogl. Oops. Why did nobody suggest that?
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: Scooby_Doo on September 11, 2006, 06:44:05 pm
You know I'm starting to wonder if Opengl is more finicky than DirectX is.
Title: Re: How to add turrets? (Having WEIRD problems)
Post by: karajorma on September 12, 2006, 03:51:23 am
Take a look at the turreting tutorial in my FAQ. That should clear up most of your problems.