Just Rules aims at increasing the strategic options in RA3. It includes things like a more balanced upgrade system, revised protocols and build limits on each unit design to discourage spamming and encourage diverse unit formations and strategies.

Forum Thread
  Posts  
Soviet Engineer Repair (Games : C&C: Red Alert 3 : Mods : Red Alert 3: Just Rules : Forum : Coding Wisdom : Soviet Engineer Repair) Locked
Thread Options
Apr 17 2011 Anchor

This code is not perfect It really needs to be set as a special power so the engineer can not move when repairing unit. ParentStatusAttached can also add "IMMOBILE_ALLOW_ROTATE" to prevent units from moving while being repaired.

			<AttachUpdate
				id="ModuleTag_Attach"
				Range="50"
				CloseEnoughRange="25.0"
				InitialAttachDelay="0.1s"
				ParentStatus="TARGETED_FOR_REPAIR" 
				ParentStatusAttached="UNDERGOING_REPAIR"
				AttachedModelConditions="BUILD_VARIATION_ONE"
				Flags="ONE_ATTACH_PER_PARENT UNCONTAINED_ONLY STICK_TO_PARENT DETACH_WHEN_PARENT_OUT_OF_SLAVE_RANGE PARENT_MUST_BE_FULL_HEALTH_TO_DETACH DETACH_WHEN_PARENT_HEALED SCAN_FOR_NEW_PARENT_WHEN_DETACHED FIND_BEST_PARENT">
				<span class="mceItemObject" Filter
					Rule="ANY"
					Include="VEHICLE HUGE_VEHICLE"
					Relationship="ALLIES">
					<IncludeThing>SovietScoutVehicle</IncludeThing>					
				</span>	
			</AttachUpdate>		

			<PassiveAreaEffectBehavior
				id="ModuleTag_PassiveAreaEffect"
				EffectRadius="0"
				HealingPointsPerSecond="20"
				AffectAttached="true"
				AffectUnderAttack="true"
				NonStackable="false"
				HealFX="FX_Repair" >
				<AllowFilter
					Rule="ANY"
					Relationship="ALLIES"					
					Include="VEHICLE HUGE_VEHICLE">
					<IncludeThing>SovietScoutVehicle</IncludeThing>				
				</AllowFilter>					
			</PassiveAreaEffectBehavior>
Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.