27.08.2006, 22:53:46
(This post was last modified: 28.08.2006, 13:39:00 by Bobingabout.)
the basics that i know are:
there are the NavelTargeting and LandTargeting systems which decided what primary and secondary can fire are.
there is also the basic rule of "Versus". If you can't hit something with Primary because verses=0, then hit it with secondary.
and finally, there is the AA logic. tags AA=yes/no and AG=yes/no on weapon(i think the defaults are AG=yes and AA=no). AA means shoot in air, AG means shoot at ground.
there is also special case tags like C4=yes. if this is present, targetting a building will cause the unit to run upto it, and use special C4 logic, however it is possible that units including this C4 weapon can shoot normal weapons at buildings, if they auto target, such at retaliation against a pillbox.
i hope with 3rd and 4th weapons, more options will become available to Navel and Land Targetings so i can possibly create a 3 or 4 weaponed ship that has the following. AN(anti Naval) torpedos on primary, Anti land cannon as secondary, anti air missiles as 3rd, anti infantry gun as 4th, for shooting both land based infantry and navel organics.(this is purely an example, and the weapons do not have to be in that order, aslong as all posabilities are covered.)
there are the NavelTargeting and LandTargeting systems which decided what primary and secondary can fire are.
Quote:;NavalTargeting
; UNDERWATER_NEVER = 0, Can't shoot at all at underwater
; UNDERWATER_SECONDARY = 1, Use Second weapon against underwater
; UNDERWATER_ONLY = 2, Can only shoot underwater
; ORGANIC_SECONDARY = 3, Use second Weapon on organic
; SEAL_SPECIAL = 4, Primary on Amphibious and organic, Second on Naval and underwater-not-organic
; NAVAL_ALL = 5, Go ahead and shoot everything with Primary
; NAVAL_NONE = 6, Don't even shoot into the water
; NAVAL_PRIMARY = 7 Able to shoot ground target with secondary weapon, but Naval is the primary target
;LandTargeting
; LAND_OKAY = 0, Land is okay
; LAND_NOT_OKAY = 1, Land is OK
; LAND_SECONDARY = 2 Can shoot land, but only with secondary weapon
there is also the basic rule of "Versus". If you can't hit something with Primary because verses=0, then hit it with secondary.
and finally, there is the AA logic. tags AA=yes/no and AG=yes/no on weapon(i think the defaults are AG=yes and AA=no). AA means shoot in air, AG means shoot at ground.
there is also special case tags like C4=yes. if this is present, targetting a building will cause the unit to run upto it, and use special C4 logic, however it is possible that units including this C4 weapon can shoot normal weapons at buildings, if they auto target, such at retaliation against a pillbox.
i hope with 3rd and 4th weapons, more options will become available to Navel and Land Targetings so i can possibly create a 3 or 4 weaponed ship that has the following. AN(anti Naval) torpedos on primary, Anti land cannon as secondary, anti air missiles as 3rd, anti infantry gun as 4th, for shooting both land based infantry and navel organics.(this is purely an example, and the weapons do not have to be in that order, aslong as all posabilities are covered.)