hi this is what ive done so far with my battleship
when u have the
ObjectTemplate.create Bundle **vehicle/unitname)Complex
then u create a addtemplate like this (depending on the unit ur modding)
ObjectTemplate.addTemplate PrinceOW_LeftAABattery
ObjectTemplate.addTemplate PrinceOW_RightAABattery
(unless its already there then u can skip to the next part
)
NOTE if u use the ZPU-4 land based AAgun u should recreate it as a new weapon (wich im creating as well) and add it to ur ships
Objects.con and
Weapons.con
and then u add this:
rem *** PrinceOW_LeftAABattery ***
ObjectTemplate.create PlayerControlObject PrinceOW_LeftAABattery
ObjectTemplate.setNetworkableInfo PrinceOWBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition -12.699/15.963/19.98
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate PrinceOW_Entry
ObjectTemplate.setPosition -11.999/15.5/3
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition -12.699/18.963/6.433
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition -12.4/18.963/-20
ObjectTemplate.setRotation -90/0/0
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition -11.999/15.963/-31
ObjectTemplate.setRotation -90/0/0
rem -------------------------------------
ObjectTemplate.setPcoId 2
ObjectTemplate.setSoldierExitLocation -11.5/15.3/3 170/0/0
ObjectTemplate.GUIIndex 45
ObjectTemplate.setVehicleIcon "Vehicle/Icon_princeow.tga"
ObjectTemplate.setVehicleIconPos 72/64
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABIconOnly
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCSea
ObjectTemplate.setVehicleType VTBattleship
ObjectTemplate.setToolTipType TTBattleship
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_battleship_64x64.tga"
ObjectTemplate.setMinimapIconSize 64
rem *** PrinceOW_RightAABattery ***
ObjectTemplate.create PlayerControlObject PrinceOW_RightAABattery
ObjectTemplate.setNetworkableInfo PrinceOWBodyInfo
rem -------------------------------------
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition 12.7/15.963/19.98
ObjectTemplate.setRotation 92.86/0/0
ObjectTemplate.addTemplate PrinceOW_Entry
ObjectTemplate.setPosition 12.711/13.963/6.933
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition 12.699/18.963/6.433
ObjectTemplate.setRotation 95.51/0/0
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition 12.4/18.963/-20.5
ObjectTemplate.setRotation 87.79/0/0
ObjectTemplate.addTemplate CIWS_Phalanx
ObjectTemplate.setPosition 11.199/15.963/-31
ObjectTemplate.setRotation 83.53/0/0
rem -------------------------------------
ObjectTemplate.setPcoId 3
ObjectTemplate.setSoldierExitLocation 11.1/15.3/3.6 190/0/0
ObjectTemplate.GUIIndex 46
ObjectTemplate.setVehicleIcon "Vehicle/Icon_princeow.tga"
ObjectTemplate.setVehicleIconPos 40/65
ObjectTemplate.setNumberOfWeaponIcons 1
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABIconOnly
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCSea
ObjectTemplate.setVehicleType VTBattleship
ObjectTemplate.setToolTipType TTBattleship
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_battleship_64x64.tga"
ObjectTemplate.setMinimapIconSize 64
ive altered the name of the phalanx so u can use it as the standard gun
but since ive made changes to the weapons itself as well ive added the whole weapon to the ship
Objecs.con and ive added the weapon specs to the ship
Weapons.con
if u need some help with it just holla add me contact info is available on my profile and below
greetz
RED