Results 1 to 5 of 5

Threaded View

  1. #1
    Master Sergeant Stygs's Avatar
    Join Date
    Feb 2011
    Posts
    187

    Flying infantry bug

    Recently I tried to make a infantry squad that can fly by default, but ran into a problem


    (ignore the placeholder grafics)

    Some of the drone in the squad dont appear at the right altitude - they appear at random levels and only after moving the squad around for a while they start to jump to the correct positions.

    I suspect its a locomotor problem, but I have no idea what exactly the cause is. Any suggestions?


    Code:
    	<LocomotorTemplate
    		id="ShrikeLocomotor"
    		Surfaces="AIR"
    		TurnTimeSeconds="0.5s"
    		TurnTimeDamagedSeconds="0.5s"
    		FastTurnRadius="9.0"
    		SlowTurnRadius="1.0"
    		AccelerationSeconds="0.21s"
    		FormationPriority="NO_FORMATION"
    		AirborneTargetingHeight="30"
    		BrakingSeconds="0.21s"
    		MinTurnSpeed="0%"
    		BehaviorZ="SURFACE_RELATIVE_HEIGHT"
    		Appearance="TWO_LEGS"
    		PreferredHeight="90"
    		CanMoveBackward="false"
    		/>
    
    	<LocomotorTemplate
    		id="ShrikeSquadLocomotor"
    		Surfaces="AIR"
    		TurnTimeSeconds="2.0s"
    		TurnTimeDamagedSeconds="2.0s"
    		FastTurnRadius="33.0"
    		SlowTurnRadius="33.0"
    		FormationPriority="NO_FORMATION"
    		WaitForFormation="true"
    		AirborneTargetingHeight="30"
    		AccelerationSeconds="0.5s"
    		BrakingSeconds="0.1s"
    		MinTurnSpeed="100%"
    		CanMoveBackward="false"
    		BehaviorZ="SURFACE_RELATIVE_HEIGHT"
    		Appearance="WINGS"
    		CirclingRadius="50"
    		PreferredHeight="90"
    		MaxTurnWithoutReform="45d"
    		/>
    Last edited by Stygs; 04-23-2012 at 11:27 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Victory Games is Electronic Arts' dedicated Strategy Gaming studio. Formed in 2010 under the leadership of Jon Van Caneghem, Victory Games has offices in Los Angeles, CA; Austin, TX; and Shanghai, China and is currently focused on the Command & Conquer franchise.