Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Omniscaper on February 27, 2005, 06:13:57 pm

Title: Are capship turrets conisdered an AI entity?
Post by: Omniscaper on February 27, 2005, 06:13:57 pm
I recently converted the BSG with 183 turrets. Though Fred records only ~120, and not all turrets were firing... my framerate suffered BADLY. It seems to me that turrets take up some CPU cycles. Technically, what are the turret limits? Modelview won't even allow me to edit the model, giving me a message about too many gunpoints. 183 turrets are definitely not gonna fly, if I can't edit the MOI (annoyingly only modelview32  can input).

Where can I look up all the weapon flags? The site I have bookmarked no longer exists. I'd like to know how I can put burst fire on turrets. If I can't get 183 on my ship, I'll make 30 count for something.
Title: Are capship turrets conisdered an AI entity?
Post by: WMCoolmon on February 27, 2005, 06:23:57 pm
They aren't technically considered AI, but there is a fair amount of code to deal with them.

Fun note: tagging DOES do something. If a ship isn't tagged in a nebula mission, the effective range of turrets is only 80% as in normal missions.
Title: Are capship turrets conisdered an AI entity?
Post by: phreak on February 27, 2005, 06:36:54 pm
nevermind, misread WMC
Title: Are capship turrets conisdered an AI entity?
Post by: Bobboau on February 27, 2005, 07:26:45 pm
FS doesn't have an AI entity class, it's just sort of hacked in on a per object basis.
Title: Are capship turrets conisdered an AI entity?
Post by: Turambar on February 28, 2005, 06:57:47 pm
perhjaps this can be addressed and fixed to be made more efficient (for everyone, of course *cough), that would be very cool of you guys to do.  or at least have a way to have a swarm of turrets fire vaguely in one direction, that'd do too
Title: Are capship turrets conisdered an AI entity?
Post by: FireCrack on March 01, 2005, 01:45:15 am
And also rework the aiming. IIRC currently the AI always aims directly at the lead indicator.
Title: Are capship turrets conisdered an AI entity?
Post by: WMCoolmon on March 01, 2005, 02:01:00 am
Indeed it does, but there is an amount of inaccuracy introduced. (ie if the weapons subsystem is below 70%.)
Title: Are capship turrets conisdered an AI entity?
Post by: KARMA on March 01, 2005, 05:29:25 am
183?
ouch, what's the limit thesedays?