←  C&C 3: Tiberium Wars Editing

Fallout Studios Forums

»

A locomotor for a Hover MRLS

Madin's Photo Madin 03 Apr 2010

So I have a Hover MRLS. I'd like for it to able to hover over water, has it did in Tiberian Sun, but I'm having problems.

The 'Hovercraft' Locomotor, apart from looking awful on land, refuses to to enter into water (I only tried default skirmish maps). I then tried modifying the Devourer tanks locomotor to include 'WATER' & 'DEEP_WATER' in it's 'Surfaces' attributes, but I'm still unable to enter water.

There seems to be path finding issues with the 'Hover' locomotor as well.

Any solutions that work & look good on land and sea?
Quote

JJ's Photo JJ 03 Apr 2010

The problem is that with EA maps, they put an impassible area around all bodies of water, that's why it wouldn't work. It will most likely work in custom maps without the same impassible areas, but then it's not like there are any considerable amount of water in EA's maps anyway.

Also, what exactly are the pathfinding issues?
Edited by JJ, 03 April 2010 - 05:16.
Quote

Slye_Fox's Photo Slye_Fox 03 Apr 2010

here's the hover moter I used in SI;
	<LocomotorTemplate
		id=&#34;PDFHover90Locomotor&#34;
		Name=&#34;PDFHover90Locomotor&#34;
		Surfaces=&#34;GROUND WATER DEEP_WATER&#34; 
		MaxSpeedDamaged=&#34;30%&#34;
		SlowTurnRadius=&#34;0.0&#34; 
		FastTurnRadius=&#34;25.0&#34; 
		TurnTimeSeconds=&#34;0.5s&#34; 
		TurnTimeDamagedSeconds=&#34;1.5s&#34; 
		AccelerationSeconds=&#34;1.8s&#34;
		BrakingSeconds=&#34;0.9s&#34;
		MinTurnSpeed=&#34;0%&#34;
		BehaviorZ=&#34;SEA_LEVEL&#34;	
		Appearance=&#34;SHIP&#34;

		AccelPitchLimit=&#34;10d&#34;
		BounceKick=&#34;10d&#34;
		PitchStiffness=&#34;0.8&#34;
		RollStiffness=&#34;0.2&#34;
		PitchDamping=&#34;1.0&#34;
		RollDamping=&#34;0.5&#34;
		ForwardAccelerationPitchFactor=&#34;0.0&#34;
		LateralAccelerationRollFactor=&#34;0.1&#34;

		ElevatorCorrectionDegree=&#34;0.025&#34;
		ElevatorCorrectionRate=&#34;0.016&#34;
		AeleronCorrectionDegree=&#34;0.025&#34;
		AeleronCorrectionRate=&#34;0.021&#34;

		RiverModifier=&#34;50%&#34;

		UseTerrainSmoothing=&#34;true&#34;
		HasSuspension=&#34;false&#34;
		CanMoveBackward=&#34;true&#34;
		ReorientIfTurnTooSharp=&#34;false&#34; />
Quote

Madin's Photo Madin 03 Apr 2010

View PostJJ, on 3 Apr 2010, 6:14, said:

Also, what exactly are the pathfinding issues?

Golan say's that the Pathfinding issues are caused by having the 'CRUSHABLE_OBJECTS' flag together with the 'WATER' & 'DEEP_WATER' in the 'Surfaces' attribute.
The vehicle will constantly get 'stuck' whenever it is commanded to travel long distances with even minor obstacles.

View PostSlye_Fox, on 3 Apr 2010, 6:39, said:

here's the hover moter I used in SI;
	<LocomotorTemplate
		id=&#34;PDFHover90Locomotor&#34;
		Name=&#34;PDFHover90Locomotor&#34;
		Surfaces=&#34;GROUND WATER DEEP_WATER&#34; 
		MaxSpeedDamaged=&#34;30%&#34;
		SlowTurnRadius=&#34;0.0&#34; 
		FastTurnRadius=&#34;25.0&#34; 
		TurnTimeSeconds=&#34;0.5s&#34; 
		TurnTimeDamagedSeconds=&#34;1.5s&#34; 
		AccelerationSeconds=&#34;1.8s&#34;
		BrakingSeconds=&#34;0.9s&#34;
		MinTurnSpeed=&#34;0%&#34;
		BehaviorZ=&#34;SEA_LEVEL&#34;	
		Appearance=&#34;SHIP&#34;

		AccelPitchLimit=&#34;10d&#34;
		BounceKick=&#34;10d&#34;
		PitchStiffness=&#34;0.8&#34;
		RollStiffness=&#34;0.2&#34;
		PitchDamping=&#34;1.0&#34;
		RollDamping=&#34;0.5&#34;
		ForwardAccelerationPitchFactor=&#34;0.0&#34;
		LateralAccelerationRollFactor=&#34;0.1&#34;

		ElevatorCorrectionDegree=&#34;0.025&#34;
		ElevatorCorrectionRate=&#34;0.016&#34;
		AeleronCorrectionDegree=&#34;0.025&#34;
		AeleronCorrectionRate=&#34;0.021&#34;

		RiverModifier=&#34;50%&#34;

		UseTerrainSmoothing=&#34;true&#34;
		HasSuspension=&#34;false&#34;
		CanMoveBackward=&#34;true&#34;
		ReorientIfTurnTooSharp=&#34;false&#34; />

Thanks for this!
Quote