Partial Invis Split? (patch #8103)

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
User avatar
GriffonSpade
Elite
Posts: 578
Joined: Mon Apr 29, 2013 4:41 pm

Partial Invis Split? (patch #8103)

Post by GriffonSpade »

https://gna.org/patch/?8103
The idea is to split old Partial_Invis stuff to separate Stealth and Subsurface cases so that their behavior can differ from each other (possible to implement sonar that detects submarines but not stealth bombers)
How exactly is this being implemented? Same as Partial Invis but just different detection flags? (As opposed to not being able to see such a unit at all without requisite sensor flag)

What about potential additional types of partial invis? For example, Tiny Units (Spy, Explorer, or Commando Team), Subterranean (?), or Camouflage(perhaps an alt-form of Partisans, Alpine Troops, or Tank Destroyers, or even some ancient units like Warriors or Archers)
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Partial Invis Split? (patch #8103)

Post by Alien Valkyrie »

If effects had an actor-target mechanic the way action enablers do, this could be rather simple using some kind of Can_See_Unit effect. That's the idea I'd propose.
~ AVL
Post Reply