View Single Post
Old 11-14-2004, 01:28 PM   #10 (permalink)
CodeCat
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Well I have a solution I think:

Imagine you have a few prism towers. Each prism tower acts like like the patriot, so if one of them fires, the others nearby fire their support weapons at the target. Well here's the trick. The normal weapon shows the laser from the tower to the target, like it normally does. But when a prism tower is supporting another, you don't see the laser, but it does the damage. So basically you only see one laser: the one from the original prism tower to the target, which is what we want.

Then there's the support beams. The patriot logic displays a laser-like object between the supporter and the main tower, and between the main tower and the target:
Code:
Behavior = AssistedTargetingUpdate ModuleTag_07
  AssistingClipSize = 4                       ; How many shots to make when asked by someone of my kind who has a RequestAssistRange weapon
  AssistingWeaponSlot = SECONDARY             ; And the weapon to use.  Should have huge range and no natural clip.
  LaserFromAssisted = PatriotBinaryDataStream ; Stream to draw from the requestor to me
  LaserToTarget = PatriotBinaryDataStream     ; Stream to draw from me to the target
End
Now what if LaserToTarget is just a dummy invisible object? Then you only see a beam from the main tower to the support towers. Which is exactly what we're looking for!
CodeCat is offline   Reply With Quote