[?] Repair & reload boats?
Posted: 2010-03-09 02:18
Is there any way to enable the vehicle depot to repair and rearm the RHIB? No matter how close you get, it doesn't work.
Code: Select all
ObjectTemplate.create SupplyObject pr_supply_depot
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 5
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.workOnVehicles 1
ObjectTemplate.healSpeed 2
ObjectTemplate.refillAmmoSpeed 4
[b]ObjectTemplate.addVehicleType 0[/b]
ObjectTemplate.teamFromClosestCP 1
Now if you look back at the supply object code above, you will note that in bold I have highlighted the line "ObjectTemplate.addVehicleType 0", where from the list in my audit tut, we can see that 0 = Land Vehicles only.'[R-DEV wrote:Rhino;431800']This box controls what kind of vehicle is effected by the combat zone. This can be used for crating an extra large, seprate combat zone around the base combat zone only for jets, to give them a much larger area to fly in and when you hop into a jet, you can still see the base combat zone, but the area between the base and the jet combat zone will be 1/2 transparent. When hand coding this the values are:
VehicleType "0" = Land
VehicleType "1" = Sea
VehicleType "2" = Planes
VehicleType "3" = Choppers
VehicleType "4" = All
VehicleType "5" = Planes/Choppers
Code: Select all
ObjectTemplate.create SupplyObject pr_supply_depot
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 5
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.workOnVehicles 1
ObjectTemplate.healSpeed 2
ObjectTemplate.refillAmmoSpeed 4
[b]ObjectTemplate.addVehicleType 0[/b]
[b]ObjectTemplate.addVehicleType 1[/b]
ObjectTemplate.teamFromClosestCP 1
Code: Select all
GeometryTemplate.create StaticMesh ship_supplyobject
CollisionManager.createTemplate ship_supplyobject
ObjectTemplate.create Bundle ship_supplyobject
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.creator EDMUND:Edmund_Fovargue
include ship_supplyobject.tweak
Code: Select all
rem *** Generated with Bf2Editor.exe [created: 2006/5/15 12:52]
GeometryTemplate.doNotGenerateLightmaps 0
GeometryTemplate.lightmapOverride 0
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
GeometryTemplate.glowing 0
GeometryTemplate.noLighting 0
ObjectTemplate.activeSafe Bundle ship_supplyobject
ObjectTemplate.creator EDMUND:Edmund_Fovargue
ObjectTemplate.modifiedByUser "Edmund Fovargue"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 0
rem -------------------------------------
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.addTemplate ship_supplyobject_SupplyObject
rem -------------------------------------
ObjectTemplate.create SupplyObject ship_supplyobject_SupplyObject
ObjectTemplate.modifiedByUser "Edmund Fovargue"
ObjectTemplate.createdInEditor 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.radius 150
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.healSpeed 25
ObjectTemplate.refillAmmoSpeed 25
ObjectTemplate.restoreSpeed 5
ObjectTemplate.teamFromClosestCP 1
ObjectTemplate.addVehicleType 1
i dont know to take that as a insult or positiveH.sta wrote:Zeno is a very simple person aswell!