IPB

Welcome Guest ( Log In | Register )

Submarines and war ships do not move
globalwar
post 14 Jul 2017, 2:11
Post #1



Group Icon

Group: Members
Posts: 7
Joined: 6 July 2017
Member No.: 15556



This map is made using shockwave, as a base. On this test map, make a base and then take the port at the foot of the sea. Immediately you will have 3 warships and 1 submarine. The question is: why these objects in the water can not move?


Attached File(s)
Attached File  testnavy.rar ( 4.97K ) Number of downloads: 2
 
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Skitt
post 14 Jul 2017, 17:50
Post #2



Group Icon

Group: Moderator
Posts: 1641
Joined: 8 January 2015
From: Newcastle, England
Member No.: 10811
Aut vincere aut mori, Cave quid dicis, quando, et cui, De duobus malis, minus est semper eligendum.



one of the battleships can be moved by clicking yeah.


CODE
Object AmericaBattleShip
  DisplayName      = (whatever you want)

  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


thats what mine uses on an aod map.


--------------------
Go to the top of the page
 
+Quote Post
globalwar
post 14 Jul 2017, 20:03
Post #3



Group Icon

Group: Members
Posts: 7
Joined: 6 July 2017
Member No.: 15556



QUOTE (Skitt @ 14 Jul 2017, 18:50) *
one of the battleships can be moved by clicking yeah.


CODE
Object AmericaBattleShip
  DisplayName      = (whatever you want)

  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


thats what mine uses on an aod map.


Thank you very much,
You're a genius, this works well for me (I made some corrections)
But there is only one problem: the warships raise the cliffs and move on the ground (as if they were tanks of war).
On the map there is a water area called "WaterAreaName = mar2", how do I make the warships move only inside "mar2"?


CODE
Object AmericaVehicleBattleShip
DisplayName = navy1

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 AmericaVehicleBattleShip
DisplayName = navy2

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 AmericaVehicleBattleShip
DisplayName = navy3

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 = sub1

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





Attached the new corrected map and with boats and submarines with movement by clicking.

This post has been edited by globalwar: 14 Jul 2017, 20:04
Attached File(s)
Attached File  testnavy.rar ( 5.42K ) Number of downloads: 0
 
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 25 April 2024 - 15:37