Jump to content

Recommended Posts

Hi ich würde in BFV gerne dieses MedPack das die Spezial Forces rumtragen in ein AmmoPack ummodden.

Hat jemand von euch ne Idee wie ich den Mag typ definieren muss hier die Codes von der Ammobox die stationär is und vom MedPack das tragbar is:

rem

rem *** Ammobox ***

rem

ObjectTemplate.create Bundle USAmmobox

ObjectTemplate.saveInSeparateFile 1

ObjectTemplate.geometry O_USAmmo_m1

rem ObjectTemplate.aiTemplate Ammobox_m1 // BFV temp change

ObjectTemplate.hasCollisionPhysics 1

rem 

objectTemplate.cullRadiusScale 3.0

rem -------------------------------------

ObjectTemplate.addTemplate AmmoboxSupplyDepot

ObjectTemplate.setPosition 0/0/0

ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate AmmoboxVehicleSupplyDepot

ObjectTemplate.setPosition 0/0/0

ObjectTemplate.setRotation 0/0/0



beginrem

ObjectTemplate.create SupplyDepot AmmoboxSupplyDepot

ObjectTemplate.radius 3

ObjectTemplate.team 0

ObjectTemplate.setHealth 0 0 0

ObjectTemplate.addAmmoType 1 -1 15 0

ObjectTemplate.addAmmoType 2 -1 1.2 0

ObjectTemplate.addAmmoType 3 -1 1.2 0

ObjectTemplate.workOnVehicles 0

ObjectTemplate.workOnSoldiers 1

ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc



rem *** AmmoboxVehicleSupplyDepot ***

ObjectTemplate.create SupplyDepot AmmoboxVehicleSupplyDepot

ObjectTemplate.radius 15

ObjectTemplate.team 0

ObjectTemplate.setHealth 0 0 0

ObjectTemplate.addAmmoType 0 -1 20 0

ObjectTemplate.workOnVehicles 1

ObjectTemplate.workOnSoldiers 0

ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc

endrem

ObjectTemplate.create HandFireArms MedPack

ObjectTemplate.networkableInfo HandFireArmsInfo

ObjectTemplate.loadSoundScript Sounds/MedPack.ssc



ObjectTemplate.isMedpack 1

rem ** Magtype == 1 is healing type

ObjectTemplate.magType 1

ObjectTemplate.numOfMag 1

ObjectTemplate.magSize 300

ObjectTemplate.GUIIndex 9

ObjectTemplate.setHudAmmoType ATIconAndHeatBar

rem objectTemplate.ammoIcon "Ammo/Icon_medkit.tga"

rem ObjectTemplate.crossHairType CHTIcon

ObjectTemplate.hasMag 0

ObjectTemplate.soldierCameraPosition -.05/-0.05/0.2



ObjectTemplate.healDistance 3.0

objectTemplate.healFactor 0.25

objectTemplate.selfHealFactor 0.15



rem *** Recover time

ObjectTemplate.reloadtime 1.5

rem *** Use medpack time

ObjectTemplate.roundOfFire 10

ObjectTemplate.exhaustRepairTime 120



ObjectTemplate.autoReload 0

ObjectTemplate.createSkeleton animations/MedPack.ske

ObjectTemplate.useSkeletonPartAsMain base

ObjectTemplate.addTemplate MedPackLod



rem *** Objects ***

ObjectTemplate.create SimpleObject MedPackSimple

ObjectTemplate.geometry MedPack



ObjectTemplate.create AnimatedBundle MedPackComplex

ObjectTemplate.geometry MedPack

ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/MedPack.ske

ObjectTemplate.create LodObject MedPackLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate MedPackComplex
ObjectTemplate.addTemplate MedPackSimple[/codebox]

Edited by Chefkoch.x3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.