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  
Training infantry in pairs (Games : C&C: Red Alert 3 : Mods : Red Alert 3: Just Rules : Forum : Coding Wisdom : Training infantry in pairs ) Locked
Thread Options
Mar 5 2011 Anchor

To code this rename the infantry you are trying to double train (I added _Squad to the end of the name) and name this object the original infantry's name. Then modify this code as needed.

	<GameObject
		id="SovietAntiVehicleInfantry"
		inheritFrom="SovietAntiVehicleInfantry_Squad">
		<EquivalentTo>SovietAntiVehicleInfantry_Squad</EquivalentTo>
		<Behaviors>
			<AssignSlavesTargetObjectSpecialPower
				id="ModuleTag_SpecialPowerSpawnSquadMembers"
				SpecialPowerTemplate="SpecialPower_TargetedRepairVehicle" ></AssignSlavesTargetObjectSpecialPower>
			<SpawnBehavior
				id="ModuleTag_SpawnSquadMembers"
				SpawnNumberData="1"
				InitialBurst="1"
				SpawnReplaceDelayData="999999s"
				SpawnedRequireSpawner="false"
				KillSpawnsOnCaptured="false"
				SpawnInsideBuilding="true"
				KillSpawnsOnDisabled="false">
				<Die
					DeathTypes="ALL" ></Die>
				<SpawnTemplate>SovietAntiVehicleInfantry_Squad</SpawnTemplate>
			</SpawnBehavior>
			<QueueProductionExitUpdate
				id="ModuleTag_07"
				PlacementViewAngle="0d"
				ExitDelaySeconds="0.07s">
				<UnitCreatePoint
					x="0.0"
					y="-40.0" ></UnitCreatePoint>
				<NaturalRallyPoint
					x="10.0"
					y="-18.0" ></NaturalRallyPoint>
			</QueueProductionExitUpdate>			
		</Behaviors>		
	</GameObject>

Edited by: Just_West

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.