Search the Community
Showing results for tags 'field of view'.
Found 1 result
-
CIaIntel based power + vision range manipulation and stealth detection
Ravendark posted a topic in Tiberium Wars / Kane's Wrath Maps & Modding
A bit of a long title for a longer idea maybe but .... Been playing some ZH mods recently, and i noticed the CIA Intel special power and it got me thinking. Is there a module in TW that could facilitate a special power that is based on the CIA intel SP from ZH? What that power does basicly is provide vision in a radius arround enemy units for a limited duration. I basicly need a option that reveals the fog of war arround enemy units. There is the module: <xs:complexType name="RadarSpySpecialPowerModuleData"> <xs:complexContent> <xs:extension base="SpecialPowerModuleData"> <xs:attribute name="TargetFilter" type="StringList" /> <xs:attribute name="SpyDuration" type="Time" default="0s" /> </xs:extension> </xs:complexContent> </xs:complexType> But i wonder how targetfilter works in regards to stringlist? Also is this a red alert like spy infiltrate sp or a cia intel like sp? Secondly: <xs:complexType name="VisionInfo"> <xs:sequence></xs:sequence> <xs:attribute name="VisionRange" balance:field="VisionRange" type="SageReal" default="0.00" /> <xs:attribute name="ShroudClearingRange" balance:field="Shroud" type="SageReal" default="0.0" /> <xs:attribute name="VisionSide" balance:field="VisionSide" type="Percentage" default="100" /> <xs:attribute name="VisionRear" balance:field="VisionRear" type="Percentage" default="100" /> <xs:attribute name="VisionBonusTestRadius" balance:field="VisionBonusTestRadius" type="SageReal" default="100" /> <xs:attribute name="VisionBonusTestSegments" type="SageUnsignedInt" default="8" /> <xs:attribute name="VisionBonusPercentPerFoot" balance:field="VisionBonusPercentPerFoot" type="Percentage" default="0" /> <xs:attribute name="MaxVisionBonusPercent" balance:field="MaxVisionBonusPercent" type="Percentage" default="50" /> <xs:attribute name="MinVisionBonusPercent" type="Percentage" default="-50" /> </xs:complexType> Anyone familiar with VisionBonusTestRadius, VisionBonusTestSegments, VisionBonusPercentPerFoot, MaxVisionBonusPercent, MinVisionBonusPercent in regards to how these work or could be used? Also if you would setup the vision to mimic a larger frontal vision and limited side and rear....would/could this be linked to the turret of a vehicle of sorts or is it linked only to the direction the body is facing? Also is stealth detection related to the units vision or does it pass over into the fog of war? I can test these both later, but if anyone knows the answer it might save some time. I'm entertaining this idea of giving certain structures CCTV like security cameras that function as stealth and unit detectors, with the idea of having a cone like vision/detection range. Maybe add these cameras as a slaved unit spawned after a upgrade and docked to certain bones on the structure(s). If i could make them somewhat sweep back and forth it would be a bonus. Then couple that to the above cia intel like special power that can hack them and you have a interesting stealth and counter stealth system wich also can be used against you by the enemy with that SP. Any thoughts and suggestions?
