Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: magatsu1 on March 04, 2004, 03:05:27 pm
-
Is it really necessary to have turret barrels standing to attention at the start of a mission ?
Could they be set to say, mid elevation or something ?
Venom mentioned this in the mod forum and my P & J 'vette would look better with barrels in the forward position.
-
HAHAHAHAHAHA
:lol:
http://www.hard-light.net/forums/index.php/topic,13424.0.html
sorry but this has alot to do with the AI code. Currently none of the coders on staff wish to loose their minds about trying and get that to work. The AI code is way to complex. I heard it resembles spagetti.
-
guess that's a negative then.:doubt:
-
I wish it were easier to implement personally. I hate seeing the turrets on a nova point straight up and down in the air.
-
Feck.
-
if we could find an instruction to TELL the AI subsystem to make them change their position
-
what are the chances that there is one?
-
between zero and none
-
It's a pity they can't be made to track the nearest enemy but just not fire until the enemy are in range, yes the mission would start with erect guns, but they'd soon move :D
-
I am guessing that it would require rewriting the entire AI turret code much less any code refering to the turrets, which is far and wide. One reason to support ferrium.
-
would it be possible to give the turret a dummy targer to follow, kinda trick the turret ai to point at something that doesnt really exist. during WWII bomber gunners were ordered to keep their turrets moving, to prevent being taken by supprise. it would be nice to be able to make the turrets scan the sky when they are not in use.
alternitavely i dont see why turret ai needs to be all that complex, they just need to know how to lead and when to shoot. would it be possible to make new turret ai from scratch to allow for more versitility.
-
Originally posted by Flipside
It's a pity they can't be made to track the nearest enemy but just not fire until the enemy are in range, yes the mission would start with erect guns, but they'd soon move :D
Erm, bad idea. Let's say we have a Herc approaching a Fenris from 3 clicks off. One of its turrets starts the out-of-range tracking bit. Then a Perseus jumps in 1 click off and eleminates the turret, because the turret was far too busy tracking an out-of-range Herc then the now-in-range Pegasus.
But I guess it would look cool, or if it just prioritized and tracked the closest one.
--Rga
-
it is on a low list of priorities for the SCP
-
I have an idea of how to fix this, but I'm not going to do it for a while (and it would require exsisting models to be edited)
-
how much editing?
-
adding a
$defalt_ang: 0,0,0
(pitch bank roll)
to the submodel's properties
-
can't you define a "rest position" whith the turretts facing 90° to normal in the direction of the viewpoint normal and switch between "rest position" and "attack position" (the common one with turretts pointing up/backward) depending if an enemy is in range?
I suppose that like all the apparently easy solutions there will be n^10 lines of code to check:)
-
double post
-
It might be a complicated fix, it might be an easy fix. I have an idea too, but we're not going to look into this until after 3.6.
-
Originally posted by Bobboau
adding a
$defalt_ang: 0,0,0
(pitch bank roll)
to the submodel's properties
*dumb question*
Unless other wise specified in the POF, the code would assume it is the standard position of up and down right? Or would we have to edit all models?
Obviously, it would be considerably past 3.6 in my mind though.
-
defalt ang would be reletive to what you have it in the model, you would still make your models with the turret in the center position, but in game they would get pushed down into a position reletive to the center position
-
oh ok, I see what you want to do, but will we have to edit all the V models?
-
no
-
Bobboau, this large bunch of bananas (http://www.maria-brazil.org/newimages/bananas.jpg) can be yours if you can sort this turret thing :nod:
-
sort it out AFTER 3.6 though :D
Though this is very productive thread.
I think we should close the subject till after 3.6 is released.
If that sounds stupid, shoot me.
-
Redmenace said it.