Per Inge Mathisen schreef:
> As discussed on IRC, here is the solution we came up with to implement
> multiple weapons on a single droid better:
>
> Each PIE connector gets an additional value, a range in degrees that
> any weapon on that connector can turn. The first weapon connector
> should not have any such limitations, to avoid having to change the
> micro-AI so that it rotates droids toward targets. The micro-AI is
> changed so that targets are picked for secondary weapons among droids
> that it can fire upon without turning.
Sounds good, except that I would specify a rotation limit for the first
weapon as well (use 360 degree as the default). That way you wouldn't
need to have two separate code paths for primary and secondary weapons.
Especially since the micro AI will need to be changed anyway.
--
Giel
signature.asc
Description: OpenPGP digital signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev