QUOTE (Skitt @ 14 Jul 2017, 21:45)
well thats just what i pulled from my map.ini, had to cut a LOT out of the code or u would end up with a virtualy unkillable total map wiper battleship.
but on the land thing thats one of the problems, the game engine is kinda crap at deciding when land becomes water.
I have updated a new version of the map.
On this map when used
Locomotor = SET_NORMAL TroopCrawlerWaterLocomotor
He has difficulty moving on land, moves good in water.
But in the case of SUBMARINES has the problem that the projectiles do not leave the submarine.
Just so I can shoot the SUBMARINE I have to change the code, but when I change it the submarine behaves like an amphibious vehicle and moves on land and in water.
Locomotor = SET_NORMAL BasicAmphibiousLocomotor
ChinaShipAttackSubMarineShellMap (Missiles do not reach the target) vs ChinaShipAttackSubMarine (Missiles reach the target)
CODE
Object AmericaVehicleBattleShipUSSBender
DisplayName = BattleShipUSSBender
CrusherLevel = 3 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 3 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
KindOf = PRELOAD SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS VEHICLE SCORE
Locomotor = SET_NORMAL TroopCrawlerWaterLocomotor
End
Object ChinaShipAttackSubMarineShellMap
DisplayName = SubMarineShellMap
CrusherLevel = 3 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 3 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
KindOf = PRELOAD SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS VEHICLE SCORE
Locomotor = SET_NORMAL TroopCrawlerWaterLocomotor
End
Object ChinaShipAttackSubMarine
DisplayName = SubMarine
CrusherLevel = 3 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 3 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
KindOf = PRELOAD SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS VEHICLE SCORE
Locomotor = SET_NORMAL BasicAmphibiousLocomotor
End
On another website someone says that I should add this code, but when I add the code (in the map.ini) the program aborts.
PreferredHeight = 0.1
AllowAirborneMotiveForce = Yes
ZAxisBehavior = SURFACE_RELATIVE_HEIGHT
Appearance = HOVER